From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id MDojIgja/V5zcwAA0tVLHw (envelope-from ) for ; Thu, 02 Jul 2020 12:58:48 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id eJ3qHQja/V4/BwAAbx9fmQ (envelope-from ) for ; Thu, 02 Jul 2020 12:58:48 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 3049B940704 for ; Thu, 2 Jul 2020 12:58:47 +0000 (UTC) Received: from localhost ([::1]:48794 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jqynd-0001vm-C8 for larch@yhetil.org; Thu, 02 Jul 2020 08:58:45 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53782) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jqymp-0000Yc-4x for help-guix@gnu.org; Thu, 02 Jul 2020 08:57:55 -0400 Received: from flashner.co.il ([178.62.234.194]:48842) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jqyml-0004aV-US for help-guix@gnu.org; Thu, 02 Jul 2020 08:57:54 -0400 Received: from localhost (unknown [31.210.181.184]) by flashner.co.il (Postfix) with ESMTPSA id DAC3540160; Thu, 2 Jul 2020 12:57:18 +0000 (UTC) Date: Thu, 2 Jul 2020 15:56:46 +0300 From: Efraim Flashner To: Giovanni Biscuolo Subject: Re: hash mismatch on permanently moved URL Message-ID: <20200702125646.GA17247@E5400> References: <87v9j6kshl.fsf@roquette.i-did-not-set--mail-host-address--so-tickle-me> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="Q68bSM7Ycu6FN28Q" Content-Disposition: inline In-Reply-To: <87v9j6kshl.fsf@roquette.i-did-not-set--mail-host-address--so-tickle-me> X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Received-SPF: pass client-ip=178.62.234.194; envelope-from=efraim@flashner.co.il; helo=flashner.co.il X-detected-operating-system: by eggs.gnu.org: First seen = 2020/07/02 08:57:19 X-ACL-Warn: Detected OS = ??? X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: help-guix@gnu.org Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Spam-Score: -2.61 X-TUID: 3mZwTCn028df --Q68bSM7Ycu6FN28Q Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jul 02, 2020 at 02:32:06PM +0200, Giovanni Biscuolo wrote: > Hi Guix, >=20 > 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) >=20 > The installation is fine but when I try to guix pull I get this: >=20 > --8<---------------cut here---------------start------------->8--- >=20 > ~$ 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.t= ar.bz2... > building /gnu/store/4582v7day5c4v9qaidlkwmd6kllks2y4-icu4c-64_2-src.tgz.d= rv... > downloading from http://download.icu-project.org/files/icu4c/64.2/icu4c-6= 4_2-src.tgz... > |sha256 hash mismatch for /gnu/store/0zh5mvhgcx0198k7j6p5pgrc5krgxyqj-icu= 4c-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.d= rv failed > View build log at '/var/log/guix/drvs/45/82v7day5c4v9qaidlkwmd6kllks2y4-i= cu4c-64_2-src.tgz.drv.bz2'. > cannot build derivation `/gnu/store/y9y4j318znj6xfdnljkc8q8n0kp75liw-icu4= c-64_2-src.tar.xz.drv': 1 dependencies couldn't be built > building /gnu/store/22bdz5hk38p49xllw64xddrn9sgdm6b0-libgcrypt-1.8.4.drv.= =2E. > cannot build derivation `/gnu/store/4wzc4ccnspff6hm00b82ma5c2p9ykh7k-icu4= c-64.2.drv': 1 dependencies couldn't be built > cannot build derivation `/gnu/store/34kcbgv7ls6r214w071p35d18xpirzff-open= ldap-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-c= url-7.66.0.drv' failed >=20 > --8<---------------cut here---------------end--------------->8--- >=20 > 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) >=20 > The problem is that > http://download.icu-project.org/files/icu4c/64.2/icu4c-64_2-src.tgz > moved pernamently: >=20 > --8<---------------cut here---------------start------------->8--- >=20 > ~$ curl -I http://download.icu-project.org/files/icu4c/64.2/icu4c-64_2-sr= c.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=3Diso-8859-1 >=20 > --8<---------------cut here---------------end--------------->8--- >=20 > This will be a build server so I'm not using substitutes: >=20 > --8<---------------cut here---------------start------------->8--- >=20 > (guix-service-type config =3D> > (guix-configuration > (inherit config) > (use-substitutes? #f) > (authorized-keys > %authorized-guix-keys)) >=20 > --8<---------------cut here---------------end--------------->8--- >=20 > Please how can I fix this situation? >=20 > Thanks! Gio' >=20 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. --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --Q68bSM7Ycu6FN28Q Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAl792Y0ACgkQQarn3Mo9 g1GAvxAAhc6azDnndIaRLvWkCl6tL9KOO5+8J3ZwCe9qHUZOZXHvE+MHHMQfvTER az1QIBW/bxFDDQqwUAa1Sdzc6q4HEkxtsoIz4grhJHjMCZmpk/YohZYmp2wrlvsV ZZ5nFoFlCaA1tB4jUvHFQPFvA6yFq1lGxmVj3LrBoG+3yfKDStXBrj0bmvT37TXT Ie6IrKpja7vRkzg2Gvs9lPfsXofUSwMJWktW0O/zlaHGh/df1O4ucJqkCmwVcU8v NhH8OYSRjGpMvGo/Vya1NWf+ETiPs7cmoJE0U5h+JV6FNgC+Y/HJTKmdBIwY48aE OEBkLbJ8/F2OdugOy/uXR3MEar2u96Fyl5k0BW1C8z7v+K4R8S2hbUgKrAPn0XZf R8G/p86OAnvQtMPLu4knW2L8Z8DgeTS0Lg+AfZ6jifOS4oSkd1bidg8in/Ge+hmN mR66eooMQXRcCPJfgNybYAEGEEkEf3Pm8vyORt/QUO9agZtkRW4itoUls4JTH44s AYbGemhYFTmJWIneoXIlJ3183hQRZ9DAfqHNUFyM4/JpjA+sDGYqoki2d0Vh1qsQ ptUk04ieDgpTgFQBaJtC787pRPoWcgPulN3iLwvku7PanVYsPaakfB+mwGjPBYn5 6JkW3tQklO+GBzEunmYe2T5Tt2amo/9mBkFmp2eMDFTeLblgt3Q= =MtrE -----END PGP SIGNATURE----- --Q68bSM7Ycu6FN28Q--