Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 65403 - iproute2-2.6.7.20040608-r1 compile error because of wrong include-statement in misc/arpd.c:19
Summary: iproute2-2.6.7.20040608-r1 compile error because of wrong include-statement i...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-26 06:56 UTC by Emil Beinroth
Modified: 2004-11-18 10:12 UTC (History)
0 users

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 Emil Beinroth 2004-09-26 06:56:52 UTC
I can't emerge iproute2-2.6.7.20040608-r1 because of wrong path to included header in misc/arpd.c:19.
After removing line 62 (sed -i 's:db41/db_185:db_185:' misc/arpd.c || die "sed misc/arpd.c failed") from the ebuild, the error is gone.

Reproducible: Always
Steps to Reproduce:
1.emerge iproute2

Actual Results:  
Compile error

Expected Results:  
Successfully compile iproute2

Portage 2.0.51_rc1 (default-x86-2004.2, gcc-3.3.4, glibc-2.3.3.20040420-r1,
2.6.8-gentoo-r3 i586)
=================================================================
System uname: 2.6.8-gentoo-r3 i586 AMD-K6tm w/ multimedia extensions
Gentoo Base System version 1.4.16
distcc 2.16 i586-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.14.90.0.8-r1
Headers:  sys-kernel/linux26-headers-2.6.8.1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=k6 -O2 -pipe -fomit-frame-pointer"
CHOST="i586-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k6 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/local/portage/distfiles"
FEATURES="autoaddcvs ccache distcc sandbox userpriv"
GENTOO_MIRRORS="http://mirrors.sec.informatik.tu-darmstadt.de/gentoo
ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror
http://www.ibiblio.org/pub/Linux/distributions/gentoo "
MAKEOPTS="-j3"
PKGDIR="/usr/local/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/local /usr/local/portage/gentoo-de"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="apm avi bitmap-fonts chroot crypt cups encode foomaticdb gd gdbm imlib jpeg
libg++ libwww mad mbox mikmod mmx motif mpeg ncurses nfs nptl ntpl oggvorbis
opengl oss pam pdflib perl png python quicktime readline reiserfs sdl slang
spell ssl svga tcpd threads truetype x86 xml2 xmms xprint xv zlib"
Comment 1 Emil Beinroth 2004-09-26 08:19:03 UTC
I don't know why, but on other machines /usr/include/db_185.h is a symlink to
/usr/include/db4.1/db_185.h. Some other paket must have messed that symlink. So I apologize for this obvisouly invalid bug.
Comment 2 Eric Paynter 2004-10-27 21:57:07 UTC
The symlink went to the wrong version on my system too. Maybe a problem with another ebuild not updating the symlink?
Comment 3 Maarten Wisse 2004-11-18 09:37:14 UTC
Please change the status of this bug!

I have the same problem, but with me, removing the sed line nor changing symlinks does help. The symlink is on my system to db4/db_185.h which indeed contains db_185.h. Removing sed line leads to other compile problems.
Here is the compile error with unchanged ebuild:

ssfilter.y: conflicts: 27 shift/reduce
arpd.o(.text+0x1282): In function `main':
/var/tmp/portage/iproute2-2.6.7.20040608-r1/work/iproute2-2.6.7/misc/arpd.c:670: undefined reference to `__db185_open_4000'
collect2: ld returned 1 exit status
make[1]: *** [arpd] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [all] Error 2

!!! ERROR: sys-apps/iproute2-2.6.7.20040608-r1 failed.
!!! Function src_compile, Line 71, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.

Gentoo Base System version 1.4.16
Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.6.8-gentoo-r3 i686)
=================================================================
System uname: 2.6.8-gentoo-r3 i686 AMD Athlon(tm) XP 2000+
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.14.90.0.8-r1
Headers:  sys-kernel/linux26-headers-2.6.8.1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=athlon-xp -funroll-loops -fprefetch-loop-arrays -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=athlon-xp -funroll-loops -fprefetch-loop-arrays -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://gentoo.inode.at/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://gentoo.mirror.sdv.fr http://ds.thn.htu.se/linux/gentoo http://ftp.easynet.nl/mirror/gentoo/ http://ftp.iasi.roedu.net/mirrors/gentoo.org/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow X acpi alsa apm arts avi berkdb bitmap-fonts cdr crypt cups dvd encode esd f77 fam flac foomaticdb fortran gdbm gif gphoto2 gpm gtk2 guile imagemagick imlib jack java jpeg kde ldap libg++ libwww mad mikmod mmx motif mozilla mpeg mule mysql ncurses nls oggvorbis opengl pam pcmcia pdflib php png ppds python qt quicktime readline samba sdl slang speex spell sqlite ssl svga tcltk tcpd tetex tiff truetype usb wifi x86 xml xml2 xmms xv zlib linguas_nl"

Comment 4 Maarten Wisse 2004-11-18 10:12:11 UTC
changing symlink to db4.1/db_185.h solves the issue, but this should still be solved