After upgrading Amarok from 1.0.2 to 1.1_beta2, the application refuses to start, failing to load the artsenginge plugin. It displays the following two dialogs, then quits: KLibLoader could not load the plugin: libamarok_artsengine_plugin Error message: /usr/kde/3.3/lib/libamarokarts.so: undefined symbol: _ZTv0_n28_N4Arts16SynthModule_stub11autoSuspendEv And: amaroK could not find any sound-engine plugins. It is likely that amaroK is installed under the wrong prefix, please fix your installation using: $ cd /path/to/amarok/source-code/ $ su -c "make uninstall" $ ./configure --prefix=`kde-config --prefix` && su -c "make install" $ kbuildsycoca $ amarok [...] Reproducible: Always Steps to Reproduce: 1. emerge amarok-1.1_beta2. 2. run the application. Actual Results: Amarok quits, beeing unable to load the artsenginge plugin. It displays the two mentioned dialogs and leaves me alone afterwards. Expected Results: Amarok should play my funky tunes! ;-) The system is ~x86 onyl. Amarok itself is compiled with the following USE flags set: media-sound/amarok-1.1_beta2 +arts -cjk -debug -gstreamer +opengl -xine +xmms The usual 'emerge info' stuff: > emerge info Portage 2.0.51_rc1 (default-x86-1.4, gcc-3.4.1, glibc-2.3.4.20040808-r0, 2.6.8.1-ck1-bas1 i686) ================================================================= System uname: 2.6.8.1-ck1-bas1 i686 AMD Athlon(tm) XP 2600+ Gentoo Base System version 1.5.3 distcc 2.17 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.90.0.1.1-r3 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 -mmmx -m3dnow -msse -pipe" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/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 /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/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-xp -O3 -mmmx -m3dnow -msse -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://gentoo.osuosl.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow X aalib acl alsa apm arts avi berkdb bitmap-fonts bonobo cdr composite crypt cups dga directfb dvd dvdr encode esd fam fbcon foomaticdb gd gdbm ggi gif gimpprint gnome gnomedb gnutls gphoto2 gpm gtk gtk2 gtkhtml guile imap imlib imlib2 jabber jack java jpeg kde ladcca lcms libg++ libwww mad maildir mbox mikmod mmx motif mozilla moznocompose moznoirc moznomail mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl pic png ppds pythonqt quicktime readline samba scanner sdl slang spell sse ssl svga tcltk tcpd tetex tiff truetype usb videos x86 xml2 xmms xprint xv zlib"
same problem here
As I also described my problem on the Gentoo User mailinglist, some guy called Preston came up with a workaround which did the trick for me, too: / First, use the xine or gstreamer engines instead of arts. I run KDE and love it, but, at least on my hardware, it runs smoother with xine. Even if you still want to use arts, try emergeing it with +gstreamer and/or +xine. That usually fixes some of the problems (I know that isn't a good technical answer, but it does get it to work). Secondly, do you have an Nvidia video card? Are you using the Nvidia drivers (the ones from Nvidia)? If you are, or even if your not, try emerging it with "-opengl", this usually fixes the startup. So to summerize, try emergeing it with USE="gstreamer xine -opengl" and see if it works. / This surely is no solution to fix the bug itself, but it's a workaround to be able to use Amarok as long as the described problem exists. The refered thread on Gentoo User: http://thread.gmane.org/gmane.linux.gentoo.user/98669
I had a similar problem with amarok not starting up - i just ran kbuildsycoca as my normal user. After that it worked fine with the arts-engine
Same problem here. ----------------------------------------------------- # emerge info Portage 2.0.51_rc1 (default-x86-2004.2, gcc-3.4.1, glibc-2.3.4.20040808-r0, 2.6.8-gentoo-r3 i686) ================================================================= System uname: 2.6.8-gentoo-r3 i686 AMD Athlon(tm) XP 3200+ Gentoo Base System version 1.5.3 ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.90.0.1.1-r3 Headers: sys-kernel/linux26-headers-2.6.8.1 Libtools: sys-devel/libtool-1.5.2-r5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=athlon-xp -mtune=athlon-xp -ftracer -fprefetch-loop-arrays -fmove-all-movables -fforce-addr -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/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/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=athlon-xp -mtune=athlon-xp -ftracer -fprefetch-loop-arrays-fmove-all-movables -fforce-addr -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://gentoo.osuosl.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X alsa apm arts avi berkdb bitmap-fonts cdr crypt cups encode foomaticdb gdbm gif gpm gtk gtk2 imlib java jpeg kde libg++ libwww mad mikmod motif mpeg ncurses nls nptl oggvorbis opengl oss pam pdflib perl png ppds python qt quicktime readline sdl slang spell ssl svga tcpd truetype usb x86 xml2 xmms xprint xv zlib" ----------------------------------------------------- I tried the kbuildsycoca fix which gave me some errors ----------------------------------------------------- $ kbuildsycoca QPixmap: Cannot create a QPixmap when no GUI is being used QPixmap: Cannot create a QPixmap when no GUI is being used kbuildsycoca running... Reusing existing ksycoca kio (KMimeType): WARNING: 'kdeveloplanguagesupport.desktop' specifies undefinedmimetype/servicetype 'KDevelop/Part' kbuildsycoca: WARNING: 'OpenOffice.org 1.1/web.desktop' specifies undefined mimetype/servicetype 'application/vnd.stardivision.writer.global' kio (KMimeType): WARNING: 'kbearimportfilter.desktop' specifies undefined mimetype/servicetype 'KParts/Plugin' kbuildsycoca: WARNING: 'kdevjavadebugger.desktop' specifies undefined mimetype/servicetype 'KDevelop/Part' kbuildsycoca: WARNING: 'kcertpart.desktop' specifies undefined mimetype/servicetype 'application/binary-certificate' kbuildsycoca: WARNING: 'Multimedia/kaffeine.desktop' specifies undefined mimetype/servicetype 'audio/x-mpeg' kbuildsycoca: WARNING: 'Multimedia/kaffeine.desktop' specifies undefined mimetype/servicetype 'audio/x-ogg' kbuildsycoca: WARNING: 'Multimedia/kaffeine.desktop' specifies undefined mimetype/servicetype 'audio/x-pn-realaudio-plugin' kbuildsycoca: WARNING: 'Multimedia/kaffeine.desktop' specifies undefined mimetype/servicetype 'video/msvideo' kbuildsycoca: WARNING: 'Multimedia/kaffeine.desktop' specifies undefined mimetype/servicetype 'video/x-avi' kbuildsycoca: WARNING: 'Multimedia/kaffeine.desktop' specifies undefined mimetype/servicetype 'video/x-fli' kbuildsycoca: WARNING: '/usr/kde/3.3/share/applications/kde/kmid.desktop' specifies undefined mimetype/servicetype 'audio/midi' kbuildsycoca: WARNING: '/usr/kde/3.3/share/applications/kde/kfmclient_war.desktop' specifies undefined mimetype/servicetype 'application/x-webarchive' kbuildsycoca: WARNING: '/usr/share/applications/xmms.desktop' specifies undefined mimetype/servicetype 'audio/mp3' kbuildsycoca: WARNING: '/usr/share/applications/xmms.desktop' specifies undefined mimetype/servicetype 'audio/x-mpeg' kbuildsycoca: WARNING: 'Multimedia/xmms.desktop' specifies undefined mimetype/servicetype 'audio/mp3' kbuildsycoca: WARNING: 'Multimedia/xmms.desktop' specifies undefined mimetype/servicetype 'audio/x-mpeg' kbuildsycoca: WARNING: 'katepart.desktop' specifies undefined mimetype/servicetype 'text/x-csharp-src' kbuildsycoca: WARNING: 'katepart.desktop' specifies undefined mimetype/servicetype 'text/x-csharp-hde' kbuildsycoca: WARNING: 'katepart.desktop' specifies undefined mimetype/servicetype 'text/x-eiffel-src' kbuildsycoca: WARNING: 'katepart.desktop' specifies undefined mimetype/servicetype 'text/x-ferite-src' kbuildsycoca: WARNING: 'katepart.desktop' specifies undefined mimetype/servicetype 'text/x-ilerpg-src' kbuildsycoca: WARNING: 'katepart.desktop' specifies undefined mimetype/servicetype 'text/x-javascript' kbuildsycoca: WARNING: 'katepart.desktop' specifies undefined mimetype/servicetype 'text/x-kbasic-src' kbuildsycoca: WARNING: 'katepart.desktop' specifies undefined mimetype/servicetype 'text/mfile' kbuildsycoca: WARNING: 'katepart.desktop' specifies undefined mimetype/servicetype 'text/x-sather-src' kbuildsycoca: WARNING: 'katepart.desktop' specifies undefined mimetype/servicetype 'text/x-scheme' kbuildsycoca: WARNING: 'katepart.desktop' specifies undefined mimetype/servicetype 'text/x-sql' kbuildsycoca: WARNING: 'katepart.desktop' specifies undefined mimetype/servicetype 'text/x-verilog-src' kbuildsycoca: WARNING: 'katepart.desktop' specifies undefined mimetype/servicetype 'text/x-vhdl' kbuildsycoca: WARNING: 'katepart.desktop' specifies undefined mimetype/servicetype 'text/book' kbuildsycoca: WARNING: 'qeditor_part.desktop' specifies undefined mimetype/servicetype 'text/english' kbuildsycoca: WARNING: 'qeditor_part.desktop' specifies undefined mimetype/servicetype 'text/x-c' kbuildsycoca: WARNING: 'qeditor_part.desktop' specifies undefined mimetype/servicetype 'text/x-c++' kbuildsycoca: WARNING: 'qeditor_part.desktop' specifies undefined mimetype/servicetype 'text/x-sql' kbuildsycoca: WARNING: 'knotify.desktop' specifies undefined mimetype/servicetype 'KNotify' kbuildsycoca: WARNING: 'OpenOffice.org 1.1/writer.desktop' specifies undefined mimetype/servicetype 'application/x-doc' ----------------------------------------------------- I then tried $ USE="gstreamer xine -opengl" emerge amarok And then amarok works fine if I select the xine engine, but if I switch back to arts I get the same error as before. So this isn't really a permanent fix because the arts engine needs to support "the audio player for KDE" Another problem with switching to xine is you cannot use amaroks effects. So is this an arts bug, amarok, Gentoo or something else?
same error here... and gstreamer has broken alsasink(gst bug tho)... is it a gentoo issues?
here is my emerge info: Portage 2.0.51_rc1 (default-x86-2004.0, gcc-3.4.1, glibc-2.3.4.20040808-r0, 2.6.9-rc1-nitro4 i686) ================================================================= System uname: 2.6.9-rc1-nitro4 i686 AMD Athlon(tm) XP 2000+ Gentoo Base System version 1.5.3 Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.90.0.1.1-r3 Headers: sys-kernel/linux-headers-2.4.22 Libtools: sys-devel/libtool-1.5.2-r5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -O2 -fomit-frame-pointer -falign-functions=64 -falign-jumps=16 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/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/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-xp -O2 -fomit-frame-pointer -falign-functions=64 -falign-jumps=16 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://mirror.gentoo.no/" MAKEOPTS="-j1" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow X acpi acpi4linux aim alsa apm arts avi berkdb bitmap-fonts bonobo cdparanoia cdr clamav crypt cups directfb divx4linux dvd dvdr encode esd evo exiscan-acl faad fam fbcon flac foomaticdb freetype ftp gb gdbm gif gnome gnomedb gphoto2 gpm gstreamer gtk gtk2 gtkhtmlicq imagemagick imap imlib jabber java jpeg kde libg++ libwww live mad maildir mbox mikmod mldonkeypango mmap mmx monkey motif mozilla moznoirc mozsvg mpeg mpeg4 msn nas ncurses network nls nvidia oggvorbis opengl operanom2 oscar oss pam pdflib perl pic png ppds python qt quicktime readline sasl sdl shared sharedmem slang slp speex spell sse ssl svg svga tcltk tcpd tetex tiff transcode truetype unicode x86 xml2 xmms xprint xv xvid yahoo zlib"
I have the same issue, tried kbuildsycoca and that didn't work. Masking 1.1_beta2 and then emerging 1.0.2 results in it segfaulting whenever I try and start it (gcc3.4 problem? never had this issue with 3.3)
I have the same issue, tried kbuildsycoca and that didn't work. Masking 1.1_beta2 and then emerging 1.0.2 results in it segfaulting whenever I try and start amarok (this is apparently a problem with gcc 3.4, as it worked fine when I switched to my 3.3 profile, but it still couldn't load the arts sound engine). Not sure what to do now...
can you please try 1.1
Compiling amarok 1.1 fails on my box with the following messages: collectiondb.cpp:1342: warning: unused parameter 'parent' collectiondb.cpp:1342: warning: unused parameter 'artist' collectiondb.cpp:1342: warning: unused parameter 'album' collectiondb.cpp:1342: warning: unused parameter 'noedit' g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../amarok/src/amarokcore -I../../amarok/src/amarokcore -I../../amarok/src/anae -I../../amarok/src/plugin -I/usr/kde/3.3/include/arts -I/usr/include/taglib -I../../amarok/src/sqlite -I/usr/kde/3.3/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCn -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -march=athlon-xp -O2rmat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCIIT -DQT_NO_TRANSLATION -c -o contextbrowser.o `test -f 'contextbrowser.cpp' || echo './'`contextbrowser.cpp g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../amarok/src/amarokcore -I../../amarok/src/amarokcore -I../../amarok/src/anae -I../../amarok/src/plugin -I/usr/kde/3.3/include/arts -I/usr/include/taglib -I../../amarok/src/sqlite -I/usr/kde/3.3/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCn -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -march=athlon-xp -O2rmat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCIIT -DQT_NO_TRANSLATION -c -o coverfetcher.o `test -f 'coverfetcher.cpp' || echo './'`coverfetcher.cpp g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../amarok/src/amarokcore -I../../amarok/src/amarokcore -I../../amarok/src/anae -I../../amarok/src/plugin -I/usr/kde/3.3/include/arts -I/usr/include/taglib -I../../amarok/src/sqlite -I/usr/kde/3.3/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCn -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -march=athlon-xp -O2rmat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCIIT -DQT_NO_TRANSLATION -c -o covermanager.o `test -f 'covermanager.cpp' || echo './'`covermanager.cpp covermanager.cpp: In member function `void CoverManager::showCoverMenu(QIconViewItem*, const QPoint&)': covermanager.cpp:379: error: `FETCH' undeclared (first use this function) covermanager.cpp:379: error: (Each undeclared identifier is reported only once for each function it appears in.) make[4]: *** [covermanager.o] Error 1 make[4]: *** Waiting for unfinished jobs.... make[4]: Leaving directory `/var/tmp/portage/amarok-1.1/work/amarok-1.1/amarok/src'
did youu set USE=noamazon? That use flag is actually broken and upstream reports it'll be fixed in 1.1.1.
I tried to compile amarok 1.1 using the following combination of USE flags: (1) +arts -cjk -debug -gstreamer* -noamazon +opengl* -xine* -xinerama +xmms (2) +arts -cjk -debug +gstreamer +noamazon* -opengl +xine -xinerama +xmms (3) +arts -cjk -debug +gstreamer -noamazon -opengl +xine -xinerama +xmms (1): This one is using the useflags set by make.conf. As you can see (*), I formerly compiled with "gstreamer" and "opengl" due to the hint in comment #2. (2): I tried to add "noamazon" to see if this changes anything at all; still the error message when boiling out is exactly the same. (3): I tried to compile amarok with the same set of USE flags it used to succeed the last time; still the error message when boiling out is exactly the same, too.
*** Bug 65823 has been marked as a duplicate of this bug. ***
By the way: is there a reason why amarok installs in /usr/kde/3.3, breaking the rule that only kde-base packages go there? It should go in /usr for consistency
It appears that both --enable-amazon and --disable-amazon are broken in 1.1. There is a fix in the kde bugzilla http://bugs.kde.org/show_bug.cgi?id=90514
I applied the changes from comment #15 ( http://bugs.kde.org/show_bug.cgi?id=90514 )to the relevant file and can confirm that amarok compiles and works after that - at least for me. I built amarok using "ebuild unpack" and "ebuild merge" - although I set "+arts -cjk -debug -gstreamer -noamazon +opengl -xine -xinerama +xmms", the gstreamer- and xine plugins are still available (compiled amarok including them formerly). Another oddness: "About amarok" and "About KDE" both aren't selectable. Not that it hurts, but it's strange. Anyway, applying the patch from bugs.kde.org, amarok does what I want it to do - play my funky tunes.
ok, should be working now... I'll add back in that option in 1.1.1 when it should be fixed.
$ emerge amarok-1.1.ebuild Calculating dependencies ...done! >>> emerge (1 of 1) media-sound/amarok-1.1 to / >>> md5 src_uri ;-) amarok-1.1.tar.bz2 >>> Unpacking source... gstreamer >>> Unpacking amarok-1.1.tar.bz2 to /var/tmp/portage/amarok-1.1/work >>> Source unpacked. * --with-arts --with-gstreamer --with-opengl --with-xine # --enable-amazon configure: WARNING: you should use --build, --host, --target configure: WARNING: invalid host type: # checking build system type... Invalid configuration `#': machine `#' not recognized configure: error: /bin/sh admin/config.sub # failed !!! ERROR: media-sound/amarok-1.1 failed. !!! Function kde_src_compile, Line 130, Exitcode 1 !!! died running ./configure, kde_src_compile:configure
*** Bug 66119 has been marked as a duplicate of this bug. ***