Tried to emerge iproute (all ebuilds), but it fails to compile (even non-gentoo source). I get the following output: >>> emerge (1 of 1) 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 /usr/local/src/portage/iproute-20010824-r3/work >>> Unpacking iproute_20010824-9.diff.gz to /usr/local/src/portage/iproute-20010824-r3/work * Applying iproute_20010824-9.diff... [ ok ] >>> Source unpacked. make[1]: Entering directory `/usr/local/src/portage/iproute-20010824-r3/work/iproute2/lib' gcc -D_GNU_SOURCE -mcpu=athlon -O3 -pipe -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 -mcpu=athlon -O3 -pipe -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 `/usr/local/src/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) Looks like some kernel include problem. I have glibc-2.3.2-r1, linux-2.4.22-pre3-ac1 kernel, gcc3.2.3-r1. Reproducible: Always Steps to Reproduce: 1. 2. 3.
please test this again now with -r4 as we now build against the kernel headers in /usr/include/linux.
ok ... everything works now ... thx
fixed
Any chance of moving -r4 to stable? As there's no mention of 'gr_group has incomplete type', in the summary, it's easy to miss this solution, I thought it likely to be due to my use of vanilla sources.
*** Bug 28210 has been marked as a duplicate of this bug. ***
*** Bug 28241 has been marked as a duplicate of this bug. ***
*** Bug 28912 has been marked as a duplicate of this bug. ***
any new revelations/issues should be taken to Bug 25459
*** Bug 29469 has been marked as a duplicate of this bug. ***