pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/50213: pkgtool/pkg_install broken on multiple platforms
>Number: 50213
>Category: pkg
>Synopsis: pkgtool/pkg_install broken on multiple platforms
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Sep 06 18:10:00 +0000 2015
>Originator: Sevan Janiyan
>Release: pkgsrc-current
>Organization:
>Environment:
>Description:
Unable to bootstrap pkgsrc on FreeBSD 10.1-RELEASE, OpenBSD 5.7-current, Bitrig-current, Solaris 10 SPARC 8/11, Solaris 11.2 SPARC GCC 4.8.2, DragonFlyBSD 4.3-DEVELOPMENT
FreeBSD 10.1-RELEASE clang 3.4.1
clang -lssl -lcrypto -L/usr/pkgsrc/bootstrap/work/wrk/pkgtools/pkg_install/work/libfetch -L/usr/pkgsrc/bootstrap/work/wrk/pkgtools/pkg_install/work/netpgpverify -L/usr/pkgsrc/bootstrap/work/wrk/pkgtools/pkg_install/work/libnbcompat -L/usr/lib -Wl,-R/usr/lib -Wl,-R/home/sme/npgp/lib -L../lib -o pkg_add main.o perform.o -linstall -larchive -lfetch -lnetpgpverify -lssl -lcrypto -lnbcompat
/usr/bin/ld: //lib/libz.so.6: invalid DSO for symbol `inflateInit2_@@ZLIB_1.2.4.0' definition
//lib/libz.so.6: could not read symbols: Bad value
clang: error: linker command failed with exit code 1 (use -v to see invocation)
*** [pkg_add] Error code 1
bmake[1]: stopped in /usr/pkgsrc/bootstrap/work/wrk/pkgtools/pkg_install/work/pkg_install-20150901/add
1 error
OpenBSD 5.7-current gcc 4.2.1 20070719
cc -O -I/usr/include -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 -DDEF_UMASK=0022 -I/home/hacking/pkgsrc/tree/pkgsrc-current/bootstrap/work/wrk/pkgtools/pkg_install/work/bzip2 -I/home/hacking/pkgsrc/tree/pkgsrc-current/bootstrap/work/wrk/pkgtools/pkg_install/work/libarchive/libarchive -I/home/hacking/pkgsrc/tree/pkgsrc-current/bootstrap/work/wrk/pkgtools/pkg_install/work/libfetch -I/home/hacking/pkgsrc/tree/pkgsrc-current/bootstrap/work/wrk/pkgtools/pkg_install/work -DHAVE_NBCOMPAT_H=1 -I/home/hacking/pkgsrc/tree/pkgsrc-current/bootstrap/work/wrk/pkgtools/pkg_install/work/libnbcompat -I/usr/include -c pgpsum.c
pgpsum.c:158: error: expected identifier or '(' before '__extension__'
pgpsum.c:158: error: expected identifier or '(' before ')' token
pgpsum.c:167: error: expected identifier or '(' before '__extension__'
pgpsum.c:167: error: expected identifier or '(' before ')' token
*** Error code 1
Stop.
bmake: stopped in /home/hacking/pkgsrc/tree/pkgsrc-current/bootstrap/work/wrk/pkgtools/pkg_install/work/netpgpverify
*** Error code 1
Bitrig-current clang 3.6.0
clang -O -I/usr/include -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 -DDEF_UMASK=0022 -I/home/sme/pkgsrc/bootstrap/work/wrk/pkgtools/pkg_install/w
ork/bzip2 -I/home/sme/pkgsrc/bootstrap/work/wrk/pkgtools/pkg_install/work/libarchive/libarchive -I/home/sme/pkgsrc/bootstrap/work/wrk/pkgtools/pkg_install/wo
rk/libfetch -I/home/sme/pkgsrc/bootstrap/work/wrk/pkgtools/pkg_install/work -DHAVE_NBCOMPAT_H=1 -I/home/sme/pkgsrc/bootstrap/work/wrk/pkgtools/pkg_install/wo
rk/libnbcompat -I/usr/include -c pgpsum.c
pgpsum.c:158:1: error: expected identifier or '('
swap16(uint16_t in)
^
/usr/include/sys/endian.h:71:19: note: expanded from macro 'swap16'
#define swap16(x) __swap16(x)
^
/usr/include/sys/_endian.h:110:21: note: expanded from macro '__swap16'
#define __swap16(x) __statement({ \
^
/usr/include/sys/cdefs.h:248:24: note: expanded from macro '__statement'
#define __statement(x) __extension__(x)
^
pgpsum.c:167:1: error: expected identifier or '('
swap32(uint32_t in)
^
/usr/include/sys/endian.h:72:19: note: expanded from macro 'swap32'
#define swap32(x) __swap32(x)
^
/usr/include/sys/_endian.h:117:21: note: expanded from macro '__swap32'
#define __swap32(x) __statement({ \
^
/usr/include/sys/cdefs.h:248:24: note: expanded from macro '__statement'
#define __statement(x) __extension__(x)
^
2 errors generated.
*** Error code 1
Stop.
bmake: stopped in /home/sme/pkgsrc/bootstrap/work/wrk/pkgtools/pkg_install/work/netpgpverify
*** Error code 1
Solaris 10 8/11 with GCC 3.4.3 (csl-sol210-3_4-branch+sol_rpath)
cd /home/sme/pkgsrc/bootstrap/work/wrk/pkgtools/pkg_install/work/netpgpverify && /home/se[10/1713]c/bootstrap/work/bin/sed -e '/zlib/d' Makefile.lib.in >Makefile.in && ./configure && /usr/bin/env USETOOLS=no MACHINE_ARCH=sparc
OPSYS=SunOS CATMAN_SECTION_SUFFIX=yes MANINSTALL=maninstall\ catinstall FETCH_WITH_INET6=yes FETCH_WITH_OPENSSL=no CXXCPP=cpp CC=gcc CFLAG
S=-O2 CPPFLAGS=-D_LARGEFILE_SOURCE\ -D_LARGE_FILES\ -D_FILE_OFFSET_BITS=64\ -DDEF_UMASK=022\ -I/home/sme/pkgsrc/bootstrap/work/wrk/pkgto
ols/pkg_install/work/libarchive/libarchive\ -I/home/sme/pkgsrc/bootstrap/work/wrk/pkgtools/pkg_install/work/libfetch\ -I/home/sme/pkgs
rc/bootstrap/work/wrk/pkgtools/pkg_install/work\ -DHAVE_NBCOMPAT_H=1\ -I/home/sme/pkgsrc/bootstrap/work/wrk/pkgtools/pkg_install/work/li
bnbcompat CXX=g++ CXXFLAGS=-O2 COMPILER_RPATH_FLAG=-Wl,-R F77=f77 FC=f77 FFLAGS=-O LANG=C LC_ALL=C LC_COLLATE=C LC_CTYPE=C LC_MESSAGES=C L
C_MONETARY=C LC_NUMERIC=C LC_TIME=C LDFLAGS=-L/home/sme/pkgsrc/bootstrap/work/wrk/pkgtools/pkg_install/work/libarchive/.libs\ -L/home/se
van/pkgsrc/bootstrap/work/wrk/pkgtools/pkg_install/work/libfetch\ -L/home/sme/pkgsrc/bootstrap/work/wrk/pkgtools/pkg_install/work/netpgp
verify\ -L/home/sme/pkgsrc/bootstrap/work/wrk/pkgtools/pkg_install/work/libnbcompat\ -Wl,-R/home/sme/netpgp/lib LINKER_RPATH_FLAG=-R P
ATH=/home/sme/pkgsrc/bootstrap/work/wrk/pkgtools/pkg_install/work/.wrapper/bin:/home/sme/pkgsrc/bootstrap/work/wrk/pkgtools/pkg_instal
l/work/.buildlink/bin:/home/sme/pkgsrc/bootstrap/work/wrk/pkgtools/pkg_install/work/.tools/bin:/home/sme/pkgsrc/bootstrap/work/wrk/pkg
tools/pkg_install/work/.gcc/bin:/home/sme/netpgp/bin:/home/sme/netpgp/bin:/home/sme/netpgp/sbin::/usr/bin:/usr/sbin:/sbin:/usr/ccs/bin:/usr/dt/bin:/usr/sfw/bin:/usr/sfw/sbin:/sbin:/usr/sbin:/usr/ccs/bin:/home/sme/netpgp/bin:/usr/openwin/bin PREFIX=/home/sme/netpgp MAKELEVEL=0 PKG_SYSCONFDIR=/home/sme/netpgp/etc HOME=/home/sme/pkgsrc/bootstrap/work/wrk/pkgtools/pkg_install/work/.home CPP=cpp LINK_ALL_LIBGCC_HACK= LOCALBASE=/home/sme/netpgp NO_WHOLE_ARCHIVE_FLAG=-z\ defaultextract WHOLE_ARCHIVE_FLAG=-z\ allextract X11BASE=/usr/openwin PKGMANDIR=man PKGINFODIR=info PKGGNUDIR=gnu/ MAKECONF=/dev/null OBJECT_FMT=ELF USETOOLS=no BSD_INSTALL_PROGRAM=/home/sme/pkgsrc/bootstrap/work/bin/install-sh\ -c\ -s\ -o\ sme\ -g\ csw\ -m\ 755 BSD_INSTALL_SCRIPT=/home/sme/pkgsrc/bootstrap/work/bin/install-sh\ -c\ -o\ sme\ -g\ csw\ -m\ 755 BSD_INSTALL_LIB=/home/sme/pkgsrc/bootstrap/work/bin/install-sh\ -c\ -o\ sme\ -g\ csw\ -m\ 755 BSD_INSTALL_DATA=/home/sme/pkgsrc/bootstrap/work/bin/install-sh\ -c
\ -o\ sme\ -g\ csw\ -m\ 644 BSD_INSTALL_MAN=/home/sme/pkgsrc/bootstrap/work/bin/install-sh\ -c\ -o\ sme\ -g\ csw\ -m\ 644 BSD_INSTALL=/home/sme/pkgsrc/bootstrap/work/bin/install-sh BSD_INSTALL_PROGRAM_DIR=/home/sme/pkgsrc/bootstrap/work/bin/install-sh\ -d\ -o\ sme\ -g\ csw\ -m\ 755 BSD_INSTALL_SCRIPT_DIR=/home/sme/pkgsrc/bootstrap/work/bin/install-sh\ -d\ -o\ sme\ -g\ csw\ -m\ 755 BSD_INSTALL_LIB_DIR=/home/sme/pkgsrc/bootstrap/work/bin/install-sh\ -d\ -o\ sme\ -g\ csw\ -m\ 755 BSD_INSTALL_DATA_DIR=/home/sme/pkgsrc/bootstrap/work/bin/install-sh\ -d\ -o\ sme\ -g\ csw\ -m\ 755 BSD_INSTALL_MAN_DIR=/home/sme
/pkgsrc/bootstrap/work/bin/install-sh\ -d\ -o\ sme\ -g\ csw\ -m\ 755 BSD_INSTALL_GAME=/home/sme/pkgsrc/bootstrap/work/bin/install-sh\
-c\ -s\ -o\ sme\ -g\ csw\ -m\ 0755 BSD_INSTALL_GAME_DATA=/home/sme/pkgsrc/bootstrap/work/bin/install-sh\ -c\ -o\ sme\ -g\ csw\ -m\ 0
644 BSD_INSTALL_GAME_DIR=/home/sme/pkgsrc/bootstrap/work/bin/install-sh\ -d\ -o\ sme\ -g\ csw\ -m\ 0755 INSTALL_INFO= MAKEINFO=/home/s
evan/pkgsrc/bootstrap/work/wrk/pkgtools/pkg_install/work/.tools/bin/makeinfo FLEX= BISON= PKG_CONFIG= PKG_CONFIG_LIBDIR=/home/sme/pkgsrc
/bootstrap/work/wrk/pkgtools/pkg_install/work/.buildlink/lib/pkgconfig:/home/sme/pkgsrc/bootstrap/work/wrk/pkgtools/pkg_install/work/.bu
ildlink/share/pkgconfig PKG_CONFIG_LOG=/home/sme/pkgsrc/bootstrap/work/wrk/pkgtools/pkg_install/work/.pkg-config.log PKG_CONFIG_PATH= WR
APPER_DEBUG=no WRAPPER_UPDATE_CACHE=yes BINOWN=sme BINGRP=csw GAMEOWN=sme GAMEGRP=csw MANOWN=sme MANGRP=csw SHAREOWN=sme SHAREGRP=
csw DOCOWN=sme DOCGRP=csw BINMODE=755 NONBINMODE=644 BINDIR=/home/sme/netpgp/bin INCSDIR=/home/sme/netpgp/include LIBDIR=/home/sme
/netpgp/lib MANDIR=/home/sme/netpgp/man STRIPFLAG=-s MANINSTALL=maninstall\ catinstall MKCATPAGES=yes MKHTML=no /home/sev
an/pkgsrc/bootstrap/work/bin/bmake -f Makefile all
./configure: syntax error at line 34: `prefix=$' unexpected
*** Error code 2
Solaris 11.2 SPARC GCC 4.8.2
gcc -O2 -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 -DDEF_UMASK=022 -I/home/sme/pkgsrc/bootstrap/work/wrk/pkgtools/pkg_ins
tall/work/libfetch -I/home/sme/pkgsrc/bootstrap/work/wrk/pkgtools/pkg_install/work -DHAVE_NBCOMPAT_H=1 -I/home/sme/pkgsrc/bootstrap/wo
rk/wrk/pkgtools/pkg_install/work/libnbcompat -c bignum.c
bignum.c: In function 'basic_subtract':
bignum.c:659:33: error: 'CHAR_BIT' undeclared (first use in this function)
carry = *tmpc >> ((mp_digit)(CHAR_BIT * sizeof(mp_digit) - 1));
^
bignum.c:659:33: note: each undeclared identifier is reported only once for each function it appears in
bignum.c: In function 'fast_col_array_multiply':
bignum.c:78:57: error: 'CHAR_BIT' undeclared (first use in this function)
#define MP_WARRAY /*LINTED*/(1U << (((sizeof(mp_word) * CHAR_BIT) - (2 * DIGIT_BIT) + 1)))
^
bignum.c:2251:13: note: in expansion of macro 'MP_WARRAY'
mp_digit W[MP_WARRAY];
^
bignum.c: In function 'can_use_fast_column_array':
bignum.c:78:57: error: 'CHAR_BIT' undeclared (first use in this function)
#define MP_WARRAY /*LINTED*/(1U << (((sizeof(mp_word) * CHAR_BIT) - (2 * DIGIT_BIT) + 1)))
^
bignum.c:2327:31: note: in expansion of macro 'MP_WARRAY'
return (((unsigned)ndigits < MP_WARRAY) &&
^
bignum.c: In function 'fast_basic_multiply_partial_upper':
bignum.c:78:57: error: 'CHAR_BIT' undeclared (first use in this function)
#define MP_WARRAY /*LINTED*/(1U << (((sizeof(mp_word) * CHAR_BIT) - (2 * DIGIT_BIT) + 1)))
^
^
bignum.c:2448:13: note: in expansion of macro 'MP_WARRAY'
mp_digit W[MP_WARRAY];
^
bignum.c: In function 'fast_basic_square':
bignum.c:78:57: error: 'CHAR_BIT' undeclared (first use in this function)
#define MP_WARRAY /*LINTED*/(1U << (((sizeof(mp_word) * CHAR_BIT) - (2 * DIGIT_BIT) + 1)))
^
bignum.c:3051:15: note: in expansion of macro 'MP_WARRAY'
mp_digit W[MP_WARRAY], *tmpx;
^
bignum.c: In function 'fast_mp_montgomery_reduce':
bignum.c:78:57: error: 'CHAR_BIT' undeclared (first use in this function)
#define MP_WARRAY /*LINTED*/(1U << (((sizeof(mp_word) * CHAR_BIT) - (2 * DIGIT_BIT) + 1)))
^
bignum.c:3592:12: note: in expansion of macro 'MP_WARRAY'
mp_word W[MP_WARRAY];
^
bignum.c: In function 'signed_subtract_word':
bignum.c:4678:37: error: 'CHAR_BIT' undeclared (first use in this function)
mu = *tmpc >> (sizeof(mp_digit) * CHAR_BIT - 1);
^
*** Error code 1
DragonFlyBSD 4.3-DEVELOPMENT gcc 5.2.1
cc -DHAVE_CONFIG_H -DOPSYS_NAME=\"DragonFly\" -DMACHINE_ARCH=\"x86_64\" -DBINDIR=\"/home/sme/build/npgp/sbin\" -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 -DDEF_UMASK=0022 -I/home/sme/build/tree/pkgsrc/bootstrap/work/wrk/pkgtools/pkg_install/work/libfetch -I/home/sme/build/tree/pkgsrc/bootstrap/work/wrk/pkgtools/pkg_install/work -DHAVE_NBCOMPAT_H=1 -I/home/sme/build/tree/pkgsrc/bootstrap/work/wrk/pkgtools/pkg_install/work/libnbcompat -I/usr/include -I. -I. -I../lib -I/usr/include -c main.c
cc -DHAVE_CONFIG_H -DOPSYS_NAME=\"DragonFly\" -DMACHINE_ARCH=\"x86_64\" -DBINDIR=\"/home/sme/build/npgp/sbin\" -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 -DDEF_UMASK=0022 -I/home/sme/build/tree/pkgsrc/bootstrap/work/wrk/pkgtools/pkg_install/work/libfetch -I/home/sme/build/tree/pkgsrc/bootstrap/work/wrk/pkgtools/pkg_install/work -DHAVE_NBCOMPAT_H=1 -I/home/sme/build/tree/pkgsrc/bootstrap/work/wrk/pkgtools/pkg_install/work/libnbcompat -I/usr/include -I. -I. -I../lib -I/usr/include -c perform.c
perform.c: In function 'extract_files':
perform.c:831:2: warning: 'archive_write_finish' is deprecated [-Wdeprecated-declarations]
archive_write_finish(writer);
^
In file included from perform.c:57:0:
/usr/include/archive.h:721:17: note: declared here
__LA_DECL int archive_write_finish(struct archive *) __LA_DEPRECATED;
^
perform.c: In function 'pkg_do':
perform.c:1550:3: warning: 'archive_read_finish' is deprecated [-Wdeprecated-declarations]
archive_read_finish(pkg->archive);
^
In file included from perform.c:57:0:
/usr/include/archive.h:585:17: note: declared here
__LA_DECL int archive_read_finish(struct archive *) __LA_DEPRECATED;
^
cc -lssl -lcrypto -L/home/sme/build/tree/pkgsrc/bootstrap/work/wrk/pkgtools/pkg_install/work/libfetch -L/home/sme/build/tree/pkgsrc/bootstrap/work/wrk/pkgtools/pkg_install/work/netpgpverify -L/home/sme/build/tree/pkgsrc/bootstrap/work/wrk/pkgtools/pkg_install/work/libnbcompat -L/usr/lib -Wl,-R/usr/lib -Wl,-R/home/sme/build/npgp/lib -L../lib -o pkg_add main.o perform.o -linstall -larchive -lfetch -lnetpgpverify -lssl -lcrypto -lnbcompat
/usr/libexec/binutils225/elf/ld.bfd: /home/sme/build/tree/pkgsrc/bootstrap/work/wrk/pkgtools/pkg_install/work/netpgpverify/libnetpgpverify.a(libverify.o): undefined reference to symbol 'BZ2_bzDecompress@@BZ_1.0.6'
/usr/lib/libbz2.so.2: error adding symbols: DSO missing from command line
*** [pkg_add] Error code 1
bmake[1]: stopped in /home/sme/build/tree/pkgsrc/bootstrap/work/wrk/pkgtools/pkg_install/work/pkg_install-20150901/add
1 error
>How-To-Repeat:
Bootstrap pkgsrc-current on one of the listed platforms above.
>Fix:
Home |
Main Index |
Thread Index |
Old Index