unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / Atom feed
* bug#50182: ruby-sass-spec hash mismatch
@ 2021-08-24  9:40 Eric Brown via Bug reports for GNU Guix
  2021-08-24 17:44 ` zimoun
  0 siblings, 1 reply; 4+ messages in thread
From: Eric Brown via Bug reports for GNU Guix @ 2021-08-24  9:40 UTC (permalink / raw)
  To: 50182

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





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#50182: ruby-sass-spec hash mismatch
  2021-08-24  9:40 bug#50182: ruby-sass-spec hash mismatch Eric Brown via Bug reports for GNU Guix
@ 2021-08-24 17:44 ` zimoun
  2021-09-13 13:06   ` Eric Brown
  0 siblings, 1 reply; 4+ messages in thread
From: zimoun @ 2021-08-24 17:44 UTC (permalink / raw)
  To: Eric Brown, 50182

Hi,


On Tue, 24 Aug 2021 at 04:40, "Eric Brown" via Bug reports for GNU Guix <bug-guix@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




^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#50182: ruby-sass-spec hash mismatch
  2021-08-24 17:44 ` zimoun
@ 2021-09-13 13:06   ` Eric Brown
  2021-09-13 13:28     ` zimoun
  0 siblings, 1 reply; 4+ messages in thread
From: Eric Brown @ 2021-09-13 13:06 UTC (permalink / raw)
  To: zimoun; +Cc: 50182



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









^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#50182: ruby-sass-spec hash mismatch
  2021-09-13 13:06   ` Eric Brown
@ 2021-09-13 13:28     ` zimoun
  0 siblings, 0 replies; 4+ messages in thread
From: zimoun @ 2021-09-13 13:28 UTC (permalink / raw)
  To: Eric Brown; +Cc: 50182

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:

> 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




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-09-13 14:11 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-24  9:40 bug#50182: ruby-sass-spec hash mismatch Eric Brown via Bug reports for GNU Guix
2021-08-24 17:44 ` zimoun
2021-09-13 13:06   ` Eric Brown
2021-09-13 13:28     ` zimoun

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).