all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#56091: Possible hash mismatch in barrier 2.4.0
@ 2022-06-19  6:25 Vishakh Kumar
  2022-06-19 15:28 ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
  0 siblings, 1 reply; 2+ messages in thread
From: Vishakh Kumar @ 2022-06-19  6:25 UTC (permalink / raw)
  To: 56091


[-- Attachment #1.1: Type: text/plain, Size: 1712 bytes --]

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

[-- Attachment #1.2: Type: text/html, Size: 3302 bytes --]

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

* bug#56091: Possible hash mismatch in barrier 2.4.0
  2022-06-19  6:25 bug#56091: Possible hash mismatch in barrier 2.4.0 Vishakh Kumar
@ 2022-06-19 15:28 ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
  0 siblings, 0 replies; 2+ messages in thread
From: Tobias Geerinckx-Rice via Bug reports for GNU Guix @ 2022-06-19 15:28 UTC (permalink / raw)
  To: Vishakh Kumar; +Cc: 56091, 56091-done

[-- Attachment #1: Type: text/plain, Size: 928 bytes --]

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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 247 bytes --]

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

end of thread, other threads:[~2022-06-19 15:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-06-19  6:25 bug#56091: Possible hash mismatch in barrier 2.4.0 Vishakh Kumar
2022-06-19 15:28 ` Tobias Geerinckx-Rice via Bug reports for GNU Guix

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.