After upgrading to qt-4.5.0_rc1, during `revdep-rebuild -L /usr/lib/qt4/.*` to rebuild everything using qt4, amarok-2.0.1.1 failed to rebuild [ 98%] Building CXX object src/scriptengine/generator/generator/CMakeFiles/qtscript_gui.dir/generated_cpp/com_trolltech_qt_gui/qtscriptshell_QTextCodecPlugin.o /usr/include/qt4/QtCore/qmetatype.h: In static member function ‘static int QMetaTypeId2<T>::qt_metatype_id() [with T = QList<int>]’: /usr/include/qt4/QtCore/qmetatype.h:194: instantiated from ‘int qMetaTypeId(T*) [with T = QList<int>]’ /usr/include/qt4/QtScript/qscriptengine.h:367: instantiated from ‘T qscriptvalue_cast(const QScriptValue&) [with T = QList<int>]’ /var/tmp/portage/media-sound/amarok-2.0.1.1/work/amarok_build/src/scriptengine/generator/generator/generated_cpp/com_trolltech_qt_gui/qtscriptshell_QTextCodecPlugin.cpp:128: inst antiated from here /usr/include/qt4/QtCore/qmetatype.h:184: error: ‘qt_metatype_id’ is not a member of ‘QMetaTypeId<QList<int> >’ make[2]: *** [src/scriptengine/generator/generator/CMakeFiles/qtscript_gui.dir/generated_cpp/com_trolltech_qt_gui/qtscriptshell_QTextCodecPlugin.o] Error 1 emerge --info Portage 2.2_rc23 (default/linux/x86/2008.0/desktop, gcc-4.3.3, glibc-2.9_p20081201-r1, 2.6.29-rc4-00178-g071a0bc i686) ================================================================= System uname: Linux-2.6.29-rc4-00178-g071a0bc-i686-Intel-R-_Core-TM-2_CPU_6700_@_2.66GHz-with-glibc2.0 Timestamp of tree: Thu, 12 Feb 2009 17:45:01 +0000 app-shells/bash: 3.2_p48-r1 dev-java/java-config: 1.3.7-r1, 2.1.7 dev-lang/python: 2.4.4-r15, 2.5.4-r2 dev-python/pycrypto: 2.0.1-r6 dev-util/cmake: 2.6.2-r1 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.4.3 sys-apps/sandbox: 1.3.6 sys-devel/autoconf: 2.13, 2.63 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.2 sys-devel/binutils: 2.19.1 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.28-r1 ACCEPT_KEYWORDS="x86 ~x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=native -mtune=native -pipe -ggdb" 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/config /var/bind /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-O2 -march=native -mtune=native -pipe -ggdb" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--with-bdeps y" FEATURES="buildsyspkg distlocks fixpackages installsources parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://ftp.first-world.info/ http://de-mirror.org/distro/gentoo/ http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://gentoo.tiscali.nl/" LANG="en_GB.UTF-8" LC_ALL="en_GB.UTF-8" LDFLAGS="-Wl,-O1" LINGUAS="en_GB en fr_FR fr" 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/sunrise /usr/portage/local/layman/perl-experimental /usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X a52 aac aalib acl acpi aim alsa apache2 arts audiofile avi bash-completion berkdb bluetooth bonobo branding browserplugin bzip2 bzlib cairo caps cddb cdparanoia cdr cjk clicracklib crypt cups curl cvs cxx dbus directfb doc dri dts dv dvd dvdr dvdread eds emacs emboss encode esd ethereal evo examples exif expat fam fbcon ffmpeg fftw flac fontconfig foomaticdb fortran ftp gcj gd gdbm geoip gif glut gmp gnome gnome-keyring gnutls gphoto2 gpm graphviz gstreamer gtk gtk2 gtkhtml guile hal htmlhandbook iconv icq idn ieee1394 imagemagick imlib ipv6 isdnlog jabber jack java javascript jbig jce jpeg jpeg2k junit kde kdehiddenvisibility ladspa latex lcms ldap leim libgda libnotify libsamplerate libwww lirc lm_sensors logrotate lua m17n-lib mad matroska mbox midi mikmod milter mime mmap mmx mng modplug mono mozilla mp3 mpeg mpi mplayer msn mudflap musepack ncurses nls nptl nptlonly nsplugin odbc offensive ogg oggvorbis openal opengl openmp oscar oss pam pcntl pcre pdf perl png postgres ppds pppd profile pulseaudio python qt3 qt3support qt4 quicktime readline recode reflection ruby sasl sdl session sharedmem sndfile snmp sockets sox speex spell spl sqlite sqlite3 sse sse2 ssl startup-notification subversion svg sysfs sysvipc tcl tcltk tcpd theora threads tiff tk truetype uicktime unicode usb v4l v4l2 vim-syntax vorbis wavpack win32codecs wmf wxwindows x264 x86 xattr xcb xface xft xine xml xml2 xorg xulrunner xv xvid yahoo zlib" ALSA_CARDS="hda-intel" 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" APACHE2_MPMS="worker" CAMERAS="canon ptp2" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001mtxorb ncurses text" LINGUAS="en_GB en fr_FR fr" LIRC_DEVICES="asusdh" USERLAND="GNU" VIDEO_CARDS="radeon vesa fbdev vga v4l" Unset: CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Thanks for reporting kde upstream is aware of this https://bugs.kde.org/show_bug.cgi?id=177863
Created attachment 182642 [details, diff] Patch for build amarok 2.0.1.1 with qt-4.5-rc1
Created attachment 182643 [details] ebuild with the qt-4.5-rc1 patch enabled
I have attached my ebuild and the patch from https://bugs.kde.org/show_bug.cgi?id=177863 to this bug. Works for me, but I think it just works with qt-4.5. I didn't know exactly how to manage that the patch is only applied when using qt-4.5. Hope this helps
Did you try to contact upstream ( https://bugs.kde.org/show_bug.cgi?id=177863 ) and tell them about this patch?
Its from there, so they know about it. greets Kay
I am monitoring closely the bug on kde bugzilla but afaik they havent solved this problem yet. :) In any case, users can test this patch and give us feedback. Thanks for this patch
Built OK for me (but I haven't tried to run Amarok yet).
This patch worked flawlessly for me. I'm running on an amd64 system.
Amarok plays properly. Not sure what special things should be tested...
I had previously used this new ebuild and patch in my local overlay successfully. Over the past couple days, I have sync'ed and rebuilt world to try out some changes to LDFLAGS and to use forced --as-needed. During this process, amarok and a couple other packages failed. A fresh sync today and resolving a couple other issues left me with all but amarok failing to emerge. Anyway, it turns out that now amarok builds fine for me when I use the ebuild out of the main portage tree instead of out of my local overlay. I'm guessing that perhaps the most recent update to cmake could be the reason, but I'm not sure.
(In reply to comment #4) > I have attached my ebuild and the patch from > https://bugs.kde.org/show_bug.cgi?id=177863 to this bug. > > Works for me, but I think it just works with qt-4.5. I didn't know exactly how > to manage that the patch is only applied when using qt-4.5. Using this patch and ebuild in a local overlay worked for me - amarok at least compiled cleanly and started - it just started scanning my collection... - qt-4.5.0_rc1 thanks!
*** Bug 261494 has been marked as a duplicate of this bug. ***
Just confirming that the attached ebuild and patch work for me on amd64 thank you very much.
Can confirm that patch works with amarok-2.0.2 on x86.
Confirming that the patch (after building mysql as proposed in bug 238487) works with amarok-2.0.2 on amd64 also.
This bug is closed upstream. The fix will be included on amarok-2.1 . So until then I think is safe to add this package on current amarok packages. What I need to test is that this patch doesnt break amarok with Qt-4.4.2. Can somebody verify this or I ll need some extra time to test it my self
*** Bug 240572 has been marked as a duplicate of this bug. ***
*** Bug 261830 has been marked as a duplicate of this bug. ***
(In reply to comment #17) > This bug is closed upstream. The fix will be included on amarok-2.1 . So until > then I think is safe to add this package on current amarok packages. > > What I need to test is that this patch doesnt break amarok with Qt-4.4.2. > > Can somebody verify this or I ll need some extra time to test it my self > Unfortunately, the patch fails with 2.0.2 and qt-4.4.2 and kde-4.2.1. I used the ebuild from 2.0.1.1 from portage with the additional patch added to the PATCHES=( ) line. Last few lines of log: [ 97%] [ 98%] Building CXX object src/scriptengine/generator/generator/CMakeFiles/qtscript_gui.dir/generated_cpp/com_trolltech_qt_gui/qtscriptshell_QTextCodecPlugin.o Building CXX object src/scriptengine/generator/generator/CMakeFiles/qtscript_gui.dir/generated_cpp/com_trolltech_qt_gui/qtscriptshell_QTextDocument.o [ 98%] Building CXX object src/scriptengine/generator/generator/CMakeFiles/qtscript_gui.dir/generated_cpp/com_trolltech_qt_gui/qtscriptshell_QTextEdit.o /var/tmp/portage/media-sound/amarok-2.0.2/work/amarok_build/src/scriptengine/generator/generator/generated_cpp/com_trolltech_qt_gui/qtscriptshell_QTextCodecPlugin.cpp:22: error: redefinition of ‘struct QMetaTypeId<QList<int> >’ /var/tmp/portage/media-sound/amarok-2.0.2/work/amarok_build/src/scriptengine/generator/generator/generated_cpp/com_trolltech_qt_gui/qtscriptshell_QTextCodecPlugin.cpp:18: error: previous definition of ‘struct QMetaTypeId<QList<int> >’ make[2]: *** [src/scriptengine/generator/generator/CMakeFiles/qtscript_gui.dir/generated_cpp/com_trolltech_qt_gui/qtscriptshell_QTextCodecPlugin.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [src/scriptengine/generator/generator/CMakeFiles/qtscript_gui.dir/all] Error 2 make: *** [all] Error 2 * * ERROR: media-sound/amarok-2.0.2 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 3064: Called kde4-base_src_compile * environment, line 2255: Called kde4-base_src_make * environment, line 2307: Called cmake-utils_src_make * environment, line 797: Called die * The specific snippet of code: * emake "$@" || die "Make failed!"; * The die message: * Make failed! * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/log/portage/media-sound:amarok-2.0.2:20090309-234937.log'. * The ebuild environment file is located at '/var/tmp/portage/media-sound/amarok-2.0.2/temp/environment'. * This ebuild is from an overlay named 'myself': '/usr/local/portage/' FYI, emerge --info: Portage 2.2_rc23 (default/linux/x86/2008.0/desktop, gcc-4.3.2, glibc-2.8_p20080602-r1, 2.6.28-tuxonice-r3 i686) ================================================================= System uname: Linux-2.6.28-tuxonice-r3-i686-Intel-R-_Core-TM-2_Duo_CPU_T7100_@_1.80GHz-with-glibc2.0 Timestamp of tree: Sun, 08 Mar 2009 23:45:03 +0000 ccache version 2.4 [enabled] app-shells/bash: 3.2_p39 dev-lang/python: 2.5.2-r7 dev-python/pycrypto: 2.0.1-r8 dev-util/ccache: 2.4-r7 dev-util/cmake: 2.6.2-r1 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.4.2 sys-apps/sandbox: 1.3.6 sys-devel/autoconf: 2.13, 2.63 sys-devel/automake: 1.5, 1.7.9-r1, 1.9.6-r2, 1.10.2 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="-march=native -O2 -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/config /usr/share/xsessions" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-march=native -O2 -pipe -fvisibility-inlines-hidden" DISTDIR="/usr/portage/distfiles" FEATURES="ccache distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://mirror.umoss.org/gentoo http://gentoo.oregonstate.edu ftp://gentoo.mirrors.pair.com http://www.ibiblio.org/pub/Linux/distributions/gentoo" LANG="en_US.UTF-8" LC_ALL="en_US.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="en en_US" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" 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/enlightenment /usr/local/portage" SYNC="rsync://mirror.umoss.org/gentoo-portage" USE="X a52 aac accessibility acl acpi alsa bash-completion berkdb branding bzip2 bzlib cairo cdr cli cpus cracklib crypt cups curl curlwrappers dbus djvu dmx dri dts dvd dvdr dvdread encode exif fam fbcon fbcondecor ffmpeg fftw flac fontconfig gdbm gif glitz gnutls gphoto2 gpm gs gtk hal hdaps hdri iconv ieee1394 imlib ipw3945 isdnlog jpeg kde lame lcms ldap mad mmap mmx mmx2 mng mp3 mp4 mpeg mudflap musepack musicbrainz ncurses nls nptl nptlonly nsplugin ogg openal opengl openmp oss pam pch pcmcia pcre pdf perl plasma png ppds pppd python qt3support qt4 quicktime readline reflection savedconfig sdl session smp speex spell spl sqlite srt sse sse2 ssl ssse3 startup-notification svg sysfs tcpd tetex theora threads tiff truetype unicode usb vim-pager vim-syntax vim-with-x vorbis win32codecs wmf x264 x86 xattr xcb xcf xcomposite xft xine xinerama xml xorg xosd xpm xulrunner xv xvid xvmc yv12 zeroconf zlib zsh-completion" ALSA_CARDS="hda-intel" 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" CAMERAS="*" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" USERLAND="GNU" VIDEO_CARDS="nvidia nv vesa" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 184517 [details] Full log of failed emerge Full log of emerge of amarok-2.0.2 + patch + qt-4.4.2.
*** Bug 261787 has been marked as a duplicate of this bug. ***
*** Bug 262464 has been marked as a duplicate of this bug. ***
I've done alot of testing on this. This is what I get Using 4.5.0 from KDE Repos aka Qt-Copy ----------------------------------------------- +Don't need the patch from the bugs.kde.org - Introduces a new bug the QThreadPool Using 4.5.0 from QtSoftware (official 4.5.0) ----------------------------------------------- + Doesn't introduce the QThreadPool bug -You do need the patch Amarok from svn ---------------------------------------------- If you are using the qt-copy it fails If you are using the official 4.5.0 it will compile with the patch Amarok 2.0.2 ---------------------------------------------- If you are using the qt-copy (haven't tested) If you are using the official 4.5.0 it won't compile do to patch failing to patch (atleast for me in Gentoo)
Created attachment 185879 [details] amarok 2.0.2 from layman kde-testing the patch applied to the amarok 2.0.2 included in layman kde-testing (ebuild used attached) allowed on amd64 amarok to compile smootly
amarok has asked that qtscriptgenerator be packaged separately and that's what has problems building. this bug should depend on bug 262256. I've got amarok-2 working and building on amd64 and will attaching files w/ patch as soon as I can confirm that qtscriptgenerator code still works.
Created attachment 186117 [details] amarok-2.0.2.ebuild using qtscriptgenerator external ebuild tested and works correctly on amd64, or at least as good as amarok-2.0 gets on qt-4.5... still quite a few bugs upstream, but at least you can play with it now.
Created attachment 186119 [details] amarok-2.0.2.ebuild diff for those devs who want to see what I've changed
(In reply to comment #27) > Created an attachment (id=186117) [edit] > amarok-2.0.2.ebuild using qtscriptgenerator external ebuild > > tested and works correctly on amd64, or at least as good as amarok-2.0 gets on > qt-4.5... still quite a few bugs upstream, but at least you can play with it > now. > same for me on x86
I join the choir in standing ovation (In reply to comment #29) > (In reply to comment #27) > > Created an attachment (id=186117) [edit] > > amarok-2.0.2.ebuild using qtscriptgenerator external ebuild > > > > tested and works correctly on amd64, or at least as good as amarok-2.0 gets on > > qt-4.5... still quite a few bugs upstream, but at least you can play with it > > now. > > > > same for me on x86 >
The updated amarok-2.0.2 ebuild in the kde-testing overlay is building fine for me.
Created attachment 186912 [details] build fails with latest kde-testing Created an attachment (id=186890) [edit] fails at 98% with qmetatype stuff On amd64. emerge qtscriptgenerator from kde-testing and tried to emerge amarok-2.0.2. # emerge -pvl amarok These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild U ] media-sound/amarok-2.0.2 [2.0.1.1] USE="ipod kdeprefix mp4 mtp opengl semantic-desktop -cdaudio% -daap -debug -ifp -mp3tunes -njb" LINGUAS="ja ko -ar -be -bg -ca -cs -csb -da -de -el -eo -es -et -eu -fi -fr -ga -gl -he -is -it -km -ku -lt -lv -nb -nds -ne -nl -nn -oc -pa -pl -pt -pt_BR -ro -ru -se -si -sk -sl -sv -th -tr -uk -zh_CN -zh_TW" 0 kB [0=>1] Total: 1 package (1 upgrade), Size of downloads: 0 kB Portage tree and overlays: [0] /usr/portage [1] /usr/local/portage/layman/kde-testing *amarok-2.0.2 05 Mar 2009; Alexey Shvetsov <alexxy@gentoo.org> +amarok-2.0.2.ebuild: Bump 05 Feb 2009; Maciej Mrozowski (reavertm) <reavertm@poczta.fm> metadata.xml, amarok-9999.ebuild: Added missing [kdeprefix=] USE deps in amarok, reformatting 12 Jan 2009; Manuel Nickschas <sputnick@quassel-irc.org> amarok-2.0.1.1.ebuild: Remove unused USE # emerge --info Portage 2.2_rc23 (default/linux/amd64/2008.0, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.28-gentoo-r1-murph x86_64) ================================================================= System uname: Linux-2.6.28-gentoo-r1-murph-x86_64-Intel-R-_Core-TM-2_CPU_6700_@_2.66GHz-with-glibc2.2.5 Timestamp of tree: Tue, 31 Mar 2009 07:45:01 +0000 distcc 3.1 x86_64-pc-linux-gnu [disabled] ccache version 2.4 [enabled] app-shells/bash: 4.0_p10-r1 dev-java/java-config: 1.3.7-r1, 2.1.7 dev-lang/python: 2.5.4-r2 dev-python/pycrypto: 2.0.1-r8 dev-util/ccache: 2.4-r8 dev-util/cmake: 2.6.3 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.4.3-r1 sys-apps/sandbox: 1.6 sys-devel/autoconf: 2.13, 2.63 sys-devel/automake: 1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.19.51.0.3 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.28-r1 ACCEPT_KEYWORDS="amd64 ~amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=nocona -pipe -fomit-frame-pointer -O2" 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.2/env /usr/kde/4.2/share/config /usr/kde/4.2/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/gentoo-release/etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-march=nocona -pipe -fomit-frame-pointer -O2" DISTDIR="/usr/portage/distfiles" FEATURES="ccache distlocks fixpackages parallel-fetch preserve-libs protect-owned sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://gentoo.mirrors.pair.com ftp://cites.uiuc.edu/pub/gentoo http://mirrors.cs.wmich.edu/gentoo" LDFLAGS="-Wl,-O1" LINGUAS="en ja hi ko" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" 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/layman/mozilla /usr/local/portage/layman/kde-testing /usr/local/portage" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="16bit 3dnow 3dnowext 3ds 64bit 7zip X a52 aac aalib acl acpi additions aim aimextras alsa amarok amd amd64 amr ao asf bash-completion berkdb bl bluetooth bzip2 c++ cairo calendar canna cap ccache cdda cddb cdinstall cdrom cg chroot cid cjk cli cmake cracklib crypt css curl dbus dga dio divx divx4linux dri dv dvb dvd dvdnav dvdr dvdread dvi emacs embedded encode ethereal examples fbcon ffmpeg firefox flac flash fontconfig fortran ftp fuse gcj gd gdbm gif gimp git glep glitz glx gmail gmailtimestamps gmedia google-gadgets gpm gstreamer010 gtalk gtk gtk2 gtkhtml gtkspell gzip hal hddtemp hpn html htmlhandbook http httpd hub iconvicq id3 ieee1394 imagemagick immqt-bc insecure-drivers insecure-savers ipod irc isdnlog j2ee jabber java java6 javascript jikesjp2 jpeg kde kde4 kdepim kdeprefix kqemu lame latex lcd libcaca lirc lm_sensors logitech-mouse mad madwifi mastroka math matroska mcal mccp midi mikmod mjpeg mmap mmx mmxext mng mp3 mp4 mp4live mpeg mpeg2 mpeg4 mplayer mplayer-bin msn mtp mudflap multilibmultitarget musicbrainz mysql ncurses nepomuk networkmanager nfs nls nptl nptlonly nsplugin ntfs ntlm ntlm_unsupported_patch nvidia oav odbc offensive ogg openal opengl openmp openssl pam pcre pdf perl plasma png pppd python qmake qt4 quicktime rar rdesktop readline realmedia reflection regex reiserfs samba sdl semantic-desktop session smp sms speex spell spl sqlite sqlite3 srt sse sse-filters sse2 ssl ssse3 svg sysfs szip taglib tcpd tetex theora threads threadsafe tiff transcode truetype type1 unicode urandom usb utf8 v4l v4l2 vcd vdpau vorbis wavpack webkit wifi wma wmf wmp x264 xcomposite xine xinerama xml xorg xrandr xscreensaver xulrunner xv 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_fileauthz_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 joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en ja hi ko" LIRC_DEVICES="mceusb2" USERLAND="GNU" VIDEO_CARDS="nvidia" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
(In reply to comment #27) > Created an attachment (id=186117) [edit] > amarok-2.0.2.ebuild using qtscriptgenerator external ebuild > > tested and works correctly on amd64, or at least as good as amarok-2.0 gets on > qt-4.5... still quite a few bugs upstream, but at least you can play with it > now. > Amarok fails to build with "ipod" useflag if media-libs/libgpod-0.7.0 is installed. It strictly depends on libgpod-0.6.0 (prooflink: http://amarok.kde.org/forum/index.php?topic=16726.0). Please update ebuild with this very huge patch :-) --- attachment.cgi?id=186117 2009-04-01 08:54:10.000000000 +0400 +++ amarok-2.0.2.ebuild 2009-04-01 08:15:59.000000000 +0400 @@ -31,7 +31,7 @@ >=kde-base/plasma-workspace-${KDE_MINIMAL} x11-libs/qt-webkit:4 ifp? ( media-libs/libifp ) - ipod? ( >=media-libs/libgpod-0.7.0 ) + ipod? ( =media-libs/libgpod-0.6.0 ) mp3tunes? ( dev-libs/libxml2 dev-libs/openssl
I was able to build amarok-2.0.2 fine w/ the external qtscriptgenerator (using the build from wired's overlay: http://github.com/wired/wirelay/tree/master).
well I propose to add this working ebuild in the official tree (In reply to comment #34) > I was able to build amarok-2.0.2 fine w/ the external qtscriptgenerator (using > the build from wired's overlay: http://github.com/wired/wirelay/tree/master). >
Amarok-2.0.2 added to the tree.
Why has this been closed? It's still an issue with ebuild 2.0.2-r1 (and also 2.0.1.1) from official portage tree using qt-4.5... Requesting to reopen... ;-)
I confirm that 2.0.2-r1 fails in the same way as 2.0.1.1 does.
(In reply to comment #38) > I confirm that 2.0.2-r1 fails in the same way as 2.0.1.1 does. I second that.
I'm puzzled why some people continue to have build failures. I've had Amarok building successfully against QT-4.5 since I entered comment #11. I happen to have built amarok-2.0.2-r1 out of the kde-testing overlay most recently.
-r1 fails to build for me. it doesn't include my sed patch to remove qtscriptgenerator and doesn't depend on an external qtscriptgenerator and thus fails to build. please reopen
Fails here too, please reopen
fails here as well please reopen
(In reply to comment #41) > -r1 fails to build for me. it doesn't include my sed patch to remove > qtscriptgenerator and doesn't depend on an external qtscriptgenerator and thus > fails to build. please reopen Please sync again - http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/amarok/amarok-2.0.2-r1.ebuild?rev=1.4&view=markup
Reopening by "popular" request. I would prefer people could move to the 2.0.2 bug, but nevermind.
maybe the 2.0.2 bug should be a duplicate of this, since 2.0.2 was out before this was dealt with and this has the patches for 2.0.2. it's more likely this bug never had it's 'title' properly updated.
I agree (In reply to comment #46) > maybe the 2.0.2 bug should be a duplicate of this, since 2.0.2 was out before > this was dealt with and this has the patches for 2.0.2. it's more likely this > bug never had it's 'title' properly updated. >
(In reply to comment #46) > maybe the 2.0.2 bug should be a duplicate of this, since 2.0.2 was out before > this was dealt with and this has the patches for 2.0.2. it's more likely this > bug never had it's 'title' properly updated. The attached patch serves only to fix the issue for non --as-needed users at the cost of those with --as-needed. There's clearly a problem with code visibility here. I thought a better solution was to simply discard the bundled qtscriptgenerator and use the system one. To this end, qtscriptgenerator was put on the tree, amarok now depends on it and the sed is applied. What is missing then for this particular issue? Also, amarok has been bumped to 2.0.2 and 2.0.1.1 was removed from the tree. Why should we keep discussing this here if there's a bug about it (bug 261643) that was blocked by this bug? Finally, I've personally built amarok-2.0.2-r1 with both --as-needed and without and got no compilation errors and quite a few people here seem not to have synced the tree/overlay. So this bug is getting pretty tiresome and I can't see what else I can do about it.
I've just synced and it compiled, indeed. Too bad it crashes on startup, though ;-]
I've just synced the third time for this now, and 2.0.1.1-r1 now pulls in qtscriptgenerator but also a newer mysql. Since then at least 2.0.1.1 works on 32bit. Will test 64bit later today. No crashes at startup.
Sorry, I meant 2.0.2 in my prev comment... :-)
2.0.2 crashes on 64 bit (In reply to comment #51) > Sorry, I meant 2.0.2 in my prev comment... :-) >
I'm closing the amarok-2.0.2 bug reports as it seems to be finally working. The 2.0.2 bump bug will stay open until I test the patch for lastfm.