From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?B?QmrDtnJuIEjDtmZsaW5n?= Subject: Re: nss-certs: hash mismatch on berlin Date: Wed, 31 Jul 2019 07:03:56 +0200 Message-ID: <20190731070356.6d632f52@alma-ubu> References: <20190722092127.1bdd9ccd@alma-ubu> <878ssmt4zw.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; boundary="Sig_/bmIlPEo2Y1S9QN01AjdJKuV"; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:53073) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hsgmP-000518-3d for guix-devel@gnu.org; Wed, 31 Jul 2019 01:04:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hsgmN-0000lf-Pw for guix-devel@gnu.org; Wed, 31 Jul 2019 01:04:01 -0400 In-Reply-To: <878ssmt4zw.fsf@gnu.org> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Ludovic =?UTF-8?B?Q291cnTDqHM=?= Cc: guix-devel --Sig_/bmIlPEo2Y1S9QN01AjdJKuV Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi Ludo, On Thu, 25 Jul 2019 19:10:11 +0200 Ludovic Court=C3=A8s wrote: > Hello, >=20 > Bj=C3=B6rn H=C3=B6fling skribis: >=20 > > Hi Ludo, > > Hi Guix, > > > > while trying to build a new installer-image, I encountered: > > > > nss-certs-3.44.1 > > 150KiB > > 4.0MiB/s 00:00 [##################] 100.0% > > > > sha256 hash mismatch > > for /gnu/store/32hy1jqkam201l7c4wg3bhxz4x5l5jy0-nss-certs-3.44.1: > > expected hash: 0vbkb5mcwzbz4lm1c1319pail61785sd3lj6526vl5hdnp1rxyad > > actual hash: 1awgljvsvc141350xyjjnb15hk66qpcpzwz0hrly11yfbw6wn7cv > > substitution > > of /gnu/store/32hy1jqkam201l7c4wg3bhxz4x5l5jy0-nss-certs-3.44.1 > > failed =20 >=20 > Like Ricardo, I get the correct hash everywhere: >=20 > --8<---------------cut here---------------start------------->8--- > $ wget -qO - > http://berlin.guix.gnu.org/32hy1jqkam201l7c4wg3bhxz4x5l5jy0.narinfo | > grep Hash NarHash: > sha256:0vbkb5mcwzbz4lm1c1319pail61785sd3lj6526vl5hdnp1rxyad $ wget > -qO - > http://berlin.guix.gnu.org/nar/lzip/32hy1jqkam201l7c4wg3bhxz4x5l5jy0-nss-= certs-3.44.1 > | lzip -d | guix hash - > 0vbkb5mcwzbz4lm1c1319pail61785sd3lj6526vl5hdnp1rxyad $ wget -qO - > http://berlin.guix.gnu.org/nar/gzip/32hy1jqkam201l7c4wg3bhxz4x5l5jy0-nss-= certs-3.44.1 > | gunzip | guix hash - > 0vbkb5mcwzbz4lm1c1319pail61785sd3lj6526vl5hdnp1rxyad $ wget -qO - > http://ci.guix.gnu.org/nar/lzip/32hy1jqkam201l7c4wg3bhxz4x5l5jy0-nss-cert= s-3.44.1 > | lzip -d | guix hash - > 0vbkb5mcwzbz4lm1c1319pail61785sd3lj6526vl5hdnp1rxyad $ wget -qO - > http://ci.guix.gnu.org/nar/gzip/32hy1jqkam201l7c4wg3bhxz4x5l5jy0-nss-cert= s-3.44.1 > | gunzip | guix hash - > 0vbkb5mcwzbz4lm1c1319pail61785sd3lj6526vl5hdnp1rxyad > --8<---------------cut here---------------end--------------->8--- >=20 > Could you run these commands locally and see what you get? >=20 > Could it be lack of disk space or a transient networking issue on > your side? >=20 > Thanks, > Ludo=E2=80=99. This is strange and I have no clue what's going wrong here: All your commands above work as expected. Yes, I'm running out of disk space, but everything else works and the nss-package isn't the biggest one. Currently 8 GiB left. I built it locally, that worked. Now deleting it: $ guix gc -D /gnu/store/32hy1jqkam201l7c4wg3bhxz4x5l5jy0-nss-certs-3.44.1 Then trying to fetch it: ~/guix/wt/nonfree [env]$ ./pre-inst-env guix build nss-certs 0.2 MB will be downloaded: /gnu/store/32hy1jqkam201l7c4wg3bhxz4x5l5jy0-nss-certs-3.44.1 substituting /gnu/store/32hy1jqkam201l7c4wg3bhxz4x5l5jy0-nss-certs-3.44.1... downloading from https://ci.guix.gnu.org/nar/gzip/32hy1jqkam201l7c4wg3bhxz4= x5l5jy0-nss-certs-3.44.1... nss-certs-3.44.1 150KiB = 1.0MiB/s 00:00 [##################] 100.0% sha256 hash mismatch for /gnu/store/32hy1jqkam201l7c4wg3bhxz4x5l5jy0-nss-ce= rts-3.44.1: expected hash: 0vbkb5mcwzbz4lm1c1319pail61785sd3lj6526vl5hdnp1rxyad actual hash: 1awgljvsvc141350xyjjnb15hk66qpcpzwz0hrly11yfbw6wn7cv substitution of /gnu/store/32hy1jqkam201l7c4wg3bhxz4x5l5jy0-nss-certs-3.44.= 1 failed guix build: error: some substitutes for the outputs of derivation `/gnu/sto= re/br6w1qmw2b98c6fa45gy0ljqdzjw70vr-nss-certs-3.44.1.drv' failed (usually h= appens due to networking issues); try `--fallback' to build derivation from= source=20 This is on dd9c137b2c759f906d57b14fccff091994f274e8 Manually downloading seams to find the right hash: $ wget -qO - https://ci.guix.gnu.org/nar/gzip/32hy1jqkam201l7c4wg3bhxz4x5l5= jy0-nss-certs-3.44.1 | gunzip | guix hash - 0vbkb5mcwzbz4lm1c1319pail61785sd3lj6526vl5hdnp1rxyad $ ls /gnu/store/*nss-certs-3.44.1* -d /gnu/store/32hy1jqkam201l7c4wg3bhxz4x5l5jy0-nss-certs-3.44.1 /gnu/sto= re/br6w1qmw2b98c6fa45gy0ljqdzjw70vr-nss-certs-3.44.1.drv /gnu/store/32hy1jqkam201l7c4wg3bhxz4x5l5jy0-nss-certs-3.44.1.lock /gnu/sto= re/fpv0xrrr47g879agkmchzzamw1p46i46-nss-certs-3.44.1-guile-builder I blamed that something about locales is wrong on berlin. Could it be the case that on my side something with locales is wrong? In the build daemon? I'm on Ubunutu+Guix, that might cause also some trouble? How can I verify/check my locale-configs? Thanks, Bj=C3=B6rn --Sig_/bmIlPEo2Y1S9QN01AjdJKuV Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iF0EARECAB0WIQQiGUP0np8nb5SZM4K/KGy2WT5f/QUCXUEhPAAKCRC/KGy2WT5f /a/1AJ9cOuT7tkOPrH6rAA946C0VpX42iQCfexSa/73TWuXSiyWrthcyqXy33B0= =raXJ -----END PGP SIGNATURE----- --Sig_/bmIlPEo2Y1S9QN01AjdJKuV--