GNU bug report logs - #56091
Possible hash mismatch in barrier 2.4.0

Previous Next

Package: guix;

Reported by: Vishakh Kumar <grokkingstuff <at> gmail.com>

Date: Sun, 19 Jun 2022 13:44:01 UTC

Severity: normal

Done: Tobias Geerinckx-Rice <me <at> tobias.gr>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 56091 in the body.
You can then email your comments to 56091 AT debbugs.gnu.org in the normal way.

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#56091; Package guix. (Sun, 19 Jun 2022 13:44:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Vishakh Kumar <grokkingstuff <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Sun, 19 Jun 2022 13:44:01 GMT) Full text and rfc822 format available.

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

From: Vishakh Kumar <grokkingstuff <at> gmail.com>
To: bug-guix <at> gnu.org
Subject: Possible hash mismatch in barrier 2.4.0
Date: Sun, 19 Jun 2022 10:25:44 +0400
[Message part 1 (text/plain, inline)]
Hey there!

Am trying to install barrier on my computer and guix tells me 
there is a
hash mismatch. I’m able to install other applications, and I think 
this
is a case where the hash in the package description might be 
wrong?

More than happy to provide more info, please let me know how i can 
help
debug this.

Cheers,
Vishakh Kumar

> grokkingstuff <at> grokkingNoether ~$ guix install barrier
> The following package will be installed:
>    barrier 2.4.0
>
> The following derivations will be built:
>   /gnu/store/0lwma8nhhy18z8x5v8zjjhk740bm1mv9-barrier-2.4.0.drv
>   /gnu/store/lba0pd5a1hzzfbcswgx0ws1nrldfxxnp-barrier-2.4.0-checkout.drv
>
> 15.1 MB will be downloaded
>  qtbase-5.15.2  14.4MiB                31KiB/s 07:54 
>  [##################] 100.0%
> building 
> /gnu/store/lba0pd5a1hzzfbcswgx0ws1nrldfxxnp-barrier-2.4.0-checkout.drv…
> /r:sha256 hash mismatch for 
> /gnu/store/s7ivxx684bd34bzmgdc282kw1lsg407r-barrier-2.4.0-checkout:
>   expected hash: 
>   10xk9szxxnqgfym53mcd9hqj1cw2ipncmiixw3i3ajlj1vn88qh1
>   actual hash: 
>   19bwa9qidq2mxv1fkyxxc1xdmv3jx6bj35bkaaw70jzkblnfmlfs
> hash mismatch for store item 
> ’/gnu/store/s7ivxx684bd34bzmgdc282kw1lsg407r-barrier-2.4.0-checkout’
> build of 
> /gnu/store/lba0pd5a1hzzfbcswgx0ws1nrldfxxnp-barrier-2.4.0-checkout.drv 
> failed
> View build log at 
> ’/var/log/guix/drvs/lb/a0pd5a1hzzfbcswgx0ws1nrldfxxnp-barrier-2.4.0-checkout.drv.bz2’.
> cannot build derivation 
> `/gnu/store/0lwma8nhhy18z8x5v8zjjhk740bm1mv9-barrier-2.4.0.drv’: 
> 1 dependencies couldn’t be built
> guix install: error: build of 
> `/gnu/store/0lwma8nhhy18z8x5v8zjjhk740bm1mv9-barrier-2.4.0.drv’ 
> failed
[Message part 2 (text/html, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#56091; Package guix. (Sun, 19 Jun 2022 15:34:02 GMT) Full text and rfc822 format available.

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

From: Tobias Geerinckx-Rice <me <at> tobias.gr>
To: Vishakh Kumar <grokkingstuff <at> gmail.com>
Cc: bug-guix <at> gnu.org, 56091-done <at> debbugs.gnu.org
Subject: Re: bug#56091: Possible hash mismatch in barrier 2.4.0
Date: Sun, 19 Jun 2022 17:28:53 +0200
[Message part 1 (text/plain, inline)]
Hi!

Thanks for reporting this.

Vishakh Kumar 写道:
> I think this is a case where the hash in the package description
> might be wrong?

What usually (though, mercifully, rarely) happens is that the hash 
is correct at the time of packaging, then upstream goes and moves 
a perfectly good git tag instead of making a new one, and the hash 
becomes wrong in retrospect.

This case was different: the original packager correctly ran ‘guix 
hash -rx .’ on their clone of the barrier git repository, but did 
not first check out the submodules and was unaware that these 
affect the hash.  I don't think the original package ever built, 
or at least fail to see how it could have.

Fixed on master[0].

Closing, but could you guix pull & confirm that it works for you?

Kind regards,

T G-R

[0]: 
https://git.savannah.gnu.org/cgit/guix.git/commit/?id=7f1cb1ebca169e3a4b5ed59fe226bb614b18b57f
[signature.asc (application/pgp-signature, inline)]

Reply sent to Tobias Geerinckx-Rice <me <at> tobias.gr>:
You have taken responsibility. (Sun, 19 Jun 2022 15:34:02 GMT) Full text and rfc822 format available.

Notification sent to Vishakh Kumar <grokkingstuff <at> gmail.com>:
bug acknowledged by developer. (Sun, 19 Jun 2022 15:34:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 18 Jul 2022 11:24:12 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 277 days ago.

Previous Next


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