Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 274385 - net-analyzer/paketto: fails to build
Summary: net-analyzer/paketto: fails to build
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High QA (vote)
Assignee: Gentoo Netmon project
Depends on:
Blocks: as-needed
  Show dependency tree
Reported: 2009-06-16 17:33 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2010-07-21 12:48 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---

Build log (paketto-1.10-r1:20090616-165306.log,58.13 KB, text/plain)
2009-06-16 17:33 UTC, Diego Elio Pettenò (RETIRED)

Note You need to log in before you can comment on or make changes to this bug.
Description Diego Elio Pettenò (RETIRED) gentoo-dev 2009-06-16 17:33:06 UTC
I'm reporting this bug because the package in summary fails to build when forcing --as-needed on through spec files (check out 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.

Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-06-16 17:33:53 UTC
Created attachment 194909 [details]
Build log
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2009-11-18 02:52:52 UTC
There is a lot more wrong with that package that nobody is likely to go and fix.
Comment 3 Patrick Lauer gentoo-dev 2010-03-01 15:50:21 UTC
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/
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.
Comment 4 Markos Chandras (RETIRED) gentoo-dev 2010-06-20 17:16:54 UTC
Seems like a great candidate for removal. Dead upstream, latest commit in 2006, fails with --as-needed etc
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2010-06-28 14:07:39 UTC
(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
Comment 6 Samuli Suominen (RETIRED) gentoo-dev 2010-07-21 12:48:02 UTC
Removed from tree.