pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/50188 (pkgtools/pkg_install DragonFly 4.3 /usr/lib/libbz2.so.2: error adding symbols)
The following reply was made to PR pkg/50188; it has been noted by GNATS.
From: David Shao <davshao%gmail.com@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc:
Subject: Re: pkg/50188 (pkgtools/pkg_install DragonFly 4.3 /usr/lib/libbz2.so.2:
error adding symbols)
Date: Tue, 1 Sep 2015 23:28:42 -0700
Thanks for the immediate patch. Unfortunately there are still
problems. Also FreeBSD 11-current amd64 seemed to show similar
problems with libbz2, and I am guessing perhaps with what follows as
well.
Trying to just bmake replace pkgtools/pkg_install, I notice in the
configure and following build there is:
checking md5.h usability... yes
checking md5.h presence... yes
checking for md5.h... yes
checking for MD5Init in md5.h... yes
checking for md5.h... (cached) yes
checking rmd160.h usability... yes
checking rmd160.h presence... yes
checking for rmd160.h... yes
checking sha1.h usability... no
checking sha1.h presence... no
checking for sha1.h... no
checking sha2.h usability... no
checking sha2.h presence... no
checking for sha2.h... no
checking for MD5File... no
checking for RMD160File... no
checking for SHA1File... no
checking for SHA512_File... no
...
unvis.c: In function 'unvis':
unvis.c:92:9: warning: implicit declaration of function
'__nbcompat_unvis13' [-Wimplicit-function-declaration]
return __nbcompat_unvis13(cp, (int)c, astate, flag);
...
digest.c: In function 'digest_init':
digest.c:131:3: warning: implicit declaration of function 'RMD160Init'
[-Wimplicit-function-declaration]
RMD160Init(&hash->u.rmd160ctx);
^
digest.c: In function 'digest_update':
digest.c:215:3: warning: implicit declaration of function
'RMD160Update' [-Wimplicit-function-declaration]
RMD160Update(hash->ctx, data, (unsigned)length);
^
digest.c: In function 'digest_final':
digest.c:247:3: warning: implicit declaration of function
'RMD160Final' [-Wimplicit-function-declaration]
RMD160Final(out, hash->ctx);
^
digest.c:253:3: warning: implicit declaration of function
'netpgpv_SHA512_Final' [-Wimplicit-function-declaration]
netpgpv_SHA512_Final(out, hash->ctx);
...
sha2.c: In function 'netpgpv_SHA256_Update':
sha2.c:481:4: warning: implicit declaration of function
'SHA256_Transform' [-Wimplicit-function-declaration]
SHA256_Transform(context,
^
sha2.c: In function 'netpgpv_SHA224_Update':
sha2.c:613:9: warning: implicit declaration of function
'SHA256_Update' [-Wimplicit-function-declaration]
return SHA256_Update((NETPGPV_SHA256_CTX *)context, data, len);
^
sha2.c: In function 'netpgpv_SHA512_Update':
sha2.c:822:4: warning: implicit declaration of function
'SHA512_Transform' [-Wimplicit-function-declaration]
SHA512_Transform(context,
^
sha2.c: In function 'netpgpv_SHA384_Update':
sha2.c:953:9: warning: implicit declaration of function
'SHA512_Update' [-Wimplicit-function-declaration]
return SHA512_Update((NETPGPV_SHA512_CTX *)context, data, len);
...
vulnerabilities-file.c: In function 'read_pkg_vulnerabilities_memory':
vulnerabilities-file.c:351:2: warning:
'archive_read_support_compression_all' is deprecated
[-Wdeprecated-declarations]
if (archive_read_support_compression_all(a) != ARCHIVE_OK ||
^
In file included from vulnerabilities-file.c:50:0:
/usr/include/archive.h:311:15: note: declared here
__LA_DECL int archive_read_support_compression_all(struct archive *)
^
vulnerabilities-file.c: In function 'read_pkg_vulnerabilities_file':
vulnerabilities-file.c:382:2: warning:
'archive_read_support_compression_all' is deprecated
[-Wdeprecated-declarations]
if (archive_read_support_compression_all(a) != ARCHIVE_OK ||
^
In file included from vulnerabilities-file.c:50:0:
/usr/include/archive.h:311:15: note: declared here
__LA_DECL int archive_read_support_compression_all(struct archive *)
...
cc -lssl -lcrypto -L/usr/pkgsrc/pkgtools/pkg_install/work/libfetch
-L/usr/pkgsrc/pkgtools/pkg_install/work/netpgpverify
-L/usr/pkgsrc/pkgtools/pkg_install/work/libnbcompat -L/usr/lib
-Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -L../lib -o pkg_add main.o perform.o
-linstall -larchive -lfetch -lnetpgpverify -lssl -lcrypto -lnbcompat
/usr/libexec/binutils225/elf/ld.bfd:
/usr/pkgsrc/pkgtools/pkg_install/work/netpgpverify/libnetpgpverify.a(libverify.o):
undefined reference to symbol 'inflateInit2_@@ZLIB_1.2.8'
/lib/libz.so.3: error adding symbols: DSO missing from command line
And if I were to try and build security/netpgpverify-20150902:
===> Building for netpgpverify-20150902
cc -g -c b64.c
cc -g -c bignum.c
cc -g -c bufgap.c
cc -g -c digest.c
digest.c: In function 'digest_init':
digest.c:131:3: warning: implicit declaration of function 'RMD160Init'
[-Wimplicit-function-declaration]
RMD160Init(&hash->u.rmd160ctx);
^
digest.c: In function 'digest_update':
digest.c:215:3: warning: implicit declaration of function
'RMD160Update' [-Wimplicit-function-declaration]
RMD160Update(hash->ctx, data, (unsigned)length);
^
digest.c: In function 'digest_final':
digest.c:247:3: warning: implicit declaration of function
'RMD160Final' [-Wimplicit-function-declaration]
RMD160Final(out, hash->ctx);
^
digest.c:253:3: warning: implicit declaration of function
'netpgpv_SHA512_Final' [-Wimplicit-function-declaration]
netpgpv_SHA512_Final(out, hash->ctx);
^
cc -g -c libverify.c
cc -g -c main.c
cc -g -c misc.c
cc -g -c pgpsum.c
cc -g -c rsa.c
cc -g -c bzlib.c
cc -g -c zlib.c
cc -g -c sha1.c
cc -g -c sha2.c
sha2.c: In function 'netpgpv_SHA256_Update':
sha2.c:481:4: warning: implicit declaration of function
'SHA256_Transform' [-Wimplicit-function-declaration]
SHA256_Transform(context,
^
sha2.c: In function 'netpgpv_SHA224_Update':
sha2.c:613:9: warning: implicit declaration of function
'SHA256_Update' [-Wimplicit-function-declaration]
return SHA256_Update((NETPGPV_SHA256_CTX *)context, data, len);
^
sha2.c: In function 'netpgpv_SHA512_Update':
sha2.c:822:4: warning: implicit declaration of function
'SHA512_Transform' [-Wimplicit-function-declaration]
SHA512_Transform(context,
^
sha2.c: In function 'netpgpv_SHA384_Update':
sha2.c:953:9: warning: implicit declaration of function
'SHA512_Update' [-Wimplicit-function-declaration]
return SHA512_Update((NETPGPV_SHA512_CTX *)context, data, len);
^
cc -g -c md5c.c
cc -g -c rmd160.c
cc -g -c tiger.c
cc b64.o bignum.o bufgap.o digest.o libverify.o main.o misc.o pgpsum.o
rsa.o bzlib.o zlib.o sha1.o sha2.o md5c.o rmd160.o tiger.o -o
netpgpverify
digest.o: In function `digest_init':
/usr/pkgsrc/security/netpgpverify/work/netpgpverify-20150902/digest.c:131:
undefined reference to `RMD160Init'
digest.o: In function `digest_update':
/usr/pkgsrc/security/netpgpverify/work/netpgpverify-20150902/digest.c:215:
undefined reference to `RMD160Update'
digest.o: In function `digest_final':
/usr/pkgsrc/security/netpgpverify/work/netpgpverify-20150902/digest.c:247:
undefined reference to `RMD160Final'
sha2.o: In function `netpgpv_SHA256_Update':
/usr/pkgsrc/security/netpgpverify/work/netpgpverify-20150902/sha2.c:481:
undefined reference to `SHA256_Transform'
/usr/pkgsrc/security/netpgpverify/work/netpgpverify-20150902/sha2.c:501:
undefined reference to `SHA256_Transform'
/usr/pkgsrc/security/netpgpverify/work/netpgpverify-20150902/sha2.c:510:
undefined reference to `SHA256_Transform'
sha2.o: In function `netpgpv_SHA224_256_Final':
/usr/pkgsrc/security/netpgpverify/work/netpgpverify-20150902/sha2.c:555:
undefined reference to `SHA256_Transform'
/usr/pkgsrc/security/netpgpverify/work/netpgpverify-20150902/sha2.c:575:
undefined reference to `SHA256_Transform'
sha2.o: In function `netpgpv_SHA224_Update':
/usr/pkgsrc/security/netpgpverify/work/netpgpverify-20150902/sha2.c:613:
undefined reference to `SHA256_Update'
sha2.o: In function `SHA224_Transform':
/usr/pkgsrc/security/netpgpverify/work/netpgpverify-20150902/sha2.c:619:
undefined reference to `SHA256_Transform'
sha2.o: In function `netpgpv_SHA512_Update':
/usr/pkgsrc/security/netpgpverify/work/netpgpverify-20150902/sha2.c:822:
undefined reference to `SHA512_Transform'
/usr/pkgsrc/security/netpgpverify/work/netpgpverify-20150902/sha2.c:842:
undefined reference to `SHA512_Transform'
/usr/pkgsrc/security/netpgpverify/work/netpgpverify-20150902/sha2.c:851:
undefined reference to `SHA512_Transform'
sha2.o: In function `netpgpv_SHA512_Last':
/usr/pkgsrc/security/netpgpverify/work/netpgpverify-20150902/sha2.c:891:
undefined reference to `SHA512_Transform'
/usr/pkgsrc/security/netpgpverify/work/netpgpverify-20150902/sha2.c:912:
undefined reference to `SHA512_Transform'
sha2.o: In function `netpgpv_SHA384_Update':
/usr/pkgsrc/security/netpgpverify/work/netpgpverify-20150902/sha2.c:953:
undefined reference to `SHA512_Update'
sha2.o: In function `netpgpv_SHA384_Transform':
/usr/pkgsrc/security/netpgpverify/work/netpgpverify-20150902/sha2.c:959:
undefined reference to `SHA512_Transform'
*** Error code 1
Home |
Main Index |
Thread Index |
Old Index