Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 449262 - net-firewall/iptables-1.4.17: build uses system -lip6tc rather than local one
Summary: net-firewall/iptables-1.4.17: build uses system -lip6tc rather than local one
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-30 06:00 UTC by Mike Gilbert
Modified: 2012-12-30 23:11 UTC (History)
1 user (show)

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


Attachments
Build log (net-firewall:iptables-1.4.17:20121230-055320.log,80.98 KB, text/plain)
2012-12-30 06:00 UTC, Mike Gilbert
Details

Note You need to log in before you can comment on or make changes to this bug.
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