From unknown Fri Aug 15 04:05:09 2025 X-Loop: help-debbugs@gnu.org Subject: bug#33419: guix package is not showing that the checksum is mismatching Resent-From: =?UTF-8?Q?Bj=C3=B6rn_?= =?UTF-8?Q?H=C3=B6fling?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 18 Nov 2018 14:05:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 33419 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 33419@debbugs.gnu.org X-Debbugs-Original-To: Received: via spool by submit@debbugs.gnu.org id=B.15425498925014 (code B ref -1); Sun, 18 Nov 2018 14:05:01 +0000 Received: (at submit) by debbugs.gnu.org; 18 Nov 2018 14:04:52 +0000 Received: from localhost ([127.0.0.1]:58388 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gONgy-0001Io-8M for submit@debbugs.gnu.org; Sun, 18 Nov 2018 09:04:52 -0500 Received: from eggs.gnu.org ([208.118.235.92]:39263) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gONgw-0001Ic-G2 for submit@debbugs.gnu.org; Sun, 18 Nov 2018 09:04:51 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gONgq-0008Q6-7j for submit@debbugs.gnu.org; Sun, 18 Nov 2018 09:04:45 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,FROM_EXCESS_BASE64 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:60895) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gONgq-0008Pu-50 for submit@debbugs.gnu.org; Sun, 18 Nov 2018 09:04:44 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48872) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gONgp-0005Pa-44 for bug-guix@gnu.org; Sun, 18 Nov 2018 09:04:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gONgl-0008NH-4v for bug-guix@gnu.org; Sun, 18 Nov 2018 09:04:43 -0500 Received: from m4s11.vlinux.de ([83.151.27.109]:50054 helo=bjoernhoefling.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gONgj-0008LG-8Z for bug-guix@gnu.org; Sun, 18 Nov 2018 09:04:38 -0500 Received: from alma-ubu (p508AC390.dip0.t-ipconnect.de [80.138.195.144]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by bjoernhoefling.de (Postfix) with ESMTPSA id A94203FEF1 for ; Sun, 18 Nov 2018 15:04:34 +0100 (CET) Date: Sun, 18 Nov 2018 15:04:33 +0100 From: =?UTF-8?Q?Bj=C3=B6rn_?= =?UTF-8?Q?H=C3=B6fling?= Message-ID: <20181118150433.63437ece@alma-ubu> X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.30; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; boundary="Sig_/BndjM=ukpB73+cHaFLEp4hV"; protocol="application/pgp-signature" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.9 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.9 (-----) --Sig_/BndjM=ukpB73+cHaFLEp4hV Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable (Note: this is on a private channel of me, but I think this is unrelated, it could happen with any Guix package). I updated a package-definition and forgot to update the Checksum. When then updating, it just fails, and the new, nice, logging-reduced UI doesn't tell: $ guix package -u guix-tools substitute: updating list of substitutes from 'https://berlin.guixsd.org'..= . 0 [..] building /gnu/store/vy3s1y7bv1w6d8gmp5b10xppy9skbgkd-guix-tools-0.1.0-2.4f1= 7b79-checkout.drv... build of /gnu/store/vy3s1y7bv1w6d8gmp5b10xppy9skbgkd-guix-tools-0.1.0-2.4f1= 7b79-checkout.drv failed View build log at '/var/log/guix/drvs/vy/3s1y7bv1w6d8gmp5b10xppy9skbgkd-gui= x-tools-0.1.0-2.4f17b79-checkout.drv.bz2'. -guix package: error: build failed: build of `/gnu/store/iwma3gq778n32mqz6y= 7277g67nvx1abb-guix-tools-0.1.0-2.4f17b79.drv' failed The log was not very helpful: Initialized empty Git repository in /gnu/store/s399g9f1k19v01rs992w5dl6aif8= 7har- =46rom https://gitlab.com/hoebjo/guix-tools * branch 4f17b792a3882f10ca9496b2d9aeb12b97ee93e2 -> FETCH_HEAD Note: checking out 'FETCH_HEAD'. You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by performing another checkout. If you want to create a new branch to retain commits you create, you may do so (now or later) by using -b with the checkout command again. Example: git checkout -b HEAD is now at 4f17b79 gdev: Add more package to environment. environment variable `PATH' unset Only when I explicitly built it, the error was shown: $ guix build guix-tools HEAD is now at 4f17b79 gdev: Add more package to environment. environment variable `PATH' unset output path `/gnu/store/s399g9f1k19v01rs992w5dl6aif87har-guix-tools-0.1.0-2= .4f17b79-checkout' should have r:sha256 hash `1j4q43hk7jrys7zsmws37g6w7babz= shfdb1s5myl7qwr3mcx6hnf', instead has `0b61q29915b4i6adidx3zixnx3m0zp58rjbf= a9byqcz13szznc52' build of /gnu/store/vy3s1y7bv1w6d8gmp5b10xppy9skbgkd-guix-tools-0.1.0-2.4f1= 7b79-checkout.drv failed View build log at '/var/log/guix/drvs/vy/3s1y7bv1w6d8gmp5b10xppy9skbgkd-gui= x-tools-0.1.0-2.4f17b79-checkout.drv.bz2'. cannot build derivation `/gnu/store/iwma3gq778n32mqz6y7277g67nvx1abb-guix-t= ools-0.1.0-2.4f17b79.drv': 1 dependencies couldn't be built guix build: error: build failed: build of `/gnu/store/iwma3gq778n32mqz6y727= 7g67nvx1abb-guix-tools-0.1.0-2.4f17b79.drv' failed Is it intended that this build-failure detail is not shown? I suppose not. At least in a log it should be shown. Bj=C3=B6rn --Sig_/BndjM=ukpB73+cHaFLEp4hV Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlvxcXEACgkQvyhstlk+X/0xfgCglBDtAPs67zLaoX09aFhiaPao miQAoKwnYjJ5l9B1WC9Gfc9ki+03MvFV =5ic6 -----END PGP SIGNATURE----- --Sig_/BndjM=ukpB73+cHaFLEp4hV-- From unknown Fri Aug 15 04:05:09 2025 X-Loop: help-debbugs@gnu.org Subject: bug#33419: guix package is not showing that the checksum is mismatching Resent-From: Leo Famulari Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 18 Nov 2018 23:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 33419 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: =?UTF-8?Q?Bj=C3=B6rn_?= =?UTF-8?Q?H=C3=B6fling?= Cc: 33419@debbugs.gnu.org Received: via spool by 33419-submit@debbugs.gnu.org id=B33419.154258199822879 (code B ref 33419); Sun, 18 Nov 2018 23:00:02 +0000 Received: (at 33419) by debbugs.gnu.org; 18 Nov 2018 22:59:58 +0000 Received: from localhost ([127.0.0.1]:59462 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gOW2o-0005wu-1O for submit@debbugs.gnu.org; Sun, 18 Nov 2018 17:59:58 -0500 Received: from wout2-smtp.messagingengine.com ([64.147.123.25]:47951) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gOW2m-0005wh-0T for 33419@debbugs.gnu.org; Sun, 18 Nov 2018 17:59:56 -0500 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id 132B7BF4; Sun, 18 Nov 2018 17:59:50 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Sun, 18 Nov 2018 17:59:50 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=mesmtp; bh=BVLOhLZ8cVOxpFabN2AiHrMu NDW0JV2blrWypRIKXdo=; b=IC+UgiZQBG+YB/hDsBAwQyG66DecHg4c828Xo/ol flhmYQAokQFXa9fO3j7M7dfOxsx7B3sTY20DQkzPTIT2n94FGi11ZSHhDQ9oU2n0 pttGP6ZhLhJ2wdlPzk31rCKSKPBQgRQedky6dsgzry6q9Taoa3DOIKxU1/pPjDx4 XpY= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=BVLOhL Z8cVOxpFabN2AiHrMuNDW0JV2blrWypRIKXdo=; b=cVzdVsWr5zRHmehJFxkOzO RgwN2TMb2N99u3w4OGIvAigzUaZFO0+Tl7/NWB4N6cjVZP70x+/NN42aJj2eiCKj D3t4lSxCr4uojzI2xTYWlv98q3dQFeMdRQaPX3silUFGfgtqSWvUmU1E6vRh00Dk TGOyeXAr0+KnwwSkYddW7OVFSSjzgodXsi30+fAzMp1INYQBQbjW0hD0YH5UQl5m 11+kdBhE1vgL6xCPEVj0LHzPsCQqx6Lhmk62IZEF73LpeyA+OFGKKlJsN5JN5BNr ODCJhZJweLqV46xavr0VPY1c9xTEbu4JBeQqBVNIomBmzMpN7tYT1cjy4gA7Ztng == X-ME-Sender: X-ME-Proxy: Received: from localhost (pool-71-105-200-72.nycmny.fios.verizon.net [71.105.200.72]) by mail.messagingengine.com (Postfix) with ESMTPA id E3CC7102EA; Sun, 18 Nov 2018 17:59:48 -0500 (EST) Date: Sun, 18 Nov 2018 17:59:48 -0500 From: Leo Famulari Message-ID: <20181118225948.GC25252@jasmine.lan> References: <20181118150433.63437ece@alma-ubu> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="32u276st3Jlj2kUU" Content-Disposition: inline In-Reply-To: <20181118150433.63437ece@alma-ubu> User-Agent: Mutt/1.10.1 (2018-07-13) X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --32u276st3Jlj2kUU Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Nov 18, 2018 at 03:04:33PM +0100, Bj=F6rn H=F6fling wrote: > I updated a package-definition and forgot to update the Checksum. When > then updating, it just fails, and the new, nice, logging-reduced UI > doesn't tell: Yes, this is a classic "gotcha" of Guix package development. In Guix, those "things" for which you provide a hash are called "fixed-output derivations": https://www.gnu.org/software/guix/manual/en/html_node/Derivations.html Unlike regular derivations, we know in advance what the output of the derivation will be. Therefore, it does not matter to us how it is built (from source, downloaded over HTTP, downloaded with Git, found in /gnu/store, etc). When building fixed-output derivations, Guix first looks in /gnu/store to see if they are already built. If so, it just uses what it finds there. So, if you give the wrong hash, as you did in your example, Guix will use that wrong source code. This failure mode is often discovered by people who used `guix download` to calculate a source hash, but then put the wrong URI in their package definition. Because the source is already in /gnu/store, the URI is not tested and their package doesn't work for anybody else. It may also happen when the source is only found on the content-addressed mirrors provided by Nix; no file-name checking is performed in that case. > $ guix package -u guix-tools > substitute: updating list of substitutes from 'https://berlin.guixsd.org'= =2E.. 0 > [..] > building /gnu/store/vy3s1y7bv1w6d8gmp5b10xppy9skbgkd-guix-tools-0.1.0-2.4= f17b79-checkout.drv... > build of /gnu/store/vy3s1y7bv1w6d8gmp5b10xppy9skbgkd-guix-tools-0.1.0-2.4= f17b79-checkout.drv failed > View build log at '/var/log/guix/drvs/vy/3s1y7bv1w6d8gmp5b10xppy9skbgkd-g= uix-tools-0.1.0-2.4f17b79-checkout.drv.bz2'. > -guix package: error: build failed: build of `/gnu/store/iwma3gq778n32mqz= 6y7277g67nvx1abb-guix-tools-0.1.0-2.4f17b79.drv' failed [...] > Only when I explicitly built it, the error was shown: >=20 > $ guix build guix-tools >=20 > HEAD is now at 4f17b79 gdev: Add more package to environment. > environment variable `PATH' unset > output path `/gnu/store/s399g9f1k19v01rs992w5dl6aif87har-guix-tools-0.1.0= -2.4f17b79-checkout' should have r:sha256 hash `1j4q43hk7jrys7zsmws37g6w7ba= bzshfdb1s5myl7qwr3mcx6hnf', instead has `0b61q29915b4i6adidx3zixnx3m0zp58rj= bfa9byqcz13szznc52' > build of /gnu/store/vy3s1y7bv1w6d8gmp5b10xppy9skbgkd-guix-tools-0.1.0-2.4= f17b79-checkout.drv failed > View build log at '/var/log/guix/drvs/vy/3s1y7bv1w6d8gmp5b10xppy9skbgkd-g= uix-tools-0.1.0-2.4f17b79-checkout.drv.bz2'. > cannot build derivation `/gnu/store/iwma3gq778n32mqz6y7277g67nvx1abb-guix= -tools-0.1.0-2.4f17b79.drv': 1 dependencies couldn't be built > guix build: error: build failed: build of `/gnu/store/iwma3gq778n32mqz6y7= 277g67nvx1abb-guix-tools-0.1.0-2.4f17b79.drv' failed >=20 > Is it intended that this build-failure detail is not shown? I suppose > not. At least in a log it should be shown. I agree that `guix package` should print the relevant error. --32u276st3Jlj2kUU Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEsFFZSPHn08G5gDigJkb6MLrKfwgFAlvx7uQACgkQJkb6MLrK fwgCTg//dlaRhZwLUhvSXVC44/s+mXOYPCLGzu/0A1DwGtnnBmUHxieArRWYnu1B TcqUvb4EJ7kawzti9j/WgjWtg9H0r6HZ0Wa6qBx587Kqs8tFLK9AxuNU2MxhEIz+ L0aETT+Zs5eqgn5nW+hQx4OGdy9J4y4RI3uOCG3mPX8W6SlPcGzUGvgNIp8zUz7D fyQKj/eEDWd6Ya2Wayz2ybhkDue9xmxlfTVv2ssKcC9c3mr7ZmYCldrbzRpNfdtt Pn0PlhOils59E4j2P66wrWWf9dc+9FrVS0+zicpOWJo4sKkUFcODOLu6g31UzJbV FH0smvIEYjIYzhAIT1XGYSSouYVY5LuG19oZKmP6Ksikasqyl2XbxBt9ndxMf/Dd 7/SRSs6qjzrKC1LbxMgHB8J3lmjHJpy6mYZyfYvzfxiBkSrky7z8tQkI/xogW2I+ 0w4fJLQkyPK8s3vLuzp6ckg/77g2aS+ZZuZdB15+W17YIK1VhSpa0+uu+EDBiTUO hx92bZw2iYQ9cjxRBzh8PtX1AuhYwq6mpcAsDIhGOjNeYMcfqblUkwiaxKRa7VLE qD80mWrJ1A4BeuKUoUd0QSdBn3Y0EBP326Bxx+Enr3r2tGgKR2SQGYHC1TARKyYF JkWJUni3NUGYXEL1Vw9QSb7iqiJby7dGD37cFHKdrlVOKACc4s0= =rYnU -----END PGP SIGNATURE----- --32u276st3Jlj2kUU-- From unknown Fri Aug 15 04:05:09 2025 X-Loop: help-debbugs@gnu.org Subject: bug#33419: guix package is not showing that the checksum is mismatching Resent-From: =?UTF-8?Q?Bj=C3=B6rn_?= =?UTF-8?Q?H=C3=B6fling?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 19 Nov 2018 09:14:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 33419 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Leo Famulari Cc: 33419@debbugs.gnu.org Received: via spool by 33419-submit@debbugs.gnu.org id=B33419.154261879722779 (code B ref 33419); Mon, 19 Nov 2018 09:14:02 +0000 Received: (at 33419) by debbugs.gnu.org; 19 Nov 2018 09:13:17 +0000 Received: from localhost ([127.0.0.1]:59655 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gOfcK-0005vL-JI for submit@debbugs.gnu.org; Mon, 19 Nov 2018 04:13:16 -0500 Received: from m4s11.vlinux.de ([83.151.27.109]:35558 helo=bjoernhoefling.de) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gOfcH-0005vB-LS for 33419@debbugs.gnu.org; Mon, 19 Nov 2018 04:13:14 -0500 Received: from alma-ubu (p508AC390.dip0.t-ipconnect.de [80.138.195.144]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by bjoernhoefling.de (Postfix) with ESMTPSA id 51C903FDEF; Mon, 19 Nov 2018 10:13:12 +0100 (CET) Date: Mon, 19 Nov 2018 10:13:10 +0100 From: =?UTF-8?Q?Bj=C3=B6rn_?= =?UTF-8?Q?H=C3=B6fling?= Message-ID: <20181119101310.1f42d7e2@alma-ubu> In-Reply-To: <20181118225948.GC25252@jasmine.lan> References: <20181118150433.63437ece@alma-ubu> <20181118225948.GC25252@jasmine.lan> X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.30; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; boundary="Sig_/5Y4po6qh6QA45auDunPIIhq"; protocol="application/pgp-signature" X-Spam-Score: 0.1 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.9 (/) --Sig_/5Y4po6qh6QA45auDunPIIhq Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi Leo, On Sun, 18 Nov 2018 17:59:48 -0500 Leo Famulari wrote: > On Sun, Nov 18, 2018 at 03:04:33PM +0100, Bj=C3=B6rn H=C3=B6fling wrote: > > I updated a package-definition and forgot to update the Checksum. > > When then updating, it just fails, and the new, nice, > > logging-reduced UI doesn't tell: =20 >=20 > Yes, this is a classic "gotcha" of Guix package development. >=20 > In Guix, those "things" for which you provide a hash are called > "fixed-output derivations": >=20 > https://www.gnu.org/software/guix/manual/en/html_node/Derivations.html >=20 > Unlike regular derivations, we know in advance what the output of the > derivation will be. Therefore, it does not matter to us how it is > built (from source, downloaded over HTTP, downloaded with Git, found > in /gnu/store, etc). >=20 > When building fixed-output derivations, Guix first looks in /gnu/store > to see if they are already built. If so, it just uses what it finds > there. >=20 > So, if you give the wrong hash, as you did in your example, Guix will > use that wrong source code. >=20 > This failure mode is often discovered by people who used `guix > download` to calculate a source hash, but then put the wrong URI in > their package definition. Because the source is already > in /gnu/store, the URI is not tested and their package doesn't work > for anybody else. >=20 > It may also happen when the source is only found on the > content-addressed mirrors provided by Nix; no file-name checking is > performed in that case. >=20 > > $ guix package -u guix-tools > > substitute: updating list of substitutes from > > 'https://berlin.guixsd.org'... 0 [..] > > building /gnu/store/vy3s1y7bv1w6d8gmp5b10xppy9skbgkd-guix-tools-0.1.0-2= .4f17b79-checkout.drv... > > build > > of /gnu/store/vy3s1y7bv1w6d8gmp5b10xppy9skbgkd-guix-tools-0.1.0-2.4f17b= 79-checkout.drv > > failed View build log at > > '/var/log/guix/drvs/vy/3s1y7bv1w6d8gmp5b10xppy9skbgkd-guix-tools-0.1.0-= 2.4f17b79-checkout.drv.bz2'. > > -guix package: error: build failed: build of > > `/gnu/store/iwma3gq778n32mqz6y7277g67nvx1abb-guix-tools-0.1.0-2.4f17b79= .drv' > > failed =20 >=20 > [...] >=20 > > Only when I explicitly built it, the error was shown: > >=20 > > $ guix build guix-tools > >=20 > > HEAD is now at 4f17b79 gdev: Add more package to environment. > > environment variable `PATH' unset > > output path > > `/gnu/store/s399g9f1k19v01rs992w5dl6aif87har-guix-tools-0.1.0-2.4f17b79= -checkout' > > should have r:sha256 hash > > `1j4q43hk7jrys7zsmws37g6w7babzshfdb1s5myl7qwr3mcx6hnf', instead has > > `0b61q29915b4i6adidx3zixnx3m0zp58rjbfa9byqcz13szznc52' build > > of /gnu/store/vy3s1y7bv1w6d8gmp5b10xppy9skbgkd-guix-tools-0.1.0-2.4f17b= 79-checkout.drv > > failed View build log at > > '/var/log/guix/drvs/vy/3s1y7bv1w6d8gmp5b10xppy9skbgkd-guix-tools-0.1.0-= 2.4f17b79-checkout.drv.bz2'. > > cannot build derivation > > `/gnu/store/iwma3gq778n32mqz6y7277g67nvx1abb-guix-tools-0.1.0-2.4f17b79= .drv': > > 1 dependencies couldn't be built guix build: error: build failed: > > build of > > `/gnu/store/iwma3gq778n32mqz6y7277g67nvx1abb-guix-tools-0.1.0-2.4f17b79= .drv' > > failed > >=20 > > 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 agree that `guix package` should print the relevant error. thank you very much for your lengthy explanations. I'm just no longer sure we talk about the same problem :-)=20 What you described is the fact that somethings wrong in the URL from beginning but someone seeded the store with 'guix download'. Or the URL 404s out but the sources are all available in the Content-Addressed-Network. Then Guix still downloads it by hash (though it is not locally searching in the store by hash, cmp this bug https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D32245). But that's not what I was referring to here: My point was: "guix build" failed, and it was failing because the hash of the (then newly downloaded) sources did not match the expected ones. And "guix build" is saying so in its output. But: A "guix package" (with -u or -i) is of cause also failing. But it hides the cause. And that is nice, the new UI is meant to hide all those details and backtraces from the user. It refers to the log for those details. But in the referenced log you cannot find the cause either. It is not fully equivalent with the "guix build" logs. Does that make sense? Bj=C3=B6rn --Sig_/5Y4po6qh6QA45auDunPIIhq Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlvyfqcACgkQvyhstlk+X/0fywCgl6Oo3VZ7Rn2DjElcAHWgpqBj 5BcAnRFtDz6cg2bErcTRDEEWR/ioC4dr =QqWW -----END PGP SIGNATURE----- --Sig_/5Y4po6qh6QA45auDunPIIhq-- From unknown Fri Aug 15 04:05:09 2025 X-Loop: help-debbugs@gnu.org Subject: bug#33419: guix package is not showing that the checksum is mismatching Resent-From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 19 Nov 2018 20:31:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 33419 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: =?UTF-8?Q?Bj=C3=B6rn_?= =?UTF-8?Q?H=C3=B6fling?= Cc: 33419@debbugs.gnu.org Received: via spool by 33419-submit@debbugs.gnu.org id=B33419.154265945721160 (code B ref 33419); Mon, 19 Nov 2018 20:31:01 +0000 Received: (at 33419) by debbugs.gnu.org; 19 Nov 2018 20:30:57 +0000 Received: from localhost ([127.0.0.1]:33041 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gOqC8-0005VC-UG for submit@debbugs.gnu.org; Mon, 19 Nov 2018 15:30:57 -0500 Received: from eggs.gnu.org ([208.118.235.92]:36026) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gOqC7-0005Up-4I for 33419@debbugs.gnu.org; Mon, 19 Nov 2018 15:30:55 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gOqC0-0008Qq-Rz for 33419@debbugs.gnu.org; Mon, 19 Nov 2018 15:30:49 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:60637) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gOqC0-0008Qm-OY; Mon, 19 Nov 2018 15:30:48 -0500 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=37342 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1gOqC0-0003a6-Gm; Mon, 19 Nov 2018 15:30:48 -0500 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) References: <20181118150433.63437ece@alma-ubu> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 29 Brumaire an 227 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Mon, 19 Nov 2018 21:30:46 +0100 In-Reply-To: <20181118150433.63437ece@alma-ubu> ("=?UTF-8?Q?Bj=C3=B6rn_?= =?UTF-8?Q?H=C3=B6fling?="'s message of "Sun, 18 Nov 2018 15:04:33 +0100") Message-ID: <87sgzwx11l.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) Hello, Bj=C3=B6rn H=C3=B6fling skribis: > $ guix package -u guix-tools > substitute: updating list of substitutes from 'https://berlin.guixsd.org'= ... 0 > [..] > building /gnu/store/vy3s1y7bv1w6d8gmp5b10xppy9skbgkd-guix-tools-0.1.0-2.4= f17b79-checkout.drv... > build of /gnu/store/vy3s1y7bv1w6d8gmp5b10xppy9skbgkd-guix-tools-0.1.0-2.4= f17b79-checkout.drv failed > View build log at '/var/log/guix/drvs/vy/3s1y7bv1w6d8gmp5b10xppy9skbgkd-g= uix-tools-0.1.0-2.4f17b79-checkout.drv.bz2'. > -guix package: error: build failed: build of `/gnu/store/iwma3gq778n32mqz= 6y7277g67nvx1abb-guix-tools-0.1.0-2.4f17b79.drv' failed [...] > $ guix build guix-tools > > HEAD is now at 4f17b79 gdev: Add more package to environment. > environment variable `PATH' unset > output path `/gnu/store/s399g9f1k19v01rs992w5dl6aif87har-guix-tools-0.1.0= -2.4f17b79-checkout' should have r:sha256 hash `1j4q43hk7jrys7zsmws37g6w7ba= bzshfdb1s5myl7qwr3mcx6hnf', instead has `0b61q29915b4i6adidx3zixnx3m0zp58rj= bfa9byqcz13szznc52' > build of /gnu/store/vy3s1y7bv1w6d8gmp5b10xppy9skbgkd-guix-tools-0.1.0-2.4= f17b79-checkout.drv failed > View build log at '/var/log/guix/drvs/vy/3s1y7bv1w6d8gmp5b10xppy9skbgkd-g= uix-tools-0.1.0-2.4f17b79-checkout.drv.bz2'. > cannot build derivation `/gnu/store/iwma3gq778n32mqz6y7277g67nvx1abb-guix= -tools-0.1.0-2.4f17b79.drv': 1 dependencies couldn't be built > guix build: error: build failed: build of `/gnu/store/iwma3gq778n32mqz6y7= 277g67nvx1abb-guix-tools-0.1.0-2.4f17b79.drv' failed > > > Is it intended that this build-failure detail is not shown? I suppose > not. At least in a log it should be shown. I suspect you=E2=80=99re running an =E2=80=9Cold=E2=80=9D guix-daemon, aren= =E2=80=99t you? 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). Thanks, Ludo=E2=80=99. From unknown Fri Aug 15 04:05:09 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: =?UTF-8?Q?Bj=C3=B6rn_?= =?UTF-8?Q?H=C3=B6fling?= Subject: bug#33419: closed (Re: bug#33419: guix package is not showing that the checksum is mismatching) Message-ID: References: <20181121211808.039a4d17@alma-ubu> <20181118150433.63437ece@alma-ubu> X-Gnu-PR-Message: they-closed 33419 X-Gnu-PR-Package: guix Reply-To: 33419@debbugs.gnu.org Date: Wed, 21 Nov 2018 20:19:01 +0000 Content-Type: multipart/mixed; boundary="----------=_1542831542-4482-1" This is a multi-part message in MIME format... ------------=_1542831542-4482-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #33419: guix package is not showing that the checksum is mismatching which was filed against the guix package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 33419@debbugs.gnu.org. --=20 33419: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D33419 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1542831542-4482-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 33419-done) by debbugs.gnu.org; 21 Nov 2018 20:18:19 +0000 Received: from localhost ([127.0.0.1]:40183 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gPYx1-00019I-5J for submit@debbugs.gnu.org; Wed, 21 Nov 2018 15:18:19 -0500 Received: from m4s11.vlinux.de ([83.151.27.109]:35656 helo=bjoernhoefling.de) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gPYwz-000199-2H for 33419-done@debbugs.gnu.org; Wed, 21 Nov 2018 15:18:17 -0500 Received: from alma-ubu (HSI-KBW-091-089-191-247.hsi2.kabel-badenwuerttemberg.de [91.89.191.247]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by bjoernhoefling.de (Postfix) with ESMTPSA id EC3FC3FFE0; Wed, 21 Nov 2018 21:18:14 +0100 (CET) Date: Wed, 21 Nov 2018 21:18:08 +0100 From: =?UTF-8?B?QmrDtnJuIEjDtmZsaW5n?= To: ludo@gnu.org (Ludovic =?UTF-8?B?Q291cnTDqHM=?=) Subject: Re: bug#33419: guix package is not showing that the checksum is mismatching Message-ID: <20181121211808.039a4d17@alma-ubu> In-Reply-To: <87sgzwx11l.fsf@gnu.org> References: <20181118150433.63437ece@alma-ubu> <87sgzwx11l.fsf@gnu.org> X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.30; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; boundary="Sig_/Kue9.7l9_GMWg+KYbLfp+nG"; protocol="application/pgp-signature" X-Spam-Score: 0.1 (/) X-Debbugs-Envelope-To: 33419-done Cc: 33419-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.9 (/) --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-- ------------=_1542831542-4482-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 18 Nov 2018 14:04:52 +0000 Received: from localhost ([127.0.0.1]:58388 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gONgy-0001Io-8M for submit@debbugs.gnu.org; Sun, 18 Nov 2018 09:04:52 -0500 Received: from eggs.gnu.org ([208.118.235.92]:39263) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gONgw-0001Ic-G2 for submit@debbugs.gnu.org; Sun, 18 Nov 2018 09:04:51 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gONgq-0008Q6-7j for submit@debbugs.gnu.org; Sun, 18 Nov 2018 09:04:45 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,FROM_EXCESS_BASE64 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:60895) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gONgq-0008Pu-50 for submit@debbugs.gnu.org; Sun, 18 Nov 2018 09:04:44 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48872) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gONgp-0005Pa-44 for bug-guix@gnu.org; Sun, 18 Nov 2018 09:04:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gONgl-0008NH-4v for bug-guix@gnu.org; Sun, 18 Nov 2018 09:04:43 -0500 Received: from m4s11.vlinux.de ([83.151.27.109]:50054 helo=bjoernhoefling.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gONgj-0008LG-8Z for bug-guix@gnu.org; Sun, 18 Nov 2018 09:04:38 -0500 Received: from alma-ubu (p508AC390.dip0.t-ipconnect.de [80.138.195.144]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by bjoernhoefling.de (Postfix) with ESMTPSA id A94203FEF1 for ; Sun, 18 Nov 2018 15:04:34 +0100 (CET) Date: Sun, 18 Nov 2018 15:04:33 +0100 From: =?UTF-8?B?QmrDtnJuIEjDtmZsaW5n?= To: Subject: guix package is not showing that the checksum is mismatching Message-ID: <20181118150433.63437ece@alma-ubu> X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.30; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; boundary="Sig_/BndjM=ukpB73+cHaFLEp4hV"; protocol="application/pgp-signature" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.9 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.9 (-----) --Sig_/BndjM=ukpB73+cHaFLEp4hV Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable (Note: this is on a private channel of me, but I think this is unrelated, it could happen with any Guix package). I updated a package-definition and forgot to update the Checksum. When then updating, it just fails, and the new, nice, logging-reduced UI doesn't tell: $ guix package -u guix-tools substitute: updating list of substitutes from 'https://berlin.guixsd.org'..= . 0 [..] building /gnu/store/vy3s1y7bv1w6d8gmp5b10xppy9skbgkd-guix-tools-0.1.0-2.4f1= 7b79-checkout.drv... build of /gnu/store/vy3s1y7bv1w6d8gmp5b10xppy9skbgkd-guix-tools-0.1.0-2.4f1= 7b79-checkout.drv failed View build log at '/var/log/guix/drvs/vy/3s1y7bv1w6d8gmp5b10xppy9skbgkd-gui= x-tools-0.1.0-2.4f17b79-checkout.drv.bz2'. -guix package: error: build failed: build of `/gnu/store/iwma3gq778n32mqz6y= 7277g67nvx1abb-guix-tools-0.1.0-2.4f17b79.drv' failed The log was not very helpful: Initialized empty Git repository in /gnu/store/s399g9f1k19v01rs992w5dl6aif8= 7har- =46rom https://gitlab.com/hoebjo/guix-tools * branch 4f17b792a3882f10ca9496b2d9aeb12b97ee93e2 -> FETCH_HEAD Note: checking out 'FETCH_HEAD'. You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by performing another checkout. If you want to create a new branch to retain commits you create, you may do so (now or later) by using -b with the checkout command again. Example: git checkout -b HEAD is now at 4f17b79 gdev: Add more package to environment. environment variable `PATH' unset Only when I explicitly built it, the error was shown: $ guix build guix-tools HEAD is now at 4f17b79 gdev: Add more package to environment. environment variable `PATH' unset output path `/gnu/store/s399g9f1k19v01rs992w5dl6aif87har-guix-tools-0.1.0-2= .4f17b79-checkout' should have r:sha256 hash `1j4q43hk7jrys7zsmws37g6w7babz= shfdb1s5myl7qwr3mcx6hnf', instead has `0b61q29915b4i6adidx3zixnx3m0zp58rjbf= a9byqcz13szznc52' build of /gnu/store/vy3s1y7bv1w6d8gmp5b10xppy9skbgkd-guix-tools-0.1.0-2.4f1= 7b79-checkout.drv failed View build log at '/var/log/guix/drvs/vy/3s1y7bv1w6d8gmp5b10xppy9skbgkd-gui= x-tools-0.1.0-2.4f17b79-checkout.drv.bz2'. cannot build derivation `/gnu/store/iwma3gq778n32mqz6y7277g67nvx1abb-guix-t= ools-0.1.0-2.4f17b79.drv': 1 dependencies couldn't be built guix build: error: build failed: build of `/gnu/store/iwma3gq778n32mqz6y727= 7g67nvx1abb-guix-tools-0.1.0-2.4f17b79.drv' failed Is it intended that this build-failure detail is not shown? I suppose not. At least in a log it should be shown. Bj=C3=B6rn --Sig_/BndjM=ukpB73+cHaFLEp4hV Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlvxcXEACgkQvyhstlk+X/0xfgCglBDtAPs67zLaoX09aFhiaPao miQAoKwnYjJ5l9B1WC9Gfc9ki+03MvFV =5ic6 -----END PGP SIGNATURE----- --Sig_/BndjM=ukpB73+cHaFLEp4hV-- ------------=_1542831542-4482-1-- From unknown Fri Aug 15 04:05:09 2025 X-Loop: help-debbugs@gnu.org Subject: bug#33419: guix package is not showing that the checksum is mismatching Resent-From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 21 Nov 2018 22:17:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 33419 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: =?UTF-8?Q?Bj=C3=B6rn_?= =?UTF-8?Q?H=C3=B6fling?= Cc: 33419-done@debbugs.gnu.org Received: via spool by 33419-done@debbugs.gnu.org id=D33419.154283858615996 (code D ref 33419); Wed, 21 Nov 2018 22:17:01 +0000 Received: (at 33419-done) by debbugs.gnu.org; 21 Nov 2018 22:16:26 +0000 Received: from localhost ([127.0.0.1]:40292 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gPanI-00049u-AF for submit@debbugs.gnu.org; Wed, 21 Nov 2018 17:16:26 -0500 Received: from eggs.gnu.org ([208.118.235.92]:45127) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gPanG-00049h-W9 for 33419-done@debbugs.gnu.org; Wed, 21 Nov 2018 17:16:23 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gPan9-0004c7-8Z for 33419-done@debbugs.gnu.org; Wed, 21 Nov 2018 17:16:17 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:58887) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gPan8-0004b7-Tz; Wed, 21 Nov 2018 17:16:15 -0500 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=52738 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1gPan7-0004qu-Ih; Wed, 21 Nov 2018 17:16:14 -0500 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) References: <20181118150433.63437ece@alma-ubu> <87sgzwx11l.fsf@gnu.org> <20181121211808.039a4d17@alma-ubu> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 1 Frimaire an 227 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Wed, 21 Nov 2018 23:16:12 +0100 In-Reply-To: <20181121211808.039a4d17@alma-ubu> ("=?UTF-8?Q?Bj=C3=B6rn_?= =?UTF-8?Q?H=C3=B6fling?="'s message of "Wed, 21 Nov 2018 21:18:08 +0100") Message-ID: <8736ruqdoz.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) Bj=C3=B6rn H=C3=B6fling skribis: > 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 >>=20 >> I suspect you=E2=80=99re running an =E2=80=9Cold=E2=80=9D guix-daemon, a= ren=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. Cool! > Long story: Pffew, quite a journey. Hopefully upgrading the daemon on foreign distro will be easier and more natural with . Thanks, Ludo=E2=80=99.