Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 40510 - Can't emerge iproute-20010824-r4 with linux-headers-2.4.22
Summary: Can't emerge iproute-20010824-r4 with linux-headers-2.4.22
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
: 34377 42347 43659 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-02-05 11:56 UTC by valli
Modified: 2004-04-06 14:23 UTC (History)
10 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 valli 2004-02-05 11:56:54 UTC
I want to install the shorewall firewall. This needs  iproute-20010824-r4,
and this one needs linux-headers-2.4.22
Unfortunatelly the emerge iproute-20010824-r4 always fails
with this headers.
Is there a workaround?
PS: I use the unstable ditribution
    make.conf: ACCEPT_KEYWORDS="~x86"

Reproducible: Always
Steps to Reproduce:
1.emerge -u sys-apps/iproute
2.
3.

Actual Results:  
gcc -D_GNU_SOURCE -mcpu=pentium3 -O3 -pipe -Wstrict-prototypes -Wall -g
-I../include -I../include-glibc -include ../include-glibc/glibc-bugs.h
-I/usr/include -DRESOLVE_HOSTNAMES   -c -o libnetlink.o libnetlink.c
In file included from ../include-glibc/netinet/in.h:7,
                 from libnetlink.c:20:
/usr/include/linux/in.h:140: error: field `gr_group' has incomplete type
/usr/include/linux/in.h:146: error: field `gsr_group' has incomplete type
/usr/include/linux/in.h:147: error: field `gsr_source' has incomplete type
/usr/include/linux/in.h:153: error: field `gf_group' has incomplete type
/usr/include/linux/in.h:156: error: field `gf_slist' has incomplete type
In file included from ../include-glibc/netinet/in.h:7,
                 from ll_map.c:19:
/usr/include/linux/in.h:140: error: field `gr_group' has incomplete type
/usr/include/linux/in.h:146: error: field `gsr_group' has incomplete type
/usr/include/linux/in.h:147: error: field `gsr_source' has incomplete type
/usr/include/linux/in.h:153: error: field `gf_group' has incomplete type
/usr/include/linux/in.h:156: error: field `gf_slist' has incomplete type
make[1]: *** [ll_map.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [libnetlink.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/iproute-20010824-r4/work/iproute2/lib'
make: *** [all] Error 2

!!! ERROR: sys-apps/iproute-20010824-r4 failed.
!!! Function src_compile, Line 57, Exitcode 2
!!! (no error message)



Expected Results:  
emerge successfully

Portage 2.0.50_pre22 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3_pre20040117-r0,
2.4.24)
=================================================================
System uname: 2.4.24 i686 Pentium III (Coppermine)
Gentoo Base System version 1.4.3.12
Autoconf: sys-devel/autoconf-2.59
Automake: sys-devel/automake-1.8.2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-mcpu=pentium3 -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-mcpu=pentium3 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs buildpkg ccache cvs distcc keeptemp keepwork noauto noclean
notitles sandbox userpriv usersandbox"
GENTOO_MIRRORS="http://gentoo.inode.at
http://sunsite.cnlab-switch.ch/ftp/mirror/gentoo
http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo
http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X apm arts avi berkdb crypt cups encode esd foomaticdb gd gdbm gif gpm gtk
gtk2 imlib java jpeg libg++ libwww mad mikmod motif mozilla mpeg ncurses nls
oggvorbis opengl oss pam pdflib perl png postgres python qt quicktime readline
sasl sdl slang spell ssl svga tcpd tiff truetype wmf x86 xml2 xmms xv zlib"
Comment 1 Joshua Kinard gentoo-dev 2004-02-12 01:19:48 UTC
hrmm, highly unlikely.  iproute was written by the same author(s) of iputils, and like iputils, seem to no longer be maintained.  I have heard reports to the contrary on this, and At one point, found some patches from some small linux distribution (Owl Linux I believe) that did something to iputils.  FYI, iputils had the exact same errors that your getting, and I believe the iputils FTP site went offline (I have another bug open on this issue).  Once I knock some classwork out of the way, I'll have to try and take a look at this, and see if there isn't a newer iproute version available, or some patches lying around for this.
Comment 2 Ioannis Aslanidis (RETIRED) gentoo-dev 2004-02-18 04:27:15 UTC
I have 4 machines with the same problem, but 2 use 2.4 kernels and the other 2 use 2.6 kernels. All of them can't compile iproute.

There is a workaround if you want to install shorewall: emerge the previous release of iproute, then emerge shorewall, it'll work as it did for me. It's the only thing you can do meanwhile to issue gets solved if you want to run shorewall.
Comment 3 SpanKY gentoo-dev 2004-02-21 03:08:45 UTC
*** Bug 34377 has been marked as a duplicate of this bug. ***
Comment 4 SpanKY gentoo-dev 2004-02-21 03:09:16 UTC
*** Bug 42347 has been marked as a duplicate of this bug. ***
Comment 5 Ben Ford 2004-02-21 20:29:56 UTC
I tried all four versions of iproute available, all failed to build.
Comment 6 Jesper Toft 2004-02-27 02:12:07 UTC
Had same problem.
emerge /usr/portage/sys-kernel/linux-headers/linux-headers-2.6.3-r1.ebuild
fixed it for me.
Comment 7 Colin Tinker 2004-02-27 10:18:05 UTC
emerge /usr/portage/sys-kernel/linux-headers/linux-headers-2.6.3-r1.ebuild

This worked but when I try to do an emerge -DuP world it wants to remove it again how do I stop this without using U instead of u?
Comment 8 SpanKY gentoo-dev 2004-04-06 07:59:12 UTC
*** Bug 43659 has been marked as a duplicate of this bug. ***
Comment 9 SpanKY gentoo-dev 2004-04-06 08:12:48 UTC
could you test out iproute-20010824-r5 ?
Comment 10 Greg Kroah-Hartman (RETIRED) gentoo-dev 2004-04-06 12:52:45 UTC
sys-apps/iproute-20010824-r5 is better, but now I get a different error when building it:

gcc -D_GNU_SOURCE -O3 -march=i686 -funroll-loops -pipe -Wstrict-prototypes -Wall -g -I../include -include ../include-glibc/glibc-bugs.h -I/usr/include -DRESOLVE_HOSTNAMES   -c -o ipx_pton.o ipx_pton.c
In file included from ll_types.c:23:
/usr/include/netinet/in.h:262: error: syntax error before '(' token
/usr/include/netinet/in.h:262: error: syntax error before "__u32"
/usr/include/netinet/in.h:263: error: syntax error before '(' token
/usr/include/netinet/in.h:263: error: syntax error before "__u16"
/usr/include/netinet/in.h:265: error: syntax error before '(' token
/usr/include/netinet/in.h:265: error: syntax error before "__u32"
/usr/include/netinet/in.h:267: error: syntax error before '(' token
/usr/include/netinet/in.h:267: error: syntax error before "__u16"
In file included from ll_proto.c:23:
/usr/include/netinet/in.h:262: error: syntax error before '(' token
/usr/include/netinet/in.h:262: error: syntax error before "__u32"
/usr/include/netinet/in.h:263: error: syntax error before '(' token
/usr/include/netinet/in.h:263: error: syntax error before "__u16"
/usr/include/netinet/in.h:265: error: syntax error before '(' token
/usr/include/netinet/in.h:265: error: syntax error before "__u32"
/usr/include/netinet/in.h:267: error: syntax error before '(' token
/usr/include/netinet/in.h:267: error: syntax error before "__u16"
In file included from ll_addr.c:23:
/usr/include/netinet/in.h:262: error: syntax error before '(' token
/usr/include/netinet/in.h:262: error: syntax error before "__u32"
/usr/include/netinet/in.h:263: error: syntax error before '(' token
/usr/include/netinet/in.h:263: error: syntax error before "__u16"
/usr/include/netinet/in.h:265: error: syntax error before '(' token
/usr/include/netinet/in.h:265: error: syntax error before "__u32"
/usr/include/netinet/in.h:267: error: syntax error before '(' token
/usr/include/netinet/in.h:267: error: syntax error before "__u16"
make[1]: *** [ll_proto.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [ll_addr.o] Error 1
make[1]: *** [ll_types.o] Error 1
make: *** [all] Error 2

!!! ERROR: sys-apps/iproute-20010824-r5 failed.
!!! Function src_compile, Line 66, Exitcode 2
!!! (no error message)
Comment 11 SpanKY gentoo-dev 2004-04-06 14:23:04 UTC
ok, so the original bug is FIXED

the new bug is at Bug 46978