Invalid hash for rust-trybuild@1.0.19

  • Done
  • quality assurance status badge
Details
2 participants
  • Distopico
  • Ludovic Courtès
Owner
unassigned
Submitted by
Ludovic Courtès
Severity
normal
L
L
Ludovic Courtès wrote on 4 Oct 2023 18:54
(address . bug-guix@gnu.org)
87r0ma9vmc.fsf@inria.fr
Hello,

We’re getting this:

Toggle snippet (25 lines)
$ guix build -S rust-trybuild@1.0.19
The following derivation will be built:
/gnu/store/jxgkdnfi81520hx65z4mknndsxb3ggfw-rust-trybuild-1.0.19.tar.gz.drv
building /gnu/store/jxgkdnfi81520hx65z4mknndsxb3ggfw-rust-trybuild-1.0.19.tar.gz.drv...

Starting download of /gnu/store/wlr6y6l6m7752591nfkiz3rnfly6hd9p-rust-trybuild-1.0.19.tar.gz
From https://crates.io/api/v1/crates/trybuild/1.0.19/download...
following redirection to `https://static.crates.io/crates/trybuild/trybuild-1.0.19.crate'...
downloading from https://crates.io/api/v1/crates/trybuild/1.0.19/download ...
download 22KiB 5.3MiB/s 00:00 ???????????????????? 100.0%
sha256 hash mismatch for /gnu/store/wlr6y6l6m7752591nfkiz3rnfly6hd9p-rust-trybuild-1.0.19.tar.gz:
expected hash: 0ab7ahdx563n6kbm14pm3qnxq4fp06pz42nh5ii4acvlzycnwdh4
actual hash: 17xpybcdx76dm54dk7jvr5aickc4ia66qf57bazg7myx8pf6yzcq
hash mismatch for store item '/gnu/store/wlr6y6l6m7752591nfkiz3rnfly6hd9p-rust-trybuild-1.0.19.tar.gz'
build of /gnu/store/jxgkdnfi81520hx65z4mknndsxb3ggfw-rust-trybuild-1.0.19.tar.gz.drv failed
View build log at '/var/log/guix/drvs/jx/gkdnfi81520hx65z4mknndsxb3ggfw-rust-trybuild-1.0.19.tar.gz.drv.gz'.
guix build: error: build of `/gnu/store/jxgkdnfi81520hx65z4mknndsxb3ggfw-rust-trybuild-1.0.19.tar.gz.drv' failed
$ guix describe
Generation 275 Oct 01 2023 23:38:21 (current)
guix b9fae14
repository URL: https://git.savannah.gnu.org/git/guix.git
branch: master
commit: b9fae146d6cc4a6968a8eb18beef29aa1414a31e

It looks like the hash never matched. Distopico, do you happen to have
a copy with hash 0ab7ahdx563n6kbm14pm3qnxq4fp06pz42nh5ii4acvlzycnwdh4 on
your disk? If so, could you check how it compares to the one currently
upstream?

If not, we’ll go ahead and update the hash.

Thanks,
Ludo’.
D
D
Distopico wrote on 5 Oct 2023 05:58
(name . Ludovic Courtès)(address . ludo@gnu.org)
87bkddvhvz.fsf@riseup.net
On 2023-10-04, Ludovic Courtès <ludo@gnu.org> wrote:

Toggle quote (40 lines)
> Hello,
>
> We’re getting this:
>
> --8<---------------cut here---------------start------------->8---
> $ guix build -S rust-trybuild@1.0.19
> The following derivation will be built:
> /gnu/store/jxgkdnfi81520hx65z4mknndsxb3ggfw-rust-trybuild-1.0.19.tar.gz.drv
> building /gnu/store/jxgkdnfi81520hx65z4mknndsxb3ggfw-rust-trybuild-1.0.19.tar.gz.drv...
>
> Starting download of /gnu/store/wlr6y6l6m7752591nfkiz3rnfly6hd9p-rust-trybuild-1.0.19.tar.gz
> From https://crates.io/api/v1/crates/trybuild/1.0.19/download...
> following redirection to `https://static.crates.io/crates/trybuild/trybuild-1.0.19.crate'...
> downloading from https://crates.io/api/v1/crates/trybuild/1.0.19/download ...
> download 22KiB 5.3MiB/s 00:00 ???????????????????? 100.0%
> sha256 hash mismatch for /gnu/store/wlr6y6l6m7752591nfkiz3rnfly6hd9p-rust-trybuild-1.0.19.tar.gz:
> expected hash: 0ab7ahdx563n6kbm14pm3qnxq4fp06pz42nh5ii4acvlzycnwdh4
> actual hash: 17xpybcdx76dm54dk7jvr5aickc4ia66qf57bazg7myx8pf6yzcq
> hash mismatch for store item '/gnu/store/wlr6y6l6m7752591nfkiz3rnfly6hd9p-rust-trybuild-1.0.19.tar.gz'
> build of /gnu/store/jxgkdnfi81520hx65z4mknndsxb3ggfw-rust-trybuild-1.0.19.tar.gz.drv failed
> View build log at '/var/log/guix/drvs/jx/gkdnfi81520hx65z4mknndsxb3ggfw-rust-trybuild-1.0.19.tar.gz.drv.gz'.
> guix build: error: build of `/gnu/store/jxgkdnfi81520hx65z4mknndsxb3ggfw-rust-trybuild-1.0.19.tar.gz.drv' failed
> $ guix describe
> Generation 275 Oct 01 2023 23:38:21 (current)
> guix b9fae14
> repository URL: https://git.savannah.gnu.org/git/guix.git
> branch: master
> commit: b9fae146d6cc4a6968a8eb18beef29aa1414a31e
> --8<---------------cut here---------------end--------------->8---
>
> It looks like the hash never matched. Distopico, do you happen to have
> a copy with hash 0ab7ahdx563n6kbm14pm3qnxq4fp06pz42nh5ii4acvlzycnwdh4 on
> your disk? If so, could you check how it compares to the one currently
> upstream?
>
> If not, we’ll go ahead and update the hash.
>
> Thanks,
> Ludo’.

Hi Ludo, thank you for let me know this, Here the patch fixing it,

Thanks.
L
L
Ludovic Courtès wrote on 5 Oct 2023 11:30
(name . Distopico)(address . distopico@riseup.net)(address . 66345-done@debbugs.gnu.org)
87jzs18lgv.fsf@gnu.org
Hi,

Distopico <distopico@riseup.net> skribis:

Toggle quote (2 lines)
> On 2023-10-04, Ludovic Courtès <ludo@gnu.org> wrote:

[...]

Toggle quote (13 lines)
>> It looks like the hash never matched. Distopico, do you happen to have
>> a copy with hash 0ab7ahdx563n6kbm14pm3qnxq4fp06pz42nh5ii4acvlzycnwdh4 on
>> your disk? If so, could you check how it compares to the one currently
>> upstream?
>>
>> If not, we’ll go ahead and update the hash.
>>
>> Thanks,
>> Ludo’.
>
> Hi Ludo, thank you for let me know this, Here the patch fixing it,
> https://issues.guix.gnu.org/66356

Great, thank you (I assume you didn’t have a copy with the older hash.)

Ludo’.
Closed
?
Your comment

This issue is archived.

To comment on this conversation send an email to 66345@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 66345
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch