Summary: | Cannot build iproute | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Miroslav Šulc <fordfrog> |
Component: | Current packages | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
Status: | RESOLVED DUPLICATE | ||
Severity: | blocker | CC: | brandy, chutz+bugs.gentoo.org |
Priority: | Lowest | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Miroslav Šulc
2003-09-09 00:40:24 UTC
Please attach the output of "emerge --info" as requested on the bug submission page. Thanks. Here is the info output: 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 Pentium III (Coppermine) ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -mcpu=i686 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O2 -mcpu=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="sandbox ccache autoaddcvs" GENTOO_MIRRORS="http://download.nautilus.startnet.cz/gentoo-mirror/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ http://ftp.easynet.nl/mirror/gentoo/ http://212.219.247.20/sites/www.ibiblio.org/gentoo/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://212.219.247.10/sites/www.ibiblio.org/gentoo/ http://trumpetti.atm.tut.fi/gentoo/ ftp://ftp.uninett.no/pub/linux/Gentoo http://212.219.247.21/sites/www.ibiblio.org/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 oss apm avi crypt cups encode foomaticdb gif jpeg libg++ mad mikmod mmx mpeg ncurses nls pdflib png quicktime spell truetype xmms xv zlib alsa gdbm berkdb slang readline arts svga java sdl gpm tcpd pam libwww ssl perl python esd imlib oggvorbis motif opengl mozilla gphoto2 ldap cdr scanner X kde qt gd xml xml2 curl flash freetds imap mysql snmp tiff mcal samba -gnome -gtk" Based on a post to the LARTC mailing list ( http://mailman.ds9a.nl/pipermail/lartc/2003q3/009651.html ) it looks like iproute does not play nice with 2.4.22_pre2-gss headers. This error is caused by a sockaddr_storage struct being used without first being declared. This is caused by using kernel header files in /usr/src/linux instead of /usr/include/linux. The iproute-20010824-r4 ebuild fixes this problem: src_compile() { emake KERNEL_INCLUDE=/usr/include || die } I had the same problem, and I am using vanilla-sources-2.4.22. I can confirm that -r4 fixed the problem for me. Seems it is not only the gss sources that have problems after all. Where can I get the -r4 ebuild? I am new to Gentoo. My portage tree still has only -r3 ebuild though I had run 'emerge sync' few minutes ago. BTW: Is there a way for me to close this bug? The ebuild is masked. You can try emerge /usr/portage/sys-apps/iproute/iproute-20010824-r4.ebuild or easier: ACCEPT_KEYWORDS="~x86" emerge iproute I am not sure what documentation it would be best to read. Thank you, Georgi. I have red some documentation but I forgot ACCEPT_KEYWORDS variable. Thank you all for solving my problem. Do I need to close the bug myself or will it do somebody else? If it's up to me, how can I close the bug? |