Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 121515 - kde-base/juk-3.5.1 fails to compile
Summary: kde-base/juk-3.5.1 fails to compile
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-04 01:36 UTC by Robert Förster
Modified: 2006-02-11 10:16 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Förster 2006-02-04 01:36:03 UTC
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/kde/3.5/include -I/usr/qt/3/include -I.  -I/usr/include/taglib -I/usr/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -pthread -I/usr/include/gstreamer-0.8 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml2   -I/usr/kde/3.5/include/arts  -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 -march=nocona -O2 -pipe -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 -fexceptions -c -o trackpickerdialogbase.o `test -f 'trackpickerdialogbase.cpp' || echo './'`trackpickerdialogbase.cpp
/bin/sh ../libtool --silent --mode=link --tag=CXX x86_64-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 -march=nocona -O2 -pipe -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 -fexceptions   -o juk -L/usr/kde/3.5/lib64 -L/usr/qt/3/lib64 -L/usr/lib64    -R /usr/kde/3.5/lib64 -R /usr/kde/3.5/lib64 -R /usr/qt/3/lib64 -R /usr/lib64 -Wl,--export-dynamic -pthread   advancedsearchdialog.o actioncollection.o akodeplayer.o artsplayer.o cache.o categoryreaderinterface.o collectionlist.o coverdialog.o covericonview.o coverinfo.o covermanager.o deletedialog.o directorylist.o dynamicplaylist.o exampleoptions.o folderplaylist.o filehandle.o filerenamer.o filerenameroptions.o filerenamerconfigdlg.o gstreamerplayer.o googlefetcher.o googlefetcherdialog.o historyplaylist.o juk.o k3bexporter.o keydialog.o main.o mediafiles.o musicbrainzquery.o nowplaying.o playermanager.o playlist.o playlistbox.o playlistcollection.o playlistinterface.o playlistitem.o playlistsearch.o playlistsplitter.o searchplaylist.o searchwidget.o slideraction.o sortedstringlist.o splashscreen.o statuslabel.o stringshare.o systemtray.o tag.o tageditor.o tagguesser.o tagguesserconfigdlg.o tagrenameroptions.o tagtransactionmanager.o trackpickerdialog.o tracksequenceiterator.o tracksequencemanager.o treeviewitemplaylist.o upcomingplaylist.o ktrm.o viewmode.o jukIface_skel.o coverdialogbase.o deletedialogbase.o directorylistbase.o exampleoptionsbase.o filerenamerbase.o filerenameroptionsbase.o tagguesserconfigdlgwidget.o trackpickerdialogbase.o -lm -lgstreamer-0.8 -lgobject-2.0 -lgmodule-2.0 -ldl -lgthread-2.0 -lxml2 -lz -lm -lglib-2.0   -L/usr/lib64    -lkio -L/usr/lib64 -ltag -L/usr/lib64 -lakode -lkhtml -lartskde
/usr/lib64/libtag.so: undefined reference to `__gnu_cxx::__pool<true>::_M_reclaim_block(char*, unsigned long)@GLIBCXX_3.4.4'
/usr/lib64/libtag.so: undefined reference to `__gnu_cxx::__pool<true>::_M_reserve_block(unsigned long, unsigned long)@GLIBCXX_3.4.4'
/usr/lib64/libtag.so: undefined reference to `__gnu_cxx::__pool<true>::_M_get_thread_id()@GLIBCXX_3.4.4'
/usr/lib64/libtag.so: undefined reference to `__gnu_cxx::__pool<true>::_M_initialize()@GLIBCXX_3.4.6'
collect2: ld returned 1 exit status
make[3]: *** [juk] Error 1
make[3]: Leaving directory `/var/tmp/portage/juk-3.5.1/work/juk-3.5.1/juk'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/juk-3.5.1/work/juk-3.5.1/juk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/juk-3.5.1/work/juk-3.5.1'
make: *** [all] Error 2

!!! ERROR: kde-base/juk-3.5.1 failed.
Call stack:
  ebuild.sh, line 1894:   Called dyn_compile
  ebuild.sh, line 941:   Called src_compile
  juk-3.5.1.ebuild, line 40:   Called kde-meta_src_compile
  kde-meta.eclass, line 400:   Called kde_src_compile
  kde.eclass, line 74:   Called kde_src_compile 'compile'
  kde.eclass, line 187:   Called kde_src_compile 'all' 'myconf' 'configure'

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

Beatrix ~ # emerge info && emerge -pv juk
Portage 2.1_pre4-r1 (default-linux/amd64/2005.1, gcc-4.0.2, glibc-2.3.6-r2, 2.6.16-rc1-Beatrix x86_64)
=================================================================
System uname: 2.6.16-rc1-Beatrix x86_64               Intel(R) Pentium(R) D CPU 2.80GHz
Gentoo Base System version 1.12.0_pre15
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-r1
sys-devel/binutils:  2.16.1-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-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/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=nocona -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS="de en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/gentoo-syscp-overlay/experimental"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X alsa arts avi berkdb bitmap-fonts crypt cups eds emboss encode foomaticdb fortran gif gnome gpm gstreamer gtk gtk2 imlib ipv6 jpeg kde lzw lzw-tiff mp3 mpeg mysql ncurses nls nptl nptlonly opengl pam pdflib perl png python qt quicktime readline sdl spell ssl symlink tcpd tiff truetype-fonts type1-fonts usb userlocales xpm xv zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_de linguas_en userland_GNU video_cards_nvidia"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LDFLAGS


These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild     U ] kde-base/juk-3.5.1 [3.5.0] USE="arts gstreamer mp3 -debug -flac -kdeenablefinal -musicbrainz -vorbis -xinerama" 0 kB

Total size of downloads: 0 kB
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-02-04 01:40:00 UTC
Re-emerge media-libs/taglib and try again.
Comment 2 Robert Förster 2006-02-04 02:01:26 UTC
same problem after reemerging 
Comment 3 Björn Ruberg 2006-02-04 05:42:56 UTC
Looks suspicous to be a problem with your environment.
Do you have completly (better twice) rebuild your system with emerge -e world?

Try it with revdep-rebuild, rebuild glibc and after that rebuild taglib.
Comment 4 Duncan 2006-02-07 04:49:08 UTC
Note also the references to glibcxx_3.4.x, and the fact that the compile is with gcc-4.0.2.  libstdc++ is a gcc file.  See if running "fix_libtool_files.sh 3.4.4" and the same command only with 3.4.6, fixes the problem.

I've been testing gcc-4.x for some time, and am more or less used to this sort of thing by now.  gcc is of course slotted, so multiple gcc versions may be installed in parallel.  Every time you switch between them to compile something, particularly if it's c++ based, you are potentially screwing up the libtool files and may end up having to run fix_libtool_files.sh again, with the /old/ version it's complaining about as the parameter.  Of course, once you recompile your entire system with the new gcc (emerge --emptytree world), the problem should be fixed, but sometimes, newer gccs won't compile some programs, so it may take awhile to fix it permanently, particularly if you are like me and unmask testing versions before the devs are satisfied that they work quite well on enough of the tree to be safe unmasking them.

Duncan
Comment 5 Robert Förster 2006-02-08 04:54:06 UTC
doing fix_libtool_files.sh 3.4.5 fixed it, i must have forgot to change back to gcc4 after i had to compile kvirc with gcc3, sorry then for this bug.
Comment 6 Carsten Lohrke (RETIRED) gentoo-dev 2006-02-11 10:16:43 UTC
.