Compiling amarok-2.0 fails with ha lot of reference errors while linking. Tryed it several times, remerged QTScript and searched the net without success. Amarok 1.90-r1 comiles fine. I have kde-4.1.3 and 3.5.10 installed. And qt 4.4.2 Reproducible: Always Steps to Reproduce: 1.emerge amarok-2.0 Actual Results: fails with ha lot of reference errors while linking. Expected Results: Compile an link an work ;-) emerge --info Portage 2.1.6 (default/linux/x86/2008.0/desktop, gcc-4.3.2, glibc-2.6.1-r0, 2.6.26-gentoo-r4 i686) ================================================================= System uname: Linux-2.6.26-gentoo-r4-i686-Intel-R-_Core-TM-2_Duo_CPU_E6750_@_2.66GHz-with-glibc2.0 Timestamp of tree: Sat, 13 Dec 2008 18:15:03 +0000 ccache version 2.4 [enabled] app-shells/bash: 3.2_p33 dev-java/java-config: 1.3.7-r1, 2.1.6 dev-lang/python: 2.4.4-r14, 2.5.2-r7 dev-python/pycrypto: 2.0.1-r6 dev-util/ccache: 2.4-r7 dev-util/cmake: 2.4.7-r1 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r2 sys-devel/automake: 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.26 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=core2 -O2 -pipe -fomit-frame-pointer -msse3" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /home/matthias /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/4.1/env /usr/kde/4.1/share/config /usr/kde/4.1/shutdown /usr/share/config /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/init.d /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-march=core2 -O2 -pipe -fomit-frame-pointer -msse3" DISTDIR="/usr/portage/distfiles" FEATURES="buildsyspkg ccache collision-protect distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo http://gentoo.mirror.solnet.ch http://gd.tuwien.ac.at/opsys/linux/gentoo http://ftp.uni-erlangen.de/pub/mirrors/gentoo" LANG="de_DE@euro" LDFLAGS="-Wl,-O1" LINGUAS="de" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/layman/sunrise /usr/local/layman/science /usr/local/portage /usr/local/berkano" SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" USE="X a52 aac ac3 acl acpi alsa bash-completion berkdb bluetooth branding bzip2 cairo cdr cli cracklib crypt cups dbus directfb divx dts dvb dvd dvdr dvdread eds emboss encode evo fam firefox flac fortran gdbm gif gpm gstreamer gtk hal iconv ip1000 ipv6 irmc isdnlog java jpeg kde kdeprefix latex ldap libnotify mad matroska midi mikmod mmx mp3 mpeg mudflap ncurses nls nptl nptlonly ntfs nvidia ogg openal opengl openmp pam pcre pdf perl png ppds pppd python qt qt3 qt3support qt4 quicktime readline reflection samba sdl session spell spl sse sse2 ssl ssse3 startup-notification svg sysfs tcpd tetex theora threads tiff tk tools truetype unicode usb v4l v4l2 vdpau vorbis win32codecs x264 x86 xcomposite xml xorg xv xvid zlib" ALSA_CARDS="emu10k1 emu10k1x" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="nvidia" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
I had the same issue. kde3x and kde4x on same box = issues I would pick 3x or 4x and call it a day. If you want a kde4 only install use steps below. Some kind people at #gentoo-kde gave me this info. My logs are linked below http://enyawix.selfip.net/kde.info add -qt3 -kde to /etc/make.conf get the kde sets tarball from http://dev.gentoo.org/~scarabeus/sets-4.1.tar.bz2 or http://enyawix.selfip.net/sets-4.1.tar.bz2 unpack it in /etc/portage/sets then do emerge -C @kde-3.5 that will get rid of all kde-3.5 apps then do emerge --depclean -a check through the list of packages, and if it looks ok, let it run that should get rid of anything to do with 3.5. However, you will not be able to install kile, k3b, amarok (1.4.whatever) or compile openoffice with the kde use flag without pulling in kdelibs-3.5 so if you're happy to be without those (plus maybe a few others), you'll be ok
Uninstalling KDE3.5 isn't a solution for me, because KDE4 istn't good enough for everyday work yet (I've tryed it 2 days ;-) scrolling is a mess in some apps and it crashed some times). Is amarok 2.0 designed to work only on kde4-only systems (amarok 1.90 works fine here on the same system)? If this is the case, you can close the bug and it was my fault. Regards
The problem isn't the co-existance of both amarok versions on the same system. But amarok 2.0 simply doesn't compile. (see also title of this bug)
Created attachment 175275 [details] /var/log/portage/media-sound:amarok-2.0:20081214-105241.log Amarok 2.0 compile error
Created attachment 175276 [details] /var/log/portage/media-sound:amarok-1.90-r1:20081214-094402.log While amarok 1.90-r1 compiles fine in the same env.
What are the useflags for it please?
Rebuilding qtscript didn't help. The useflags for versions are: emerge -pOv =amarok-1.90-r1 These are the packages that would be merged, in order: [ebuild R ] media-sound/amarok-1.90-r1 USE="daap kdeprefix mysql opengl visualization -cdaudio -debug -ifp -mp3tunes -mp4 -mtp -njb" 0 kB emerge -pOv =amarok-2.0 These are the packages that would be merged, in order: [ebuild NS ] media-sound/amarok-2.0 [1.4.10-r1, 1.90-r1] USE="daap kdeprefix opengl semantic-desktop -cdaudio -debug -ifp -ipod -mp3tunes -mp4 -mtp -njb" 0 kB Ok, trying to rebuild using -sematic-desktop right now...
Would you mind testing removing all amaroks around and installing only this one? i am really not sure what is causing it because i have exat set of useflags (expect kdeprefix)
Removing the other amarok versions didn't help. Neither worked USE=-semantic-desktop googling for: qtscript "undefined reference" gave some indications which might help... - cmake version 2.4.7-r1 is reported to not work as expected in some cases. - maybe a compiler error or an agressive use of compiler options is responsible. I'll continue to do some further tests... Meanwhile greetz. Help is very much appreciated.
Portage 2.1.6.1 (default/linux/x86/2008.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.27-gentoo-r4 i686) ================================================================= System uname: Linux-2.6.27-gentoo-r4-i686-Intel-R-_Pentium-R-_4_CPU_2.80GHz-with-glibc2.0 Timestamp of tree: Sat, 13 Dec 2008 21:41:01 +0000 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] app-shells/bash: 3.2_p33 dev-java/java-config: 1.3.7-r1, 2.1.6-r1 dev-lang/python: 2.5.2-r7 dev-python/pycrypto: 2.0.1-r6 dev-util/cmake: 2.4.7-r1 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r2 sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -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/kde/4.1/env /usr/kde/4.1/share/config /usr/kde/4.1/shutdown /usr/lib/openoffice/share/dict/ /usr/share/config /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--with-bdeps y" FEATURES="buildpkg collision-protect distcc distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="en_US.utf8" LC_ALL="en_US.utf8" LDFLAGS="-Wl,-O1" LINGUAS="en de" MAKEOPTS="-j3 -s" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_EXTRA_OPTS="--timeout=500" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 aac aalib accessibility acl acpi akode alsa apache2 arts avahi bash-completion berkdb bluetooth branding bzip2 cairo caps cdr cli cracklib crypt cups curl daap dbus dri dts dvd dvdread eds emboss encode evo exif fam fbcon ffmpeg firefox flac foomaticdb fortran gdbm gif gimp glut gphoto2 gpm gstreamer gtk hal htmlhandbook iconv imagemagick ipv6 isdnlog java jpeg jpeg2k kde kdehiddenvisibility kdeprefix kipi kontakt lcms libnotify logrotate mad midi mikmod mmap mmx mng mp3 mpeg mudflap mysql ncurses nepomuk nls nptl nptlonly nsplugin ogg openexr opengl openmp pam pch pcre pdf perl plasma png ppds pppd python qt3 qt3support qt4 quicktime readline reflection samba scanner sdl session slp spell spl sqlite sse sse2 ssl startup-notification subversion svg sysfs tcpd tetex theora tiff truetype unicode usb vcd vorbis win32codecs x86 xattr xcb xcomposite xine xinerama xml xorg xscreensaver xulrunner xv xvid xvmc zeroconf zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse vmmouse synaptics wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en de" USERLAND="GNU" VIDEO_CARDS="vga vesa fbdev vmware mga nv ati radeon radeonhd intel" Unset: CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
@Tomáš, which cmake version did you use to install amarok?
(In reply to comment #11) > @Tomáš, which cmake version did you use to install amarok? > cmake-2.6.2 and also i am on complete ~amd64 :]
Well, here we got it. I just successfully built amarok 2.0 using cmake 2.6.2 Maybe it would also have worked with cmake 2.4.8 But as I can tell, 2.4.7-r1 troubles the QtScript linking by not including -lQtScript somehow :( DEPENDing on cmake (2.4.8 or even) 2.6.2 will solve this bug.
Same here! I just successfully built amarok 2.0 using cmake-2.4.8 Thx! Regards Mattes.
Did you have to do anything special to get it to compile? I have cmake 2.6.2 compiled with qt4 support and compile still fails. I also compiled it with ccache and distcc disabled since those have been known to break the occasional package. Portage 2.1.6.1 (default/linux/amd64/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-gentoo-r8 x86_64) ================================================================= System uname: Linux-2.6.24-gentoo-r8-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_4200+-with-glibc2.2.5 Timestamp of tree: Tue, 16 Dec 2008 06:32:01 +0000 distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.4 [enabled] app-shells/bash: 3.2_p33 dev-java/java-config: 1.3.7-r1, 2.1.6 dev-lang/python: 2.4.4-r13, 2.5.2-r7 dev-python/pycrypto: 2.0.1-r6 dev-util/ccache: 2.4-r7 dev-util/cmake: 2.6.2 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r2 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.23-r3 ACCEPT_KEYWORDS="amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=athlon64 -O2 -pipe -msse3" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/4.0/env /usr/kde/4.0/share/config /usr/kde/4.0/shutdown /usr/share/config /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-march=athlon64 -O2 -pipe -msse3" DISTDIR="/usr/portage/distfiles" FEATURES="ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="en_US.UTF-8" LC_ALL="C" LDFLAGS="-Wl,-O1" LINGUAS="en_US en" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage/local/layman/voip /usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow 3dnowext a52 aac acl alsa amd64 amr amrnb amrwb aotuv apache2 avi bash-completion berkdb bidi bl bzip2 canna ccache cdaudio cdda cddb cdr cracklib crypt cups dbus dts dvb dvdr dvdread encode exif ffmpeg flac foomaticdb fortran gdbm ggi gif gimp gimpprint gnutls hal iconv ieee1394 jack jpeg kqemu lcms mad midi mikmod mmx mmxext mng mp3 mpeg mudflap multilib ncurses nls nptl nptlonly nsplugin ogg openal opengl openmp pam pcre pdflib perl plugins png ppds pulseaudio python quicktime readline reflection sdl session smp speex spell sse sse2 ssl startup-notification svg sysfs tcpd theora tiff unicode usb v4l v4l2 vcd vorbis x264 xcomposite xinerama xml xulrunner xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_US en" LIRC_DEVICES="leadtek_0010" USERLAND="GNU" VIDEO_CARDS="nvidia" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Nope, nothing. BZip2 your Log (if > 1MB) and upload it... Maybe this might help to catch your bug...
Created attachment 175496 [details] Mark II build log Attached my build log.
Well, resembles more bug 238487 You may want to see there.
I can confirm that amarok2 fails to build with those "undefined reference" errors with cmake-2.4.7-r1, but builds fine with cmake-2.6.2 Thx for the hints.
The kde4-base.eclass has a dep on >=cmake-2.6.2, so I'm closing this as fixed.