Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] Amarok build failure
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
miggins
n00b
n00b


Joined: 22 Dec 2006
Posts: 2

PostPosted: Fri Dec 22, 2006 8:01 am    Post subject: [Solved] Amarok build failure Reply with quote

Hi there,

I'm having some fun trying to emerge amarok so I thought I'd ask here for some opinions.

So lets get started - what follows is my error:

Code:
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=i686 -pipe -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 amarokapp -L/usr/kde/3.5/lib -L/usr/qt/3/lib -L/usr/lib    -L/usr/kde/3.5/lib -R /usr/lib -R /usr/kde/3.5/lib -R /usr/qt/3/lib -R /usr/lib -R /usr/kde/3.5/lib main.o ../../amarok/src/amarokcore/libamarokcore.la libamarok.la ../../amarok/src/analyzers/libanalyzers.la ../../amarok/src/plugin/libplugin.la ../../amarok/src/statusbar/libstatusbar.la ../../amarok/src/metadata/libmetadata.la -lkutils -lkio -lkdeui -lkdecore -lkhtml -lknewstuff -L/usr/lib -ltag -lGL  ../../amarok/src/sqlite/libsqlite.la    -L/usr/lib -lpq
/usr/kde/3.5/lib/libkhtml.so: undefined reference to `__cxa_get_exception_ptr@CXXABI_1.3.1'
collect2: ld returned 1 exit status
make[4]: *** [amarokapp] Error 1
make[4]: Leaving directory `/var/tmp/portage/amarok-1.4.3-r1/work/amarok-1.4.3/amarok/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/amarok-1.4.3-r1/work/amarok-1.4.3/amarok/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/amarok-1.4.3-r1/work/amarok-1.4.3/amarok'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/amarok-1.4.3-r1/work/amarok-1.4.3'
make: *** [all] Error 2

!!! ERROR: media-sound/amarok-1.4.3-r1 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  amarok-1.4.3-r1.ebuild, line 74:   Called kde_src_compile
  kde.eclass, line 169:   Called kde_src_compile 'all'
  kde.eclass, line 339:   Called kde_src_compile 'myconf' 'configure' 'make'
  kde.eclass, line 335:   Called die

!!! died running emake, kde_src_compile:make


Some people that i've talked to already sugguested that it is a gcc version issue. So what follows is that information.
Code:

paravia ~ # gcc-config -l
 [1] i386-pc-linux-gnu-3.4.4
 [2] i386-pc-linux-gnu-3.4.4-hardened
 [3] i386-pc-linux-gnu-3.4.4-hardenednopie
 [4] i386-pc-linux-gnu-3.4.4-hardenednopiessp
 [5] i386-pc-linux-gnu-3.4.4-hardenednossp
 [6] i686-pc-linux-gnu-4.1.1 *

Code:
paravia ~ # gcc -v
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: /var/tmp/portage/gcc-4.1.1-r1/work/gcc-4.1.1/configure --prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/4.1.1 --includedir=/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/4.1.1 --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/4.1.1/man --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/4.1.1/info --with-gxx-include-dir=/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/g++-v4 --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --disable-altivec --enable-nls --without-included-gettext --with-system-zlib --disable-checking --disable-werror --disable-libunwind-exceptions --disable-multilib --disable-libmudflap --disable-libssp --disable-libgcj --enable-languages=c,c++,fortran --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu
Thread model: posix
gcc version 4.1.1 (Gentoo 4.1.1-r1)


And of course, here is my emerge info:

Code:

Portage 2.1.1-r2 (default-linux/x86/no-nptl, gcc-4.1.1, glibc-2.3.6-r5, 2.6.18-gentoo-r4 i686)
=================================================================
System uname: 2.6.18-gentoo-r4 i686 AMD Sempron(tm) Processor 3300+
Gentoo Base System version 1.12.6
Last Sync: Fri, 22 Dec 2006 02:20:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.31
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.60
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-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.internode.on.net/pub/gentoo/ http://public.planetmirror.com/pub/gentoo/ http://ftp.swin.edu.au/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://mirror.internode.on.net/gentoo-portage/"
USE="x86 X acpi alsa alsa_cards_intel8x0 alsa_pcm_plugins_adpcm alsa_pcm_plugins_alaw alsa_pcm_plugins_asym alsa_pcm_plugins_copy alsa_pcm_plugins_dmix alsa_pcm_plugins_dshare alsa_pcm_plugins_dsnoop alsa_pcm_plugins_empty alsa_pcm_plugins_extplug alsa_pcm_plugins_file alsa_pcm_plugins_hooks alsa_pcm_plugins_iec958 alsa_pcm_plugins_ioplug alsa_pcm_plugins_ladspa alsa_pcm_plugins_lfloat alsa_pcm_plugins_linear alsa_pcm_plugins_meter alsa_pcm_plugins_mulaw alsa_pcm_plugins_multi alsa_pcm_plugins_null alsa_pcm_plugins_plug alsa_pcm_plugins_rate alsa_pcm_plugins_route alsa_pcm_plugins_share alsa_pcm_plugins_shm alsa_pcm_plugins_softvol apm arts bash-completion berkdb bitmap-fonts bzip2 cdb cdr cli cracklib crypt cups dlloader doc dri dvd dvdr dvdread eds elibc_glibc emboss encode foomaticdb fortran gdbm gif glut gnome gpm gstreamer gtk gtk2 hal iconv imlib input_devices_keyboard input_devices_mouse ipv6 isdnlog java jpeg junit kde kernel_linux libg++ libwww lm_sensors mad mikmod motif mozilla mp3 mpeg msn ncurses nls ogg opengl oss pam pcre pdf perl png postgres pppd python qt qt3 qt4 quicktime readline reflection samba sdl session spell spl ssl symlink tcpd tidy tiff truetype truetype-fonts type1-fonts usb userland_GNU vcd video_cards_nv videos vorbis wifi win32codecs xine xinerama xml xorg xosd xv zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY


So any viewpoints will be greatly appreciated - I do miss my Amarok so!

I've tried running an earlier gcc (setting through gcc-config) and still getting the same problem.

Cheers!


Last edited by miggins on Wed Jan 03, 2007 6:22 am; edited 1 time in total
Back to top
View user's profile Send private message
Voyageur
Developer
Developer


Joined: 06 Mar 2005
Posts: 342
Location: Paris, France

PostPosted: Fri Dec 22, 2006 10:12 am    Post subject: Reply with quote

Looks like a gcc upgrade problem indeed!

Have you followed the gcc upgrade guide, including re-emerging libtool, running fix_libtool?

C++ generated code has a tendency to be incompatible between different gcc versions... Before emerging system/world, you can try to re-emerge kdelibs (last emerge was before gcc upgrade right?)
_________________
Routinely breaking NX, GNUstep, net-ftp, miscellaneous (llvm, filezilla, rdesktop, chromium, ...) packages
Back to top
View user's profile Send private message
miggins
n00b
n00b


Joined: 22 Dec 2006
Posts: 2

PostPosted: Wed Jan 03, 2007 6:30 am    Post subject: Reply with quote

Apologies for my late reply, I've been travelling and have been away from my machine.

Well my problem is now solved, it was due to not doing a rebuild after changing gcc versions. I installed gentoo about a week proir to the gcc update, so thanks for the gcc upgrade guide pointer Voyager, it was something that I had failed to realise was in existance.

For everyone else, the link for the guide is: http://www.gentoo.org/doc/en/gcc-upgrading.xml
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum