help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: hash mismatch on permanently moved URL


From: Efraim Flashner
Subject: Re: hash mismatch on permanently moved URL
Date: Thu, 2 Jul 2020 15:56:46 +0300

On Thu, Jul 02, 2020 at 02:32:06PM +0200, Giovanni Biscuolo wrote:
> Hi Guix,
> 
> yesterday I installed a new Guix System (on iron) using the installer
> (latest stable
> https://ftp.gnu.org/gnu/guix/guix-system-install-1.1.0.x86_64-linux.iso.xz
> on USB)
> 
> The installation is fine but when I try to guix pull I get this:
> 
> --8<---------------cut here---------------start------------->8---
> 
> ~$ sudo -i guix pull
> Updating channel 'guix' from Git repository at 
> 'https://git.savannah.gnu.org/git/guix.git'...
> Building from this channel:
>   guix      https://git.savannah.gnu.org/git/guix.git   b919d40
> building 
> /gnu/store/f99dg2cqqlskh5q07l9dw5la7l5s28lq-libgcrypt-1.8.4.tar.bz2.drv...
> downloading from 
> https://gnupg.org/ftp/gcrypt/libgcrypt/libgcrypt-1.8.4.tar.bz2...
> building /gnu/store/4582v7day5c4v9qaidlkwmd6kllks2y4-icu4c-64_2-src.tgz.drv...
> downloading from 
> http://download.icu-project.org/files/icu4c/64.2/icu4c-64_2-src.tgz...
> |sha256 hash mismatch for 
> /gnu/store/0zh5mvhgcx0198k7j6p5pgrc5krgxyqj-icu4c-64_2-src.tgz:
>   expected hash: 0v0xsf14xwlj125y9fd8lrhsaych4d8liv8gr746zng6g225szb2
>   actual hash:   1qfbm2kh7hzd8752rky9dzis8qhgkhs6dkq71k8zar8y74nz7265
> hash mismatch for store item 
> '/gnu/store/0zh5mvhgcx0198k7j6p5pgrc5krgxyqj-icu4c-64_2-src.tgz'
> build of /gnu/store/4582v7day5c4v9qaidlkwmd6kllks2y4-icu4c-64_2-src.tgz.drv 
> failed
> View build log at 
> '/var/log/guix/drvs/45/82v7day5c4v9qaidlkwmd6kllks2y4-icu4c-64_2-src.tgz.drv.bz2'.
> cannot build derivation 
> `/gnu/store/y9y4j318znj6xfdnljkc8q8n0kp75liw-icu4c-64_2-src.tar.xz.drv': 1 
> dependencies couldn't be built
> building /gnu/store/22bdz5hk38p49xllw64xddrn9sgdm6b0-libgcrypt-1.8.4.drv...
> cannot build derivation 
> `/gnu/store/4wzc4ccnspff6hm00b82ma5c2p9ykh7k-icu4c-64.2.drv': 1 dependencies 
> couldn't be built
> cannot build derivation 
> `/gnu/store/34kcbgv7ls6r214w071p35d18xpirzff-openldap-2.4.47.drv': 1 
> dependencies couldn't be built
> building /gnu/store/03q5wvsw7f91rkmyawhkhrcqvrxrykrc-psutils.tar.gz.drv...
> cannot build derivation 
> `/gnu/store/8ij04934aafwspnrarm5c3lv9hnz34i2-curl-7.66.0.drv': 1 dependencies 
> couldn't be built
> guix pull: error: build of 
> `/gnu/store/8ij04934aafwspnrarm5c3lv9hnz34i2-curl-7.66.0.drv' failed
> 
> --8<---------------cut here---------------end--------------->8---
> 
> I searched in the current guix master branch and found icu4c is at
> version 66.1 now (the commit that upgraded to 64.2 is 27ed6960be)
> 
> The problem is that
> http://download.icu-project.org/files/icu4c/64.2/icu4c-64_2-src.tgz
> moved pernamently:
> 
> --8<---------------cut here---------------start------------->8---
> 
> ~$ curl -I http://download.icu-project.org/files/icu4c/64.2/icu4c-64_2-src.tgz
> HTTP/1.1 301 Moved Permanently
> Date: Thu, 02 Jul 2020 12:27:32 GMT
> Server: Apache/2.4.38 (Debian)
> Content-Security-Policy: upgrade-insecure-requests;
> Location: https://icu-project.org/files/icu4c/64.2/icu4c-64_2-src.tgz
> Content-Type: text/html; charset=iso-8859-1
> 
> --8<---------------cut here---------------end--------------->8---
> 
> This will be a build server so I'm not using substitutes:
> 
> --8<---------------cut here---------------start------------->8---
> 
>    (guix-service-type config =>
>                                 (guix-configuration
>                                  (inherit config)
>                                  (use-substitutes? #f)
>                                  (authorized-keys
>                                   %authorized-guix-keys))
> 
> --8<---------------cut here---------------end--------------->8---
> 
> Please how can I fix this situation?
> 
> Thanks! Gio'
> 

You can "preseed" the file into the store with 'guix download
https://icu-project.org/files/icu4c/64.2/icu4c-64_2-src.tgz'. If the
hash matches then guix will use the tarball and not try to download it
again.


-- 
Efraim Flashner   <efraim@flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]