Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 255730 - Amarok 2.0.1.1 fails to build with ipod USE: error: 'ITDB_THUMB_COVER_SMALL' was not declared in this scope and followups.
Summary: Amarok 2.0.1.1 fails to build with ipod USE: error: 'ITDB_THUMB_COVER_SMALL' ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
: 254310 258298 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-01-21 08:32 UTC by Oliver Maurhart
Modified: 2009-03-19 15:29 UTC (History)
6 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log of failed merge (amarok-bad-build.log,431.26 KB, text/plain)
2009-01-21 08:34 UTC, Oliver Maurhart
Details
2.0-ipod.patch (2.0-ipod.patch,6.00 KB, patch)
2009-02-10 17:26 UTC, Tomáš Chvátal (RETIRED)
Details | Diff
build log after patch (build.log,456.94 KB, text/plain)
2009-02-10 21:02 UTC, renato gallo
Details
2.0-ipod.patch (2.0-ipod.patch,6.56 KB, patch)
2009-02-10 21:24 UTC, Tomáš Chvátal (RETIRED)
Details | Diff
ebuild with ipod patch support (amarok-2.0.1.1.ebuild,2.84 KB, text/plain)
2009-02-10 21:50 UTC, renato gallo
Details
ipod patch log (2.0.1.1-ipod.patch-13991.out,9.75 KB, text/plain)
2009-03-19 15:29 UTC, Moritz Bellach
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Oliver Maurhart 2009-01-21 08:32:14 UTC
Amarok 2.0.1.1 fails to build with ipod enabled. Disabling the USE works.

Conrete output:
/var/tmp/portage/media-sound/amarok-2.0.1.1/work/amarok-2.0.1.1/src/collection/ipodcollection/handler/IpodHandler.cpp:1352: error: 'ITDB_THUMB_COVER_SMALL' was not declared in this scope
/var/tmp/portage/media-sound/amarok-2.0.1.1/work/amarok-2.0.1.1/src/collection/ipodcollection/handler/IpodHandler.cpp:1352: error: 'itdb_artwork_get_thumb_by_type' was not declared in this scope
/var/tmp/portage/media-sound/amarok-2.0.1.1/work/amarok-2.0.1.1/src/collection/ipodcollection/handler/IpodHandler.cpp:1357: error: 'ITDB_THUMB_COVER_LARGE' was not declared in this scope
/var/tmp/portage/media-sound/amarok-2.0.1.1/work/amarok-2.0.1.1/src/collection/ipodcollection/handler/IpodHandler.cpp:1362: error: 'itdb_thumb_get_gdk_pixbuf' was not declared in this scope
/var/tmp/portage/media-sound/amarok-2.0.1.1/work/amarok-2.0.1.1/src/collection/ipodcollection/handler/IpodHandler.cpp:1366: error: 'struct _Itdb_Artwork' has no member named 'thumbnails'
/var/tmp/portage/media-sound/amarok-2.0.1.1/work/amarok-2.0.1.1/src/collection/ipodcollection/handler/IpodHandler.cpp:1374: error: invalid use of incomplete type 'struct _Itdb_Thumb'
/usr/include/gpod-1.0/gpod/itdb.h:76: error: forward declaration of 'struct _Itdb_Thumb'
/var/tmp/portage/media-sound/amarok-2.0.1.1/work/amarok-2.0.1.1/src/collection/ipodcollection/handler/IpodHandler.cpp:1376: error: 'ITDB_THUMB_PHOTO_SMALL' was not declared in this scope
/var/tmp/portage/media-sound/amarok-2.0.1.1/work/amarok-2.0.1.1/src/collection/ipodcollection/handler/IpodHandler.cpp:1378: error: 'ITDB_THUMB_PHOTO_LARGE' was not declared in this scope
/var/tmp/portage/media-sound/amarok-2.0.1.1/work/amarok-2.0.1.1/src/collection/ipodcollection/handler/IpodHandler.cpp:1380: error: 'ITDB_THUMB_PHOTO_FULL_SCREEN' was not declared in this scope
/var/tmp/portage/media-sound/amarok-2.0.1.1/work/amarok-2.0.1.1/src/collection/ipodcollection/handler/IpodHandler.cpp:1382: error: 'ITDB_THUMB_PHOTO_TV_SCREEN' was not declared in this scope
/var/tmp/portage/media-sound/amarok-2.0.1.1/work/amarok-2.0.1.1/src/collection/ipodcollection/handler/IpodHandler.cpp:1384: error: 'ITDB_THUMB_COVER_XLARGE' was not declared in this scope
/var/tmp/portage/media-sound/amarok-2.0.1.1/work/amarok-2.0.1.1/src/collection/ipodcollection/handler/IpodHandler.cpp:1386: error: 'ITDB_THUMB_COVER_MEDIUM' was not declared in this scope
/var/tmp/portage/media-sound/amarok-2.0.1.1/work/amarok-2.0.1.1/src/collection/ipodcollection/handler/IpodHandler.cpp:1388: error: 'ITDB_THUMB_COVER_SMEDIUM' was not declared in this scope
/var/tmp/portage/media-sound/amarok-2.0.1.1/work/amarok-2.0.1.1/src/collection/ipodcollection/handler/IpodHandler.cpp:1390: error: 'ITDB_THUMB_COVER_XSMALL' was not declared in this scope
/var/tmp/portage/media-sound/amarok-2.0.1.1/work/amarok-2.0.1.1/src/collection/ipodcollection/handler/IpodHandler.cpp:1404: error: 'itdb_thumb_get_filename' was not declared in this scope
/var/tmp/portage/media-sound/amarok-2.0.1.1/work/amarok-2.0.1.1/src/collection/ipodcollection/handler/IpodHandler.cpp:1405: error: 'itdb_thumb_get_gdk_pixbuf' was not declared in this scope
/var/tmp/portage/media-sound/amarok-2.0.1.1/work/amarok-2.0.1.1/src/collection/ipodcollection/handler/IpodHandler.cpp: At global scope:
/var/tmp/portage/media-sound/amarok-2.0.1.1/work/amarok-2.0.1.1/src/collection/ipodcollection/handler/IpodHandler.cpp:1429: warning: unused parameter 'ipodtrack'
/var/tmp/portage/media-sound/amarok-2.0.1.1/work/amarok-2.0.1.1/src/collection/ipodcollection/handler/IpodHandler.cpp:1429: warning: unused parameter 'image'
[ 83%] [32mBuilding CXX object src/scriptengine/generator/generator/CMakeFiles/qtscript_gui.dir/generated_cpp/com_trolltech_qt_gui/qtscriptshell_QProgressDialog.o
[0m[ 83%] [32mBuilding CXX object src/scriptengine/generator/generator/CMakeFiles/qtscript_gui.dir/generated_cpp/com_trolltech_qt_gui/qtscriptshell_QPushButton.o
[0mmake[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

Reproducible: Always




Portage 2.2_rc23 (default/linux/x86/2008.0/desktop, gcc-4.3.2, glibc-2.9_p20081201-r1, 2.6.28-gentoo i686)
=================================================================
System uname: Linux-2.6.28-gentoo-i686-Intel-R-_Pentium-R-_M_processor_2.13GHz-with-glibc2.0
Timestamp of tree: Tue, 20 Jan 2009 20:05:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p48
dev-java/java-config: 1.3.7-r1, 2.1.6-r1
dev-lang/python:     2.4.4-r15, 2.5.2-r8
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.6.2-r1
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.2
sys-apps/sandbox:    1.3.2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  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
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.28-r1
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
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/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /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="-march=native -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp.uoi.gr/mirror/OS/gentoo/ http://gentoo.virginmedia.com/ http://mirror.cambrium.nl/pub/os/linux/gentoo/ http://mirrors.xservers.ro/gentoo/ http://mirror.ovh.net/gentoo-distfiles/ http://gentoo.inode.at/ http://ftp.ing.umu.se/linux/gentoo/ http://gentoo.tiscali.nl/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp.gentoo.bg/ http://mirror.gentoo.no/ http://trumpetti.atm.tut.fi/gentoo/ http://ftp.ds.karen.hj.se/gentoo/ http://de-mirror.org/distro/gentoo/ http://ftp.linux.ee/pub/gentoo/distfiles/ http://mirror.qubenet.net/mirror/gentoo/ http://files.gentoo.gr http://gentoo.supp.name/ http://mirror.uni-c.dk/pub/gentoo/ http://mirror.bih.net.ba/gentoo/ http://gentoo.mirror.pw.edu.pl/ http://gentoo.prz.rzeszow.pl http://ftp.fi.muni.cz/pub/linux/gentoo/ http://gentoo.po.opole.pl http://mirror.muntinternet.net/pub/gentoo/ http://ftp.rhnet.is/pub/gentoo/ http://gentoo.inf.elte.hu/ http://mirror.switch.ch/ftp/mirror/gentoo/ http://gentoo.tups.lv/source/ http://gentoo.ynet.sk/pub http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ http://mirror.netcologne.de/gentoo/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://mirrors.ludost.net/gentoo/ http://mirror.jamit.de/gentoo/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://ftp.heanet.ie/pub/gentoo/ ftp://gentoo.inode.at/source/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/"
LANG="en_US"
LC_ALL="en_US"
LDFLAGS="-Wl,-O1"
LINGUAS="en de"
MAKEOPTS="-j2"
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/layman/sunrise /usr/local/portage/layman/desktop-effects /usr/local/portage/layman/science /usr/local/portage/local-overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X a52 aac aalib acl acpi aften alsa amarok amr amrnb apache2 automount avahi bash-completion berkdb bluetooth branding bzip2 cairo calendar cdaudio cdda cddb cdr cgi cli cpudetection cracklib crypt cscope cups curl daap dbus dga directfb divx dri dts dv dvb dvd dvdr dvdread dvn eds emboss encode esd evo exif expat fam fbcon ffmpeg firefox flac fortran ftp gdbm gif glitz gnome gnutls gpm graphviz gstreamer gtk hal htmlhandbook iconv ieee1394 ifp imagemagick imap imlib inifiles ipod ipv6 irmc isdnlog jack jpeg jpeg2k kde kde4 kdeprefix lame laptop lcms lcmsi ldap libnotify lzo mad midi mikmod mmext mmx mng mono mp3 mp4 mpeg mtp mudflap mysql mysqli mythtv nas ncurses nepomuk nls nptl nptlonly nsplugin offensive ogg openal openct opengl openmp pam pch pcmcia pcre pdf perl php plasma plib png ppds pppd python qd qt3 qt3support qt4 quicktime rar readline realmedia recode reflection rtc samba sasl sdl semantic-desktop server session sharedext sharedmem soap spell spl sqlite sqlite3 sse sse2 ssl startup-notification subversion svg svga sysfs tcpd theora tidy tiff tivo tokenizer truetype unicode usb v4l v4l2 vcd vidx vim vim-syntax vorbis webdav win32codecs wmp x264 x86 xanim xcb xcomposite xforms xinerama xml xorg xprint xscreensaver xsl xulrunner xv xvid zeroconf zip 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en de" USERLAND="GNU" VIDEO_CARDS="radeon vesa ati"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Oliver Maurhart 2009-01-21 08:34:05 UTC
Created attachment 179154 [details]
build.log of failed merge
Comment 2 James Wells 2009-01-21 19:32:18 UTC
I can confirm this issue and the workaround.
Comment 3 Neil Cathey 2009-01-22 01:47:28 UTC
Do you have the new libgpod-0.7.0?  If so, try downgrading to libgpod-0.6.0.  I don't think amarok-2.0.1.1 is compatible with the newer libgpod.
Comment 4 Oliver Maurhart 2009-01-22 09:22:50 UTC
Hm, you're right.

Enabling the "ipod" USE and downgrading to libgpod-0.6.0 worked. Seems the libgpod guys totally reworked the artwork stuff and amarok-2.0.1.1 is not ready for it.

However, with a downgraded libgpod I can't use recent iPod-models, do I?

But, well, sure upstream, right?
Comment 5 Gene Seto 2009-01-28 03:01:12 UTC
this has been fixed upstream. 

http://bugs.kde.org/show_bug.cgi?id=178054
Comment 6 Tomáš Chvátal (RETIRED) gentoo-dev 2009-01-31 12:17:30 UTC
*** Bug 254310 has been marked as a duplicate of this bug. ***
Comment 7 Tomáš Chvátal (RETIRED) gentoo-dev 2009-02-10 16:47:43 UTC
*** Bug 258298 has been marked as a duplicate of this bug. ***
Comment 8 renato gallo 2009-02-10 16:52:58 UTC
when the fix could be in portage ?

(In reply to comment #5)
> this has been fixed upstream. 
> 
> http://bugs.kde.org/show_bug.cgi?id=178054
> 

Comment 9 Tomáš Chvátal (RETIRED) gentoo-dev 2009-02-10 17:00:12 UTC
When i finish some magic with it, i am on it right now fyi
Comment 10 Tomáš Chvátal (RETIRED) gentoo-dev 2009-02-10 17:26:44 UTC
Created attachment 181560 [details, diff]
2.0-ipod.patch

Somebody test this with ipod please so i have one more confirmation that it works (that i didnt test it only myself :]).
Comment 11 renato gallo 2009-02-10 19:37:15 UTC
comin' up give mu quad the time to compile .. heheh

(In reply to comment #10)
> Created an attachment (id=181560) [edit]
> 2.0-ipod.patch
> 
> Somebody test this with ipod please so i have one more confirmation that it
> works (that i didnt test it only myself :]).
> 

Comment 12 renato gallo 2009-02-10 21:01:09 UTC
no it doesn't work

(In reply to comment #10)
> Created an attachment (id=181560) [edit]
> 2.0-ipod.patch
> 
> Somebody test this with ipod please so i have one more confirmation that it
> works (that i didnt test it only myself :]).
> 

Comment 13 renato gallo 2009-02-10 21:02:20 UTC
Created attachment 181565 [details]
build log after patch
Comment 14 Tomáš Chvátal (RETIRED) gentoo-dev 2009-02-10 21:24:30 UTC
Created attachment 181567 [details, diff]
2.0-ipod.patch

Shame on me i forget to fix one typo :D
now it should work.
Comment 15 renato gallo 2009-02-10 21:26:32 UTC
ok I am giving it a try now
(In reply to comment #14)
> Created an attachment (id=181567) [edit]
> 2.0-ipod.patch
> 
> Shame on me i forget to fix one typo :D
> now it should work.
> 

Comment 16 renato gallo 2009-02-10 21:49:35 UTC
oh god i think it works 
!!!!
compiled fine under my 64 bit machine... but
where is the ipod function in the amarok menus ?

(In reply to comment #14)
> Created an attachment (id=181567) [edit]
> 2.0-ipod.patch
> 
> Shame on me i forget to fix one typo :D
> now it should work.
> 

Comment 17 renato gallo 2009-02-10 21:50:54 UTC
Created attachment 181573 [details]
ebuild with ipod patch support
Comment 18 Tomáš Chvátal (RETIRED) gentoo-dev 2009-02-10 21:55:43 UTC
I have no clue :D
Now i will comit the crap to the portage :D finaly :P
Comment 19 Tomáš Chvátal (RETIRED) gentoo-dev 2009-02-10 22:10:42 UTC
Fixed in the tree.
Comment 20 Moritz Bellach 2009-03-19 15:28:13 UTC
ok, I tried to build amarok now with new ebuild, no success. I tried to build it with ipod useflag disabled, guess: no success :(
If I "ebuild *amarokebuild* compile I get a "Failed Patch: 2.0.1.1-ipod.patch !"
Is this my own stupid mistake or is there really something wrong?

patch log attached
Comment 21 Moritz Bellach 2009-03-19 15:29:41 UTC
Created attachment 185534 [details]
ipod patch log