emerge inserts patches, runs thru conf, and then fails on ipt_get_target in ip_tables.h (line 153). Emerge log as follows: arcs1 root # emerge -k iptables Calculating dependencies ...done! >>> emerge (1 of 1) net-firewall/iptables-1.2.9 to / >>> md5 src_uri ;-) iptables-1.2.9.tar.bz2 >>> Unpacking source... >>> Unpacking iptables-1.2.9.tar.bz2 to /var/tmp/portage/iptables-1.2.9/work * Applying various patches (bugfixes/updates)... * 01_all_grsecurity.patch.bz2... [ ok ] * 02_all_imq.patch.bz2... [ ok ] * 04_all_install_ipv6_apps.patch.bz2... [ ok ] * 05_all_install_all_dev_files.patch.bz2... [ ok ] * 06_all_l7.patch.bz2... [ ok ] * Done with patching >>> Source unpacked. ipv6 /bin/sh: line 1: extensions/.childlevel-test: Permission denied /bin/sh: line 1: extensions/.layer7-test: Permission denied Making dependencies: please wait... /bin/sh: line 1: extensions/.childlevel-test: Permission denied /bin/sh: line 1: extensions/.layer7-test: Permission denied Extensions found: IPv4:recent IPv6:ah IPv6:esp IPv6:frag IPv6:ipv6header IPv6:hbh IPv6:dst IPv6:rt // lots of gcc steps deleted // gcc -march=athlon-xp -mfpmath=sse -msse -mmmx -m3dnow -Iinclude -Wall -Wunused -I/usr/src/linux/include -DIPTABLES_VERSION=\"1.2.9\" -DIPT_LIB_DIR=\"/lib/iptables\" -c -o iptables.o iptables.c iptables.c:153: error: redefinition of `ipt_get_target' /usr/src/linux/include/linux/netfilter_ipv4/ip_tables.h:294: error: `ipt_get_target' previously defined here make: *** [iptables.o] Error 1 !!! ERROR: net-firewall/iptables-1.2.9 failed. !!! Function src_compile, Line 54, Exitcode 2 !!! (no error message) Reproducible: Always Steps to Reproduce: 1. emerge -k iptables 2. patch runs, config runs, gcc starts 3. errors out per above Actual Results: No iptables! Expected Results: Iptables built Portage 2.0.50-r6 (default-x86-2004.0, gcc-3.3.2, glibc-2.3.2-r9, 2.6.5-gentoo-r1) ================================================================= System uname: 2.6.5-gentoo-r1 i686 AMD Duron(tm) processor Gentoo Base System version 1.4.10 Autoconf: sys-devel/autoconf-2.58-r1 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -mfpmath=sse -msse -mmmx -m3dnow" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-xp -mfpmath=sse -msse -mmmx -m3dnow" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo http://128.213.5.34/gentoo/ ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://mirrors.tds.net/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X acpi apache2 apm arts avi berkdb cdr crypt cups encode esd foomaticdb gdbm gif gpm gps gtk2 imagemagick imlib ipv6 jpeg kde ldap libg++ libwww mad mikmod mmx motif mozilla mpeg ncurses nls odbc oggvorbis opengl oss pam pdflib perl png postgres postgresql python qt quicktime readline samba sdl slang spell ssl svga tcpd tiff truetype x86 xml xml2 xmms xv zlib"
*** This bug has been marked as a duplicate of 44204 ***