You are not logged in.
UPDATE:
1) users can run makepkg with --noprepare
2) users can run updpkgsums prior to running makepkg
I have switched to the spotify-snapstore package. Contrary to the name it is not a snap but rather it uses the latest Debian package the same as the spotify package.
****
The Spotify client fails to build and I get the following error:
==> Starting prepare()...
spotify-1.1.72.439-3-x86_64-Packages: OK
spotify-1.1.72.439-x86_64.deb: FAILED
sha512sum: WARNING: 1 computed checksum did NOT match
==> ERROR: A failure occurred in prepare().
Aborting...
I can get the build to complete by editing the prepare () function within the PKGBUILD file.
I just commented the code which operates on the spotify-1.1.72.439-x86_64.deb file:
PKGBUILD
*************
prepare() {
# Validate hashes from the PGP signed "Release" file
echo "$(grep non-free/binary-amd64/Packages ${pkgname}-${pkgver}-${pkgrel}-Release | tail -n 2 | head -n 1 | awk '{print $1}') ${pkgname}-${pkgver}-${pkgrel}-x86_64-Packages" \
> "${pkgname}-${pkgver}-x86_64-Packages.sha256"
sha256sum -c "${pkgname}-${pkgver}-x86_64-Packages.sha256"# echo "$(grep SHA512 ${pkgname}-${pkgver}-${pkgrel}-x86_64-Packages | head -n 1 | awk '{print $2}') ${pkgname}-${pkgver}-x86_64.deb" \
# > "${pkgname}-${pkgver}-x86_64.deb.sha512"
# sha512sum -c "${pkgname}-${pkgver}-x86_64.deb.sha512"
}
I have not been able to determine what in that code is broken.
Thoughts ?
Last edited by lenhuppe (2022-03-08 02:09:50)
Why do we drive on the parkway and then park in the driveway?
Offline
Same problem for me
Offline
If you look at the file `${pkgname}-${pkgver}-${pkgrel}-x86_64-Packages` you'll see that the sha-512 hash is for a different deb file with version 1.1.80.699...
Offline
If you look at the file `${pkgname}-${pkgver}-${pkgrel}-x86_64-Packages` you'll see that the sha-512 hash is for a different deb file with version 1.1.80.699...
Yep the file `${pkgname}-${pkgver}-${pkgrel}-x86_64-Packages` is for the latest release rather than the version used in the spotify package.
For now users can run makepkg with the '--noprepare' option until the problem is resolved.
Thank you
Last edited by lenhuppe (2022-03-04 14:58:42)
Why do we drive on the parkway and then park in the driveway?
Offline