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

Bug 130725

Summary: kdevelop 3.3.2 compilation fails
Product: Gentoo Linux Reporter: Valentin Longchamp <valentin.longchamp>
Component: [OLD] KDEAssignee: Gentoo KDE team <kde>
Status: RESOLVED DUPLICATE    
Severity: normal CC: rob
Priority: High    
Version: 2006.0   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Valentin Longchamp 2006-04-21 06:39:04 UTC
/bin/sh ../../libtool --silent --tag=CXX --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/kde/3.5/include -I/usr/qt/3/include -I.  -I/usr/kde/3.5/include -I//usr/include/db4.1  -DQT_THREAD_SUPPORT  -D_REENTRANT  -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=pentium-m -fomit-frame-pointer -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  -c -o catalog.lo catalog.cpp
catalog.cpp: In member function `QValueList<Tag> Catalog::query(const QValueList<QPair<QCString, QVariant> >&)':
catalog.cpp:434: warning: comparison between signed and unsigned integer expressions
/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=pentium-m -fomit-frame-pointer -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/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+0x76): undefined reference to `db_create_4001'
catalog.cpp:(.text+0x82): undefined reference to `db_strerror_4001'
catalog.cpp:(.text+0x1af): undefined reference to `db_strerror_4001'
catalog.cpp:(.text+0x1ef): undefined reference to `db_strerror_4001'
.libs/catalog.o: In function `Catalog::addIndex(QCString const&)':
catalog.cpp:(.text+0x180a): undefined reference to `db_create_4001'
catalog.cpp:(.text+0x187c): undefined reference to `db_strerror_4001'
catalog.cpp:(.text+0x1bdb): undefined reference to `db_strerror_4001'
catalog.cpp:(.text+0x1c62): undefined reference to `db_strerror_4001'
.libs/catalog.o: In function `Catalog::query(QValueList<QPair<QCString, QVariant> > const&)':
catalog.cpp:(.text+0x2126): undefined reference to `db_strerror_4001'
catalog.cpp:(.text+0x213b): undefined reference to `db_strerror_4001'
.libs/catalog.o:catalog.cpp:(.text+0x23b2): 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


lsa1pc44 ~ # emerge --info
Portage 2.1_pre7-r5 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.4-r1, 2.6.16-cj3 i686)
=================================================================
System uname: 2.6.16-cj3 i686 Intel(R) Pentium(R) M processor 1600MHz
Gentoo Base System version 1.12.0_pre17
ccache version 2.4 [disabled]
dev-lang/python:     2.4.2-r1
sys-apps/sandbox:    1.2.17
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-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -fomit-frame-pointer"
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/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O2 -march=pentium-m -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://mirror.switch.ch/mirror/gentoo            ftp://ftp.solnet.ch/mirror/Gentoo               ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo"
LINGUAS="fr en_GB de"
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 X acpi alsa aredmem arts avi bash-completion berkdb bitmap-fonts cairo cdr cdrom cli crd crypt cups dbus divx4linux dri dvd eds emboss encode ffmpeg flac font-server foomaticdb fortran gdbm gif gphoto2 gpm gstreamer gtk gtk2 hal icq imlib ipv6 isdnlog java jpeg kde libg++ libwww mad mikmod mmx mono mozcalendar mp3 mpeg ncurses nls nptl nptlonly nsplugin ogg opengl oss pam pcmcia pcre pda pdflib perl png pppd python qt qt4 quicktime readline real reflection samba sdl session sox spell spl sse sse2 ssl symlink tcpd truetype truetype-fonts type1 type1-fonts udev unicode utf8 vorbis xinerama xml xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev input_devices_synaptics kernel_linux linguas_fr linguas_en_GB linguas_de userland_GNU video_cards_ati video_cards_vesa video_cards_fbdev"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS
Comment 1 Rob Brown 2006-04-21 07:04:38 UTC
Same problem here, I've re-emerged qt, kdebase, kdelibs, db, gdb etc with gcc-3.4.6 (some packages on my system have been compiled with 4.0.3). Since my emerge --ingfo is quite different to the original poster's, I'll include it here:

rfbrown@val ~/build/qemu $ emerge --info
Portage 2.1_pre7-r5 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.4-r1, 2.6.16-gentoo-r2 i686)
=================================================================
System uname: 2.6.16-gentoo-r2 i686 AMD Athlon(tm) 64 X2 Dual Core Processor 4400+
Gentoo Base System version 1.12.0_pre17
dev-lang/python:     2.3.5-r2, 2.4.2-r1
sys-apps/sandbox:    1.2.17
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-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=k8 -O3 -msse -msse2 -msse3 -m3dnow -mmmx -mfpmath=sse,387 -pipe -ftracer -fomit-frame-pointer"
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/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=k8 -O3 -msse -msse2 -msse3 -m3dnow -mmmx -mfpmath=sse,387 -pipe -ftracer -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://mirror.isp.net.au/pub/gentoo/"
LINGUAS="en_GB"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.au.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowex 3dnowext X Xaw3d a52 aac aalib alsa apache2 apm arts artswrappersuid audiofile avi bash-completion berkdb bitmap-fonts bonobo bzlib calendar cdparanoia cdr cfq-ts cli cpudetection crypt ctype cups curl curlwrappers dba dri dts dv dvd dvdr dvdread eds emboss encode esd evo expat f77 fam ffmpeg fftw flac flash foomaticdb fortran ftp gcj gd gdbm gif gimp gimpprint glut gnome gpm gstreamer gtk gtk2 gtkhtml guile hal iconv imagemagick imlib ipv6 isdnlog jack java javascript jikes jpeg kde kdeenablefinal kqemu ladcca lcms ldap lesstif libcaca libg++ libwww linguas_ko lm_sensors mad mbox mikmod ming mmap mmx mmxext mng monkey motif mozilla mozsvg mp3 mpeg mysql ncurses nicksched nls nocd nptl nptlonly nsplugin nvidia odbc ogg oggvorbis openal opengl oss pam pcntl pcre pda pdf pdflib perl php pic pie plotutils plugin png portaudio posix ppds pppd python qt quicktime readline real reflection sasl scanner sdl session sharedmem shorten slang sndfile snmp soap sockets sox speex spell spl sse sse2 sse3 ssl svg swat sysfs sysvipc tcltk tcpd tetex theora threads tidy tiff truetype truetype-fonts type1-fonts udev unicode updated-v4l usb uudeview v4l v4l2 vcd videos vorbis win32 win32codecs wmf wxwindows x264 xanim xface xine xml xml2 xmlrpc xmms xorg xpm xprint xsl xv xvid xvmc zlib zvbi elibc_glibc input_devices_mouse,keyboard kernel_linux linguas_en_GB userland_GNU video_cards_nv"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-04-21 13:12:34 UTC

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