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"
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.
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.
*** Bug 34377 has been marked as a duplicate of this bug. ***
*** Bug 42347 has been marked as a duplicate of this bug. ***
I tried all four versions of iproute available, all failed to build.
Had same problem. emerge /usr/portage/sys-kernel/linux-headers/linux-headers-2.6.3-r1.ebuild fixed it for me.
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?
*** Bug 43659 has been marked as a duplicate of this bug. ***
could you test out iproute-20010824-r5 ?
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)
ok, so the original bug is FIXED the new bug is at Bug 46978