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

Bug 130904

Summary: KDevelop 3.3.2 fails emerge (undefined references)
Product: Gentoo Linux Reporter: Christopher O'Neill <gentoo.org>
Component: [OLD] KDEAssignee: Gentoo KDE team <kde>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: 2006.0   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Christopher O'Neill 2006-04-22 16:58:13 UTC
Attempt to upgrade KDevelop from 3.2.1-r1 to 3.3.2 failed due to undefined references (see below).  System consists of mostly x86 stable packages, apart from kde packages which are marked ~x86, and modular X11.

# ACCEPT_KEYWORDS="~x86" emerge -v kdevelop
[ebuild     U ] dev-util/kdevelop-3.3.2 [3.2.1-r1] USE="arts cvs% perl python ruby sql subversion xinerama -ada -clearcase -debug -fortran* -haskell -java -pascal -perforce -php" 0 kB

...

/bin/sh ../../libtool --silent --tag=CXX --mode=link i686-pc-linux-gnu-g++  -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -march=athlon-xp -pipe -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION    -o libkdevcatalog.la -rpath /usr/lib -no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined -L/usr/kde/3.5/lib -L/usr/qt/3/lib -L/usr/X11R6/lib    -L/usr/kde/3.5/lib  tag.lo catalog.lo -ldb -lkdecore -lqt-mt  -lz -lpng -lz -lm -lXext -lX11  -lSM -lICE -lpthread
.libs/catalog.o: In function `Catalog::open(QString const&)':
catalog.cpp:(.text+0x84): undefined reference to `db_create_4001'
catalog.cpp:(.text+0x90): undefined reference to `db_strerror_4001'
catalog.cpp:(.text+0x1b6): undefined reference to `db_strerror_4001'
catalog.cpp:(.text+0x1f6): undefined reference to `db_strerror_4001'
.libs/catalog.o: In function `Catalog::addIndex(QCString const&)':
catalog.cpp:(.text+0x1834): undefined reference to `db_create_4001'
catalog.cpp:(.text+0x18a9): undefined reference to `db_strerror_4001'
catalog.cpp:(.text+0x1c0f): undefined reference to `db_strerror_4001'
catalog.cpp:(.text+0x1cd1): undefined reference to `db_strerror_4001'
.libs/catalog.o: In function `Catalog::query(QValueList<QPair<QCString, QVariant> > const&)':
catalog.cpp:(.text+0x21c7): undefined reference to `db_strerror_4001'
catalog.cpp:(.text+0x21e1): undefined reference to `db_strerror_4001'
.libs/catalog.o:catalog.cpp:(.text+0x2479): more undefined references to `db_strerror_4001' follow
collect2: ld returned 1 exit status
make[3]: *** [libkdevcatalog.la] Error 1
make[3]: Leaving directory `/var/tmp/portage/kdevelop-3.3.2/work/kdevelop-3.3.2/lib/catalog'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kdevelop-3.3.2/work/kdevelop-3.3.2/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdevelop-3.3.2/work/kdevelop-3.3.2'
make: *** [all] Error 2

!!! ERROR: dev-util/kdevelop-3.3.2 failed.
Call stack:
  ebuild.sh, line 1532:   Called dyn_compile
  ebuild.sh, line 929:   Called src_compile
  kdevelop-3.3.2.ebuild, line 56:   Called kde_src_compile
  kde.eclass, line 113:   Called kde_src_compile 'all'
  kde.eclass, line 230:   Called kde_src_compile 'myconf' 'configure' 'make'
  kde.eclass, line 226:   Called die

!!! died running emake, kde_src_compile:make
!!! If you need support, post the topmost build error, and the call stack if relevant.


# emerge --info
Portage 2.1_pre7-r5 (default-linux/x86/2006.0, gcc-3.4.5, glibc-2.3.5-r3, 2.6.15-gentoo-r1 i686)
=================================================================
System uname: 2.6.15-gentoo-r1 i686 AMD Athlon(tm) XP 2600+
Gentoo Base System version 1.6.14
ccache version 2.3 [enabled]
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/my_overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X aac alsa apache2 apm arts asf avi berkdb bitmap-fonts bzip2 cairo cdparanoia cli cpudetection crypt cups cvs dri dts dvb dvd eds emboss encode fam firefox foomaticdb gdbm gif glitz gpm gstreamer gtk2 hal imlib ipv6 isdnlog jpeg kde kdeenablefinal kdexdeltas libg++ libwww mad mikmod mmx mmxext mp3 mpeg ncurses nls nowebdav nptl ogg opengl pam pcre pdflib perl png pppd python qt quicktime readline real reflection ruby sdl session spell spl sql sse sse2 ssl subversion tcpd truetype truetype-fonts type1-fonts udev vorbis win32codecs xcomposite xinerama xml xmms xorg xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_wacom kernel_linux userland_GNU video_cards_fglrx"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS
Comment 1 Ioannis Aslanidis (RETIRED) gentoo-dev 2006-04-22 17:34:08 UTC

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