k3b currently aborts with: Symbol lookup error: /usr/kde/3.3/lib/libartskde.so.1: undefined symbol: _Tv0_n28_N4Arts16SynthModule_stub11autoSuspendEv This behavior started recently after emerging kdepim-3.3.0-r1 and several problems with that. In order to resolve those problems, I ended up re-emergeing several of the kde-3.3.0 components. However, when I go to re-emerge k3b-0.11.17, it aborts with the following: =====.oOo.===== /bin/sh ../libtool --silent --mode=link --tag=CXX g++ -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 -march=athlon-xp -O3 -fomit-frame-pointer -pipe -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 k3b -L/usr/X11R6/lib -L/usr/qt/3/lib -L/usr/kde/3.3/lib -R /usr/kde/3.3/lib -R /usr/qt/3/lib -R /usr/X11R6/lib k3bwelcomewidget.o k3bapplication.o k3bdiroperator.o kdndfileview.o k3bfiletreeview.o k3bcddbmultientriesdialog.o k3baudioplayer.o k3bprojecttabbar.o k3bprojecttabwidget.o k3bsplash.o k3bblankingdialog.o k3bfileview.o k3bdirview.o k3btoolbox.o k3b.o main.o k3bstatusbarmanager.o k3bfiletreecombobox.o k3breadcdreader.o k3binterface.o k3bprojectinterface.o k3bsystemproblemdialog.o k3bcdcontentsview.o k3bwriterspeedverificationdialog.o k3bdatatrackreader.o k3binterface_skel.o k3bprojectinterface_skel.o ./cdinfo/libcdinfo.la ./option/liboption.la ./rip/librip.la ./cdcopy/libcdcopy.la ./dvdcopy/libdvdcopy.la ./videoEncoding/libvideoEncoding.la ./plugin/libk3bplugin.la -lartskde -lkio -lkparts ./device/libk3bdevice.la ./core/libk3bcore.la ./tools/libk3btools.la ./projects/libk3bproject.la ./images/libimagewriting.la /usr/lib/gcc/i686-pc-linux-gnu/3.4.2/../../../../i686-pc-linux-gnu/bin/ld: warning: libstdc++.so.5, needed by /usr/kde/3.3/lib/libqtmcop.so, may conflict with libstdc++.so.6 /usr/lib/gcc/i686-pc-linux-gnu/3.4.2/../../../../i686-pc-linux-gnu/bin/ld: warning: libstdc++.so.5, needed by /usr/kde/3.3/lib/libqtmcop.so, may conflict with libstdc++.so.6 /usr/lib/gcc/i686-pc-linux-gnu/3.4.2/../../../../i686-pc-linux-gnu/bin/ld: warning: libstdc++.so.5, needed by /usr/kde/3.3/lib/libqtmcop.so, may conflict with libstdc++.so.6 /usr/kde/3.3/lib/libartskde.so: undefined reference to `virtual thunk to Arts::StdSynthModule::stop()' /usr/kde/3.3/lib/libartskde.so: undefined reference to `virtual thunk to Arts::SynthModule_stub::streamEnd()' /usr/kde/3.3/lib/libartskde.so: undefined reference to `virtual thunk to Arts::SynthModule_stub::start()' /usr/kde/3.3/lib/libartskde.so: undefined reference to `virtual thunk to Arts::StdSynthModule::streamInit()' /usr/kde/3.3/lib/libartskde.so: undefined reference to `virtual thunk to Arts::SynthModule_stub::streamStart()' /usr/kde/3.3/lib/libartskde.so: undefined reference to `virtual thunk to Arts::StdSynthModule::streamEnd()' /usr/kde/3.3/lib/libartskde.so: undefined reference to `virtual thunk to Arts::SynthModule_stub::streamInit()' /usr/kde/3.3/lib/libartskde.so: undefined reference to `virtual thunk to Arts::StdSynthModule::autoSuspend()' /usr/kde/3.3/lib/libartskde.so: undefined reference to `virtual thunk to Arts::SynthModule_stub::autoSuspend()' /usr/kde/3.3/lib/libartskde.so: undefined reference to `virtual thunk to Arts::SynthModule_stub::stop()' /usr/kde/3.3/lib/libartskde.so: undefined reference to `virtual thunk to Arts::StdSynthModule::streamStart()' /usr/kde/3.3/lib/libartskde.so: undefined reference to `virtual thunk to Arts::StdSynthModule::start()' collect2: ld returned 1 exit status make[3]: *** [k3b] Error 1 make[3]: Leaving directory `/var/tmp/portage/k3b-0.11.17/work/k3b-0.11.17/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/k3b-0.11.17/work/k3b-0.11.17/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/k3b-0.11.17/work/k3b-0.11.17' make: *** [all] Error 2 =====.oOo.===== Portage 2.0.51_rc7 (default-x86-2004.0, gcc-3.4.2, glibc-2.3.4.20040808-r1, 2.6.9-rc2 i686) ================================================================= System uname: 2.6.9-rc2 i686 AMD Athlon(tm) XP 2500+ Gentoo Base System version 1.5.3 distcc 2.17 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.92.0.2 Headers: sys-kernel/linux26-headers-2.6.8.1 Libtools: sys-devel/libtool-1.5.2-r5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -O3 -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/share/config:/usr/kde/3.3/env:/usr/kde/3.3/shutdown /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="-march=athlon-xp -O3 -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache distlocks sandbox" GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo http://mirror.datapipe.net/gentoo ftp://206.75.217.181/ ftp://ftp.easynet.nl/mirror/gentoo/ ftp://gentoo.ccccom.com" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="3dnow X Xaw3d accessibility alsa apache2 apm arts audiofile avi berkdb bitmap-fonts bonobo cdr crypt cups curl dga directfb divx4linux doc dvd dvdr encode esd ethereal fbcon flac foomaticdb freetds gd gdbm gif gnome gpm gstreamer gtk gtk2 gtkhtml guile icq imagemagic imlib innodb jabber java jikes jpeg kde lcms ldap lesstiff libg++ libwww mad maildir mikmod motif mozilla mpeg mysql nas ncurses nls odbc offensive oggvorbis opengl oss pam pda pdflib perl png postgres ppds python qt quicktime readline ruby samba scanner sdl slang speex spell ssl svga tcltk tcpd theora truetype unicode usb winf wxwindows x86 xeo xinerama xml2 xmms xprint xv yahoo zlib"
Probably I'm silly but I think that the real problem is the switch from gcc 3.3 to gcc 3.4 that introduced some incompatibilities between programs compiled with libstc++.so.6 (gcc 3.4) but using libraries linked with libstdc++.so.5 (gcc 3.3). Other people had this problems. This will affect only C++ programs and libraries, and probably you have to recompile all the C++ deps starting from the base deps. It's quite difficult to resolve. I hope that someone can suggest a better solution than reemergin everything with gcc 3.4...
I wouldn't even mind so much re-emerging world ... if I knew how to do that and if I was certain it would work. I have multiple roughly equivalent systems at home. I could experiment with one. It takes about 3-5 days to build a new system from scratch with all the packages I put on. So re-emerging world could be slightly less painful. :-D
I wonder whether this has anything to do with moving to gcc 3.4.2. I use an ~amd64 system here, which gives the same error when running k3b and almost the same error when trying to re-emerge k3b: it's the same except for the libstc++ lines. My error message doesn't show these. I have no trouble running other KDE apps.
This doesn't have to do with gcc 3.4 or amd-64. K3b fails to compile on my system too, and I'm using gcc 3.3.4 and gentoo-dev-sources 2.6.8-r3. The error message it keeps spitting out at me is: k3baudioplayer.cpp: In member function `virtual QDragObject* K3bPlayListView::dragObject()': k3baudioplayer.cpp:154: warning: `newDrag' is deprecated (declared at /usr/kde/3.3/include/kurldrag.h:76) make[3]: *** [k3baudioplayer.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory `/var/tmp/portage/k3b-0.11.17/work/k3b-0.11.17/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/k3b-0.11.17/work/k3b-0.11.17/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/k3b-0.11.17/work/k3b-0.11.17' make: *** [all] Error 2 !!! ERROR: app-cdr/k3b-0.11.17 failed. !!! Function kde_src_compile, Line 142, Exitcode 2 !!! died running emake, kde_src_compile:make !!! If you need support, post the topmost build error, NOT this status message.
So stupid, I can't reproduce the errors. k3b works fine on all five machines I tested it on (x86 and ppc, stable and testing).
I'm getting the folowing error trying to emerge k3b: /bin/sh ../../libtool --silent --mode=link --tag=CXX g++ -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 -O2 -mcpu=i686 -pipe -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 libk3bproject.la-rpath /usr/lib -L/usr/X11R6/lib -L/usr/qt/3/lib -L/usr/kde/3.3/lib -version-info 2:0:0 -no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined k3babstractwriter.lo k3bdatamodewidget.lo k3bgrowisofswriter.lo k3bgrowisofshandler.lo k3bview.lo k3bblankingjob.lo k3bdoc.lo k3bwriterselectionwidget.lo k3bwritingmodewidget.lo k3bcdrdaowriter.lo k3bemptydiscwaiter.lo k3bprojectburndialog.lo k3bcdrecordwriter.lo k3bfillstatusdisplay.lo k3btempdirselectionwidget.lo k3bdiskerasinginfodialog.lo k3bprojectmanager.lo k3binffilewriter.lo ../device/libk3bdevice.la ../core/libk3bcore.la ../tools/libk3btools.la ./datacd/libdata.la ./datadvd/libdvd.la ./mixedcd/libmixed.la ./videocd/libvcd.la ./videodvd/libvideodvd.la ./movixcd/libmovix.la ./movixdvd/libmovixdvd.la ./audiocd/libaudio.la ./songdb/libsongdb.la ./kostore/libkostore.la ../plugin/libk3bplugin.la ./datacd/.libs/libdata.a: member ./datacd/.libs/libdata.a(k3bdatavolumedescwidget.o) in archive is not an object collect2: ld returned 1 exit status make[4]: *** [libk3bproject.la] Error 1 make[4]: Leaving directory `/var/tmp/portage/k3b-0.11.17/work/k3b-0.11.17/src/projects' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/k3b-0.11.17/work/k3b-0.11.17/src/projects' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/k3b-0.11.17/work/k3b-0.11.17/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/k3b-0.11.17/work/k3b-0.11.17' make: *** [all] Error 2 # emerge info Portage 2.0.51-r2 (default-linux/x86/2004.0, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.6.9 i686) ================================================================= System uname: 2.6.9 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz Gentoo Base System version 1.4.16 ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.14.90.0.8-r1 Headers: sys-kernel/linux-headers-2.4.19-r1,sys-kernel/linux-headers-2.4.21-r1 Libtools: sys-devel/libtool-1.5.2-r5 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=pentium4 -O3 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /opt/tomcat/conf /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.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/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/lib/jboss /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -mcpu=i686 -pipe" DISTDIR="/home/distfiles" FEATURES="autoaddcvs ccache distlocks sandbox sfperms" GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo http://ftp.easynet.nl/mirror/gentoo http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j1" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/home/hilli/projects/portage" USE="X apache2 apm arts avi berkdb bitmap-fonts cdr cjk crypt cups curl dvd emacs encode fam flac foomaticdb gdbm gif gtk gtk2 i8x0 imagemagick imap imlib innodb java javamail jpeg junit kde ldap leim libg++ libwww mad maildir mikmodmmx motif mozcalendar mozilla mozinterfaceinfo moznocompose moznoirc mozsvg mozxmlterm mpeg mule mysql nas ncurses nls nojython nooro norhino oggvorbis opengl oss pam pdflib perl png postgres python qt quicktime readline samba scanner sdl slang snmp spell sse ssl svga tcltk tcpd tetex tiff truetype usagi usb x86 xfs xml xml2 xmms xprint xv zlib"
Jens: this is a different error. Try disablig ccache, FEATURES="-ccache", remove your /var/tmp/portage and try recompiling it again.
This bug can probably be closed. I've been at kde-3.3.1 for awhile now and no longer have a problem emerging k3b.
I'll close it as invalid as it looks caused by a bad use of gcc versions and not by wrong ebuilds. I hope this is right.
*** Bug 77364 has been marked as a duplicate of this bug. ***