--- Begin Message ---
Subject: |
snap: Fails to build (hash mismatch) |
Date: |
Mon, 17 Jan 2022 21:13:44 +0100 |
Hi! When trying to upgrade package `snap 6.9.0` from Guix commit `404f6953`
to `snap 7.0.3` from commit `4a943cfd`, the build fails with the following
output:
```
The following package will be upgraded:
snap 6.9.0 -> 7.0.3
The following derivations will be built:
/gnu/store/5r399grsmannnm1bxxnk5p35m9hcnvy6-profile.drv
/gnu/store/m266r46jhbggn6vp0y6vqj62hb2z3kfs-snap-7.0.3.drv
/gnu/store/8sw6g5r83nh2x1pnsqxzz0073q47vrf6-snap-7.0.3-checkout.drv
building /gnu/store/8sw6g5r83nh2x1pnsqxzz0073q47vrf6-snap-7.0.3-checkout.drv...
\r:sha256 hash mismatch for
/gnu/store/6b47h0yqs6c1w2yylwlhzbn9w4kr31cr-snap-7.0.3-checkout:
expected hash: 0wqncxqin9g4y15i82qscz0v2fc1br68m6dx47jn4h4kjkmwxccb
actual hash: 0l4gws2x9rcgpj9h2wrri3sa4sn3j0q5648jpspyiwlwallp6gbv
hash mismatch for store item
'/gnu/store/6b47h0yqs6c1w2yylwlhzbn9w4kr31cr-snap-7.0.3-checkout'
build of /gnu/store/8sw6g5r83nh2x1pnsqxzz0073q47vrf6-snap-7.0.3-checkout.drv
failed
View build log at
'/var/log/guix/drvs/8s/w6g5r83nh2x1pnsqxzz0073q47vrf6-snap-7.0.3-checkout.drv.bz2'.
cannot build derivation
`/gnu/store/m266r46jhbggn6vp0y6vqj62hb2z3kfs-snap-7.0.3.drv': 1 dependencies
couldn't be built
cannot build derivation
`/gnu/store/5r399grsmannnm1bxxnk5p35m9hcnvy6-profile.drv': 1 dependencies
couldn't be built
guix package: error: build of
`/gnu/store/5r399grsmannnm1bxxnk5p35m9hcnvy6-profile.drv' failed
```
The contents of
`/var/log/guix/drvs/8s/w6g5r83nh2x1pnsqxzz0073q47vrf6-snap-7.0.3-checkout.drv.bz2`
are:
```
guile: warning: failed to install locale
environment variable `PATH' set to
`/gnu/store/9q9z91mvc1r3h8zmi135msv3j1dgv2js-gzip-1.10/bin:/gnu/store/z3vphwqzvihprnwgb99gra8xnf0hl9yr-tar-1.34/bin'
hint: Using 'master' as the name for the initial branch. This default branch
name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
Initialized empty Git repository in
/gnu/store/6b47h0yqs6c1w2yylwlhzbn9w4kr31cr-snap-7.0.3-checkout/.git/
From https://github.com/jmoenig/Snap
* tag v7.0.3 -> FETCH_HEAD
Note: switching to 'FETCH_HEAD'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:
git switch -c <new-branch-name>
Or undo this operation with:
git switch -
Turn off this advice by setting config variable advice.detachedHead to false
HEAD is now at 14f468c improved arity control for JOIN
```
Maybe the upstream Snap maintainer changed the repo commit where the tag
`v7.0.3` points at after the Guix package definition was updated?
Thanks!
--
Ivan Vilata i Balaguer -- https://elvil.net/
signature.asc
Description: PGP signature
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#53326: snap: Fails to build (hash mismatch) |
Date: |
Tue, 18 Jan 2022 00:41:21 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) |
Hello,
Ivan Vilata i Balaguer <ivan@selidor.net> writes:
> Hi! When trying to upgrade package `snap 6.9.0` from Guix commit `404f6953`
> to `snap 7.0.3` from commit `4a943cfd`, the build fails with the following
> output:
[...]
> Maybe the upstream Snap maintainer changed the repo commit where the tag
> `v7.0.3` points at after the Guix package definition was updated?
It looks like so, because I'm pretty sure I tested it when I bumped it
to 7.0.3.
In any case, I updated it to 7.0.5. Hopefully, it now builds. Thank you
for the report.
Regards,
--
Nicolas Goaziou
--- End Message ---