Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 471920 - =media-sound/clementine-1.1.1 with USE=ios or USE=ipod - devices/imobiledeviceconnection.cpp:46:79: error: Can't convert uint16_t* to lockdownd_service_descriptor**, argument 3 of lockdownd_error_t lockdownd_start_service(...).
Summary: =media-sound/clementine-1.1.1 with USE=ios or USE=ipod - devices/imobiledevic...
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Nikoli
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-31 16:24 UTC by Andrés Becerra Sandoval
Modified: 2013-08-08 12:13 UTC (History)
3 users (show)

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


Attachments
build.log.bz2 (build.log.bz2,25.62 KB, application/bzip2)
2013-06-04 19:55 UTC, Andrés Becerra Sandoval
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrés Becerra Sandoval 2013-05-31 16:24:28 UTC
On ~amd64, with USE="ios" or USE="ipod"  clementine pulls app-pda/libimobiledevice-1.1.5 triggering the following compilation error:


cd /var/tmp/portage/media-sound/clementine-1.1.1/work/clementine-1.1.1_build/src && /usr/bin/x86_64-pc-linux-gnu-g++  -DBUILD_QXT_CORE -DBUILD_QXT_GUI -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_CAST_TO_ASCII -DQT_OPENGL_LIB -DQT_SQL_LIB -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER -DQT_WEBKIT_LIB -DQT_XML_LIB -DQXT_STATIC  -DQT_NO_DEBUG_OUTPUT -DNDEBUG -O2 -march=core2 -pipe -ggdb  -Woverloaded-virtual -Wall -Wno-sign-compare -I/usr/include/taglib -I/usr/include/qt4 -I/usr/include/qt4/QtCore -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml2 -I/var/tmp/portage/media-sound/clementine-1.1.1/work/clementine-1.1.1/3rdparty/universalchardet -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtWebKit -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtDBus -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtSql -I/usr/include/qt4/QtNetwork -I/var/tmp/portage/media-sound/clementine-1.1.1/work/clementine-1.1.1 -I/var/tmp/portage/media-sound/clementine-1.1.1/work/clementine-1.1.1_build/src -I/var/tmp/portage/media-sound/clementine-1.1.1/work/clementine-1.1.1/src -I/var/tmp/portage/media-sound/clementine-1.1.1/work/clementine-1.1.1/src/../3rdparty/gmock/gtest/include -I/var/tmp/portage/media-sound/clementine-1.1.1/work/clementine-1.1.1_build -I/var/tmp/portage/media-sound/clementine-1.1.1/work/clementine-1.1.1/3rdparty/qtsingleapplication -I/var/tmp/portage/media-sound/clementine-1.1.1/work/clementine-1.1.1/3rdparty/qtiocompressor -I/var/tmp/portage/media-sound/clementine-1.1.1/work/clementine-1.1.1/3rdparty/qxt -I/var/tmp/portage/media-sound/clementine-1.1.1/work/clementine-1.1.1/3rdparty/sha2 -I/var/tmp/portage/media-sound/clementine-1.1.1/work/clementine-1.1.1/3rdparty/libmygpo-qt -I/var/tmp/portage/media-sound/clementine-1.1.1/work/clementine-1.1.1/ext/libclementine-common -I/var/tmp/portage/media-sound/clementine-1.1.1/work/clementine-1.1.1/ext/libclementine-tagreader -I/var/tmp/portage/media-sound/clementine-1.1.1/work/clementine-1.1.1_build/ext/libclementine-tagreader -I/usr/include/gpod-1.0 -I/usr/kerberos/include    -o CMakeFiles/clementine_lib.dir/internet/googledriveservice.cpp.o -c /var/tmp/portage/media-sound/clementine-1.1.1/work/clementine-1.1.1/src/internet/googledriveservice.cpp
/var/tmp/portage/media-sound/clementine-1.1.1/work/clementine-1.1.1/src/devices/imobiledeviceconnection.cpp: In constructor 'iMobileDeviceConnection::iMobileDeviceConnection(const QString&)':
/var/tmp/portage/media-sound/clementine-1.1.1/work/clementine-1.1.1/src/devices/imobiledeviceconnection.cpp:46:79: error: cannot convert 'uint16_t* {aka short unsigned int*}' to 'lockdownd_service_descriptor**' for argument '3' to 'lockdownd_error_t lockdownd_start_service(lockdownd_client_t, const char*, lockdownd_service_descriptor**)'
/var/tmp/portage/media-sound/clementine-1.1.1/work/clementine-1.1.1/src/devices/imobiledeviceconnection.cpp:53:65: error: invalid conversion from 'uint16_t {aka short unsigned int}' to 'lockdownd_service_descriptor_t {aka lockdownd_service_descriptor*}' [-fpermissive]
In file included from /var/tmp/portage/media-sound/clementine-1.1.1/work/clementine-1.1.1/src/devices/imobiledeviceconnection.h:23:0,
                 from /var/tmp/portage/media-sound/clementine-1.1.1/work/clementine-1.1.1/src/devices/imobiledeviceconnection.cpp:18:
/usr/include/libimobiledevice/afc.h:96:13: error:   initializing argument 2 of 'afc_error_t afc_client_new(idevice_t, lockdownd_service_descriptor_t, afc_client_private**)' [-fpermissive]
make[2]: *** [src/CMakeFiles/clementine_lib.dir/devices/imobiledeviceconnection.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/media-sound/clementine-1.1.1/work/clementine-1.1.1_build'
make[1]: *** [src/CMakeFiles/clementine_lib.dir/all] Error 2
make[1]: Leaving directory `/var/tmp/portage/media-sound/clementine-1.1.1/work/clementine-1.1.1_build'
make: *** [all] Error 2
 * ERROR: media-sound/clementine-1.1.1 failed (compile phase):


This is my emerge --info output:


Portage 2.2.0_alpha177 (default/linux/amd64/13.0/desktop/kde, gcc-4.7.3, glibc-2.17, 3.9.4-gentoo x86_64)                                                                           
=================================================================                                                                                                                   
System uname: Linux-3.9.4-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E4500_@_2.20GHz-with-gentoo-2.2                                                                                  
KiB Mem:     2008176 total,    112700 free                                                                                                                                          
KiB Swap:    2104476 total,   1760756 free                                                                                                                                          
Timestamp of tree: Thu, 30 May 2013 16:30:01 +0000                                                                                                                                  
ld GNU ld (GNU Binutils) 2.23.1                                                                                                                                                     
ccache version 3.1.9 [disabled]                                                                                                                                                     
app-shells/bash:          4.2_p45                                                                                                                                                   
dev-java/java-config:     2.2.0                                                                                                                                                     
dev-lang/python:          2.7.5, 3.3.2                                                                                                                                              
dev-util/ccache:          3.1.9                                                                                                                                                     
dev-util/cmake:           2.8.10.2-r2                                                                                                                                               
dev-util/pkgconfig:       0.28                                                                                                                                                      
sys-apps/baselayout:      2.2                                                                                                                                                       
sys-apps/openrc:          0.11.8                                                                                                                                                    
sys-apps/sandbox:         2.6-r1                                                                                                                                                    
sys-devel/autoconf:       2.13, 2.69                                                                                                                                                
sys-devel/automake:       1.11.6, 1.12.6, 1.13.2                                                                                                                                    
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.7.3
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.9 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo local sunrise
Installed sets: @bio, @dicts, @gtk, @kdeadmin, @kdeapps, @kdeartwork, @kdebase, @kdegames, @kdegraphics, @kdemultimedia, @kdenetwork, @kdepim, @kdesdk, @kdetweaks, @kdeutils, @networks, @qt4, @speech
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=core2 -pipe -ggdb"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/polkit-1/actions /usr/share/themes/oxygen-gtk/gtk-2.0"
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/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=core2 -pipe -ggdb"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs buildpkg config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync metadata-transfer news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://gentoo.mirrors.pair.com/ http://mirror.iawnet.sandia.gov/gentoo/ http://gentoo.mirrors.tds.net/gentoo"
LANG="es_CO.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /var/lib/layman/sunrise"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 berkdb branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus declarative dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gif gpm handbook iconv icu ipv6 jpeg kde kerberos kipi lcms ldap libnotify lzma mad mmx mng modules mp3 mp4 mpeg mudflap multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf phonon plasma png policykit ppds pulseaudio qt3support qt4 readline samba sdl semantic-desktop session spell sse sse2 ssl ssse3 startup-notification svg system-sqlite tcpd tiff truetype udev udisks unicode upower usb vaapi vorbis x264 xcb xcomposite xinerama xml xscreensaver xv xvid zlib" ABI_X86="64" 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" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="es en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7" RUBY_TARGETS="ruby19" USERLAND="GNU" VIDEO_CARDS="intel vesa" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
USE_PYTHON="2.7"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2013-05-31 17:13:02 UTC
Please attach the entire build log to this bug report.
Comment 2 Andrés Becerra Sandoval 2013-06-04 19:55:44 UTC
Created attachment 350126 [details]
build.log.bz2

I had to bzip the build.log file because it passes the 1000KB limit
Comment 3 Nikoli 2013-06-08 11:33:17 UTC
Seems clementine does not suppot new app-pda/libimobiledevice. Just mask it or disable USE ios for clementine.
In clementine ebuild we need blocker for it. Upstream removed support for libimobiledevice:
https://code.google.com/p/clementine-player/source/detail?r=3d434f1c881890dd77fea6d0e3de3afc86971196
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2013-08-07 11:47:04 UTC
(In reply to Nikoli from comment #3)
> Seems clementine does not suppot new app-pda/libimobiledevice. Just mask it
> or disable USE ios for clementine.
> In clementine ebuild we need blocker for it. Upstream removed support for
> libimobiledevice:
> https://code.google.com/p/clementine-player/source/
> detail?r=3d434f1c881890dd77fea6d0e3de3afc86971196

base/package.use.mask now has:

# Samuli Suominen <ssuominen@gentoo.org> (07 Aug 2013)
# There is no support for recent app-pda/libimobiledevice wrt bug #471920
# Upstream removed entire support in future release:
# http://code.google.com/p/clementine-player/source/detail?r=3d434f1c881890dd77fea6d0e3de3afc86971196
# Remove this entry once <=media-sound/clementine-1.1.1 has left the building
media-sound/clementine ios ipod

Closing as UPSTREAM accordingly
Comment 5 Andrew Waters 2013-08-08 12:11:10 UTC
Why is ipod being masked - surely only ios needs to be masked.
Comment 6 Andrew Waters 2013-08-08 12:13:22 UTC
Sorry - saved changes before completing.

At least can we specify a version in the profile, that way a more up to date build does not have to hack the base profile to make ipod work with clementine.