unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Efraim Flashner <efraim@flashner.co.il>
To: Giovanni Biscuolo <g@xelera.eu>
Cc: help-guix@gnu.org
Subject: Re: hash mismatch on permanently moved URL
Date: Thu, 2 Jul 2020 15:56:46 +0300	[thread overview]
Message-ID: <20200702125646.GA17247@E5400> (raw)
In-Reply-To: <87v9j6kshl.fsf@roquette.i-did-not-set--mail-host-address--so-tickle-me>

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

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 #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  reply	other threads:[~2020-07-02 12:58 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-02 12:32 hash mismatch on permanently moved URL Giovanni Biscuolo
2020-07-02 12:56 ` Efraim Flashner [this message]
2020-07-02 13:04 ` zimoun
2020-07-02 13:37   ` Giovanni Biscuolo
2020-07-02 14:05     ` zimoun
2020-07-02 17:21       ` Giovanni Biscuolo
2020-07-02 13:06 ` Giovanni Biscuolo
2020-07-02 13:43   ` Tobias Geerinckx-Rice
2020-07-24 15:21 ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200702125646.GA17247@E5400 \
    --to=efraim@flashner.co.il \
    --cc=g@xelera.eu \
    --cc=help-guix@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).