Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rpmbuild fails with spotify-client.spec #41

Open
AeroSpikeX opened this issue Mar 6, 2016 · 3 comments
Open

rpmbuild fails with spotify-client.spec #41

AeroSpikeX opened this issue Mar 6, 2016 · 3 comments

Comments

@AeroSpikeX
Copy link

[aerospike@AeroSpike-Laptop opensuse-spotify-installer]$ ./install-spotify.sh
Current version = (not installed), release = , arch =
Online version = 1.0.24.104.g92a22684, release = 29, arch = x86_64

Creating spec file from template...

rpm-build is already installed.

Downloading Spotify .deb package ...
/home/aerospike/rpmbuild/SOURCES/spotify-client_ 100%[=====================================================================================================>] 72,57M 7,52MB/s in 19s
.deb downloaded.

About to build spotify-client rpm; please be patient ...

Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.A2M5fM

  • umask 022
  • cd /home/aerospike/rpmbuild/BUILD
  • cd /home/aerospike/rpmbuild/BUILD
  • rm -rf spotify-client-1.0.24.104.g92a22684
  • /usr/bin/mkdir -p spotify-client-1.0.24.104.g92a22684
  • cd spotify-client-1.0.24.104.g92a22684
  • /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
  • ar -x /home/aerospike/rpmbuild/SOURCES/spotify-client_1.0.24.104.g92a22684-29_amd64.deb
  • tar -xf data.tar.gz
  • rm control.tar.gz data.tar.gz debian-binary
  • cat
  • chmod +x /home/aerospike/rpmbuild/BUILD/spotify-client-1.0.24.104.g92a22684/find-requires.sh
  • exit 0
    Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.aYfJAR
  • umask 022
  • cd /home/aerospike/rpmbuild/BUILD
  • /usr/bin/rm -rf /home/aerospike/rpmbuild/BUILDROOT/spotify-client-1.0.24.104.g92a22684-29.x86_64
    ++ dirname /home/aerospike/rpmbuild/BUILDROOT/spotify-client-1.0.24.104.g92a22684-29.x86_64
  • /usr/bin/mkdir -p /home/aerospike/rpmbuild/BUILDROOT
  • /usr/bin/mkdir /home/aerospike/rpmbuild/BUILDROOT/spotify-client-1.0.24.104.g92a22684-29.x86_64
  • cd spotify-client-1.0.24.104.g92a22684
  • exit 0
    Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.6ufQZW
  • umask 022
  • cd /home/aerospike/rpmbuild/BUILD
  • cd spotify-client-1.0.24.104.g92a22684
  • mv usr /home/aerospike/rpmbuild/BUILDROOT/spotify-client-1.0.24.104.g92a22684-29.x86_64
  • desktop=/home/aerospike/rpmbuild/BUILDROOT/spotify-client-1.0.24.104.g92a22684-29.x86_64/usr/share/spotify/spotify.desktop
  • sed -i 's/^(MimeType=.*);?$/\1;/i ;
    s/^Categories=/Categories=AudioVideo;Music;Player;Jukebox;/' /home/aerospike/rpmbuild/BUILDROOT/spotify-client-1.0.24.104.g92a22684-29.x86_64/usr/share/spotify/spotify.desktop
  • %suse_update_desktop_file /home/aerospike/rpmbuild/BUILDROOT/spotify-client-1.0.24.104.g92a22684-29.x86_64/usr/share/spotify/spotify.desktop
    /var/tmp/rpm-tmp.6ufQZW: line 40: fg: no job control
    error: Bad exit status from /var/tmp/rpm-tmp.6ufQZW (%install)

RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.6ufQZW (%install)
rpmbuild -ba /tmp/spotify-client.spec failed! Aborting.

@AeroSpikeX AeroSpikeX changed the title rpmbuild fail with spotify-client.spec rpmbuild fails with spotify-client.spec Mar 6, 2016
@pedromellofh
Copy link

this could help a bit: https://github.com/negativo17/spotify-client
it is for fedora/centos/rhel, but could be easily ported to opensuse, couldn't?

@aspiers
Copy link
Owner

aspiers commented Feb 10, 2018

Hey folks, thanks a lot for your contributions here. I've finally admitted I need to step aside and let someone else with more motivation and free time than me drive this - please see #50.

@flanaras
Copy link

Sorry for the bump, for the record you should install update-desktop-files on opensuse. I am mentioning this because it still needed to build on openSUSE.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants
@aspiers @flanaras @AeroSpikeX @pedromellofh and others