Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 25691 - cannot emerge iproute, include/library problem
Summary: cannot emerge iproute, include/library problem
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
: 28210 28241 28912 29469 (view as bug list)
Depends on: 25193
Blocks:
  Show dependency tree
 
Reported: 2003-08-01 04:07 UTC by Solto
Modified: 2003-09-23 21:36 UTC (History)
5 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Solto 2003-08-01 04:07:21 UTC
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.
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-08-16 23:15:20 UTC
please test this again now with -r4 as we now build against the kernel headers in /usr/include/linux.
Comment 2 Solto 2003-08-17 11:55:56 UTC
ok ... everything works now ... thx
Comment 3 Martin Holzer (RETIRED) gentoo-dev 2003-08-17 12:16:15 UTC
fixed
Comment 4 Rob Davies 2003-09-04 06:12:14 UTC
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. 
Comment 5 SpanKY gentoo-dev 2003-09-08 13:24:57 UTC
*** Bug 28210 has been marked as a duplicate of this bug. ***
Comment 6 SpanKY gentoo-dev 2003-09-15 11:39:47 UTC
*** Bug 28241 has been marked as a duplicate of this bug. ***
Comment 7 SpanKY gentoo-dev 2003-09-16 14:50:56 UTC
*** Bug 28912 has been marked as a duplicate of this bug. ***
Comment 8 SpanKY gentoo-dev 2003-09-22 14:34:34 UTC
any new revelations/issues should be taken to Bug 25459
Comment 9 Brandy Westcott (RETIRED) gentoo-dev 2003-09-23 21:36:20 UTC
*** Bug 29469 has been marked as a duplicate of this bug. ***