Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 245112 - media-sound/amarok-1.90-r1 fails to compile during lastfm plugin
Summary: media-sound/amarok-1.90-r1 fails to compile during lastfm plugin
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 258298
  Show dependency tree
 
Reported: 2008-11-01 06:13 UTC by David Friggens
Modified: 2009-02-10 16:35 UTC (History)
0 users

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 David Friggens 2008-11-01 06:13:01 UTC
Amarok emerge fails at 90% during the last.fm plugin.
Comment 1 David Friggens 2008-11-01 06:16:45 UTC
$ emerge --info
Portage 2.2_rc12 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.7-r1, 2.6.26-tuxonice i686)
=================================================================
System uname: Linux-2.6.26-tuxonice-i686-Genuine_Intel-R-_CPU_T2250_@_1.73GHz-with-glibc2.0
Timestamp of tree: Fri, 31 Oct 2008 23:45:03 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6-r1
dev-lang/python:     2.4.4-r5, 2.5.1-r5
dev-python/pycrypto: 2.0.1-r6
dev-util/cmake:      2.6.2
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.3.0-r1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.62-r1
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
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.4
virtual/os-headers:  2.6.26
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /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/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks parallel-fetch preserve-libs protect-owned sandbox sfperms unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://mirror.pacific.net.au/linux/Gentoo http://gentoo.mirrors.easynews.com/linux/gentoo/ http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://mirror.pacific.net.au/linux/Gentoo http://distro.ibiblio.org/pub/linux/distributions/gentoo/"
LANG="en_NZ"
LC_ALL="en_NZ"
LDFLAGS=""
LINGUAS="en_NZ en_GB 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/local/portage"
SYNC="rsync://rsync.au.gentoo.org/gentoo-portage"
USE="X Xaw3d a52 aac accessibility acpi alsa ao apache2 aspell avahi avi bash-completion berkdb bluetooth bzip2 cairo cddb cdio cdparanoia cdr cli cracklib crypt css cups curl dba dbus dga divx4linux dri dvd dvdr dvdread emacs encode exif expat fam fbcon ffmpeg fftw firefox flac ftp gd gdbm gif glitz gmp gnome gnutls gphoto2 gpm graphviz gstreamer gtk gtk2 gtkhtml hal iconv ieee1394 imagemagick imlib ipod isdnlog java javascript jfs jpeg kde kpathsea lame latex lcms libnotify libsamplerate libsexy libwww lm_sensors mad maildir mailwrapper mbrola midi mmx mng modplug mono mozbranding mozilla mozsvg mp3 mp4 mpeg mplayer mudflap musicbrainz mysql ncurses nls nptl nptlonly nsplugin ocaml offensive ofx ogg opengl openmp pam pcmcia pcre pda pdf perl plotutils png pppd python qt3 qt4 quicktime readline real reflection samba scanner sdl session sndfile spell spl sqlite sqlite3 sse sse2 ssl svg t1lib taglib tcl tcltk tcpd tetex threads tiff tk truetype twolame unicode usb v4l vcd vcdx vim-syntax vorbis wifi win32codecs wmf wxwindows x264 x86 xcomposite xine xinerama xml xorg xpm xulrunner xv xvid xvmc zlib" ALSA_CARDS="hda-intel usb-audio" 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="ptp2" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_NZ en_GB en" USERLAND="GNU" VIDEO_CARDS="vesa radeon fglrx fbdev"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 David Friggens 2008-11-01 06:22:49 UTC
Here's the error. It actually appears to happen during the ipod plugin, but then waits for the lastfm plugin to finish before dying (I hadn't thought to scroll so far up the first couple of times).


[ 79%] Building CXX object src/collection/ipodcollection/CMakeFiles/amarok_collection-ipodcollection.dir/IpodCollection.o
Generating MtpCollection.moc
Generating MtpCollectionLocation.moc
Generating moc_MtpHandler.cpp
Generating mtpmeta.moc
Scanning dependencies of target amarok_collection-mtpcollection
[ 80%] Building CXX object src/collection/ipodcollection/CMakeFiles/amarok_collection-ipodcollection.dir/IpodCollectionLocation.o
[ 80%] Building CXX object src/collection/mtpcollection/CMakeFiles/amarok_collection-mtpcollection.dir/MtpMeta.o
[ 81%] Building CXX object src/browsers/servicebrowser/lastfm/CMakeFiles/amarok_service_lastfm.dir/core/XspfResolver.o
[ 81%] Building CXX object src/collection/ipodcollection/CMakeFiles/amarok_collection-ipodcollection.dir/handler/IpodHandler.o
/var/tmp/portage/media-sound/amarok-1.90-r1/work/amarok-1.90/src/collection/ipodcollection/handler/IpodHandler.cpp: In member function 'void Ipod::IpodHandler::getCoverArt(Itdb_Track*, Meta::IpodTrackPtr)':
/var/tmp/portage/media-sound/amarok-1.90-r1/work/amarok-1.90/src/collection/ipodcollection/handler/IpodHandler.cpp:1141: error: 'ITDB_THUMB_COVER_SMALL' was not declared in this scope
/var/tmp/portage/media-sound/amarok-1.90-r1/work/amarok-1.90/src/collection/ipodcollection/handler/IpodHandler.cpp:1141: error: 'itdb_artwork_get_thumb_by_type' was not declared in this scope
/var/tmp/portage/media-sound/amarok-1.90-r1/work/amarok-1.90/src/collection/ipodcollection/handler/IpodHandler.cpp:1147: error: 'ITDB_THUMB_COVER_LARGE' was not declared in this scope
/var/tmp/portage/media-sound/amarok-1.90-r1/work/amarok-1.90/src/collection/ipodcollection/handler/IpodHandler.cpp:1155: error: 'itdb_thumb_get_gdk_pixbuf' was not declared in this scope
/var/tmp/portage/media-sound/amarok-1.90-r1/work/amarok-1.90/src/collection/ipodcollection/handler/IpodHandler.cpp:1163: error: 'struct _Itdb_Artwork' has no member named 'thumbnails'
/var/tmp/portage/media-sound/amarok-1.90-r1/work/amarok-1.90/src/collection/ipodcollection/handler/IpodHandler.cpp:1175: error: invalid use of undefined type 'struct _Itdb_Thumb'
/usr/include/gpod-1.0/gpod/itdb.h:61: error: forward declaration of 'struct _Itdb_Thumb'
/var/tmp/portage/media-sound/amarok-1.90-r1/work/amarok-1.90/src/collection/ipodcollection/handler/IpodHandler.cpp:1177: error: 'ITDB_THUMB_PHOTO_SMALL' was not declared in this scope
/var/tmp/portage/media-sound/amarok-1.90-r1/work/amarok-1.90/src/collection/ipodcollection/handler/IpodHandler.cpp:1180: error: 'ITDB_THUMB_PHOTO_LARGE' was not declared in this scope
/var/tmp/portage/media-sound/amarok-1.90-r1/work/amarok-1.90/src/collection/ipodcollection/handler/IpodHandler.cpp:1183: error: 'ITDB_THUMB_PHOTO_FULL_SCREEN' was not declared in this scope
/var/tmp/portage/media-sound/amarok-1.90-r1/work/amarok-1.90/src/collection/ipodcollection/handler/IpodHandler.cpp:1186: error: 'ITDB_THUMB_PHOTO_TV_SCREEN' was not declared in this scope
/var/tmp/portage/media-sound/amarok-1.90-r1/work/amarok-1.90/src/collection/ipodcollection/handler/IpodHandler.cpp:1189: error: 'ITDB_THUMB_COVER_XLARGE' was not declared in this scope
/var/tmp/portage/media-sound/amarok-1.90-r1/work/amarok-1.90/src/collection/ipodcollection/handler/IpodHandler.cpp:1192: error: 'ITDB_THUMB_COVER_MEDIUM' was not declared in this scope
/var/tmp/portage/media-sound/amarok-1.90-r1/work/amarok-1.90/src/collection/ipodcollection/handler/IpodHandler.cpp:1195: error: 'ITDB_THUMB_COVER_SMEDIUM' was not declared in this scope
/var/tmp/portage/media-sound/amarok-1.90-r1/work/amarok-1.90/src/collection/ipodcollection/handler/IpodHandler.cpp:1198: error: 'ITDB_THUMB_COVER_XSMALL' was not declared in this scope
/var/tmp/portage/media-sound/amarok-1.90-r1/work/amarok-1.90/src/collection/ipodcollection/handler/IpodHandler.cpp:1216: error: 'itdb_thumb_get_filename' was not declared in this scope
/var/tmp/portage/media-sound/amarok-1.90-r1/work/amarok-1.90/src/collection/ipodcollection/handler/IpodHandler.cpp:1223: error: 'itdb_thumb_get_gdk_pixbuf' was not declared in this scope
/var/tmp/portage/media-sound/amarok-1.90-r1/work/amarok-1.90/src/collection/ipodcollection/handler/IpodHandler.cpp:1241: warning: missing sentinel in function call
make[2]: *** [src/collection/ipodcollection/CMakeFiles/amarok_collection-ipodcollection.dir/handler/IpodHandler.o] Error 1
make[1]: *** [src/collection/ipodcollection/CMakeFiles/amarok_collection-ipodcollection.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 81%] Building CXX object src/collection/mtpcollection/CMakeFiles/amarok_collection-mtpcollection.dir/MtpCollection.o
[ 81%] Building CXX object src/collection/mtpcollection/CMakeFiles/amarok_collection-mtpcollection.dir/MtpCollectionLocation.o
[ 81%] Building CXX object src/browsers/servicebrowser/lastfm/CMakeFiles/amarok_service_lastfm.dir/libUnicorn/CachedHttp.o
[ 82%] Building CXX object src/collection/mtpcollection/CMakeFiles/amarok_collection-mtpcollection.dir/handler/MtpHandler.o
[ 82%] Building CXX object src/browsers/servicebrowser/lastfm/CMakeFiles/amarok_service_lastfm.dir/libUnicorn/CachedHttpJanitor.o
[ 82%] Building CXX object src/browsers/servicebrowser/lastfm/CMakeFiles/amarok_service_lastfm.dir/libUnicorn/draglabel.o
[ 82%] Building CXX object src/browsers/servicebrowser/lastfm/CMakeFiles/amarok_service_lastfm.dir/libUnicorn/DragMimeData.o
[ 82%] Building CXX object src/browsers/servicebrowser/lastfm/CMakeFiles/amarok_service_lastfm.dir/libUnicorn/imagebutton.o
[ 83%] Building CXX object src/browsers/servicebrowser/lastfm/CMakeFiles/amarok_service_lastfm.dir/libUnicorn/LastMessageBox.o
[ 83%] /var/tmp/portage/media-sound/amarok-1.90-r1/work/amarok-1.90/src/collection/mtpcollection/handler/MtpHandler.cpp: In member function 'bool Mtp::MtpHandler::iterateRawDevices(int, LIBMTP_raw_device_t*, const QString&)':
/var/tmp/portage/media-sound/amarok-1.90-r1/work/amarok-1.90/src/collection/mtpcollection/handler/MtpHandler.cpp:141: warning: 'device' may be used uninitialized in this function
Building CXX object src/browsers/servicebrowser/lastfm/CMakeFiles/amarok_service_lastfm.dir/libUnicorn/logger.o
[ 83%] Building CXX object src/collection/mtpcollection/CMakeFiles/amarok_collection-mtpcollection.dir/amarok_collection-mtpcollection_automoc.o
[ 83%] Building CXX object src/browsers/servicebrowser/lastfm/CMakeFiles/amarok_service_lastfm.dir/libUnicorn/metadata.o
Linking CXX shared module ../../../lib/libamarok_collection-mtpcollection.so
[ 83%] Building CXX object src/browsers/servicebrowser/lastfm/CMakeFiles/amarok_service_lastfm.dir/libUnicorn/RedirectHttp.o
[ 83%] Building CXX object src/browsers/servicebrowser/lastfm/CMakeFiles/amarok_service_lastfm.dir/libUnicorn/StationUrl.o
[ 83%] Building CXX object src/browsers/servicebrowser/lastfm/CMakeFiles/amarok_service_lastfm.dir/libUnicorn/StopWatch.o
[ 83%] Built target amarok_collection-mtpcollection
[ 84%] Building CXX object src/browsers/servicebrowser/lastfm/CMakeFiles/amarok_service_lastfm.dir/libUnicorn/TrackInfo.o
[ 84%] Building CXX object src/browsers/servicebrowser/lastfm/CMakeFiles/amarok_service_lastfm.dir/libUnicorn/UnicornCommon.o
[ 84%] Building CXX object src/browsers/servicebrowser/lastfm/CMakeFiles/amarok_service_lastfm.dir/libUnicorn/URLLabel.o
[ 84%] Building CXX object src/browsers/servicebrowser/lastfm/CMakeFiles/amarok_service_lastfm.dir/libUnicorn/watermarkwidget.o
[ 84%] Building CXX object src/browsers/servicebrowser/lastfm/CMakeFiles/amarok_service_lastfm.dir/libUnicorn/WebService/ActionRequest.o
[ 84%] Building CXX object src/browsers/servicebrowser/lastfm/CMakeFiles/amarok_service_lastfm.dir/libUnicorn/WebService/AlbumTagsRequest.o
[ 85%] Building CXX object src/browsers/servicebrowser/lastfm/CMakeFiles/amarok_service_lastfm.dir/libUnicorn/WebService/ArtistMetaDataRequest.o
[ 85%] Building CXX object src/browsers/servicebrowser/lastfm/CMakeFiles/amarok_service_lastfm.dir/libUnicorn/WebService/ArtistTagsRequest.o
[ 85%] Building CXX object src/browsers/servicebrowser/lastfm/CMakeFiles/amarok_service_lastfm.dir/libUnicorn/WebService/ChangeStationRequest.o
[ 85%] Building CXX object src/browsers/servicebrowser/lastfm/CMakeFiles/amarok_service_lastfm.dir/libUnicorn/WebService/DeleteFriendRequest.o
[ 85%] Building CXX object src/browsers/servicebrowser/lastfm/CMakeFiles/amarok_service_lastfm.dir/libUnicorn/WebService/FingerprintQueryRequest.o
[ 86%] Building CXX object src/browsers/servicebrowser/lastfm/CMakeFiles/amarok_service_lastfm.dir/libUnicorn/WebService/FriendsRequest.o
[ 86%] Building CXX object src/browsers/servicebrowser/lastfm/CMakeFiles/amarok_service_lastfm.dir/libUnicorn/WebService/FrikkinNormanRequest.o
[ 86%] Building CXX object src/browsers/servicebrowser/lastfm/CMakeFiles/amarok_service_lastfm.dir/libUnicorn/WebService/GetXspfPlaylistRequest.o
[ 86%] Building CXX object src/browsers/servicebrowser/lastfm/CMakeFiles/amarok_service_lastfm.dir/libUnicorn/WebService/Handshake.o
[ 86%] Building CXX object src/browsers/servicebrowser/lastfm/CMakeFiles/amarok_service_lastfm.dir/libUnicorn/WebService/NeighboursRequest.o
[ 86%] Building CXX object src/browsers/servicebrowser/lastfm/CMakeFiles/amarok_service_lastfm.dir/libUnicorn/WebService/ProxyTestRequest.o
[ 87%] Building CXX object src/browsers/servicebrowser/lastfm/CMakeFiles/amarok_service_lastfm.dir/libUnicorn/WebService/RecentTrackRequest.o
[ 87%] Building CXX object src/browsers/servicebrowser/lastfm/CMakeFiles/amarok_service_lastfm.dir/libUnicorn/WebService/RecommendRequest.o
[ 87%] Building CXX object src/browsers/servicebrowser/lastfm/CMakeFiles/amarok_service_lastfm.dir/libUnicorn/WebService/ReportRebufferingRequest.o
[ 87%] Building CXX object src/browsers/servicebrowser/lastfm/CMakeFiles/amarok_service_lastfm.dir/libUnicorn/WebService/Request.o
[ 87%] Building CXX object src/browsers/servicebrowser/lastfm/CMakeFiles/amarok_service_lastfm.dir/libUnicorn/WebService/SearchTagsRequest.o
[ 87%] Building CXX object src/browsers/servicebrowser/lastfm/CMakeFiles/amarok_service_lastfm.dir/libUnicorn/WebService/SetTagRequest.o
[ 88%] Building CXX object src/browsers/servicebrowser/lastfm/CMakeFiles/amarok_service_lastfm.dir/libUnicorn/WebService/SimilarArtistsRequest.o
[ 88%] Building CXX object src/browsers/servicebrowser/lastfm/CMakeFiles/amarok_service_lastfm.dir/libUnicorn/WebService/SimilarTagsRequest.o
[ 88%] Building CXX object src/browsers/servicebrowser/lastfm/CMakeFiles/amarok_service_lastfm.dir/libUnicorn/WebService/SubmitFullFingerprintRequest.o
[ 88%] Building CXX object src/browsers/servicebrowser/lastfm/CMakeFiles/amarok_service_lastfm.dir/libUnicorn/WebService/TopTagsRequest.o
[ 88%] Building CXX object src/browsers/servicebrowser/lastfm/CMakeFiles/amarok_service_lastfm.dir/libUnicorn/WebService/TrackMetaDataRequest.o
[ 88%] Building CXX object src/browsers/servicebrowser/lastfm/CMakeFiles/amarok_service_lastfm.dir/libUnicorn/WebService/TrackTagsRequest.o
[ 89%] Building CXX object src/browsers/servicebrowser/lastfm/CMakeFiles/amarok_service_lastfm.dir/libUnicorn/WebService/TrackToIdRequest.o
[ 89%] Building CXX object src/browsers/servicebrowser/lastfm/CMakeFiles/amarok_service_lastfm.dir/libUnicorn/WebService/TrackUploadRequest.o
[ 89%] Building CXX object src/browsers/servicebrowser/lastfm/CMakeFiles/amarok_service_lastfm.dir/libUnicorn/WebService/UserLabelsRequest.o
[ 89%] Building CXX object src/browsers/servicebrowser/lastfm/CMakeFiles/amarok_service_lastfm.dir/libUnicorn/WebService/UserPicturesRequest.o
[ 89%] Building CXX object src/browsers/servicebrowser/lastfm/CMakeFiles/amarok_service_lastfm.dir/libUnicorn/WebService/UserTagsRequest.o
[ 90%] Building CXX object src/browsers/servicebrowser/lastfm/CMakeFiles/amarok_service_lastfm.dir/libUnicorn/WebService/VerifyUserRequest.o
[ 90%] Building CXX object src/browsers/servicebrowser/lastfm/CMakeFiles/amarok_service_lastfm.dir/libUnicorn/WebService/XmlRpc.o
[ 90%] Building CXX object src/browsers/servicebrowser/lastfm/CMakeFiles/amarok_service_lastfm.dir/libUnicorn/WebService.o
[ 90%] Building CXX object src/browsers/servicebrowser/lastfm/CMakeFiles/amarok_service_lastfm.dir/amarok_service_lastfm_automoc.o
Linking CXX shared module ../../../../lib/amarok_service_lastfm.so
[ 90%] Built target amarok_service_lastfm
make: *** [all] Error 2
 * 
 * ERROR: media-sound/amarok-1.90-r1 failed.
 * Call stack:
 * ebuild.sh, line   49:  Called src_compile
 * environment, line 2948:  Called kde4-base_src_compile
 * environment, line 2209:  Called kde4-base_src_make
 * environment, line 2244:  Called cmake-utils_src_make
 * environment, line  750:  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/tmp/portage/media-sound/amarok-1.90-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-sound/amarok-1.90-r1/temp/environment'.
 * 

>>> Failed to emerge media-sound/amarok-1.90-r1, Log file:

>>>  '/var/tmp/portage/media-sound/amarok-1.90-r1/temp/build.log'
Comment 3 Tomáš Chvátal (RETIRED) gentoo-dev 2008-11-01 07:41:59 UTC
It is "feature" of cmake that if something fails it continue in building that app. Evil i would say.
Issue is really that ipod plugin. I am not sure that someone thested it tho.

So try to compile it for now with -ipod. If it compiles i will just disable ipod use for now.
Comment 4 David Friggens 2008-11-01 10:30:04 UTC
It does compile with -ipod, but that's one of the key features I'm interested in using... :-/
Comment 5 Tomáš Chvátal (RETIRED) gentoo-dev 2008-11-01 10:43:54 UTC
Trust me on this one:
Amarok2_beta1 is not ready for use. Maybe beta2 is but it needs hard modifications for mysql so it is not in the tree yet.
Just stick for 1.4.X for now...

FYI i reproduced that ipod feature does not work so i am disabling it. When i do so i will close this bug.
Comment 6 Tomáš Chvátal (RETIRED) gentoo-dev 2008-11-01 14:17:36 UTC
In tree. Closing.