Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 551454 - media-sound/spotify-0.9.17.1-r1 fails to build with a missing spotify.desktop file error.
Summary: media-sound/spotify-0.9.17.1-r1 fails to build with a missing spotify.desktop...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Matthew Thode ( prometheanfire )
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-07 18:28 UTC by Nico Baggus
Modified: 2015-06-21 21:58 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 Nico Baggus 2015-06-07 18:28:07 UTC
225 seconds total
[ebuild     U ] media-sound/spotify-0.9.17.1-r1 [0.9.4.183-r8] USE="pulseaudio -gnome -pax_kernel" 

Would you like to merge these packages? [Yes/No] y
>>> Verifying ebuild manifests
>>> Emerging (1 of 1) media-sound/spotify-0.9.17.1-r1::gentoo
>>> Failed to emerge media-sound/spotify-0.9.17.1-r1, Log file:
>>>  '/var/log/portage/media-sound:spotify-0.9.17.1-r1:20150607-182305.log'
>>> Jobs: 0 of 1 complete, 1 failed                 Load avg: 0.55, 0.49, 0.41
 * Package:    media-sound/spotify-0.9.17.1-r1
 * Repository: gentoo
 * Maintainer: prometheanfire@gentoo.org
 * USE:        abi_x86_32 elibc_glibc kernel_linux pulseaudio userland_GNU x86
 * FEATURES:   preserve-libs sandbox userpriv usersandbox
sed: can't read opt/spotify/spotify-client/spotify.desktop: No such file or directory
 * ERROR: media-sound/spotify-0.9.17.1-r1::gentoo failed (prepare phase):
 *   sed failed
 * 
 * Call stack:
 *     ebuild.sh, line  93:  Called src_prepare
 *   environment, line 2548:  Called die
 * The specific snippet of code:
 *       sed -i -e 's/x-scheme-handler\/spotify$/x-scheme-handler\/spotify\;/g' -e 's/AudioVideo$/AudioVideo\;/g' opt/spotify/spotify-client/spotify.desktop || die "sed failed"
 * 
 * If you need support, post the output of `emerge --info '=media-sound/spotify-0.9.17.1-r1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=media-sound/spotify-0.9.17.1-r1::gentoo'`.
 * The complete build log is located at '/var/log/portage/media-sound:spotify-0.9.17.1-r1:20150607-182305.log'.
 * For convenience, a symlink to the build log is located at '/var/tmp/portage/media-sound/spotify-0.9.17.1-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-sound/spotify-0.9.17.1-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/media-sound/spotify-0.9.17.1-r1/work'
 * S: '/var/tmp/portage/media-sound/spotify-0.9.17.1-r1/work'

 * Messages for package media-sound/spotify-0.9.17.1-r1:

 * Package:    media-sound/spotify-0.9.17.1-r1
 * Repository: gentoo
 * Maintainer: prometheanfire@gentoo.org
 * USE:        abi_x86_32 elibc_glibc kernel_linux pulseaudio userland_GNU x86
 * FEATURES:   preserve-libs sandbox userpriv usersandbox
 * 
 * The following package has failed to build or install:
 * 
 *  (media-sound/spotify-0.9.17.1-r1:0/0::gentoo, ebuild scheduled for merge), Log file:
 *   '/var/log/portage/media-sound:spotify-0.9.17.1-r1:20150607-182305.log'
 * 


Reproducible: Always
Comment 1 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2015-06-17 22:09:06 UTC
I can't reproduce, can you clean out /var/tmp/portage and /usr/portage/distfiles/spotify-client_0.9.17.1.g9b85d43.7-1_amd64.deb and try again?
Comment 2 Nico Baggus 2015-06-19 11:10:26 UTC
i have nothing in the DESTDIR after i do a emerge --fetchonly spotify
other tools like gentoo-sources do get an image in the DESTDIR directory.
Comment 3 Nico Baggus 2015-06-19 11:30:19 UTC
spotify has in the download now the version:  (spotify-client)
spotify-client_1.0.7.153.gb9e8174a_amd64.deb   

strange emerge not complains about this (--quiet is used) but this is an error...

This is available in the spotify directory:

spotify-client-0.9.17_0.9.17.8.gd06432d.31-1_am..> 06-May-2015 13:39            42700518
spotify-client-gnome-support_0.9.17.1.g9b85d43...> 24-Mar-2015 08:42                2258
spotify-client-qt_0.9.17.1.g9b85d43.7-1_all.deb    24-Mar-2015 08:42                2240
spotify-client_0.9.17.1.g9b85d43.7-1_amd64.deb     24-Mar-2015 08:42            42733568


So i guess it is time for a version bump....
It would also be nice to get qt support besides gnome ( i don't have gnome ).
Comment 4 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2015-06-19 15:27:49 UTC
just removed spotify entries from /usr/portage/distfiles and ran ebuild clean install on the ebuild

find /var/tmp/portage/media-sound/spotify-0.9.17.1-r1/image/ -name spotify.desktop
/var/tmp/portage/media-sound/spotify-0.9.17.1-r1/image/opt/spotify/spotify-client/spotify.desktop
/var/tmp/portage/media-sound/spotify-0.9.17.1-r1/image/usr/share/applications/spotify.desktop

ls -l /usr/portage/distfiles/spotify-client_0.9.17.1.g9b85d43.7-1_amd64.deb 
-rw-rw-r-- 1 portage portage 42733568 Mar 24 03:42 /usr/portage/distfiles/spotify-client_0.9.17.1.g9b85d43.7-1_amd64.deb

closing as not a bug, verified correct behaviour
Comment 5 Nico Baggus 2015-06-21 21:46:05 UTC
I disagree about invalid...

I further checked, it does build on amd64, it fails on x86.
Comment 6 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2015-06-21 21:58:56 UTC
the ebuild is only marked for amd64

KEYWORDS="~amd64"