pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/50497: xterm-320 build fails



>Number:         50497
>Category:       pkg
>Synopsis:       xterm-320 build fails
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Dec 05 05:45:00 +0000 2015
>Originator:     coypu
>Release:        NetBSD-current, pkgsrc-current
>Organization:
>Environment:
NetBSD  7.99.23 NetBSD 7.99.23 (GENERIC.201512040350Z) #0: Fri Dec  4 04:46:43 UTC 2015  builds%b45.netbsd.org@localhost:/home/builds/ab/HEAD/amd64/201512040350Z-obj/home/source/ab/HEAD/src/sys/arch/amd64/compile/GENERIC amd64
>Description:
x11/xterm fails to configure with no options.
x11/xterm also fails to build with PKG_OPTIONS.xfce="pcre"



Failure with no options:

checking if you want to use PCRE for regular-expressions... no
checking for regcomp... no
checking for regcomp in -lregex... no
checking for regcomp in -lre... no
checking for compile... no
checking for compile in -lgen... no
configure: WARNING: cannot find regular expression library
checking for regular-expression headers... no
configure: WARNING: no regular expression header found
configure: error: Only POSIX or PCRE regular expressions are supported

*** Failed target:  do-configure-script
*** Failed command: set -e; cd /usr/pkgsrc/x11/xterm/work/xterm-320 && cd /usr/pkgsrc/x11/xterm/work/xterm-320 && /usr/bin/env INSTALL=/usr/bin/install\ -c\ -o\ root\ -g\ wheel INSTALL_PROGRAM=/usr/bin/install\ -c\ -s\ -o\ root\ -g\ wheel\ -m\ 755 INSTALL_SCRIPT=/usr/bin/install\ -c\ -o\ root\ -g\ wheel\ -m\ 755 INSTALL_DATA=/usr/bin/install\ -c\ -o\ root\ -g\ wheel\ -m\ 644 INSTALL_GAME=/usr/bin/install\ -c\ -s\ -o\ root\ -g\ wheel\ -m\ 2555 INSTALL_GAME_DATA=/usr/bin/install\ -c\ -o\ root\ -g\ wheel\ -m\ 664 FREETYPE_CONFIG=/usr/X11R7/bin/freetype-config INSTALL_INFO= MAKEINFO=/usr/pkgsrc/x11/xterm/work/.tools/bin/makeinfo FLEX= BISON= AWK=/usr/bin/awk CAT=/bin/cat ac_cv_path_CAT=/bin/cat CHMOD=/bin/chmod CMP=/usr/bin/cmp CP=/bin/cp DIFF=/usr/bin/diff ECHO=echo ac_cv_path_ECHO=echo EGREP=/usr/bin/egrep ac_cv_path_EGREP=/usr/bin/egrep SETENV=/usr/bin/env ENV_PROG=/usr/bin/env ac_cv_path_ENV=/usr/bin/env FALSE=false ac_cv_path_FALSE=false FIND=/usr/bin/find GREP=/usr/bin/grep
  ac_cv_path_GREP=/usr/bin/grep HOSTNAME=/bin/hostname LN=/bin/ln LS=/bin/ls MKDIR=/bin/mkdir\ -p MV=/bin/mv RM=/bin/rm RMDIR=/bin/rmdir SED=/usr/bin/sed SORT=/usr/bin/sort TAR=/bin/tar TEST=test ac_cv_path_TEST=test TOUCH=/usr/bin/touch TR=/usr/bin/tr TRUE=true ac_cv_path_TRUE=true PKG_CONFIG=/usr/pkgsrc/x11/xterm/work/.tools/bin/pkg-config PKG_CONFIG_LIBDIR=/usr/pkgsrc/x11/xterm/work/.buildlink/lib/pkgconfig:/usr/pkgsrc/x11/xterm/work/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/usr/pkgsrc/x11/xterm/work/.pkg-config.log PKG_CONFIG_PATH= MAKE=make WRAPPER_DEBUG=no WRAPPER_UPDATE_CACHE=yes CC=gcc CFLAGS=-O2\ -I/usr/pkg/include\ -I/usr/X11R7/include\ -I/usr/include\ -I/usr/X11R7/include/freetype2 CPPFLAGS=-I/usr/pkg/include\ -I/usr/X11R7/include\ -I/usr/include\ -I/usr/X11R7/include/freetype2 CXX=c++ CXXFLAGS=-O2\ -I/usr/pkg/include\ -I/usr/X11R7/include\ -I/usr/include\ -I/usr/X11R7/include/freetype2 COMPILER_RPATH_FLAG=-Wl,-R F77=g77 FC=g77 FFLAGS=-O LANG=C LC_ALL=C LC_COLLATE
 =C LC_CTYPE=C LC_MESSAGES=C LC_MONETARY=C LC_NUMERIC=C LC_TIME=C LDFLAGS=-L/usr/pkg/lib\ -L/usr/X11R7/lib\ -Wl,-R/usr/X11R7/lib\ -L/usr/lib\ -Wl,-R/usr/lib\ -Wl,-R/usr/pkg/lib LINKER_RPATH_FLAG=-R PATH=/usr/pkgsrc/x11/xterm/work/.wrapper/bin:/usr/pkgsrc/x11/xterm/work/.buildlink/bin:/usr/pkgsrc/x11/xterm/work/.gcc/bin:/usr/pkgsrc/x11/xterm/work/.tools/bin:/usr/pkg/bin:/home/fly/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R7/bin:/usr/X11R6/bin:/usr/pkg/bin:/usr/pkg/sbin:/usr/games:/usr/local/bin:/usr/local/sbin:/usr/pkg/bin:/usr/X11R7/bin PREFIX=/usr/pkg MAKELEVEL=0 PKG_SYSCONFDIR=/usr/pkg/etc CXXCPP=cpp HOME=/usr/pkgsrc/x11/xterm/work/.home CONFIG_SHELL=/bin/sh LIBS= ac_given_INSTALL=/usr/bin/install\ -c\ -o\ root\ -g\ wheel /bin/sh ./configure --enable-88-color --enable-256-color --enable-paste64 --enable-readline-mouse --enable-wide-chars --x-includes=/usr/X11R7/include --x-libraries=/usr/X11R7/lib --enable-freetype --enable-luit --enable-mini-luit --disable-toolbar --prefix
 =/usr/pkg --build=x86_64--netbsd --host=x86_64--netbsd --mandir=/usr/pkg/man
*** Error code 1

Stop.
make[1]: stopped in /usr/pkgsrc/x11/xterm

*** Failed target:  barrier
*** Failed command: set -e; if test -n "" && /usr/pkg/sbin/pkg_info -K /var/db/pkg -qe xterm-320nb1; then echo ===\> "Skipping installation of already handled package"; else cd /usr/pkgsrc/x11/xterm && /usr/bin/env MAKECONF=/etc/mk.conf PATH=/usr/pkgsrc/x11/xterm/work/.wrapper/bin:/usr/pkgsrc/x11/xterm/work/.buildlink/bin:/usr/pkgsrc/x11/xterm/work/.gcc/bin:/usr/pkgsrc/x11/xterm/work/.tools/bin:/usr/pkg/bin:/home/fly/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R7/bin:/usr/X11R6/bin:/usr/pkg/bin:/usr/pkg/sbin:/usr/games:/usr/local/bin:/usr/local/sbin USE_DESTDIR=yes /usr/bin/make _MAKE=/usr/bin/make OPSYS=NetBSD OS_VERSION=7.99.23 LOWER_OPSYS=netbsd _PKGSRCDIR=/usr/pkgsrc PKGTOOLS_VERSION=20150901 PKG_BUILD_OPTIONS.freetype2=\ _CC=/usr/bin/gcc _PATH_ORIG=/home/fly/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R7/bin:/usr/X11R6/bin:/usr/pkg/bin:/usr/pkg/sbin:/usr/games:/usr/local/bin:/usr/local/sbin _PKGSRC_BARRIER=yes ALLOW_VULNERABLE_PACKAGES= install || { exitcode="$?"; /usr/bin/e
 nv MAKECONF=/etc/mk.conf PATH=/usr/pkgsrc/x11/xterm/work/.wrapper/bin:/usr/pkgsrc/x11/xterm/work/.buildlink/bin:/usr/pkgsrc/x11/xterm/work/.gcc/bin:/usr/pkgsrc/x11/xterm/work/.tools/bin:/usr/pkg/bin:/home/fly/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R7/bin:/usr/X11R6/bin:/usr/pkg/bin:/usr/pkg/sbin:/usr/games:/usr/local/bin:/usr/local/sbin USE_DESTDIR=yes /usr/bin/make _MAKE=/usr/bin/make OPSYS=NetBSD OS_VERSION=7.99.23 LOWER_OPSYS=netbsd _PKGSRCDIR=/usr/pkgsrc PKGTOOLS_VERSION=20150901 PKG_BUILD_OPTIONS.freetype2=\ _CC=/usr/bin/gcc _PATH_ORIG=/home/fly/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R7/bin:/usr/X11R6/bin:/usr/pkg/bin:/usr/pkg/sbin:/usr/games:/usr/local/bin:/usr/local/sbin _PKGSRC_BARRIER=yes barrier-error-check; exit "$exitcode"; }; fi
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/x11/xterm



Failure with PKG_OPTIONS.xterm="pcre":

testing if -lXinerama is needed
...yes
testing if -lutil is needed
...yes
testing if -lXaw7 is needed
...yes
testing if -lXt is needed
...yes
testing if -lX11 is needed
...yes
testing if -lXpm is needed
...yes
testing if -ltermcap is needed
...yes
ld:/usr/X11R7/include: file format not recognized; treating as linker script
ld:/usr/X11R7/include:1: syntax error

*** Failed target:  xterm
*** Failed command: /bin/sh ./plink.sh gcc -O2 -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/freetype2 /usr/X11R7/include -L/usr/pkg/lib -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -Wl,-rpath,/usr/X11R7/lib -Wl,-rpath,/usr/pkg/lib -o xterm button.o cachedGCs.o charproc.o charsets.o cursor.o data.o doublechr.o fontutils.o input.o linedata.o main.o menu.o misc.o print.o ptydata.o scrollback.o screen.o scrollbar.o tabs.o util.o version.o xstrings.o xtermcap.o VTPrsTbl.o TekPrsTbl.o Tekproc.o charclass.o precompose.o wcwidth.o -L/usr/X11R7/lib -Wl,-rpath,/usr/X11R7/lib -lXinerama -kpcreposix -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -kpcre -lutil -lXaw7 -lXt -lX11 -lXpm -ltermcap -Wl,-rpath,/usr/pkg/lib -Wl,-rpath,/usr/X11R7/lib -L /usr/X11R7/lib
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/x11/xterm/work/xterm-320

*** Failed target:  do-build
*** Failed command: set -e; cd /usr/pkgsrc/x11/xterm/work/xterm-320 && cd /usr/pkgsrc/x11/xterm/work/xterm-320 && /usr/bin/env USETOOLS=no CC=gcc CFLAGS=-O2\ -I/usr/pkg/include\ -I/usr/X11R7/include\ -I/usr/include\ -I/usr/X11R7/include/freetype2 CPPFLAGS=-I/usr/pkg/include\ -I/usr/X11R7/include\ -I/usr/include\ -I/usr/X11R7/include/freetype2 CXX=c++ CXXFLAGS=-O2\ -I/usr/pkg/include\ -I/usr/X11R7/include\ -I/usr/include\ -I/usr/X11R7/include/freetype2 COMPILER_RPATH_FLAG=-Wl,-R F77=g77 FC=g77 FFLAGS=-O LANG=C LC_ALL=C LC_COLLATE=C LC_CTYPE=C LC_MESSAGES=C LC_MONETARY=C LC_NUMERIC=C LC_TIME=C LDFLAGS=-L/usr/pkg/lib\ -L/usr/X11R7/lib\ -Wl,-R/usr/X11R7/lib\ -L/usr/lib\ -Wl,-R/usr/lib\ -Wl,-R/usr/pkg/lib LINKER_RPATH_FLAG=-R PATH=/usr/pkgsrc/x11/xterm/work/.wrapper/bin:/usr/pkgsrc/x11/xterm/work/.buildlink/bin:/usr/pkgsrc/x11/xterm/work/.gcc/bin:/usr/pkgsrc/x11/xterm/work/.tools/bin:/usr/pkg/bin:/home/fly/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R7/bin:/usr/X11R6/bin:/usr/pkg/bi
 n:/usr/pkg/sbin:/usr/games:/usr/local/bin:/usr/local/sbin:/usr/pkg/bin:/usr/X11R7/bin PREFIX=/usr/pkg MAKELEVEL=0 PKG_SYSCONFDIR=/usr/pkg/etc CXXCPP=cpp HOME=/usr/pkgsrc/x11/xterm/work/.home CPP=cpp LINK_ALL_LIBGCC_HACK= LOCALBASE=/usr/pkg NO_WHOLE_ARCHIVE_FLAG=-Wl,--no-whole-archive WHOLE_ARCHIVE_FLAG=-Wl,--whole-archive X11BASE=/usr/X11R7 PKGMANDIR=man PKGINFODIR=info PKGGNUDIR=gnu/ MAKECONF=/dev/null OBJECT_FMT=ELF USETOOLS=no BSD_INSTALL_PROGRAM=/usr/bin/install\ -c\ -s\ -o\ root\ -g\ wheel\ -m\ 755 BSD_INSTALL_SCRIPT=/usr/bin/install\ -c\ -o\ root\ -g\ wheel\ -m\ 755 BSD_INSTALL_LIB=/usr/bin/install\ -c\ -o\ root\ -g\ wheel\ -m\ 755 BSD_INSTALL_DATA=/usr/bin/install\ -c\ -o\ root\ -g\ wheel\ -m\ 644 BSD_INSTALL_MAN=/usr/bin/install\ -c\ -o\ root\ -g\ wheel\ -m\ 644 BSD_INSTALL=/usr/bin/install BSD_INSTALL_PROGRAM_DIR=/usr/bin/install\ -d\ -o\ root\ -g\ wheel\ -m\ 755 BSD_INSTALL_SCRIPT_DIR=/usr/bin/install\ -d\ -o\ root\ -g\ wheel\ -m\ 755 BSD_INSTALL_LIB_DIR=/usr/bin/i
 nstall\ -d\ -o\ root\ -g\ wheel\ -m\ 755 BSD_INSTALL_DATA_DIR=/usr/bin/install\ -d\ -o\ root\ -g\ wheel\ -m\ 755 BSD_INSTALL_MAN_DIR=/usr/bin/install\ -d\ -o\ root\ -g\ wheel\ -m\ 755 BSD_INSTALL_GAME=/usr/bin/install\ -c\ -s\ -o\ root\ -g\ wheel\ -m\ 2555 BSD_INSTALL_GAME_DATA=/usr/bin/install\ -c\ -o\ root\ -g\ wheel\ -m\ 664 BSD_INSTALL_GAME_DIR=/usr/bin/install\ -d\ -o\ root\ -g\ wheel\ -m\ 775 INSTALL_INFO= MAKEINFO=/usr/pkgsrc/x11/xterm/work/.tools/bin/makeinfo FLEX= BISON= PKG_CONFIG=/usr/pkgsrc/x11/xterm/work/.tools/bin/pkg-config PKG_CONFIG_LIBDIR=/usr/pkgsrc/x11/xterm/work/.buildlink/lib/pkgconfig:/usr/pkgsrc/x11/xterm/work/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/usr/pkgsrc/x11/xterm/work/.pkg-config.log PKG_CONFIG_PATH= WRAPPER_DEBUG=no WRAPPER_UPDATE_CACHE=yes /usr/bin/make -f Makefile all
*** Error code 1

Stop.
make[1]: stopped in /usr/pkgsrc/x11/xterm

*** Failed target:  barrier
*** Failed command: set -e; if test -n "" && /usr/pkg/sbin/pkg_info -K /var/db/pkg -qe xterm-320nb1; then echo ===\> "Skipping installation of already handled package"; else cd /usr/pkgsrc/x11/xterm && /usr/bin/env MAKECONF=/etc/mk.conf PATH=/usr/pkgsrc/x11/xterm/work/.wrapper/bin:/usr/pkgsrc/x11/xterm/work/.buildlink/bin:/usr/pkgsrc/x11/xterm/work/.gcc/bin:/usr/pkgsrc/x11/xterm/work/.tools/bin:/usr/pkg/bin:/home/fly/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R7/bin:/usr/X11R6/bin:/usr/pkg/bin:/usr/pkg/sbin:/usr/games:/usr/local/bin:/usr/local/sbin USE_DESTDIR=yes /usr/bin/make _MAKE=/usr/bin/make OPSYS=NetBSD OS_VERSION=7.99.23 LOWER_OPSYS=netbsd _PKGSRCDIR=/usr/pkgsrc PKGTOOLS_VERSION=20150901 PKG_BUILD_OPTIONS.freetype2=\ _CC=/usr/bin/gcc _PATH_ORIG=/home/fly/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R7/bin:/usr/X11R6/bin:/usr/pkg/bin:/usr/pkg/sbin:/usr/games:/usr/local/bin:/usr/local/sbin _PKGSRC_BARRIER=yes ALLOW_VULNERABLE_PACKAGES= install || { exitcode="$?"; /usr/bin/e
 nv MAKECONF=/etc/mk.conf PATH=/usr/pkgsrc/x11/xterm/work/.wrapper/bin:/usr/pkgsrc/x11/xterm/work/.buildlink/bin:/usr/pkgsrc/x11/xterm/work/.gcc/bin:/usr/pkgsrc/x11/xterm/work/.tools/bin:/usr/pkg/bin:/home/fly/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R7/bin:/usr/X11R6/bin:/usr/pkg/bin:/usr/pkg/sbin:/usr/games:/usr/local/bin:/usr/local/sbin USE_DESTDIR=yes /usr/bin/make _MAKE=/usr/bin/make OPSYS=NetBSD OS_VERSION=7.99.23 LOWER_OPSYS=netbsd _PKGSRCDIR=/usr/pkgsrc PKGTOOLS_VERSION=20150901 PKG_BUILD_OPTIONS.freetype2=\ _CC=/usr/bin/gcc _PATH_ORIG=/home/fly/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R7/bin:/usr/X11R6/bin:/usr/pkg/bin:/usr/pkg/sbin:/usr/games:/usr/local/bin:/usr/local/sbin _PKGSRC_BARRIER=yes barrier-error-check; exit "$exitcode"; }; fi
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/x11/xterm
>How-To-Repeat:
Attempt to build x11/xterm with PKG_OPTIONS.xterm="pcre" or without.
>Fix:


Home | Main Index | Thread Index | Old Index