ruby-sass-spec hash mismatch

  • Open
  • quality assurance status badge
Details
3 participants
  • Eric Brown
  • Eric Brown
  • zimoun
Owner
unassigned
Submitted by
Eric Brown
Severity
normal
E
E
Eric Brown wrote on 24 Aug 2021 11:40
(address . bug-guix@gnu.org)
947a5b7f-4bd3-4fe4-84c8-d908a4b5631e@www.fastmail.com
Hello Guix:

I am trying to install ruby-sass-spec and get a hash mismatch:

# guix pull && hash guix && guix package -u
# guix build ruby-sass-spec --no-substitutes

HEAD is now at a7a2305 3.5.4
r:sha256 hash mismatch for /gnu/store/mn6522xx9lmirzzvmrkjga1vil0sqg1p-ruby-sass-spec-3.5.4-checkout:
expected hash: 1zsw66830w0xlc7kxz6fm4b5nyb44vdsdgm9mgy06s5aixx83pwr
actual hash: 06zlwvc4hi5wyrfh182xlaq2igp54c1a1xwr3s9v7l41bb0inzsg

Best regards,
Eric
Z
Z
zimoun wrote on 24 Aug 2021 19:44
86mtp6spom.fsf@gmail.com
Hi,


On Tue, 24 Aug 2021 at 04:40, "Eric Brown" via Bug reports for GNU Guix <bug-guix@gnu.org> wrote:

Toggle quote (8 lines)
> # guix pull && hash guix && guix package -u
> # guix build ruby-sass-spec --no-substitutes
>
> HEAD is now at a7a2305 3.5.4
> r:sha256 hash mismatch for /gnu/store/mn6522xx9lmirzzvmrkjga1vil0sqg1p-ruby-sass-spec-3.5.4-checkout:
> expected hash: 1zsw66830w0xlc7kxz6fm4b5nyb44vdsdgm9mgy06s5aixx83pwr
> actual hash: 06zlwvc4hi5wyrfh182xlaq2igp54c1a1xwr3s9v7l41bb0inzsg

Ah, this is annoying because it works for me:

Toggle snippet (44 lines)
$ guix build -S ruby-sass-spec --no-substitutes
The following derivation will be built:
/gnu/store/p44b8rxvc54zj52a3g7hacs4aiqwdx5q-ruby-sass-spec-3.5.4-checkout.drv
building /gnu/store/p44b8rxvc54zj52a3g7hacs4aiqwdx5q-ruby-sass-spec-3.5.4-checkout.drv...
guile: warning: failed to install locale
environment variable `PATH' set to `/gnu/store/378zjf2kgajcfd7mfr98jn5xyc5wa3qv-gzip-1.10/bin:/gnu/store/sf3rbvb6iqcphgm1afbplcs72hsywg25-tar-1.32/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/mn6522xx9lmirzzvmrkjga1vil0sqg1p-ruby-sass-spec-3.5.4-checkout/.git/
From https://github.com/sass/sass-spec
* tag v3.5.4 -> 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 a7a2305 3.5.4
successfully built /gnu/store/p44b8rxvc54zj52a3g7hacs4aiqwdx5q-ruby-sass-spec-3.5.4-checkout.drv
/gnu/store/mn6522xx9lmirzzvmrkjga1vil0sqg1p-ruby-sass-spec-3.5.4-checkout

$ guix hash -r /gnu/store/mn6522xx9lmirzzvmrkjga1vil0sqg1p-ruby-sass-spec-3.5.4-checkout
1zsw66830w0xlc7kxz6fm4b5nyb44vdsdgm9mgy06s5aixx83pwr

All the best,
simon
E
E
Eric Brown wrote on 13 Sep 2021 15:06
(name . zimoun)(address . zimon.toutoune@gmail.com)(address . 50182@debbugs.gnu.org)
F8D509DF-CB67-43E6-BC8D-AF90F75C39D4@ericcbrown.com
Toggle quote (6 lines)
> On Aug 24, 2021, at 12:44 PM, zimoun <zimon.toutoune@gmail.com> wrote:
>
>
> Ah, this is annoying because it works for me:


Hello Simon:

This remains a problem for me, on a Trisquel-alike foreign distro:

/gnu/store/vpk1cr1m8h29v8r4bswiq34wpdjyrq1m-ruby-sass-spec-3.5.4
substituting /gnu/store/vpk1cr1m8h29v8r4bswiq34wpdjyrq1m-ruby-sass-spec-3.5.4...
ruby-sass-spec-3.5.4 408KiB 345KiB/s 00:00 [##### ] 31.4%
guix substitute: error: mkdir: File exists
substitution of /gnu/store/vpk1cr1m8h29v8r4bswiq34wpdjyrq1m-ruby-sass-spec-3.5.4 failed
guix build: error: corrupt input while restoring archive from #<closed: file 7f5df5e5b230>

Thank you for looking in on this problem. I wonder if it might go away at the next rev-bump of this package.

Best regards,
Eric
Z
Z
zimoun wrote on 13 Sep 2021 15:28
(name . Eric Brown)(address . ecbrown@ericcbrown.com)(address . 50182@debbugs.gnu.org)
CAJ3okZ1RwUKFEbnXHpzamqo6hx=gt8GpYOwi-MvwZgd_tmA=9Q@mail.gmail.com
Hi,

Could you run:

$ guix gc -D $(guix build -S ruby-sass-spec)
$ guix build -S ruby-sass-spec --no-substitutes

?

On Mon, 13 Sept 2021 at 15:06, Eric Brown <ecbrown@ericcbrown.com> wrote:

Toggle quote (2 lines)
> This remains a problem for me, on a Trisquel-alike foreign distro:

Which version of Guix do you use? Please report the output of:

$ guix describe


Toggle quote (8 lines)
> /gnu/store/vpk1cr1m8h29v8r4bswiq34wpdjyrq1m-ruby-sass-spec-3.5.4
> substituting /gnu/store/vpk1cr1m8h29v8r4bswiq34wpdjyrq1m-ruby-sass-spec-3.5.4...
> downloading from https://bayfront.guix.gnu.org/nar/lzip/vpk1cr1m8h29v8r4bswiq34wpdjyrq1m-ruby-sass-spec-3.5.4 ...
> ruby-sass-spec-3.5.4 408KiB 345KiB/s 00:00 [##### ] 31.4%
> guix substitute: error: mkdir: File exists
> substitution of /gnu/store/vpk1cr1m8h29v8r4bswiq34wpdjyrq1m-ruby-sass-spec-3.5.4 failed
> guix build: error: corrupt input while restoring archive from #<closed: file 7f5df5e5b230>

You shoud use another substitute than Bayfront. For example
ci.guix.gnu.org or bordeaux.guix.gnu.org. Now, they are both setup by
default, I guess.

All the best,
simon
?