emerge sync; emerge kdevelop yields to EBUG -DNO_DEBUG -O2 -march=pentium4 -O3 -pipe -fomit-frame-pointer -fforce-addr -funroll-loops -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -o r++ -L/usr/X11R6/lib -L/usr/qt/3/lib -L/usr/kde/3.2/lib main.o libkdevcppsupport.la ../../lib/catalog/libkdevcatalog.la ../../lib/cppparser/libkdevcppparser.la *** Warning: Linking the executable r++ against the loadable module *** libkdevcppsupport.so is not portable! main.o(.gnu.linkonce.t._ZN8GCatalogI3TagE4openERK7QString+0x42): In function `GCatalog<Tag>::open(QString const&)': : undefined reference to `db_create_4000' main.o(.gnu.linkonce.t._ZN8GCatalogI3TagE4openERK7QString+0x4e): In function `GCatalog<Tag>::open(QString const&)': : undefined reference to `db_strerror_4000' main.o(.gnu.linkonce.t._ZN8GCatalogI3TagE4openERK7QString+0x142): In function `GCatalog<Tag>::open(QString const&)': : undefined reference to `db_strerror_4000' main.o(.gnu.linkonce.t._ZN8GCatalogI3TagE4openERK7QString+0x14f): In function `GCatalog<Tag>::open(QString const&)': : undefined reference to `db_strerror_4000' main.o(.gnu.linkonce.t._ZN8GCatalogI3TagE8addIndexERK8QCString+0xb0): In function `GCatalog<Tag>::addIndex(QCString const&)': : undefined reference to `db_create_4000' main.o(.gnu.linkonce.t._ZN8GCatalogI3TagE8addIndexERK8QCString+0xbc): In function `GCatalog<Tag>::addIndex(QCString const&)': : undefined reference to `db_strerror_4000' main.o(.gnu.linkonce.t._ZN8GCatalogI3TagE8addIndexERK8QCString+0x442): In function `GCatalog<Tag>::addIndex(QCString const&)': : undefined reference to `db_strerror_4000' main.o(.gnu.linkonce.t._ZN8GCatalogI3TagE8addIndexERK8QCString+0x4af): In function `GCatalog<Tag>::addIndex(QCString const&)': : undefined reference to `db_strerror_4000' collect2: ld returned 1 exit status make[4]: *** [r++] Error 1 make[4]: Leaving directory `/var/tmp/portage/kdevelop-3.0.3/work/kdevelop-3.0.3/languages/cpp' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/kdevelop-3.0.3/work/kdevelop-3.0.3/languages/cpp' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/kdevelop-3.0.3/work/kdevelop-3.0.3/languages' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/kdevelop-3.0.3/work/kdevelop-3.0.3' make: *** [all] Error 2 !!! ERROR: dev-util/kdevelop-3.0.3 failed. !!! Function kde_src_compile, Line 129, Exitcode 2 !!! died running emake, kde_src_compile:make Reproducible: Always Steps to Reproduce: 1. 2. 3. Portage 2.0.50-r6 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.6.5-gentoo-r1) ================================================================= System uname: 2.6.5-gentoo-r1 i686 Intel(R) Pentium(R) 4 CPU 1.80GHz Gentoo Base System version 1.4.10 Autoconf: sys-devel/autoconf-2.58-r1 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer -fforce-addr -funroll-loops" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /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="-march=pentium4 -O3 -pipe -fomit-frame-pointer -fforce-addr -funroll-loops" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="3ds X aalib acpi acpi4linux alsa apm arts avi berkdb bonobo cdr cmucl crypt cups dga directfb doc emacs emacs-w3 encode esd foomaticdb gb gdbm gif ginac glut gnome gpm gtk gtk2 guile icc icc-pgo ifc imagemagick imlib ipv6 java javascript jpeg kde leim libg++ libwww mad mikmod mmx motif mozilla mpeg mpeg4 ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline scanner sdl slang spell sse ssl svga tcltk tcpd tetex tiff truetype usb x86 xine xml xml2 xmms xv zlib"
resolved: emerge -P db and the problem dissapeared.
I close it therefore
*** Bug 51981 has been marked as a duplicate of this bug. ***
Prune db?!?! How is that "fixing" the problem?? Some things may rely on db4 or db1 or whatever ends up getting the axe (for me it was db1 and db4 and db3 was kept). Subversion is one program that depends on db4!! I don't see how this 'fixes' the bug! Please please fix this bug! I cannot install kdevelop :( as I also get the errors related to db4. I think it is probably because kdevelop should do -ldb-4 in the link...
Which kdevelop version? My guess is that it's something in the configure script we can call to point to the "correct" db version...whatever that is.
make sure that the /usr/lib/libdb.so and /usr/include/db.h symlinks link to a file for the same version. Remerging any db package should fix this