Summary: | emerge k3b fails | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Guy <notellin> |
Component: | Current packages | Assignee: | Lars Weiler (RETIRED) <pylon> |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | andi_s, motaboy |
Priority: | High | ||
Version: | 2004.2 | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Guy
2004-10-08 05:44:22 UTC
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. *** |