GNU bug report logs - #34047
gnu: emacs-closql: Hash mismatch.

Previous Next

Package: guix;

Reported by: Oleg Pykhalov <go.wigust <at> gmail.com>

Date: Fri, 11 Jan 2019 22:31:02 UTC

Severity: normal

Done: Jelle Licht <jlicht <at> fsfe.org>

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 34047 in the body.
You can then email your comments to 34047 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#34047; Package guix. (Fri, 11 Jan 2019 22:31:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Oleg Pykhalov <go.wigust <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Fri, 11 Jan 2019 22:31:02 GMT) Full text and rfc822 format available.

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

From: Oleg Pykhalov <go.wigust <at> gmail.com>
To: bug-guix <bug-guix <at> gnu.org>
Subject: gnu: emacs-closql: Hash mismatch.
Date: Sat, 12 Jan 2019 01:30:23 +0300
[Message part 1 (text/plain, inline)]
Hello Guix,

emacs-closql package build fails because of hash mismatch:
--8<---------------cut here---------------start------------->8---
$ ./pre-inst-env guix build --no-grafts emacs-eclosql
guix build: error: emacs-eclosql: unknown package
natsu <at> magnolia ~/src/guix$ ./pre-inst-env guix build --no-grafts emacs-closql
substitute: updating substitutes from 'http://cuirass.tld'... 100.0%
substitute: updating substitutes from 'https://berlin.guixsd.org'... 100.0%
substitute: updating substitutes from 'https://mirror.hydra.gnu.org'... 100.0%
The following derivations will be built:
   /gnu/store/vrjbbp4n0kda1b7y98szwpv3n0pxm7nk-emacs-closql-1.0.0-checkout.drv
   /gnu/store/ykn80wrvznp2fp069yj9v7lnys7vqv6r-emacs-closql-1.0.0.drv
0.6 MB will be downloaded:
   /gnu/store/x766a16hslvmgsc6ndn65zphkgwh53f6-emacs-emacsql-3.0.0
substituting /gnu/store/x766a16hslvmgsc6ndn65zphkgwh53f6-emacs-emacsql-3.0.0...
building /gnu/store/vrjbbp4n0kda1b7y98szwpv3n0pxm7nk-emacs-closql-1.0.0-checkout.drv...
environment variable `PATH' set to `/gnu/store/q09sy224qnxrp982z4xfaxi19721mjx8-gzip-1.9/bin:/gnu/store/ipx79bfj2mrc8npj7s3qi3zri11jfhaw-tar-1.30/bin'
Initialized empty Git repository in /gnu/store/vy3m2n81i2ncpf65fnsq513dkwypzvr5-emacs-closql-1.0.0-checkout/.git/
downloading from https://berlin.guixsd.org/nar/gzip/x766a16hslvmgsc6ndn65zphkgwh53f6-emacs-emacsql-3.0.0...
From https://github.com/emacscollective/closql
 * tag               v1.0.0     -> FETCH_HEAD
Note: checking out '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 performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at 012b94f Release version 1.0.0
r:sha256 hash mismatch for /gnu/store/vy3m2n81i2ncpf65fnsq513dkwypzvr5-emacs-closql-1.0.0-checkout:
  expected hash: 0cy44d1fxkvah6fhjkn3mp6gzzrjmws1c4c20ayrma74y9xich3v
  actual hash:   1xhpfjjkjqfc1k2rj77cscclz5r7gpvv3hi202x178vdcpipjwar
hash mismatch for store item '/gnu/store/vy3m2n81i2ncpf65fnsq513dkwypzvr5-emacs-closql-1.0.0-checkout'
build of /gnu/store/vrjbbp4n0kda1b7y98szwpv3n0pxm7nk-emacs-closql-1.0.0-checkout.drv failed
View build log at '/var/log/guix/drvs/vr/jbbp4n0kda1b7y98szwpv3n0pxm7nk-emacs-closql-1.0.0-checkout.drv.bz2'.
killing process 14669
cannot build derivation `/gnu/store/ykn80wrvznp2fp069yj9v7lnys7vqv6r-emacs-closql-1.0.0.drv': 1 dependencies couldn't be built
guix build: error: build failed: build of `/gnu/store/ykn80wrvznp2fp069yj9v7lnys7vqv6r-emacs-closql-1.0.0.drv' failed
--8<---------------cut here---------------end--------------->8---
[signature.asc (application/pgp-signature, inline)]

Reply sent to Jelle Licht <jlicht <at> fsfe.org>:
You have taken responsibility. (Tue, 15 Jan 2019 21:09:02 GMT) Full text and rfc822 format available.

Notification sent to Oleg Pykhalov <go.wigust <at> gmail.com>:
bug acknowledged by developer. (Tue, 15 Jan 2019 21:09:03 GMT) Full text and rfc822 format available.

Message #10 received at 34047-done <at> debbugs.gnu.org (full text, mbox):

From: Jelle Licht <jlicht <at> fsfe.org>
To: Oleg Pykhalov <go.wigust <at> gmail.com>
Cc: 34047-done <at> debbugs.gnu.org
Subject: Re: bug#34047: gnu: emacs-closql: Hash mismatch.
Date: Tue, 15 Jan 2019 22:07:56 +0100
Oleg Pykhalov <go.wigust <at> gmail.com> writes: 

> [...]  HEAD is now at 012b94f Release version 1.0.0 r:sha256 
> hash mismatch for 
> /gnu/store/vy3m2n81i2ncpf65fnsq513dkwypzvr5-emacs-closql-1.0.0-checkout: 
>   expected hash: 
>   0cy44d1fxkvah6fhjkn3mp6gzzrjmws1c4c20ayrma74y9xich3v actual 
>   hash:   1xhpfjjkjqfc1k2rj77cscclz5r7gpvv3hi202x178vdcpipjwar 
> hash mismatch for store item 
> '/gnu/store/vy3m2n81i2ncpf65fnsq513dkwypzvr5-emacs-closql-1.0.0-checkout' 
> build of 
> /gnu/store/vrjbbp4n0kda1b7y98szwpv3n0pxm7nk-emacs-closql-1.0.0-checkout.drv 
> failed View build log at 
> '/var/log/guix/drvs/vr/jbbp4n0kda1b7y98szwpv3n0pxm7nk-emacs-closql-1.0.0-checkout.drv.bz2'. 
> killing process 14669 cannot build derivation 
> `/gnu/store/ykn80wrvznp2fp069yj9v7lnys7vqv6r-emacs-closql-1.0.0.drv': 
> 1 dependencies couldn't be built guix build: error: build 
> failed: build of 
> `/gnu/store/ykn80wrvznp2fp069yj9v7lnys7vqv6r-emacs-closql-1.0.0.drv' 
> failed 

You are totally right, my bad. Thanks for catching this!  Fixed in 
b03131902e2618de10d6be15531ca2b44717d397 on master.   For the 
interested, a snippet from IRC explaining my mistake: 
--8<---------------cut here---------------start------------->8--- 
2019-01-15 21:55 <jlicht> It _probably_ had something to do with 
the fact 
                         that I was messing around with several 
                         versions of emacs-closql before settling 
                         on the final one, but not updating the 
                         hash
2019-01-15 21:55 <jlicht> (which then worked because of the fun 
and 
                         interesting ways in which 
                         already-downloaded sources are 
                         referenced, I guess?) 

[...] 

2019-01-15 21:55 <civodul> jlicht: i see!
2019-01-15 21:56 <civodul> jlicht: it'd be nice to check the diff 
and explain 
                          in the commit log next time, just to be 
                          on the safe side!
2019-01-15 21:56 <jlicht> anyway, I took some time to verify that that new
                         hash is the actual one we want, using some vpn's
                         and some contact with coworkers. My apologies for
                         any bad dreams it may have given people
--8<---------------cut here---------------end--------------->8---

Thanks again Oleg for being so attentive.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 13 Feb 2019 12:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 5 years and 74 days ago.

Previous Next


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