Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 80120 - sys-apps/iproute2-2.6.10.20050112-r1 fails to compile - db_185.h: No such file or directory
Summary: sys-apps/iproute2-2.6.10.20050112-r1 fails to compile - db_185.h: No such fil...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Paul de Vrieze (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-30 12:33 UTC by Wolf Goetze
Modified: 2005-02-01 05:47 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 Wolf Goetze 2005-01-30 12:33:54 UTC
I cannot compile iproute2-2.6.10.20050112-r1. The error message is:

i686-pc-linux-gnu-gcc -D_GNU_SOURCE -march=athlon-xp -O2 -pipe -fomit-frame-pointer -Wstrict-prototypes -Wall -g -I../include -DRESOLVE_HOSTNAMES -I/usr/include  -o arpd arpd.c ../lib/libnetlink.a ../lib/libutil.a -ldb -lpthread
arpd.c:19:20: db_185.h: No such file or directory
arpd.c:42: error: parse error before '*' token

However locate db_185.h gives
locate db_185.h
/usr/include/db4.1/db_185.h

and sys-libs/db-1.85-r1 is installed.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.




Portage 2.0.51-r15 (default-linux/x86/2004.3, gcc-3.3.5, 
glibc-2.3.4.20040808-r1, 2.6.11-rc2-ck1 i686) 
================================================================= 
System uname: 2.6.11-rc2-ck1 i686 AMD Athlon(tm) XP 2800+ 
Gentoo Base System version 1.4.16 
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Dec  5 2004, 11:15:34)] 
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) 
[disabled] 
dev-lang/python:     2.3.4 
sys-devel/autoconf:  2.13, 2.59-r6 
sys-devel/automake:  1.5, 1.6.3, 1.9.4, 1.4_p6, 1.7.9, 1.8.5-r2 
sys-devel/binutils:  2.15.92.0.2-r1 
sys-devel/libtool:   1.5.10-r4 
virtual/os-headers:  2.6.8.1-r2 
ACCEPT_KEYWORDS="x86" 
AUTOCLEAN="yes" 
CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer" 
CHOST="i686-pc-linux-gnu" 
CONFIG_PROTECT="/etc /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/X11/xkb /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="-march=athlon-xp -O2 -pipe -fomit-frame-pointer" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms userpriv 
usersandbox" 
GENTOO_MIRRORS="http://gentoo.mirror.sdv.fr 
http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ 
http://ftp.uni-erlangen.de/pub/mirrors/gentoo 
http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ 
http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ 
http://www.mirrorservice.org/sites/www.ibiblio.org/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="x86 3dnow 3dnowex X aac aalib acpi acpi4linux alsa arts audiofile avi 
berkdb bitmap-fonts bonobo cdparanoia cdr crypt cups dga directfb divx4linux 
doc dv dvb dvd emacs encode esd extensions f77 fam fbcon flac foomaticdb 
fortran gdbm gif gimpprint gmp gtk gtk2 gtkhtml guile ieee1394 imagemagick 
imap imlib ipv6 java joystick jpeg jpeg2k kde latex libcaca libg++ libwww live 
lzo mad maildir mmx mmx2 motif mozilla moznocompose moznoirc moznomail mpeg 
mysql mythtv ncurses network nls nptl nptlonly nvidia ofx oggvorbis openal 
opengl operanom2 oss pam pda pdflib perl pic plotutils png povray python qt 
quicktime readline real rtc sambascanner sdl speex spell sse ssl tcltk tcpd 
tetex theora tiff truetype truetype-fonts type1-fonts usb v4l v4l2 winbind 
xanim xine xml xml2 xmms xosd xv xvid xvmc yv12 zlib" 
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS
Comment 1 SpanKY gentoo-dev 2005-01-30 12:53:28 UTC
you should have /usr/include/db_185.h
Comment 2 Wolf Goetze 2005-01-31 05:55:32 UTC
What package do I need to merge? The file /usr/include/db_185.h does not exist and is not recognised by qpkg -f either.

qpkg -l -nc sys-libs/db gives (minus the /usr/share/doc stuff):

sys-libs/db-4.1.25_p1-r4
CONTENTS:
/usr
/usr/include
/usr/include/db4.1
/usr/include/db4.1/db.h
/usr/include/db4.1/cxx_common.h
/usr/include/db4.1/db_185.h
/usr/include/db4.1/db_cxx.h
/usr/include/db4.1/cxx_except.h
/usr/lib
/usr/lib/libdb_tcl-4.1.so
/usr/lib/libdb_tcl-4.1.a
/usr/lib/libdb_java-4.1.la
/usr/lib/libdb_cxx-4.1.a
/usr/lib/libdb-4.1.la
/usr/lib/db-4.1.jar
/usr/lib/libdb-4.1.a
/usr/lib/libdb-4.1.so
/usr/lib/libdb_cxx-4.1.so
/usr/lib/libdb_java-4.1.a
/usr/lib/libdb_java-4.1.so
/usr/lib/libdb_tcl-4.1.la
/usr/lib/libdb_cxx-4.1.la
/usr/bin
/usr/bin/db4.1_archive
/usr/bin/db4.1_dump
/usr/bin/db4.1_upgrade
/usr/bin/db4.1_printlog
/usr/bin/db4.1_verify
/usr/bin/db4.1_deadlock
/usr/bin/db4.1_load
/usr/bin/db4.1_checkpoint
/usr/bin/db4.1_stat
/usr/bin/db4.1_recover
/usr/sbin
/usr/sbin/berkeley_db41_svc

sys-libs/db-1.85-r1
CONTENTS:
/usr
/usr/lib
/usr/lib/libdb1.a
/usr/lib/libdb1.so.2
/usr/lib/libdb1.so -> libdb1.so.2 1102242093
/usr/lib/libdb.so.2 -> libdb1.so.2 1102242093
/usr/lib/libndbm.so -> libdb1.so.2 1102242093
/usr/lib/libndbm.a -> libdb1.a 1102242093
/usr/include
/usr/include/db1
/usr/include/db1/db.h
/usr/include/db1/mpool.h
/usr/include/db1/ndbm.h
/usr/include/ndbm.h -> db1/ndbm.h 1102242094
/usr/bin
/usr/bin/db1_dump185
Comment 3 Paul de Vrieze (RETIRED) gentoo-dev 2005-02-01 01:44:15 UTC
Ok, some way your install got corrupted. /usr/include/db_185.h should be a symbolic link to /usr/include/db*/db_185.h, where the star is the highest version available on the system. The best thing to do would be to do a remerge of any of the db 4 packages installed. This should reset things to a proper state.
Comment 4 Wolf Goetze 2005-02-01 05:47:16 UTC
That did it, thanks a lot.