From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?Q?Bj=C3=B6rn_?= =?UTF-8?Q?H=C3=B6fling?= Subject: bug#33419: guix package is not showing that the checksum is mismatching Date: Wed, 21 Nov 2018 21:18:08 +0100 Message-ID: <20181121211808.039a4d17@alma-ubu> References: <20181118150433.63437ece@alma-ubu> <87sgzwx11l.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; boundary="Sig_/Kue9.7l9_GMWg+KYbLfp+nG"; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49156) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gPYxn-00007p-45 for bug-guix@gnu.org; Wed, 21 Nov 2018 15:19:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gPYxi-0003q9-Bo for bug-guix@gnu.org; Wed, 21 Nov 2018 15:19:07 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:35925) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gPYxi-0003p2-7O for bug-guix@gnu.org; Wed, 21 Nov 2018 15:19:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gPYxh-0001AP-Sb for bug-guix@gnu.org; Wed, 21 Nov 2018 15:19:01 -0500 Sender: "Debbugs-submit" Resent-To: bug-guix@gnu.org Resent-Message-ID: In-Reply-To: <87sgzwx11l.fsf@gnu.org> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 33419-done@debbugs.gnu.org --Sig_/Kue9.7l9_GMWg+KYbLfp+nG Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Mon, 19 Nov 2018 21:30:46 +0100 ludo@gnu.org (Ludovic Court=C3=A8s) wrote: > Hello, >=20 > Bj=C3=B6rn H=C3=B6fling skribis: > > Is it intended that this build-failure detail is not shown? I > > suppose not. At least in a log it should be shown. =20 >=20 > I suspect you=E2=80=99re running an =E2=80=9Cold=E2=80=9D guix-daemon, ar= en=E2=80=99t you? >=20 > Could you try again with an up-to-date daemon (and client)? The code > that prints hash mismatch errors when talking to recent daemons is in > (guix status). Indeed! Short story: After really updating the daemon/root's Guix, it works now. Long story: I have a really old daemon here: $ tail -n 2 /etc/init/guix-daemon.conf=20 exec /gnu/store/5drb0ijbszvy8xmps89qcav1p4vy9wqr-guix-0.11.0/bin/guix-daemo= n --build-users-group=3Dguixbuild I have no clue how to update it correctly and it was always a mystery, so I read in the manual how to do that nowadays: https://guix.info/manual/en/Binary-Installation.html#Binary-Installation and did: $ sudo cp /root/.guix-profile/lib/upstart/system/guix-daemon.conf /etc/init/guix-d= aemon.conf $ tail -n 2 /etc/init/guix-daemon.conf=20 exec /var/guix/profiles/per-user/root/guix-profile/bin/guix-daemon --build-= users-group=3Dguixbuild $ sudo systemctl stop guix-daemon $ sudo systemctl start guix-daemon $ ps -aux | grep guix root 6995 0.1 0.0 27976 3940 ? Ss 07:30 0:00 /var/guix/= profiles/per-user/root/guix-profile/bin/guix-daemon --substitute-urls=3Dhtt= ps://berlinguixsd.org https://mirror.hydra.gnu.org --build-users-group=3Dgu= ixbuild bjoern 6998 0.0 0.0 15780 948 pts/16 S+ 07:30 0:00 grep --col= or=3Dauto guix Now, let's introduce the wrong checksum again, pull, update: $ guix pull $ guix package -u guix-tools [...] I was about to say that it still doesn't work, until I thought maybe my guix in ~root/.guix-profile could also be a bit old: $ sudo guix package -I | grep guix guix 0.13.0 out /gnu/store/vir3lrwqy50pr8fkaf3m091dgbrja2n6-guix-0.= 13.0 Uh, better than 0.11, but still not the newest version. But how to get to a new one? Now, a `guix pull` for root failed with some error. So I did a=20 /home/bjoern/.config/guix/current/bin/guix pull --commit=3D That worked, it updated guix. After guix package -u, restarting the daemon again, I'm happy to see the error directly on (as unpriviledged user bjoern: "guix package -u guix-tools"): substitute: updating substitutes from 'https://mirror.hydra.gnu.org'... 100= .0% building /gnu/store/kx97aqz66lpibxjiw3g8k7xhz5mmniyp-guix-tools-0.1.0-3.295= d0a0-checkout.drv... r:sha256 hash mismatch for /gnu/store/9d0djawpyjdl6jp900agmqfxrbk2vcra-guix= -tools-0.1.0-3.295d0a0-checkout: expected hash: 11111111y50jcakricz36n1n5m99fxv8gxmk9ba3g0zfsl1a0918 actual hash: 06z0jhxpy50jcakricz36n1n5m99fxv8gxmk9ba3g0zfsl1a0918 hash mismatch for store item '/gnu/store/9d0djawpyjdl6jp900agmqfxrbk2vcra-g= uix-tools-0.1.0-3.295d0a0-checkout' build of /gnu/store/kx97aqz66lpibxjiw3g8k7xhz5mmniyp-guix-tools-0.1.0-3.295= d0a0-checkout.drv failed Thanks, closing this bug. Bj=C3=B6rn --Sig_/Kue9.7l9_GMWg+KYbLfp+nG Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlv1vYEACgkQvyhstlk+X/1nvgCgkGIt0McqJQ9jabCuv8QzRDDS EAMAoKD6MgT9a+HNEhdQ3xZybNaJQcPf =6jgt -----END PGP SIGNATURE----- --Sig_/Kue9.7l9_GMWg+KYbLfp+nG--