emerge of iproute failes due to compiler error Reproducible: Always Steps to Reproduce: 1. emerge iproute 2. 3. Actual Results: # emerge shorewall Calculating dependencies ...done! >>> emerge (1 of 2) sys-apps/iproute-20010824-r3 to / >>> md5 src_uri ;-) iproute2-2.4.7-now-ss010824.tar.gz >>> md5 src_uri ;-) iproute_20010824-9.diff.gz >>> Unpacking source... >>> Unpacking iproute2-2.4.7-now-ss010824.tar.gz to /home/scratch/portage_tmp/portage/iproute-20010824-r3/work >>> Unpacking iproute_20010824-9.diff.gz to /home/scratch/portage_tmp/portage/iproute-20010824-r3/work * Applying iproute_20010824-9.diff... [ ok ]>>> Source unpacked. make[1]: Entering directory `/home/scratch/portage_tmp/portage/iproute-20010824-r3/work/iproute2/lib' gcc -D_GNU_SOURCE -Os -march=i686 -pipe -fomit-frame-pointer -Wstrict-prototypes -Wall -g -I../include -I../include-glibc -include ../include-glibc/glibc-bugs.h -I/usr/src/linux/include -DRESOLVE_HOSTNAMES -c -o ll_map.o ll_map.c gcc -D_GNU_SOURCE -Os -march=i686 -pipe -fomit-frame-pointer -Wstrict-prototypes -Wall -g -I../include -I../include-glibc -include ../include-glibc/glibc-bugs.h -I/usr/src/linux/include -DRESOLVE_HOSTNAMES -c -o libnetlink.o libnetlink.c In file included from ../include-glibc/netinet/in.h:7, from ll_map.c:19: /usr/src/linux/include/linux/in.h:140: field `gr_group' has incomplete type /usr/src/linux/include/linux/in.h:141: confused by earlier errors, bailing out make[1]: *** [ll_map.o] Error 1 make[1]: *** Waiting for unfinished jobs.... In file included from ../include-glibc/netinet/in.h:7, from libnetlink.c:20: /usr/src/linux/include/linux/in.h:140: field `gr_group' has incomplete type /usr/src/linux/include/linux/in.h:141: confused by earlier errors, bailing out make[1]: *** [libnetlink.o] Error 1 make[1]: Leaving directory `/home/scratch/portage_tmp/portage/iproute-20010824-r3/work/iproute2/lib' make: *** [all] Error 2 !!! ERROR: sys-apps/iproute-20010824-r3 failed. !!! Function src_compile, Line 58, Exitcode 2 !!! (no error message) Expected Results: iproute should have compiled successfully also tested with CXXFLAGS="-Os -march=i686 -pipe" in addition to that below. #emerge info Portage 2.0.49-r3 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.22_pre2-gss) ================================================================= System uname: 2.4.22_pre2-gss i686 M II 3x Core/Bus Clock ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-Os -march=i686 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-Os -march=i686 -pipe -fomit-frame-pointer" DISTDIR="/home/distfiles" FEATURES="sandbox ccache autoaddcvs" GENTOO_MIRRORS="ftp://planetmirror.com/pub/gentoo/ http://planetmirror.com/pub/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/home/scratch/portage_tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 perl -X -gtk -gnome -alsa -oss apm -arts -avi berkdb crypt -cups -encode -foomaticdb -gdbm -gif -gpm -gtk -imlib -java -jpeg -kde -gnome -libg++ libwww -mad -mikmod mmx -motif -mpeg ncurses -nls -oggvorbis -opengl pam -pdflib -png python -qt -quicktime readline -sdl slang spell ssl -svga tcpd -truetype xml2 -xmms -xv zlib"
*** This bug has been marked as a duplicate of 25691 ***