I'm getting A failure occurred in prepare
when I try to build. I also tried
running extra-x86_64-build
, but got the same error.
[spotify]$ gpg --list-keys
~/.gnupg/pubring.kbx
------------------------------
pub rsa4096 2022-11-14 [SC] [expires: 2024-02-07]
E27409F51D1B66337F2D2F417A3A762FAFD4A51F
uid [ unknown] Spotify Public Repository Signing Key <tux@spotify.com>
[spotify]$ git log -1
commit 070a1ca64433822f74b02bb88b82a223f05c48ab (HEAD -> master, origin/master, origin/HEAD)
Author: NicoHood <git@nicohood.de>
Date: Wed Apr 5 09:21:36 2023 +0200
1.2.8.923
[spotify]$ makepkg -sirc
==> Making package: spotify 1:1.2.8.923-1 (Fri 21 Apr 2023 11:59:41 AM PDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found spotify.protocol
-> Found LICENSE
-> Downloading spotify-1.2.8.923-g4f94bf0d-x86_64.deb...
-> Downloading spotify-1.2.8.923-1-Release...
-> Downloading spotify-1.2.8.923-1-Release.sig...
-> Downloading spotify-1.2.8.923-1-x86_64-Packages...
==> Validating source files with sha512sums...
spotify.protocol ... Passed
LICENSE ... Passed
spotify-1.2.8.923-g4f94bf0d-x86_64.deb ... Passed
spotify-1.2.8.923-1-Release ... Skipped
spotify-1.2.8.923-1-Release.sig ... Skipped
spotify-1.2.8.923-1-x86_64-Packages ... Skipped
==> Verifying source file signatures with gpg...
spotify-1.2.8.923-1-Release ... Passed
==> Extracting sources...
-> Extracting spotify-1.2.8.923-g4f94bf0d-x86_64.deb with bsdtar
==> Starting prepare()...
spotify-1.2.8.923-1-x86_64-Packages: OK
spotify-1.2.8.923-g4f94bf0d-x86_64.deb: FAILED
sha512sum: WARNING: 1 computed checksum did NOT match
==> ERROR: A failure occurred in prepare().
Aborting...
Pinned Comments
gromit commented on 2024-01-24 14:22 (UTC) (edited on 2024-12-28 11:34 (UTC) by gromit)
Please make sure to import the correct GPG key first:
And always build in a clean chroot. It is as easy as:
It is expected that the package will break now and then, as spotify continuously changes download binaries, gpg keys etc (which is not appropriate, but we cannot change this). Please be patient if an update does not occur the next day, you can still use an existing spotify install or update the version yourself.
Antiz commented on 2023-09-13 13:21 (UTC)
@lightofpast Just pushed
v1:1.2.20.1210-2
that now allows you to set custom launch flags in aspotify-flags.conf
file under$XDG_CONFIG_HOME
or~/.config
:)