Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 139100 - media-sound/amarok-1.4.1-r1 compile error
Summary: media-sound/amarok-1.4.1-r1 compile error
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-03 17:23 UTC by Michael Gloegl
Modified: 2006-07-15 02:30 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 Michael Gloegl 2006-07-03 17:23:27 UTC
amarok-1.4.1-r1 fails to compile with this:

...
/bin/sh ../../../../libtool --silent --mode=link --tag=CXX 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 -fomit-frame-pointer -fno-inline -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 libamarok_xine-engine.la -rpath /usr/lib/kde3 -avoid-version -module -no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined -R /usr/lib -R /usr/kde/3.5/lib -R /usr/qt/3/lib -R /usr/lib -R /usr/kde/3.5/lib  -L/usr/kde/3.5/lib -L/usr/qt/3/lib -L/usr/lib    -L/usr/kde/3.5/lib xine-scope.lo xine-engine.lo xine-config.lo xineconfigbase.lo xinecfg.lo ../../../../amarok/src/libamarok.la ../../../../amarok/src/plugin/libplugin.la -lkdeui -lkdecore -L/usr/lib -lxine -lz -lnsl -lpthread -lrt
libtool: link: warning: `/usr/lib/libGL.la' seems to be moved
.libs/xine-engine.o: In function `std::list<fade_s, std::allocator<fade_s> >::_M_insert(std::_List_iterator<fade_s>, fade_s const&)':
xine-engine.cpp:(.text._ZNSt4listI6fade_sSaIS0_EE9_M_insertESt14_List_iteratorIS0_ERKS0_[std::list<fade_s, std::allocator<fade_s> >::_M_insert(std::_List_iterator<fade_s>, fade_s const&)]+0x2f): undefined reference to `std::_List_node_base::hook(std::_List_node_base*)'
.libs/xine-engine.o: In function `std::list<fade_s, std::allocator<fade_s> >::insert(std::_List_iterator<fade_s>, fade_s const&)':
xine-engine.cpp:(.text._ZNSt4listI6fade_sSaIS0_EE6insertESt14_List_iteratorIS0_ERKS0_[std::list<fade_s, std::allocator<fade_s> >::insert(std::_List_iterator<fade_s>, fade_s const&)]+0x40): undefined reference to `std::_List_node_base::hook(std::_List_node_base*)'
collect2: ld returned 1 exit status
make[5]: *** [libamarok_xine-engine.la] Fehler 1
make[5]: Leaving directory `/var/tmp/portage/amarok-1.4.1-r1/work/amarok-1.4.1/amarok/src/engine/xine'
make[4]: *** [all-recursive] Fehler 1
make[4]: Leaving directory `/var/tmp/portage/amarok-1.4.1-r1/work/amarok-1.4.1/amarok/src/engine'
make[3]: *** [all-recursive] Fehler 1
make[3]: Leaving directory `/var/tmp/portage/amarok-1.4.1-r1/work/amarok-1.4.1/amarok/src'
make[2]: *** [all-recursive] Fehler 1
make[2]: Leaving directory `/var/tmp/portage/amarok-1.4.1-r1/work/amarok-1.4.1/amarok'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/var/tmp/portage/amarok-1.4.1-r1/work/amarok-1.4.1'
make: *** [all] Fehler 2

!!! ERROR: media-sound/amarok-1.4.1-r1 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  amarok-1.4.1-r1.ebuild, line 74:   Called kde_src_compile
  kde.eclass, line 164:   Called kde_src_compile 'all'
  kde.eclass, line 306:   Called kde_src_compile 'myconf' 'configure' 'make'
  kde.eclass, line 302:   Called die

!!! died running emake, kde_src_compile:make
!!! If you need support, post the topmost build error, and the call stack if relevant.
Comment 1 Aaron Peterson 2006-07-12 21:42:53 UTC
amarok is just plain broke!

I'm sure lots of people just don't emerge it because it doesn't compile instead of reporting a bug about it.
Comment 2 Aaron Peterson 2006-07-12 22:46:49 UTC
USE="-ipod" LINGUAS="" emerge amarok

worked for me ...

sorry for crying so much.. I've just wanted this program for so long.

I just guessed that linguas might have something to do with it... and ipods suck and although I have access to one, and wanted to build support for it, I thought it wasn't absolutely neccisary for me...
Comment 3 Michael Gloegl 2006-07-15 02:30:28 UTC
Turns out this was caused by an earlier gcc-upgrade and had not really anything to do with amarok. Running fix_libtool_files.sh on the old gcc version solved the compile error.