Created attachment 409002 [details] Build log With USE="-pcap" iptables fails to build as it still depends on libpcap but it wasn't brought in as a dependency.
Created attachment 409004 [details] Config log
Created attachment 409006 [details] Emerge info
From (my) build.log: ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --libdir=/usr/lib64 --sbindir=/sbin --libexecdir=/lib64 --enable-devel --enable-shared --disable-bpf-compiler --disable-static --enable-ipv6 OK: --disable-bpf-compiler, but then: checking for pcap_compile in -lpcap... no configure: error: missing libpcap library required by bpf compiler or nfsynproxy tool In the prepared (work) configure.ac: AC_ARG_ENABLE([bpf-compiler], AS_HELP_STRING([--enable-bpf-compiler], [Build bpf compiler]), [enable_bpfc="yes"], [enable_bpfc="no"]) From the autoconf manual page: http://www.gnu.org/software/autoconf/manual/autoconf.html#index-AC_005fARG_005fENABLE-1944 — Macro: AC_ARG_ENABLE (feature, help-string, [action-if-given], [action-if-not-given]) So "--disable-bpf-compiler" actually *ENABLES* the bpf compiler. Likewise the nfsynproxy --enable option, but some of the others are correct (using 'enableval'). I think they can all be changed to: AC_ARG_ENABLE([option],AS_HELP_STRING(...),,) the tests only seem to check for 'yes', so the empty string and 'no' are equivalent.
*** Bug 557594 has been marked as a duplicate of this bug. ***
Just changing enable_bpfc and enable_nfsynproxy to $enableval will work.
*** Bug 557828 has been marked as a duplicate of this bug. ***
should be fixed by: http://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1f367931c8e234cc3ac1f20ec191f80aa3a91c2a