Subject: Re: bug#47487: sloccount: hash mismatch

From: Ludovic Courtès <[email-masked]>
Date: Sat, 10 Apr 2021 21:56:35 +0200

Hi,

zimoun <[email-masked]> skribis:

> Using Guix 55685e4, I get:
>
> $ guix build -S --no-substitutes sloccount
> The following derivation will be built:
>    /gnu/store/915x0gqgny54sbnqdy3lcy31mfc4yh9c-sloccount-2.26.tar.gz.drv
> building /gnu/store/915x0gqgny54sbnqdy3lcy31mfc4yh9c-sloccount-2.26.tar.gz.drv...
>
> Starting download of
> /gnu/store/83aanlqnsignl3pxbxgs6qddjaj82mgi-sloccount-2.26.tar.gz
>>>From http://www.dwheeler.com/sloccount/sloccount-2.26.tar.gz...
> following redirection to `https://dwheeler.com'...
> downloading from http://www.dwheeler.com/sloccount/sloccount-2.26.tar.gz ...
>  sloccount-2.26.tar.gz  21KiB        27.7MiB/s 00:00 [##################] 100.0%
> sha256 hash mismatch for
> /gnu/store/83aanlqnsignl3pxbxgs6qddjaj82mgi-sloccount-2.26.tar.gz:
>   expected hash: 0ayiwfjdh1946asah861ah9269s5xkc8p5fv1wnxs9znyaxs4zzs
>   actual hash:   1acsim4y34avh2zlr7j6b4wxjm2jcl64k9bdxdwm9flij1g7gkl3
> hash mismatch for store item
> '/gnu/store/83aanlqnsignl3pxbxgs6qddjaj82mgi-sloccount-2.26.tar.gz'
> build of /gnu/store/915x0gqgny54sbnqdy3lcy31mfc4yh9c-sloccount-2.26.tar.gz.drv
> failed
> View build log at
> '/var/log/guix/drvs/91/5x0gqgny54sbnqdy3lcy31mfc4yh9c-sloccount-2.26.tar.gz.drv.bz2'.
> guix build: error: build of
> `/gnu/store/915x0gqgny54sbnqdy3lcy31mfc4yh9c-sloccount-2.26.tar.gz.drv'
> failed

Fixed in dda0ada3849719f183ee158871d382b2f57f7a59 (almost inadvertently
since I was initially trying to understand why the ‘generic-html’
updater wouldn’t work.)

Ludo’.