Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 449262

Summary: net-firewall/iptables-1.4.17: build uses system -lip6tc rather than local one
Product: Gentoo Linux Reporter: Mike Gilbert <floppym>
Component: [OLD] UnspecifiedAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED FIXED    
Severity: normal CC: pva
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Build log

Description Mike Gilbert gentoo-dev 2012-12-30 06:00:18 UTC
Created attachment 333730 [details]
Build log

This occurs when building iptables-1.4.17 without a previous version installed. 

It does not occur when upgrading or replacing iptables; I assume it is erroneously linking against the installed copy of libip6tc.so in that case.

x86_64-pc-linux-gnu-gcc -Wl,--no-undefined -shared -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -o libip6t_NETMAP.so libip6t_NETMAP.oo -L../libxtables/.libs -lxtables -lip6tc;
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.2/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lip6tc
collect2: error: ld returned 1 exit status
make[2]: *** [libip6t_NETMAP.so] Error 1
Comment 1 SpanKY gentoo-dev 2012-12-30 23:11:13 UTC
should be all set now in the tree; thanks for the report!

Commit message: Link against local libip6tc
http://sources.gentoo.org/net-firewall/iptables/files/iptables-1.4.17-libip6tc.patch?rev=1.1
http://sources.gentoo.org/net-firewall/iptables/iptables-1.4.17.ebuild?r1=1.1&r2=1.2