Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 44775

Summary: kdevelop-3.0.2 fails on amd64
Product: Gentoo Linux Reporter: Robert Führicht <the_master_of_disaster>
Component: [OLD] KDEAssignee: Gentoo KDE team <kde>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---

Description Robert Führicht 2004-03-15 14:44:58 UTC
# CFLAGS="-fPIC -O3 -pipe" CXXFLAGS=$CFLAGS USE="doc" emerge kdevelop
yields:
[...]
/bin/sh ../../libtool --silent --mode=link --tag=CXX g++ -DAST_DEBUG -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -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 libkdevcppsupport.la -rpath /usr/lib/kde3 -L/usr/X11R6/lib -L/usr/qt/3/lib -L/usr/kde/3.2/lib  -avoid-version -module -no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined -R /usr/kde/3.2/lib -R /usr/qt/3/lib -R /usr/X11R6/lib  cppsupportpart.lo ccconfigwidget.lo kdevdriver.lo cppcodecompletion.lo problemreporter.lo backgroundparser.lo ast_utils.lo store_walker.lo KDevCppSupportIface.lo cppsupportfactory.lo tag_creator.lo codeinformationrepository.lo doxydoc.lo cppcodecompletionconfig.lo cppnewclassdlg.lo classgeneratorconfig.lo subclassingdlg.lo addattributedialog.lo addmethoddialog.lo cppsupport_utils.lo createpcsdialog.lo KDevCppSupportIface_skel.lo ccconfigwidgetbase.lo configproblemreporter.lo cppnewclassdlgbase.lo classgeneratorconfigbase.lo subclassingdlgbase.lo addattributedialogbase.lo addmethoddialogbase.lo createpcsdialogbase.lo ../../lib/libkdevelop.la ../../lib/catalog/libkdevcatalog.la ../../lib/cppparser/libkdevcppparser.la
.libs/cppsupportpart.o(.text+0x8e13): In function `CppSupportPart::setupCatalog()':
: warning: undefined reference to `db_create'
.libs/cppsupportpart.o(.text+0x8e1e): In function `CppSupportPart::setupCatalog()':
: warning: undefined reference to `db_strerror'
.libs/cppsupportpart.o(.text+0x9050): In function `CppSupportPart::setupCatalog()':
: warning: undefined reference to `db_strerror'
.libs/cppsupportpart.o(.text+0x9099): In function `CppSupportPart::setupCatalog()':
: warning: undefined reference to `db_strerror'
.libs/cppsupportpart.o(.gnu.linkonce.t._ZN8GCatalogI3TagE4openERK7QString+0x33): In function `GCatalog<Tag>::open(QString const&)':
: warning: undefined reference to `db_create'
.libs/cppsupportpart.o(.gnu.linkonce.t._ZN8GCatalogI3TagE4openERK7QString+0x3e): In function `GCatalog<Tag>::open(QString const&)':
: warning: undefined reference to `db_strerror'
.libs/cppsupportpart.o(.gnu.linkonce.t._ZN8GCatalogI3TagE4openERK7QString+0x100): In function `GCatalog<Tag>::open(QString const&)':
: warning: undefined reference to `db_strerror'
.libs/cppsupportpart.o(.gnu.linkonce.t._ZN8GCatalogI3TagE4openERK7QString+0x10c): In function `GCatalog<Tag>::open(QString const&)':
: warning: undefined reference to `db_strerror'
.libs/createpcsdialog.o(.text+0x12a0): In function `CreatePCSDialog::slotSelected(QString const&)':
: warning: undefined reference to `db_create'
.libs/createpcsdialog.o(.text+0x12ab): In function `CreatePCSDialog::slotSelected(QString const&)':
: warning: undefined reference to `db_strerror'
.libs/createpcsdialog.o(.text+0x1518): In function `CreatePCSDialog::slotSelected(QString const&)':
: warning: undefined reference to `db_strerror'
.libs/createpcsdialog.o(.text+0x1562): In function `CreatePCSDialog::slotSelected(QString const&)':
: warning: undefined reference to `db_strerror'
.libs/createpcsdialog.o(.gnu.linkonce.t._ZN8GCatalogI3TagE8addIndexERK8QCString+0xac): In function `GCatalog<Tag>::addIndex(QCString const&)':
: warning: undefined reference to `db_create'
.libs/createpcsdialog.o(.gnu.linkonce.t._ZN8GCatalogI3TagE8addIndexERK8QCString+0xb7): In function `GCatalog<Tag>::addIndex(QCString const&)':
: warning: undefined reference to `db_strerror'
.libs/createpcsdialog.o(.gnu.linkonce.t._ZN8GCatalogI3TagE8addIndexERK8QCString+0x3cf): In function `GCatalog<Tag>::addIndex(QCString const&)':
: warning: undefined reference to `db_strerror'
.libs/createpcsdialog.o(.gnu.linkonce.t._ZN8GCatalogI3TagE8addIndexERK8QCString+0x431): In function `GCatalog<Tag>::addIndex(QCString const&)':
: warning: undefined reference to `db_strerror'
/bin/sh ../../libtool --silent --mode=link --tag=CXX g++ -DAST_DEBUG -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -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(.text+0xa05): In function `main':
: undefined reference to `db_create'
main.o(.text+0xa14): In function `main':
: undefined reference to `db_strerror'
main.o(.text+0x1298): In function `main':
: undefined reference to `db_create'
main.o(.text+0x12a3): In function `main':
: undefined reference to `db_strerror'
main.o(.text+0x1507): In function `main':
: undefined reference to `db_strerror'
main.o(.text+0x155b): In function `main':
: undefined reference to `db_strerror'
main.o(.text+0x167f): In function `main':
: undefined reference to `db_strerror'
main.o(.text+0x168b): In function `main':
: undefined reference to `db_strerror'
main.o(.gnu.linkonce.t._ZN8GCatalogI3TagE4openERK7QString+0x33): In function `GCatalog<Tag>::open(QString const&)':
: undefined reference to `db_create'
main.o(.gnu.linkonce.t._ZN8GCatalogI3TagE4openERK7QString+0x3e): In function `GCatalog<Tag>::open(QString const&)':
: undefined reference to `db_strerror'
main.o(.gnu.linkonce.t._ZN8GCatalogI3TagE4openERK7QString+0xfe): In function `GCatalog<Tag>::open(QString const&)':
: undefined reference to `db_strerror'
main.o(.gnu.linkonce.t._ZN8GCatalogI3TagE4openERK7QString+0x10a): In function `GCatalog<Tag>::open(QString const&)':
: undefined reference to `db_strerror'
main.o(.gnu.linkonce.t._ZN8GCatalogI3TagE8addIndexERK8QCString+0xac): In function `GCatalog<Tag>::addIndex(QCString const&)':
: undefined reference to `db_create'
main.o(.gnu.linkonce.t._ZN8GCatalogI3TagE8addIndexERK8QCString+0xb7): In function `GCatalog<Tag>::addIndex(QCString const&)':
: undefined reference to `db_strerror'
main.o(.gnu.linkonce.t._ZN8GCatalogI3TagE8addIndexERK8QCString+0x3a9): In function `GCatalog<Tag>::addIndex(QCString const&)':
: undefined reference to `db_strerror'
main.o(.gnu.linkonce.t._ZN8GCatalogI3TagE8addIndexERK8QCString+0x408): In function `GCatalog<Tag>::addIndex(QCString const&)':
: undefined reference to `db_strerror'
collect2: ld returned 1 exit status
make[4]: *** [r++] Error 1
make[4]: Leaving directory `/var/tmp/portage/kdevelop-3.0.2/work/kdevelop-3.0.2/languages/cpp'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/kdevelop-3.0.2/work/kdevelop-3.0.2/languages/cpp'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kdevelop-3.0.2/work/kdevelop-3.0.2/languages'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdevelop-3.0.2/work/kdevelop-3.0.2'
make: *** [all] Error 2

!!! ERROR: dev-util/kdevelop-3.0.2 failed.
!!! Function kde_src_compile, Line 128, Exitcode 2
!!! died running emake, kde_src_compile:make

emerge info
Portage 2.0.50-r1 (default-amd64-2004.0, gcc-3.3.3, glibc-2.3.3_pre20040207-r0, 2.6.4-mm2)
=================================================================
System uname: 2.6.4-mm2 x86_64 4
Gentoo Base System version 1.4.3.13p1
distcc 2.12.1 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.2
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CFLAGS="-O3 -pipe -mmmx -m3dnow -msse -mfpmath=sse,387 -m64 -march=k8"
CHOST="x86_64-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 /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -pipe -mmmx -m3dnow -msse -mfpmath=sse,387 -m64 -march=k8"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox userpriv usersandbox"
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="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib alsa amd64 apm arts avi berkdb cdr crypt dvd encode esd foomaticdb gdbm gif gpm gtk gtk2 imlib java jpeg kde libg++ libwww linguas_de matroska mikmod motif mozilla mpeg multilib ncurses nls nptl oggvorbis opengl oss pam pdflib perl png python qt quicktime readline scanner sdl slang spell ssl tcltk tcpd truetype xml2 xmms xv zlib"
Comment 1 Robert Führicht 2004-03-22 11:23:42 UTC

*** This bug has been marked as a duplicate of 45403 ***