GNU bug report logs - #50182
ruby-sass-spec hash mismatch

Previous Next

Package: guix;

Reported by: "Eric Brown" <eric.c.brown <at> mac.com>

Date: Tue, 24 Aug 2021 09:42:01 UTC

Severity: normal

To reply to this bug, email your comments to 50182 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#50182; Package guix. (Tue, 24 Aug 2021 09:42:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to "Eric Brown" <eric.c.brown <at> mac.com>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Tue, 24 Aug 2021 09:42:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: "Eric Brown" <eric.c.brown <at> mac.com>
To: bug-guix <at> gnu.org
Subject: ruby-sass-spec hash mismatch
Date: Tue, 24 Aug 2021 04:40:58 -0500
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





Information forwarded to bug-guix <at> gnu.org:
bug#50182; Package guix. (Tue, 24 Aug 2021 17:54:01 GMT) Full text and rfc822 format available.

Message #8 received at 50182 <at> debbugs.gnu.org (full text, mbox):

From: zimoun <zimon.toutoune <at> gmail.com>
To: Eric Brown <eric.c.brown <at> mac.com>, 50182 <at> debbugs.gnu.org
Subject: Re: bug#50182: ruby-sass-spec hash mismatch
Date: Tue, 24 Aug 2021 19:44:25 +0200
Hi,


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

> # 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:

--8<---------------cut here---------------start------------->8---
$ 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
--8<---------------cut here---------------end--------------->8---

All the best,
simon




Information forwarded to bug-guix <at> gnu.org:
bug#50182; Package guix. (Mon, 13 Sep 2021 13:07:02 GMT) Full text and rfc822 format available.

Message #11 received at 50182 <at> debbugs.gnu.org (full text, mbox):

From: Eric Brown <ecbrown <at> ericcbrown.com>
To: zimoun <zimon.toutoune <at> gmail.com>
Cc: 50182 <at> debbugs.gnu.org
Subject: Re: bug#50182: ruby-sass-spec hash mismatch
Date: Mon, 13 Sep 2021 08:06:30 -0500

> On Aug 24, 2021, at 12:44 PM, zimoun <zimon.toutoune <at> 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...
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>

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









Information forwarded to bug-guix <at> gnu.org:
bug#50182; Package guix. (Mon, 13 Sep 2021 13:29:01 GMT) Full text and rfc822 format available.

Message #14 received at 50182 <at> debbugs.gnu.org (full text, mbox):

From: zimoun <zimon.toutoune <at> gmail.com>
To: Eric Brown <ecbrown <at> ericcbrown.com>
Cc: 50182 <at> debbugs.gnu.org
Subject: Re: bug#50182: ruby-sass-spec hash mismatch
Date: Mon, 13 Sep 2021 15:28:02 +0200
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 <at> ericcbrown.com> wrote:

> 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


>    /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




This bug report was last modified 3 years and 274 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.