I'm reporting this bug because the package in summary fails to build when forcing --as-needed on through spec files (check out http://blog.flameeyes.eu/2008/11/14/problems-and-mitigation-strategies-for-as-needed for details). Please note that this bug _might_ apply to -Wl,--as-needed in LDFLAGS as well; in both cases it should be fixed. Also, if this is due to the package in question not respecting user-defined LDFLAGS, you should get to fix that too. Check the attached build log. Thanks, Diego
Created attachment 194909 [details] Build log
There is a lot more wrong with that package that nobody is likely to go and fix.
there's a libtomcrypt dep that's commented out in the ebuild (why? it's needed afaict), and with that added: x86_64-pc-linux-gnu-gcc -O2 -pipe -I/var/tmp/portage/net-analyzer/paketto-1.10-r1/work/paketto-1.10/libpcap-0.7.1 -I/var/tmp/portage/net-analyzer/paketto-1.10-r1/work/paketto-1.10/libpcap-0.7.1/bpf -I/var/tmp/portage/net-analyzer/paketto-1.10-r1/work/paketto-1.10 -I/var/tmp/portage/net-analyzer/paketto-1.10-r1/work/paketto-1.10/libpcap-0.7.1 -I/var/tmp/portage/net-analyzer/paketto-1.10-r1/work/paketto-1.10/libpcap-0.7.1/bpf -I/var/tmp/portage/net-analyzer/paketto-1.10-r1/work/paketto-1.10 -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DLIBNET_LIL_ENDIAN -I/usr/lib:/usr/bin:/usr/local/bin:/opt/../include/libnet -I/var/tmp/portage/net-analyzer/paketto-1.10-r1/work/paketto-1.10/libtomcrypt -I/var/tmp/portage/net-analyzer/paketto-1.10-r1/work/paketto-1.10/libtomcrypt -O2 -pipe -I/var/tmp/portage/net-analyzer/paketto-1.10-r1/work/paketto-1.10/libpcap-0.7.1 -I/var/tmp/portage/net-analyzer/paketto-1.10-r1/work/paketto-1.10/libpcap-0.7.1/bpf -I/var/tmp/portage/net-analyzer/paketto-1.10-r1/work/paketto-1.10 -I/var/tmp/portage/net-analyzer/paketto-1.10-r1/work/paketto-1.10/libpcap-0.7.1 -I/var/tmp/portage/net-analyzer/paketto-1.10-r1/work/paketto-1.10/libpcap-0.7.1/bpf -I/var/tmp/portage/net-analyzer/paketto-1.10-r1/work/paketto-1.10 -Wl,-O1 -o minewt paketto.o minewt.o pk_crypt.o -L/var/tmp/portage/net-analyzer/paketto-1.10-r1/work/paketto-1.10/libpcap-0.7.1 -lpcap -lpcap -lnet-1.0 -L/usr/lib:/usr/bin:/usr/local/bin:/opt/../lib -L/var/tmp/portage/net-analyzer/paketto-1.10-r1/work/paketto-1.10/libtomcrypt /usr/lib/libtomcrypt.so pk_crypt.o: In function `pk_initrng': pk_crypt.c:(.text+0x84): undefined reference to `crypt_error' pk_crypt.c:(.text+0xc3): undefined reference to `crypt_error' pk_crypt.c:(.text+0xeb): undefined reference to `crypt_error' pk_crypt.c:(.text+0x10b): undefined reference to `crypt_error' pk_crypt.o: In function `pk_hmac': pk_crypt.c:(.text+0x25a): undefined reference to `crypt_error' pk_crypt.o:pk_crypt.c:(.text+0x27c): more undefined references to `crypt_error' follow collect2: ld returned 1 exit status make[2]: *** [minewt] Error 1 make[2]: Leaving directory `/var/tmp/portage/net-analyzer/paketto-1.10-r1/work/paketto-1.10/src' make[1]: *** [all] Error 2 make[1]: Leaving directory `/var/tmp/portage/net-analyzer/paketto-1.10-r1/work/paketto-1.10/src' make: *** [all-recursive] Error 1 * ERROR: net-analyzer/paketto-1.10-r1 failed: Looks like a treecleaner candidate to me.
Seems like a great candidate for removal. Dead upstream, latest commit in 2006, fails with --as-needed etc
(In reply to comment #4) > Seems like a great candidate for removal. Dead upstream, latest commit in 2006, > fails with --as-needed etc > masked for removal
Removed from tree.