Results 1 to 5 of 5

Thread: Can't Install Sptofy on OpenSuse Tumbleweed

  1. #1

    Exclamation Can't Install Sptofy on OpenSuse Tumbleweed

    Hi

    Can't install spotify trought script, this script show this error messages.

    Code:
    german@linux-5aet:~> install-spotify
    rpm-build is already installed.
    
    Spotify .deb package already exists:
    
      /home/german/rpmbuild/SOURCES/spotify-client-0.9.17_0.9.17.8.gd06432d.31-1_amd64.deb
    
    Skipping download.
    
    About to build spotify-client rpm; please be patient ...
    
    advertencia:Macro expanded in comment on line 178: %{_datadir}/applications/spotify.desktop
    
    Ejecutando(%prep): /bin/sh -e /var/tmp/rpm-tmp.WlU9ta
    + umask 022
    + cd /home/german/rpmbuild/BUILD
    + cd /home/german/rpmbuild/BUILD
    + rm -rf spotify-client-0.9.17.8.gd06432d.31
    + /usr/bin/mkdir -p spotify-client-0.9.17.8.gd06432d.31
    + cd spotify-client-0.9.17.8.gd06432d.31
    + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
    + ar -vx /home/german/rpmbuild/SOURCES/spotify-client-0.9.17_0.9.17.8.gd06432d.31-1_amd64.deb
    x - debian-binary
    x - control.tar.gz
    x - data.tar.xz
    + tar -xf data.tar.xz
    + rm control.tar.gz data.tar.xz debian-binary
    + cat
    + chmod +x /home/german/rpmbuild/BUILD/spotify-client-0.9.17.8.gd06432d.31/find-requires.sh
    + exit 0
    Ejecutando(%build): /bin/sh -e /var/tmp/rpm-tmp.Ahnu3B
    + umask 022
    + cd /home/german/rpmbuild/BUILD
    + /usr/bin/rm -rf /home/german/rpmbuild/BUILDROOT/spotify-client-0.9.17.8.gd06432d.31-1.x86_64
    ++ dirname /home/german/rpmbuild/BUILDROOT/spotify-client-0.9.17.8.gd06432d.31-1.x86_64
    + /usr/bin/mkdir -p /home/german/rpmbuild/BUILDROOT
    + /usr/bin/mkdir /home/german/rpmbuild/BUILDROOT/spotify-client-0.9.17.8.gd06432d.31-1.x86_64
    + cd spotify-client-0.9.17.8.gd06432d.31
    + exit 0
    Ejecutando(%install): /bin/sh -e /var/tmp/rpm-tmp.SJQvT3
    + umask 022
    + cd /home/german/rpmbuild/BUILD
    + cd spotify-client-0.9.17.8.gd06432d.31
    + mv opt /home/german/rpmbuild/BUILDROOT/spotify-client-0.9.17.8.gd06432d.31-1.x86_64
    + desktop=/home/german/rpmbuild/BUILDROOT/spotify-client-0.9.17.8.gd06432d.31-1.x86_64/opt/spotify/spotify-client/spotify.desktop
    + sed -i 's/^\(MimeType=.*\);?$/\1;/i ;
            s/^Categories=/Categories=AudioVideo;Music;Player;Jukebox;/' /home/german/rpmbuild/BUILDROOT/spotify-client-0.9.17.8.gd06432d.31-1.x86_64/opt/spotify/spotify-client/spotify.desktop
    + /usr/lib/rpm/suse_update_desktop_file.sh /home/german/rpmbuild/BUILDROOT/spotify-client-0.9.17.8.gd06432d.31-1.x86_64/opt/spotify/spotify-client/spotify.desktop
    WARNING: Category "Audio" is unknown \!
    WARNING: it is ignored, until you registered a Category at opensuse-packaging@opensuse.org .
    + mkdir -p /home/german/rpmbuild/BUILDROOT/spotify-client-0.9.17.8.gd06432d.31-1.x86_64/usr/share/doc/packages/spotify-client
    + cat
    + mkdir -p /home/german/rpmbuild/BUILDROOT/spotify-client-0.9.17.8.gd06432d.31-1.x86_64/opt/spotify/spotify-client/lib
    + ln -sf ../Data/libcef.so /home/german/rpmbuild/BUILDROOT/spotify-client-0.9.17.8.gd06432d.31-1.x86_64/opt/spotify/spotify-client/lib/libcef.so
    + mkdir -p /home/german/rpmbuild/BUILDROOT/spotify-client-0.9.17.8.gd06432d.31-1.x86_64/usr/bin
    + wrapper=/home/german/rpmbuild/BUILDROOT/spotify-client-0.9.17.8.gd06432d.31-1.x86_64/usr/bin/spotify
    + cat
    + chmod +x /home/german/rpmbuild/BUILDROOT/spotify-client-0.9.17.8.gd06432d.31-1.x86_64/usr/bin/spotify
    + mkdir -p /home/german/rpmbuild/BUILDROOT/spotify-client-0.9.17.8.gd06432d.31-1.x86_64/usr/lib64
    + ln -sf /lib64/libcrypto.so.1.0.0 /home/german/rpmbuild/BUILDROOT/spotify-client-0.9.17.8.gd06432d.31-1.x86_64/opt/spotify/spotify-client/lib/libcrypto.so.0.9.8
    + ln -sf /lib64/libssl.so.1.0.0 /home/german/rpmbuild/BUILDROOT/spotify-client-0.9.17.8.gd06432d.31-1.x86_64/opt/spotify/spotify-client/lib/libssl.so.0.9.8
    + libs=(libnss3.so.1d libnssutil3.so.1d libsmime3.so.1d libplc4.so.0d libnspr4.so.0d)
    + for lib in "${libs[@]}"
    + ln -sf /usr/lib64/libnss3.so /home/german/rpmbuild/BUILDROOT/spotify-client-0.9.17.8.gd06432d.31-1.x86_64/opt/spotify/spotify-client/lib/libnss3.so.1d
    + for lib in "${libs[@]}"
    + ln -sf /usr/lib64/libnssutil3.so /home/german/rpmbuild/BUILDROOT/spotify-client-0.9.17.8.gd06432d.31-1.x86_64/opt/spotify/spotify-client/lib/libnssutil3.so.1d
    + for lib in "${libs[@]}"
    + ln -sf /usr/lib64/libsmime3.so /home/german/rpmbuild/BUILDROOT/spotify-client-0.9.17.8.gd06432d.31-1.x86_64/opt/spotify/spotify-client/lib/libsmime3.so.1d
    + for lib in "${libs[@]}"
    + ln -sf /usr/lib64/libplc4.so /home/german/rpmbuild/BUILDROOT/spotify-client-0.9.17.8.gd06432d.31-1.x86_64/opt/spotify/spotify-client/lib/libplc4.so.0d
    + for lib in "${libs[@]}"
    + ln -sf /usr/lib64/libnspr4.so /home/german/rpmbuild/BUILDROOT/spotify-client-0.9.17.8.gd06432d.31-1.x86_64/opt/spotify/spotify-client/lib/libnspr4.so.0d
    + export NO_BRP_CHECK_RPATH=true
    + NO_BRP_CHECK_RPATH=true
    + /usr/lib/rpm/brp-compress
    + /usr/lib/rpm/brp-suse
    calling /usr/lib/rpm/brp-suse.d/brp-05-permissions
    setting / to root:root 0755. (wrong owner/group german:users)
    setting /opt/ to root:root 0755. (wrong owner/group german:users)
    setting /usr/ to root:root 0755. (wrong owner/group german:users)
    calling /usr/lib/rpm/brp-suse.d/brp-15-strip-debug
    calling /usr/lib/rpm/brp-suse.d/brp-25-symlink
    ERROR: link target doesn't exist (neither in build root nor in installed system):
      /opt/spotify/spotify-client/lib/libcrypto.so.0.9.8 -> /lib64/libcrypto.so.1.0.0
    Add the package providing the target to BuildRequires and Requires
    ERROR: link target doesn't exist (neither in build root nor in installed system):
      /opt/spotify/spotify-client/lib/libssl.so.0.9.8 -> /lib64/libssl.so.1.0.0
    Add the package providing the target to BuildRequires and Requires
    error: Estado de salida erróneo de /var/tmp/rpm-tmp.SJQvT3 (%install)
    
    
    Errores de construcción RPM:
        Macro expanded in comment on line 178: %{_datadir}/applications/spotify.desktop
    
        Estado de salida erróneo de /var/tmp/rpm-tmp.SJQvT3 (%install)
    rpmbuild -ba /usr/src/packages/SPECS/spotify-client.spec failed! Aborting.

  2. #2
    Join Date
    Jan 2018
    Location
    Canada
    Posts
    124

    Default Re: Can't Install Sptofy on OpenSuse Tumbleweed

    I use Spotify. I never had luck with this method but I did have success for a while using the official snap package. However, TW changes too often to keep even this method working. I always have a web browser open so I just use the web interface.

    I know this doesn’t help, but you should be prepared to invest a lot of time to get/keep things working if you don’t use the web interface.

  3. #3

    Cool Re: Can't Install Sptofy on OpenSuse Tumbleweed

    Luckily Spotify can be installed through flatpak

    https://flatpak.org/setup/openSUSE/

    Once flatpak is installed...

    Follow instructions here to install Spotify
    https://flathub.org/apps/details/com.spotify.Client

    Code:
    flatpak install flathub com.spotify.Client
    Spotify should now be working and in app menu



  4. #4

    Default Re: Can't Install Sptofy on OpenSuse Tumbleweed

    Hi!

    Maybe you could try this:

    https://github.com/megamaced/spotify-easyrpm


    Thanks!

  5. #5

    Default Re: Can't Install Sptofy on OpenSuse Tumbleweed

    Quote Originally Posted by FrankyU2 View Post
    Follow instructions here to install Spotify
    https://flathub.org/apps/details/com.spotify.Client

    Code:
    flatpak install flathub com.spotify.Client
    Spotify should now be working and in app menu
    Yes, flatpak Spotify runs great here. Also, after downloading from flathub, it installed via Discover or Yast (I forgot, which one did it).

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •