From unknown Mon Aug 18 09:10:34 2025 X-Loop: help-debbugs@gnu.org Subject: bug#58567: Some grafts use a different input derivation than computed by --no-grafts Resent-From: Marius Bakke Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 16 Oct 2022 17:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 58567 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 58567@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.166594003315725 (code B ref -1); Sun, 16 Oct 2022 17:08:02 +0000 Received: (at submit) by debbugs.gnu.org; 16 Oct 2022 17:07:13 +0000 Received: from localhost ([127.0.0.1]:46039 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ok76W-00045Y-Ow for submit@debbugs.gnu.org; Sun, 16 Oct 2022 13:07:13 -0400 Received: from lists.gnu.org ([209.51.188.17]:54144) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ok76V-00045R-A6 for submit@debbugs.gnu.org; Sun, 16 Oct 2022 13:07:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51154) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ok76N-0008Qf-Mk for bug-guix@gnu.org; Sun, 16 Oct 2022 13:07:09 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:53272) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ok76N-0000LG-Ez for bug-guix@gnu.org; Sun, 16 Oct 2022 13:07:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:Subject:To:From:in-reply-to: references; bh=Uhh6GBie0T14QcwSERuaoO8SzxBtJIwQN4b9AlVXFMo=; b=pigOmv51FsY/Xw aUpDa3wRYMxMdjhqrgcxcDMAXEwK9X83mG8O614dMPEEVsEOKleDNeQfx7IPYg69tMl+/4omWSfDT mjvTyGxShPKw76qDlqpz0Zp/1wLuGNfGH9i1o4JWajL7rCrmMQIjHu/FicJoNmFsntSnshKiEksBY 4z3pf+y3e9cmPEgNKHLke8J21nagHWxRnXQX+vU06vjmMME9/PICctdxxesnlXQmbjLTbUaX07Qn/ aZsAXOV/lSGs+Ub29jamFzG/dw71l3P+rykAouEJ1yFBpEEqDfRqZGSmkn0e08w6I4fhrO4CczZRg ljEBMtIIpxRNslC1VC5A==; Received: from eduroam-193-157-191-235.wlan.uio.no ([193.157.191.235]:43112 helo=localhost) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ok76M-0002eB-MC for bug-guix@gnu.org; Sun, 16 Oct 2022 13:07:03 -0400 From: Marius Bakke Date: Sun, 16 Oct 2022 19:06:53 +0200 Message-ID: <87a65vwvde.fsf@gnu.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -2.3 (--) 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: -3.3 (---) --=-=-= Content-Type: text/plain Hello, Sorry for the indescriptive title, I'm not entirely sure what is going wrong here. The problem is that for some packages, 'guix build -d foo' has a different input derivation than the one produced by 'guix build --no-grafts -d foo'. As an example, as of commit 3d8c243efb615c7e642942433be1c7badf0ae65e, 'guix build -d telegram-desktop' produces: /gnu/store/q1gx5xaszlyyr0sx663c2qkx92cqbr4r-telegram-desktop-4.2.2.drv If we open that graft derivation, we see that it depends on: /gnu/store/92bl6qmj5r0byc59fykvlfaqmw6ikvy8-telegram-desktop-4.2.2.drv However: $ guix build -d --no-grafts telegram-desktop /gnu/store/4vbj4gblmwvl645z1q3aaxfhckjqi3kg-telegram-desktop-4.2.2.drv As a result: $ guix build telegram-desktop /gnu/store/6k2rdbc2v6nqyj2g445dii8gkamnbs43-telegram-desktop-4.2.2 $ guix build --no-grafts telegram-desktop The following derivations will be built: /gnu/store/4vbj4gblmwvl645z1q3aaxfhckjqi3kg-telegram-desktop-4.2.2.drv /gnu/store/n0rdkaf91ifyvsr81hxcdlb8hg8k6rgh-fcitx-qt5-1.2.6.drv This was discovered because users reported[0] missing substitutes for telegram-desktop despite it being built by Cuirass. We can see that it has built the --no-grafts derivation: https://ci.guix.gnu.org/build/1626416/details ...which is not being requested by end-users. I have a hunch that this has to do with the grafting code affecting origins (with gexps?), but have not confirmed this. "Trivial" grafted packages such as 'perl-xml-parser' do not exhibit this problem. [0] https://logs.guix.gnu.org/guix/2022-10-16.log#152428 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIUEARYKAC0WIQRNTknu3zbaMQ2ddzTocYulkRQQdwUCY0w6Lg8cbWFyaXVzQGdu dS5vcmcACgkQ6HGLpZEUEHd61gEA7l3GDHk9Tsh9w3XjatYO1M12mcoASQVo4K/D KfnbgOwA/2AGo2Sb+CgTOshpcvYJ0Ghsq5rZsXz8/UVFKSo0X2cM =GWje -----END PGP SIGNATURE----- --=-=-=-- From unknown Mon Aug 18 09:10:34 2025 X-Loop: help-debbugs@gnu.org Subject: bug#58567: Some grafts use a different input derivation than computed by --no-grafts Resent-From: Marius Bakke Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 16 Oct 2022 17:37:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58567 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 58567@debbugs.gnu.org Received: via spool by 58567-submit@debbugs.gnu.org id=B58567.166594180618827 (code B ref 58567); Sun, 16 Oct 2022 17:37:01 +0000 Received: (at 58567) by debbugs.gnu.org; 16 Oct 2022 17:36:46 +0000 Received: from localhost ([127.0.0.1]:46078 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ok7Z8-0004tb-9T for submit@debbugs.gnu.org; Sun, 16 Oct 2022 13:36:46 -0400 Received: from eggs.gnu.org ([209.51.188.92]:41614) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ok7Z6-0004tO-Ux for 58567@debbugs.gnu.org; Sun, 16 Oct 2022 13:36:45 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:43954) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ok7Z1-0004Bw-N0 for 58567@debbugs.gnu.org; Sun, 16 Oct 2022 13:36:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=7H9vaL57MAwDchEBqc33im3yq/olEw/ec1F/u/VsX7s=; b=VRvZg/nImRAM3N7MTqYE ef8Fg0h9r6a4a5pN55fNKdGT7j2UrwLN53sumg5M3c3fqp9kD0DoMhq4PpAOQQujpZX/kUPX5ni7A aqQfjN9xI4gUPuIE2I14ZdGJErp1mfN8h27lAJTDf5AKCaS3tgxNjrBGq9T6kVrj23VVMr8n9n568 wkB0g6IizflaE6Svud+CXm6vyNscwwz6OAjdiNRREcvq3uybjrHXKxya1rdDQLqdQYzhBvmtY4RVC wuKrrlyiflZHDGsaODZp5W0SqC0egrqmsIfYQjYvr6k6W04TLOm5meMpnSJoaV0PoRn+5XUmEH2Ss l5T7neeYiuE9tQ==; Received: from eduroam-193-157-191-235.wlan.uio.no ([193.157.191.235]:34568 helo=localhost) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ok7YM-0002E2-0E for 58567@debbugs.gnu.org; Sun, 16 Oct 2022 13:36:15 -0400 From: Marius Bakke In-Reply-To: <87a65vwvde.fsf@gnu.org> References: <87a65vwvde.fsf@gnu.org> Date: Sun, 16 Oct 2022 19:35:38 +0200 Message-ID: <877d0zwu1h.fsf@gnu.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -2.3 (--) 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: -3.3 (---) --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain Marius Bakke skriver: > I have a hunch that this has to do with the grafting code affecting > origins (with gexps?), but have not confirmed this. I have now confirmed this with a small shell script: --=-=-= Content-Type: text/plain Content-Disposition: inline #!/bin/sh pkg=$1 ungrafted="$(guix build --no-grafts -d $pkg)" grafted="$(guix build -d $pkg)" if [ $grafted = $ungrafted ]; then echo $pkg has no grafts else grep "$ungrafted" "$grafted" fi --=-=-= Content-Type: text/plain It works for 'python-patiencediff', but fails for 'python-patch-ng', both of which have no dependencies other than Python; but one uses url-fetch and the other git-fetch. --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIUEARYKAC0WIQRNTknu3zbaMQ2ddzTocYulkRQQdwUCY0xA6w8cbWFyaXVzQGdu dS5vcmcACgkQ6HGLpZEUEHfzsQD+MfspzwkELQfsfC+1+elx2kba3lAmabk9PyJL qRNJvL4A/iXGI9TaRC9V7p6NIw+wxw4ZUkGFcv0WES8quMNHFJQB =+ekW -----END PGP SIGNATURE----- --==-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sun Oct 16 13:38:52 2022 Received: (at control) by debbugs.gnu.org; 16 Oct 2022 17:38:52 +0000 Received: from localhost ([127.0.0.1]:46084 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ok7b9-0004wx-Q4 for submit@debbugs.gnu.org; Sun, 16 Oct 2022 13:38:52 -0400 Received: from eggs.gnu.org ([209.51.188.92]:41236) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ok7b7-0004wj-HE for control@debbugs.gnu.org; Sun, 16 Oct 2022 13:38:50 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:35562) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ok7b2-0004Pt-BM for control@debbugs.gnu.org; Sun, 16 Oct 2022 13:38:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:Subject:To:From:in-reply-to: references; bh=Px+EvfJOuG/GH6EjfYC3CI97BM9Apr2X+y7rbejv6hw=; b=W53rhJ5xePY4HS Qfq2+i4pivmglcSWud1+uiFOVqqTPWIyO3FWBsGV0MCA6GyS7lSzUTJX9p8nd4CEzK5KMUn4nVWXY uH77vzNGjsIOtl7C4VrtFk5R26IkBynU1upoeMV3DN5oaptz0xBsd+c+Ix74RJEh5uwFkeqRnC/tc 4b/aEPBfzN9Kud87zOfdUvPhhyW0gjAnS7SG+zwNj2SMCdxviuRrV0ImW+Np1IEoM8jIKYCDNU9zA cozMz86d58eMl1COBWwZscuBdqrlFGfsYDTfLqAdxss9Euupj8i2ND5uXj8YDNyTT9StLX6xELt90 QThtDHStPoGGKWcUmiUQ==; Received: from eduroam-193-157-191-235.wlan.uio.no ([193.157.191.235]:54360 helo=localhost) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ok7b0-0002SV-Qw for control@debbugs.gnu.org; Sun, 16 Oct 2022 13:38:43 -0400 From: Marius Bakke To: control@debbugs.gnu.org Subject: important message Date: Sun, 16 Oct 2022 19:38:35 +0200 Message-ID: <874jw3wtwk.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control 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: -3.3 (---) severity 58567 important thanks From debbugs-submit-bounces@debbugs.gnu.org Sun Oct 16 13:52:23 2022 Received: (at control) by debbugs.gnu.org; 16 Oct 2022 17:52:23 +0000 Received: from localhost ([127.0.0.1]:46113 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ok7oE-0007Wz-UM for submit@debbugs.gnu.org; Sun, 16 Oct 2022 13:52:23 -0400 Received: from eggs.gnu.org ([209.51.188.92]:57586) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ok7oD-0007Wk-3F for control@debbugs.gnu.org; Sun, 16 Oct 2022 13:52:21 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:39790) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ok7o7-00067p-Ps for control@debbugs.gnu.org; Sun, 16 Oct 2022 13:52:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=uPmjuESrS59SsIaNB4s2WNKj0eJeKrHosE3gYH25UoQ=; b=m/AEkaYFrgvmEtgpKO81 MF238jlJSxlUfrFQZs/O13Rad0aqx5Yq7Gkl8Q8wQwiBOVjsNMgozRE0qhzgp09IVAIdL1H7Gnxjl FNVO6vRBOuOPrbQ8s/bCSdZKB75KiymdSaThjoowaCXbluiUJNSQ7HYIdOxuhlePk5aTwBFgX646B JhvyDK2+ENqTKkI6ETG7GAHLzBSKwdKuuyhlDHeAluh1M9HTTU6rOjA1LgeP9qxbRFrl7rgy/eUO5 KgOq8YTKfv9Bt/3Bl4GXIiXPTMfYJh7paS27fZ8+1EaPB6SXMjCHR9H104HdkPvHZ/FuxfJMXfkfW Wxd5IqNAvRHheg==; Received: from eduroam-193-157-191-235.wlan.uio.no ([193.157.191.235]:36584 helo=localhost) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ok7o7-0003iV-5N for control@debbugs.gnu.org; Sun, 16 Oct 2022 13:52:15 -0400 From: Marius Bakke To: control@debbugs.gnu.org Subject: In-Reply-To: <874jw3wtwk.fsf@gnu.org> References: <874jw3wtwk.fsf@gnu.org> Date: Sun, 16 Oct 2022 19:52:06 +0200 Message-ID: <87zgdvvepl.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.3 (/) X-Debbugs-Envelope-To: control 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.3 (-) retitle 58567 Grafting changes origins From debbugs-submit-bounces@debbugs.gnu.org Sun Oct 16 13:57:18 2022 Received: (at control) by debbugs.gnu.org; 16 Oct 2022 17:57:19 +0000 Received: from localhost ([127.0.0.1]:46120 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ok7t0-0007ee-NC for submit@debbugs.gnu.org; Sun, 16 Oct 2022 13:57:18 -0400 Received: from eggs.gnu.org ([209.51.188.92]:42778) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ok7sy-0007eP-Fk for control@debbugs.gnu.org; Sun, 16 Oct 2022 13:57:16 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:49516) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ok7st-0006kL-9T for control@debbugs.gnu.org; Sun, 16 Oct 2022 13:57:11 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=kovWlceCO+d3ihO2uysEUjQPf7qu6HRyLCJ+dL7RMEk=; b=j7to8Yu58egmHB3dIsfC 4FqZjIUVHXWEhQG8T9VOmQfLcorjgZ0uA8UOjYePor/eXkR4IbEpeyZcOanXDYFs/GHmiwI6bo0aB a9EpkAM1MZDSwOnshyj11ye4qbKVIXbv9zTRrcXRGsxc2pxyQUoNAmILfZCPMPbW7XeGlRn3RZmgd wbkYEvD/T2f/EWXiXsttYMtFmkruDLNmBkhn8SLmaG5mhwWHhYOJMVOiPxGXqcmuYkNLmeH5bdtvi 5ZKY/4Uylr/IcHln8cTHPfyONNwIxWJCyGrTjEHjhh/rPzgLNVYJoC6eJT3UE9dDAAEAgQSPrxWcl xi9eUmjoSHrd3Q==; Received: from eduroam-193-157-191-235.wlan.uio.no ([193.157.191.235]:49100 helo=localhost) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ok7ss-0004Nd-Ot for control@debbugs.gnu.org; Sun, 16 Oct 2022 13:57:11 -0400 From: Marius Bakke To: control@debbugs.gnu.org Subject: In-Reply-To: <87zgdvvepl.fsf@gnu.org> References: <874jw3wtwk.fsf@gnu.org> <87zgdvvepl.fsf@gnu.org> Date: Sun, 16 Oct 2022 19:57:03 +0200 Message-ID: <87wn8zvehc.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.3 (/) X-Debbugs-Envelope-To: control 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.3 (-) retitle 58567 Grafting affects origins thanks From unknown Mon Aug 18 09:10:34 2025 X-Loop: help-debbugs@gnu.org Subject: bug#58567: Some grafts use a different input derivation than computed by --no-grafts Resent-From: zimoun Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 17 Oct 2022 10:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58567 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Marius Bakke , 58567@debbugs.gnu.org Received: via spool by 58567-submit@debbugs.gnu.org id=B58567.16660023505677 (code B ref 58567); Mon, 17 Oct 2022 10:26:02 +0000 Received: (at 58567) by debbugs.gnu.org; 17 Oct 2022 10:25:50 +0000 Received: from localhost ([127.0.0.1]:47413 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1okNJV-0001TL-SD for submit@debbugs.gnu.org; Mon, 17 Oct 2022 06:25:50 -0400 Received: from mail-wm1-f48.google.com ([209.85.128.48]:47009) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1okNJS-0001T5-I6 for 58567@debbugs.gnu.org; Mon, 17 Oct 2022 06:25:39 -0400 Received: by mail-wm1-f48.google.com with SMTP id az22-20020a05600c601600b003c6b72797fdso9631231wmb.5 for <58567@debbugs.gnu.org>; Mon, 17 Oct 2022 03:25:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:to:from :from:to:cc:subject:date:message-id:reply-to; bh=CijMXy91zA+RcQLCCz478C8ho9w/7ctnXO3i6f2x6t8=; b=cwiU5jPaQCfyj0HlDnU6g+/Cx9Kd9z+iJ2ZpBKPlLBcrddfg+LcjEqmKt/8VL64O+m Kd8zS9f+xqNCLaDxg9ji3Oiiy/oG05/SqU8nhLgSUzIcgJN6yXCm+jjHPMHrVf4RscWE FDRfXBELK1tEvy3cOCHjT1LGEZ8jQXDqj3xTKuOoUnOTp9soOVb4WfKbCsKnXPnWGwtV 0Vp/h7PbpjCitf5FQ7QWyIf6VnMRwzfFKjgZ++Fc/qGSCuW8hGqRy/UyoB57IHP3akfW VtIn37MQkUX8/vBGFjQVrJLVE/mRwVyB4bmlTVbH6Un4UdtFm+pg9zyphmMNbqGS3OCS MU5w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:to:from :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=CijMXy91zA+RcQLCCz478C8ho9w/7ctnXO3i6f2x6t8=; b=aC9ybG20hj6GQFNd3MJ2cLVp0rvAa7cCiLwR+N6mfZPAzCgR0U4I6FRNN22ZGLVM3C sxpyq57kF8sNbYfOUBsVDDqW+W6AHSUOt7PmYxNvFXz3b4WRk2LR3RVpS8qx7r6SwgNQ DlP9DlMMc3k7Rq8eTSc3ox5Xghqif5KQ5A3bC17KeQ3FpTTh7NENl/T50CnqLM9TBRcq bJqR+j4GcmJK7z/ofMnTc9P2rv95NAY97LgrFUhwGBDfeYwAMmkhUwRcZ0aX8T15CYdW bzfoOYT/FfpZy7B90orBnfsPEFUY16A++zyDRANB6UOsKizF+IzhUhezQtTTVa/qEH7B Ntuw== X-Gm-Message-State: ACrzQf1e9VGLxN9y95ABtGkFLlSPXQ7jXPA3/FP/6RxZIVztXiCvTiUf OsKa95flOjRIlyrVbnPckLgTpg8wukc= X-Google-Smtp-Source: AMsMyM5xtxdF43Er7hBqLnbU8nf5HXiyUoTzfIxzcwqQ8Jp/MEUom13UsrpzVDw7snv6k7PKmMU5Nw== X-Received: by 2002:a1c:f008:0:b0:3b4:fd2e:3ede with SMTP id a8-20020a1cf008000000b003b4fd2e3edemr18903349wmb.133.1666002332578; Mon, 17 Oct 2022 03:25:32 -0700 (PDT) Received: from pfiuh07 ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id m35-20020a05600c3b2300b003a1980d55c4sm16232906wms.47.2022.10.17.03.25.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Oct 2022 03:25:32 -0700 (PDT) From: zimoun In-Reply-To: <877d0zwu1h.fsf@gnu.org> References: <87a65vwvde.fsf@gnu.org> <877d0zwu1h.fsf@gnu.org> Date: Mon, 17 Oct 2022 12:25:26 +0200 Message-ID: <878rlen3vt.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.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: -1.0 (-) Hi Marius, I reminds me this [1]. 1: On dim., 16 oct. 2022 at 19:35, Marius Bakke wrote: > It works for 'python-patiencediff', but fails for 'python-patch-ng', > both of which have no dependencies other than Python; but one uses > url-fetch and the other git-fetch. I guess that guix build python-patch-ng -d uses a grafted git-minimal and propagates it, whereas guix build python-patch-ng -d --no-grafts uses a non-grafted git-minimal. Well, something like that. :-) Here some investigations for what they are worth. --8<---------------cut here---------------start------------->8--- $ guix time-machine --commit=3d8c243efb615c7e642942433be1c7badf0ae65e \ -- build python-patch-ng -d /gnu/store/gy6ksy7h02qi062wwh00wqxfjzqj7vjg-python-patch-ng-1.17.4.drv --8<---------------cut here---------------end--------------->8--- where the no-grafted is, /gnu/store/xi035mv5cv8j9d2sm8hcwi293vcix28q-python-patch-ng-1.17.4.drv and the command-line non-grafted reads, --8<---------------cut here---------------start------------->8--- $ guix time-machine --commit=3d8c243efb615c7e642942433be1c7badf0ae65e \ -- build python-patch-ng -d --no-grafts /gnu/store/v4w24l63864x2304pv9a9fz3knzf1lxb-python-patch-ng-1.17.4.drv --8<---------------cut here---------------end--------------->8--- However, both derivations have the same output. --8<---------------cut here---------------start------------->8--- $ guix build \ /gnu/store/xi035mv5cv8j9d2sm8hcwi293vcix28q-python-patch-ng-1.17.4.drv \ /gnu/store/v4w24l63864x2304pv9a9fz3knzf1lxb-python-patch-ng-1.17.4.drv /gnu/store/d6nhxbayyal1nximx048bvk6zx4phcap-python-patch-ng-1.17.4 /gnu/store/d6nhxbayyal1nximx048bvk6zx4phcap-python-patch-ng-1.17.4 --8<---------------cut here---------------end--------------->8--- The difference in the derivation hash comes from the order and checkout, ,("/gnu/store/52aymnx4px77ig2irmi16nncb9d27z9y-gawk-5.1.0.drv",["out"]) ,("/gnu/store/7bcypqy80bz8ygi4880dxdj8vzcsvhdf-python-patch-ng-1.17.4-checkout.drv",["out"]) ,("/gnu/store/7p8m2v35lrjmgffv7map1cmn45vi0pkm-binutils-2.37.drv",["out"]) vs ,("/gnu/store/h5nligvx7n87jg0zxsiw536lz0q1gr3j-tar-1.34.drv",["out"]) ,("/gnu/store/ivbkmnl6md7lzf275nvqwdh6lc924hal-python-patch-ng-1.17.4-checkout.drv",["out"]) ,("/gnu/store/jj494gyb7r3jnn15jd240dn5zd6crnyk-bash-minimal-5.1.8.drv",["out"]) Well, it is the same checkout output: --8<---------------cut here---------------start------------->8--- $ guix build \ /gnu/store/7bcypqy80bz8ygi4880dxdj8vzcsvhdf-python-patch-ng-1.17.4-checkout.drv \ /gnu/store/ivbkmnl6md7lzf275nvqwdh6lc924hal-python-patch-ng-1.17.4-checkout.drv /gnu/store/jddbmm7nxhv9sl84j1jlsdy5iiwjpbiy-python-patch-ng-1.17.4-checkout /gnu/store/jddbmm7nxhv9sl84j1jlsdy5iiwjpbiy-python-patch-ng-1.17.4-checkout --8<---------------cut here---------------end--------------->8--- Again, the checkout derivation hash is different because order and an item, ,("/gnu/store/6ynvjkk6yzkpsl0x703hlvdrmp96plm1-guile-zlib-0.1.0.drv",["out"]) ,("/gnu/store/7df196dbwb4w03q8wnvfys0j5npnqbcd-git-minimal-2.38.0.drv",["out"]) ,("/gnu/store/cmiqs6lp2ss4i3f9cy5vsinh7795bxcy-gzip-1.10.drv",["out"]) vs ,("/gnu/store/ifvnf3rwyhhgjman6qn332j2sfn8hlp5-guile-json-4.7.1.drv",["out"]) ,("/gnu/store/q074d9578lbq2y9ls5xycbm0jmyr1z75-git-minimal-2.38.0.drv",["out"]) ,("/gnu/store/snyyq4ssjff5ajwswwg4absrhfv8pc4z-tar-1.34.drv",["out"]) And the Git is probably the root of the final mismatch. --8<---------------cut here---------------start------------->8--- $ guix time-machine --commit=3d8c243efb615c7e642942433be1c7badf0ae65e \ -- build git-minimal -d --no-grafts /gnu/store/7df196dbwb4w03q8wnvfys0j5npnqbcd-git-minimal-2.38.0.drv $ guix time-machine --commit=3d8c243efb615c7e642942433be1c7badf0ae65e \ -- build git-minimal -d /gnu/store/q074d9578lbq2y9ls5xycbm0jmyr1z75-git-minimal-2.38.0.drv --8<---------------cut here---------------end--------------->8--- Cheers, simon From unknown Mon Aug 18 09:10:34 2025 X-Loop: help-debbugs@gnu.org Subject: bug#58567: Some grafts use a different input derivation than computed by --no-grafts Resent-From: zimoun Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 17 Oct 2022 10:49:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58567 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Marius Bakke , 58567@debbugs.gnu.org Received: via spool by 58567-submit@debbugs.gnu.org id=B58567.16660037268045 (code B ref 58567); Mon, 17 Oct 2022 10:49:01 +0000 Received: (at 58567) by debbugs.gnu.org; 17 Oct 2022 10:48:46 +0000 Received: from localhost ([127.0.0.1]:47442 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1okNfq-00025h-0w for submit@debbugs.gnu.org; Mon, 17 Oct 2022 06:48:46 -0400 Received: from mail-wr1-f52.google.com ([209.85.221.52]:46822) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1okNfn-00025R-Jl for 58567@debbugs.gnu.org; Mon, 17 Oct 2022 06:48:45 -0400 Received: by mail-wr1-f52.google.com with SMTP id bk15so17783904wrb.13 for <58567@debbugs.gnu.org>; Mon, 17 Oct 2022 03:48:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=Gb45vTiTnfiAl/jD4+Kc+d5tHzh8vpiO1aB6P/TxJ0o=; b=V1O0EDK4sJxXvZH13aohSMWbG9gElt56ESehxRiWtKgLACmJ+IdLUn2ErCKv/gkoJG frDWQ2+J76TnHUMXjHJ6LNYOt4bmE40BBu4/64StPjHeK2QMvbO2p0LpRq018YR3MyX/ SmTQPs7HhZc38xG2RZ6Xoe0kqS3vWtAAt5Bok0nFXNpAkfhTsx8Gg+FiuLIif6G0J+94 BIBUbHQ0IBVUStSL44rJz+IZFmHk3H69psBzqDRDIgZzJDAg0GUrIDAzFM4qFXKk4HND vgj4/1t1U64muMp/dQEz13Hd6i5l333HRhEmP/qzzMDWp4vtpNDhRkqOcuW/hWcTJvfU UQ8g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:to:from:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to; bh=Gb45vTiTnfiAl/jD4+Kc+d5tHzh8vpiO1aB6P/TxJ0o=; b=5RxV3olWMTH4FW/LYrMQ/e/ySniZUU+aCzmyaHsdfW2d7TjVw7wzkgqY717fKXwUXy LmpsWJAiyP9oyuuoTuJZ1m+qZl+g4Ss5Ni65JlQgibl5Vi09iJOD7rM0bis8CyQDtDlx Vye1h6q1vr/iyTzVtUifwsu/vhWOHn9S6l0u8OUxoL/KcTrCCm/mwJ3xkkC0VUb6L68N zKdJToRZnJO6SAEN2uCqFlkhvAmjDSFRGzxGU5sDimtlNIe/35RRtXfpcTuE3qsYnfjw DT4iOLynGH2cqDZIagFMlCXvLK9iefIRv6i86vohBSTDmPVh31EXT9b9rN/+7nahkLvV 4XXw== X-Gm-Message-State: ACrzQf0hLZ5owWwQqnF0qWwqtffp2eN308TxZLGknbhVxDQzcfh5TuZJ uAWrF6NG2P76EMLS0x79Qh68ZYVMxjs= X-Google-Smtp-Source: AMsMyM4uqsYioFSsE3pUruqEl8qlNAKBpmTGo0z4MSlTj59JjPBZcnr80Z3HDZUsEsItTLz52f/vqQ== X-Received: by 2002:a5d:588c:0:b0:231:891c:6fc1 with SMTP id n12-20020a5d588c000000b00231891c6fc1mr5738308wrf.25.1666003717655; Mon, 17 Oct 2022 03:48:37 -0700 (PDT) Received: from pfiuh07 ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id g17-20020a05600c4ed100b003b4ac05a8a4sm19847363wmq.27.2022.10.17.03.48.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Oct 2022 03:48:36 -0700 (PDT) From: zimoun In-Reply-To: <87a65vwvde.fsf@gnu.org> References: <87a65vwvde.fsf@gnu.org> Date: Mon, 17 Oct 2022 12:48:34 +0200 Message-ID: <8735bmn2t9.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.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: -1.0 (-) Hi, On dim., 16 oct. 2022 at 19:06, Marius Bakke wrote: > As an example, as of commit 3d8c243efb615c7e642942433be1c7badf0ae65e, > 'guix build -d telegram-desktop' produces: > > /gnu/store/q1gx5xaszlyyr0sx663c2qkx92cqbr4r-telegram-desktop-4.2.2.drv > > If we open that graft derivation, we see that it depends on: > > /gnu/store/92bl6qmj5r0byc59fykvlfaqmw6ikvy8-telegram-desktop-4.2.2.drv > > However: > > $ guix build -d --no-grafts telegram-desktop > /gnu/store/4vbj4gblmwvl645z1q3aaxfhckjqi3kg-telegram-desktop-4.2.2.drv --8<---------------cut here---------------start------------->8--- $ guix build /gnu/store/92bl6qmj5r0byc59fykvlfaqmw6ikvy8-telegram-desktop-4= .2.2.drv /gnu/store/in8b3sycbpjmy1jk8887b1siwycmm19y-telegram-desktop-4.2.2 vs $ guix build /gnu/store/4vbj4gblmwvl645z1q3aaxfhckjqi3kg-telegram-desktop-4= .2.2.drv /gnu/store/qhd9qyma22k12gbp0f0yi1389wyiai64-telegram-desktop-4.2.2 --8<---------------cut here---------------end--------------->8--- Indeed that=E2=80=99s an issue. Examining, /gnu/store/vv1f598yc17rl08059625cw61ig0c3k0-telegram-desktop-4.2.2-builder vs /gnu/store/qjw2k2dzvw51rxa5k9mr7i41ql4gwr28-telegram-desktop-4.2.2-builder the differences are, ("fcitx-qt5" . "/gnu/store/swyjasxcnlbxavpaiaginsyzr1gdpban-fcitx-qt5-= 1.2.6") vs ("fcitx-qt5" . "/gnu/store/k184g9bj05zz0lnz7j5h1zsrjavdadwp-fcitx-qt5-= 1.2.6") and "/gnu/store/ir6lpakwwj897lbjfn4n9kmxiqxs377l-qtbase-5.15.5" vs "/gnu/store/w66rzihchl7n9d1zpr2qvgiyd58zr2pp-qtbase-5.15.5" Cheers, simon From unknown Mon Aug 18 09:10:34 2025 X-Loop: help-debbugs@gnu.org Subject: bug#58567: Some grafts use a different input derivation than computed by --no-grafts Resent-From: Marius Bakke Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 17 Oct 2022 11:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58567 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: zimoun , 58567@debbugs.gnu.org Received: via spool by 58567-submit@debbugs.gnu.org id=B58567.166600659721402 (code B ref 58567); Mon, 17 Oct 2022 11:37:02 +0000 Received: (at 58567) by debbugs.gnu.org; 17 Oct 2022 11:36:37 +0000 Received: from localhost ([127.0.0.1]:47542 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1okOQ9-0005Z7-8j for submit@debbugs.gnu.org; Mon, 17 Oct 2022 07:36:37 -0400 Received: from eggs.gnu.org ([209.51.188.92]:59072) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1okOQ4-0005Yo-Hg for 58567@debbugs.gnu.org; Mon, 17 Oct 2022 07:36:36 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:52238) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1okOPx-0007Jn-3Y; Mon, 17 Oct 2022 07:36:26 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=yfOP5k4zSdRCGR/osSg1ZzLehMEIc8hFNMdi2C0e628=; b=r30uqD37nbvb8AKkv/P6 292YM9p8cG0p5WUEv/lkCxbu0HrIElv56gMg0hv6OYkmNxVViqu/WeHiVw7lfX2m1KUd8Zc41R5Jw axEZNH2OCAZXt+L0P2KJXFmEPTiU1ze3DXp2SDYtgr1hx206n9DkS1aw4es6052X9qzAHuxl3lDZl +BlYPkAoDfBpUA3mWjNdhbuAHQ+JYuofSEGae3DYTLH/CVqJPty+oYAyg/gZ2XNczuhtwIIzQSyVk FvCi+PEdT+6qElUTWnZs95NoPmT8CurTH/Xvr13gkH/ooEzk3ZcNagMCu66MQF1Vr8/Z28HLCqnwh rKAR8tWLuCI+7A==; Received: from [84.211.203.64] (port=56024 helo=localhost) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1okOPw-0002vO-Lh; Mon, 17 Oct 2022 07:36:24 -0400 From: Marius Bakke In-Reply-To: <878rlen3vt.fsf@gmail.com> References: <87a65vwvde.fsf@gnu.org> <877d0zwu1h.fsf@gnu.org> <878rlen3vt.fsf@gmail.com> Date: Mon, 17 Oct 2022 13:36:21 +0200 Message-ID: <87sfjmvg0a.fsf@gnu.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -2.3 (--) 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: -3.3 (---) --=-=-= Content-Type: text/plain zimoun skriver: > Hi Marius, > > I reminds me this [1]. > > 1: Not sure if it's the same problem, but it is weird. On 3d8c243efb615c7: $ guix build mesa /gnu/store/ccf705wvh0w224d6nyscnwlhqr04agk7-mesa-21.3.8-bin /gnu/store/vcmxgmmhwr39gwwnz7ljkhcg1bmq2r5z-mesa-21.3.8 $ guix build --no-grafts mesa /gnu/store/grh2142hg6l5g5xav2di7rr1pwbg9m38-mesa-21.3.8-bin /gnu/store/sdzfljm6san79pqiy42yp0nzmkr2bafc-mesa-21.3.8 $ guix size icecat | grep mesa /gnu/store/sdzfljm6san79pqiy42yp0nzmkr2bafc-mesa-21.3.8 411.6 169.6 11.6% $ guix size $(guix build --no-grafts icecat) | grep mesa /gnu/store/sdzfljm6san79pqiy42yp0nzmkr2bafc-mesa-21.3.8 411.6 169.6 11.6% Should not the mesa used by icecat be the same as `guix build mesa`, just like in the ungrafted case? Their outputs differ, too: $ guix hash -r $(guix build mesa | tail -n1) 1invy9jcd1fnfx7d4asfyjqs1jn7lngjfqswak6sy9ffjbhhsg6x $ guix hash -r $(guix size icecat | grep mesa | awk '{ print $1 }') 195zk0c0h5m016hp0c1haqws47rwfj7sbpqpddmwk2iw402p3apv Diffoscope says it will take 123 days to process these, so don't hold your breath! > On dim., 16 oct. 2022 at 19:35, Marius Bakke wrote: > >> It works for 'python-patiencediff', but fails for 'python-patch-ng', >> both of which have no dependencies other than Python; but one uses >> url-fetch and the other git-fetch. > > I guess that > > guix build python-patch-ng -d > > uses a grafted git-minimal and propagates it, whereas > > guix build python-patch-ng -d --no-grafts > > uses a non-grafted git-minimal. Well, something like that. :-) Indeed. > Well, it is the same checkout output: > > --8<---------------cut here---------------start------------->8--- > $ guix build \ > /gnu/store/7bcypqy80bz8ygi4880dxdj8vzcsvhdf-python-patch-ng-1.17.4-checkout.drv \ > /gnu/store/ivbkmnl6md7lzf275nvqwdh6lc924hal-python-patch-ng-1.17.4-checkout.drv > /gnu/store/jddbmm7nxhv9sl84j1jlsdy5iiwjpbiy-python-patch-ng-1.17.4-checkout > /gnu/store/jddbmm7nxhv9sl84j1jlsdy5iiwjpbiy-python-patch-ng-1.17.4-checkout > --8<---------------cut here---------------end--------------->8--- That's guaranteed since these derivations are "fixed-output" (notice the r:sha256 property in the beginning of the file). If they had any other output the daemon would throw a failure. The bug here is that Guix treats grafted origins as different, even though their outputs are known in advance. Probably the grafting machinery should ignore fixed-output derivations somehow? --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIUEARYKAC0WIQRNTknu3zbaMQ2ddzTocYulkRQQdwUCY00+NQ8cbWFyaXVzQGdu dS5vcmcACgkQ6HGLpZEUEHfW/AD/Xknsrm7QwLPG/CEXbUjSrc/cfhDjF9UQ9E5l owKRghUA/jZsLieGY1fhUunxsWWRWZdY6UbVLlTZ7TPsrVRbWJEJ =osez -----END PGP SIGNATURE----- --=-=-=-- From unknown Mon Aug 18 09:10:34 2025 X-Loop: help-debbugs@gnu.org Subject: bug#58567: Some grafts use a different input derivation than computed by --no-grafts Resent-From: Marius Bakke Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 17 Oct 2022 11:49:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58567 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: zimoun , 58567@debbugs.gnu.org Received: via spool by 58567-submit@debbugs.gnu.org id=B58567.166600732922726 (code B ref 58567); Mon, 17 Oct 2022 11:49:01 +0000 Received: (at 58567) by debbugs.gnu.org; 17 Oct 2022 11:48:49 +0000 Received: from localhost ([127.0.0.1]:47559 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1okObx-0005uT-DL for submit@debbugs.gnu.org; Mon, 17 Oct 2022 07:48:49 -0400 Received: from eggs.gnu.org ([209.51.188.92]:44354) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1okObp-0005uA-8X for 58567@debbugs.gnu.org; Mon, 17 Oct 2022 07:48:48 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:41962) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1okObj-0000jh-Pi; Mon, 17 Oct 2022 07:48:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=LGhjK5fvPXmgFDtWGV+giRqD1zBmcqtQAydwZyB/dkA=; b=J7RKYdElV5qFatEtjqcw y48os5R0qsbbNqOLyzTVAx0H290bNSHCmyDXqxle7QizVadi3oe0pw6/7Tjz9BCrP1Qn9Es+aymSM i5UyDB9I5mLZglzBVZ+5Ii+1CfKgl79Idj2vGrIo65NzArHYcb5VzMv/RfmYsmh1iY/T5sOXVldTN 02Ov8Y3Q1FRBlQUjdYCLDls7hHIh4aTlbsoCDRzzcQuKNuxFDIHcW0vN1FlBdFUi1LcE93HlE1jes z8vDO2wwrruajcFGsahpiWRL7Q58XcJB9WlYanh95mcAMvVsMFqT+otoZ1INR3jB/GvpcmhnGr9JP c8WY7Pqg5vi/8w==; Received: from [84.211.203.64] (port=42202 helo=localhost) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1okObj-0004Cv-4o; Mon, 17 Oct 2022 07:48:35 -0400 From: Marius Bakke In-Reply-To: <87sfjmvg0a.fsf@gnu.org> References: <87a65vwvde.fsf@gnu.org> <877d0zwu1h.fsf@gnu.org> <878rlen3vt.fsf@gmail.com> <87sfjmvg0a.fsf@gnu.org> Date: Mon, 17 Oct 2022 13:48:32 +0200 Message-ID: <87mt9uvffz.fsf@gnu.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -2.3 (--) 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: -3.3 (---) --=-=-= Content-Type: text/plain Marius Bakke skriver: > zimoun skriver: > >> Hi Marius, >> >> I reminds me this [1]. >> >> 1: > > Not sure if it's the same problem, but it is weird. On 3d8c243efb615c7: > > $ guix build mesa > /gnu/store/ccf705wvh0w224d6nyscnwlhqr04agk7-mesa-21.3.8-bin > /gnu/store/vcmxgmmhwr39gwwnz7ljkhcg1bmq2r5z-mesa-21.3.8 > $ guix build --no-grafts mesa > /gnu/store/grh2142hg6l5g5xav2di7rr1pwbg9m38-mesa-21.3.8-bin > /gnu/store/sdzfljm6san79pqiy42yp0nzmkr2bafc-mesa-21.3.8 > $ guix size icecat | grep mesa > /gnu/store/sdzfljm6san79pqiy42yp0nzmkr2bafc-mesa-21.3.8 411.6 169.6 11.6% > $ guix size $(guix build --no-grafts icecat) | grep mesa > /gnu/store/sdzfljm6san79pqiy42yp0nzmkr2bafc-mesa-21.3.8 411.6 169.6 11.6% Derp, the last two should be: $ guix size $(guix build icecat) | grep mesa /gnu/store/dbrsf4wmjjxwd3cvnbfrvikilj42gamy-mesa-21.3.8 411.6 169.6 11.6% $ guix size $(guix build --no-grafts icecat) | grep mesa /gnu/store/sdzfljm6san79pqiy42yp0nzmkr2bafc-mesa-21.3.8 411.6 169.6 11.6% ('guix size' implicitly disables grafts) --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIUEARYKAC0WIQRNTknu3zbaMQ2ddzTocYulkRQQdwUCY01BEA8cbWFyaXVzQGdu dS5vcmcACgkQ6HGLpZEUEHcilAD/adulyDR1RSkXS8SCjc0Wg2U/CFhX4dK+bZo/ PVLbeOcA/1Lb6A4p7rS4DSGi1PK5M4cRjdhMDNmFlGRW2OuF4koF =XiTp -----END PGP SIGNATURE----- --=-=-=-- From unknown Mon Aug 18 09:10:34 2025 X-Loop: help-debbugs@gnu.org Subject: bug#58567: Some grafts use a different input derivation than computed by --no-grafts Resent-From: Marius Bakke Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 17 Oct 2022 11:56:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58567 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: zimoun , 58567@debbugs.gnu.org Received: via spool by 58567-submit@debbugs.gnu.org id=B58567.166600770823473 (code B ref 58567); Mon, 17 Oct 2022 11:56:01 +0000 Received: (at 58567) by debbugs.gnu.org; 17 Oct 2022 11:55:08 +0000 Received: from localhost ([127.0.0.1]:47606 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1okOi3-00066X-Vr for submit@debbugs.gnu.org; Mon, 17 Oct 2022 07:55:08 -0400 Received: from eggs.gnu.org ([209.51.188.92]:37826) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1okOi2-000666-EG for 58567@debbugs.gnu.org; Mon, 17 Oct 2022 07:55:06 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:52522) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1okOhx-0001r0-96; Mon, 17 Oct 2022 07:55:01 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=BqZv4zHtgNV1dTb13JW3eWQoii94kWmCAHPqOdIIKY8=; b=XzbYT4XOdgE7jPYxOAlZ tYEToQ7h/qvuSUi34E26PdsehMCTdkKbF+waWCKhWGibeoEU/3sMS0K0GSvwkbGLsqEfZm50Padhs kvjmExJuqN/r3DcOU6E8GNmIfXGbmFbbEJNN/IE56vdql5Q/A1O1CD1crSAzS5kXKwDOwjrwecKfS FzZQ7JfWy8cqhZjhmeo/3caMPo9STvTeUifdTbSUl8OF9euEMcz0SgB2OegvmqhPjZ51s5YdRjFJk 6MwpxwknxFCuFjeF8I+H9mB1Sm/1TjlUGm3YEJT/ZCt5UFHWSoSOtcrUSYbuNBdE+v7m0TRW/MbpM ANwQOJdpJw2j8w==; Received: from [84.211.203.64] (port=43192 helo=localhost) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1okOhw-0004yb-Jp; Mon, 17 Oct 2022 07:55:00 -0400 From: Marius Bakke In-Reply-To: <87sfjmvg0a.fsf@gnu.org> References: <87a65vwvde.fsf@gnu.org> <877d0zwu1h.fsf@gnu.org> <878rlen3vt.fsf@gmail.com> <87sfjmvg0a.fsf@gnu.org> Date: Mon, 17 Oct 2022 13:54:57 +0200 Message-ID: <87k04yvf5a.fsf@gnu.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -2.3 (--) 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: -3.3 (---) --=-=-= Content-Type: text/plain Marius Bakke skriver: > Should not the mesa used by icecat be the same as `guix build mesa`, > just like in the ungrafted case? Their outputs differ, too: > > $ guix hash -r $(guix build mesa | tail -n1) > 1invy9jcd1fnfx7d4asfyjqs1jn7lngjfqswak6sy9ffjbhhsg6x > $ guix hash -r $(guix size icecat | grep mesa | awk '{ print $1 }') > 195zk0c0h5m016hp0c1haqws47rwfj7sbpqpddmwk2iw402p3apv Errh, the difference in output is not surprising since mesa obviously contains references to itself. Different derivation, different store file name. > Diffoscope says it will take 123 days to process these, so don't hold > your breath! It did not take 123 days, but I had diffed the wrong mesa. Will update if the difference is anything other than the mesa store file name... --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIUEARYKAC0WIQRNTknu3zbaMQ2ddzTocYulkRQQdwUCY01CkQ8cbWFyaXVzQGdu dS5vcmcACgkQ6HGLpZEUEHdU+wEApYGb35sOZgeGpVqPdzuUgAVC71CYFRiFgCcs oImIU8ABAOS+pDPsW8A85Z9RGNWgyXNqmf4YIkZFAKTLLIb5b4wJ =VkR7 -----END PGP SIGNATURE----- --=-=-=-- From unknown Mon Aug 18 09:10:34 2025 X-Loop: help-debbugs@gnu.org Subject: bug#58567: Some grafts use a different input derivation than computed by --no-grafts Resent-From: zimoun Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 17 Oct 2022 13:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58567 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Marius Bakke , 58567@debbugs.gnu.org Received: via spool by 58567-submit@debbugs.gnu.org id=B58567.1666013192437 (code B ref 58567); Mon, 17 Oct 2022 13:27:02 +0000 Received: (at 58567) by debbugs.gnu.org; 17 Oct 2022 13:26:32 +0000 Received: from localhost ([127.0.0.1]:47818 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1okQ8V-00006y-Q3 for submit@debbugs.gnu.org; Mon, 17 Oct 2022 09:26:32 -0400 Received: from mail-wm1-f45.google.com ([209.85.128.45]:37643) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1okQ8U-00006i-Jn for 58567@debbugs.gnu.org; Mon, 17 Oct 2022 09:26:31 -0400 Received: by mail-wm1-f45.google.com with SMTP id c7-20020a05600c0ac700b003c6cad86f38so12723535wmr.2 for <58567@debbugs.gnu.org>; Mon, 17 Oct 2022 06:26:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:to:from :from:to:cc:subject:date:message-id:reply-to; bh=Jgj3opoCv+ifGxSTIYUPLJJfiL2mVx5oY+rnONOOaes=; b=joHjd8D1tXH2/k5DCQmIZxmSQ+WnsVVyDKBlIDpLIEnNAPGthHUhMA52T3Qq5QBXMc 2Hx3TVBTQUrRJyqpNklGK8OnvaBT7pHZ1bs44UaFQENWiZFehixyRHlrh3NYelcX7dnH Jwp/1dXABZ3c+aQMNZsJL46fx+EubWKVG4oYhNWErC3bgL1CCr3kRhECh2S3hKxhucXA O5fweVCCLm3tw4tYgqYTSsaRGGt/tlGio2n52f3Tpw8AjRtBE1VZPtNsXWFMe3qOgJfd qR1U2lVpgZWUQl9ch1yNgi0pWtp/x8QyzhXW1QJNK5ULkOTCF8IaiSq0n/qqydBhCsXl 4VRw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:to:from :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Jgj3opoCv+ifGxSTIYUPLJJfiL2mVx5oY+rnONOOaes=; b=OucYgEwmSHHUDDssel0ixd6uSMYVMQ8/2xlM1+01CVulf3a+SvdFUcihMCYEdPSlV1 cv5QG9N2l1Vg2UMHEY1W9+fPom+tt3zGAI2qGqNcFxhVAljlPY/08j8K8l09VfqejP5F yVZ/bo2AYWS26pg063YcqwULBTS8FEQn8A4iPmRREMqYsXCoWlihA5ASR+besqTRS0qH ezzx8+SZNFz7DBLiDvxm6sIqVjlZQjhEH4n3TJzwWvvVgDm3Uy1Y3fi1NvS7m1coY3ar wZl5sL8c+MHV1YggDQmyBlibshhZ5VIIv6K54nWIS/z/MEobUlwTrnePxcPqzZVcKSJ1 0SMw== X-Gm-Message-State: ACrzQf1h+3ZuzkK40mq7FdRYYYuPhUrrw/0bLsN6xb/Aqc5Av7VXXb09 xmHQSrKUwFvlGAceCCm0wOK+s/MWF7k= X-Google-Smtp-Source: AMsMyM6y7aRa1rm8pB4jRlAN12XLd4NVs7vvbUJcnjHDWx37cj6Ym55vtIF1U48x7hEnkqkeeeZlBA== X-Received: by 2002:a05:600c:1e0d:b0:3c6:e3f8:2ff with SMTP id ay13-20020a05600c1e0d00b003c6e3f802ffmr7235915wmb.33.1666013184636; Mon, 17 Oct 2022 06:26:24 -0700 (PDT) Received: from pfiuh07 ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id a13-20020a05600c348d00b003c6c76b43a1sm10284754wmq.13.2022.10.17.06.26.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Oct 2022 06:26:24 -0700 (PDT) From: zimoun In-Reply-To: <87sfjmvg0a.fsf@gnu.org> References: <87a65vwvde.fsf@gnu.org> <877d0zwu1h.fsf@gnu.org> <878rlen3vt.fsf@gmail.com> <87sfjmvg0a.fsf@gnu.org> Date: Mon, 17 Oct 2022 15:26:04 +0200 Message-ID: <87ilkilgyb.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.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: -1.0 (-) Hi Marius, On lun., 17 oct. 2022 at 13:36, Marius Bakke wrote: >> 1: > > Not sure if it's the same problem, but it is weird. About mesa, the graft machinery produces two different items with the same content. It is because multi-outputs; as pointed in [1]. > The bug here is that Guix treats grafted origins as different, even > though their outputs are known in advance. About python-patch-ng, I miss the origin of the difference, e.g., --8<---------------cut here---------------start------------->8--- diff -r --no-dereference /gnu/store/a58yf1jbryyffzs4i8zp8ywns1b5hrvs-python-patch-ng-1.17.4/lib/python3.9/site-packages/patch_ng.py /gnu/store/d6nhxbayyal1nximx048bvk6zx4phcap-python-patch-ng-1.17.4/lib/python3.9/site-packages/patch_ng.py 1c1 < #!/gnu/store/9qz2zckx1mlcg8lijl7rb4fyxygv32ml-python-wrapper-3.9.9/bin/python --- > #!/gnu/store/slsh0qjv5j68xda2bb6h8gsxwyi1j25a-python-wrapper-3.9.9/bin/python Binary files /gnu/store/a58yf1jbryyffzs4i8zp8ywns1b5hrvs-python-patch-ng-1.17.4/lib/python3.9/site-packages/__pycache__/patch_ng.cpython-39.pyc and /gnu/store/d6nhxbayyal1nximx048bvk6zx4phcap-python-patch-ng-1.17.4/lib/python3.9/site-packages/__pycache__/patch_ng.cpython-39.pyc differ --8<---------------cut here---------------end--------------->8--- and then, this python-wrapper reads, --8<---------------cut here---------------start------------->8--- $ guix gc --derivers /gnu/store/9qz2zckx1mlcg8lijl7rb4fyxygv32ml-python-wrapper-3.9.9 /gnu/store/xm26mvbldnqa081mbnnlcikn30xxvzrg-python-wrapper-3.9.9.drv $ guix gc --derivers /gnu/store/slsh0qjv5j68xda2bb6h8gsxwyi1j25a-python-wrapper-3.9.9 /gnu/store/28b2j5m498bry3x33by2y7h8ms5fsxmk-python-wrapper-3.9.9.drv /gnu/store/d78g4awha9cplcxmz7ssxdd1jgn55iym-python-wrapper-3.9.9.drv /gnu/store/l2x2bh5l37cjiifv9qws9700vb0h583j-python-wrapper-3.9.9.drv --8<---------------cut here---------------end--------------->8--- About telegram-desktop, it is probably another origin of difference. See [2]. 2: > Probably the grafting machinery should ignore fixed-output derivations > somehow? Well, I do not know what could be fixed about all these mysteries. :-) Cheers, simon From unknown Mon Aug 18 09:10:34 2025 X-Loop: help-debbugs@gnu.org Subject: bug#58567: Grafting affects origins Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 17 Oct 2022 13:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58567 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Marius Bakke Cc: 58567@debbugs.gnu.org Received: via spool by 58567-submit@debbugs.gnu.org id=B58567.16660141902201 (code B ref 58567); Mon, 17 Oct 2022 13:44:02 +0000 Received: (at 58567) by debbugs.gnu.org; 17 Oct 2022 13:43:10 +0000 Received: from localhost ([127.0.0.1]:47891 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1okQOc-0000ZP-6R for submit@debbugs.gnu.org; Mon, 17 Oct 2022 09:43:10 -0400 Received: from eggs.gnu.org ([209.51.188.92]:34772) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1okQOa-0000ZC-Kn for 58567@debbugs.gnu.org; Mon, 17 Oct 2022 09:43:08 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:58988) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1okQOV-0005t3-ES for 58567@debbugs.gnu.org; Mon, 17 Oct 2022 09:43:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=r50/TJ3FxbqKP5Vx3PMQE8nxV3qprHu5mb/NaS9mLDY=; b=AZjv0nDmdMXXrt46ks// l0YJG0YzFOGiKAvukmSE9gDWd7gwlxyFrcd4GD1w0Cf8lJ2PH52DF/mbbfG3M4DDfiVtHvMtf439K KLZsPuVUn6x6/dXKuzQn9sxmGDqTrtH31LpUyiPrPYARulNXu5Efsdn21SC430zzlYdt8UsKVpa58 cE4o8jZ7lzUCsQc/PYlKehz7XMTISnB7RAhnHF7waHcTYT6lc3TBax6i6bdFN0e/FOUP8iP3otn5z 6RWauyJEgkKzuFu5D9PtlEzmcCOIghcoKcPqYXwFJW4n8vzrtwXXXUDhgPUb+ZAapUFSfbSOtqUUf Jp0BCrBZoYvb+g==; Received: from nat-eduroam-36-gw-01-bso.bordeaux.inria.fr ([194.199.1.36]:43912 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1okQOT-0007MH-Pr; Mon, 17 Oct 2022 09:43:02 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87a65vwvde.fsf@gnu.org> Date: Mon, 17 Oct 2022 15:42:58 +0200 In-Reply-To: <87a65vwvde.fsf@gnu.org> (Marius Bakke's message of "Sun, 16 Oct 2022 19:06:53 +0200") Message-ID: <877d0ysh0d.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: -2.3 (--) 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: -3.3 (---) --=-=-= Content-Type: text/plain Hi, Marius Bakke skribis: > As an example, as of commit 3d8c243efb615c7e642942433be1c7badf0ae65e, > 'guix build -d telegram-desktop' produces: > > /gnu/store/q1gx5xaszlyyr0sx663c2qkx92cqbr4r-telegram-desktop-4.2.2.drv > > If we open that graft derivation, we see that it depends on: > > /gnu/store/92bl6qmj5r0byc59fykvlfaqmw6ikvy8-telegram-desktop-4.2.2.drv > > However: > > $ guix build -d --no-grafts telegram-desktop > /gnu/store/4vbj4gblmwvl645z1q3aaxfhckjqi3kg-telegram-desktop-4.2.2.drv The differences between these two are: --=-=-= Content-Type: text/x-patch Content-Disposition: inline --- # +++ # @@ -44,7 +44,7 @@ ("abseil-cpp" . "/gnu/store/lsrda46kb137fnwslwhg9bpqgnakasy8-abseil-cpp-20220623.1") ("alsa-lib" . "/gnu/store/nfxcjvv9c2q6in9x52kkkayqv38k00ai-alsa-lib-1.2.4") ("c++-gsl" . "/gnu/store/bpszfya32r8zj0rhaijckh5bj6fmj709-c++-gsl-3.1.0") - ("fcitx-qt5" . "/gnu/store/swyjasxcnlbxavpaiaginsyzr1gdpban-fcitx-qt5-1.2.6") + ("fcitx-qt5" . "/gnu/store/k184g9bj05zz0lnz7j5h1zsrjavdadwp-fcitx-qt5-1.2.6") ("fcitx5-qt" . "/gnu/store/cbpycbi5r23dgwl7k20g6h0kkmznz7pz-fcitx5-qt-5.0.7") ("ffmpeg" . "/gnu/store/jhd8y6a2j9jcx0icq25qdhs1m8i8qfy7-ffmpeg-4.4.2") ("glib" . "/gnu/store/96srhmpmxa20wmsck95g3iq4hb3lz4a0-glib-2.70.2") @@ -250,7 +250,7 @@ (quote glib-or-gtk-wrap) (assoc-ref glib-or-gtk:%standard-phases (quote glib-or-gtk-wrap)))) - #:qtbase "/gnu/store/ir6lpakwwj897lbjfn4n9kmxiqxs377l-qtbase-5.15.5" #:qt-wrap-excluded-outputs + #:qtbase "/gnu/store/w66rzihchl7n9d1zpr2qvgiyd58zr2pp-qtbase-5.15.5" #:qt-wrap-excluded-outputs (quote ()) #:qt-wrap-excluded-inputs --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable I believe that=E2=80=99s a bug in =E2=80=98qt-build-system=E2=80=99: like = =E2=80=98gnu-build-system=E2=80=99, it should pass #:graft? #f (patch below). Failing that, it=E2=80=99ll end up = using a different #:qtbase depending on whether or not grafts are enabled. Does that make sense? I found a similar issue in =E2=80=98python-build-system=E2=80=99 in . Thanks, Ludo=E2=80=99. --=-=-= Content-Type: text/x-patch Content-Disposition: inline diff --git a/guix/build-system/qt.scm b/guix/build-system/qt.scm index a9bf728f25..7e3a54f1f8 100644 --- a/guix/build-system/qt.scm +++ b/guix/build-system/qt.scm @@ -181,6 +181,7 @@ (define builder (mlet %store-monad ((guile (package->derivation (or guile (default-guile)) system #:graft? #f))) (gexp->derivation name builder + #:graft? #f ;consistent with 'gnu-build' #:system system #:guile-for-build guile))) @@ -269,6 +270,7 @@ (define %outputs (mlet %store-monad ((guile (package->derivation (or guile (default-guile)) system #:graft? #f))) (gexp->derivation name builder + #:graft? #f ;consistent with 'gnu-build' #:system system #:guile-for-build guile))) --=-=-=-- From unknown Mon Aug 18 09:10:34 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: Marius Bakke Subject: bug#58567: closed (Re: bug#58567: Grafting affects origins) Message-ID: References: <874jw1plpa.fsf@gnu.org> <87a65vwvde.fsf@gnu.org> X-Gnu-PR-Message: they-closed 58567 X-Gnu-PR-Package: guix Reply-To: 58567@debbugs.gnu.org Date: Tue, 18 Oct 2022 08:43:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1666082582-26579-1" This is a multi-part message in MIME format... ------------=_1666082582-26579-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #58567: Grafting affects origins 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 58567@debbugs.gnu.org. --=20 58567: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D58567 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1666082582-26579-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 58567-done) by debbugs.gnu.org; 18 Oct 2022 08:43:00 +0000 Received: from localhost ([127.0.0.1]:51105 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1okiBg-0006uT-E5 for submit@debbugs.gnu.org; Tue, 18 Oct 2022 04:43:00 -0400 Received: from eggs.gnu.org ([209.51.188.92]:49044) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1okiBe-0006uG-M8 for 58567-done@debbugs.gnu.org; Tue, 18 Oct 2022 04:42:59 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:37096) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1okiBI-0004Mo-OU for 58567-done@debbugs.gnu.org; Tue, 18 Oct 2022 04:42:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=/1CCFv7WGKxdyyXNHa4EsQKCQeMpkN+V+TrCivFzHXw=; b=Q7y66vnCBkwT/uvwjhtT uHz4Vd3FfIps9MbiEtCDTOJw0XJGkPvZSGN6XlZdBAINaKWpV2D0j6tYRfAoWExMmvdLYfOE1iKf5 IwQiyZJPeQCGUPKvLjgAMwvQYO+GQ0NzHy4g4t5OCanLyawkuaXI/PUrhbl8Z3D7wEpTutE0gwy6j Ae5z9PqXazngyIdSwMYz1DUq2tUPA57tOOSQDOX+cq16f+YtikjKq1nBV1hX6zzwfjn0NhIqcnhjL 8lg4hKK17hiucWPrODGupul3ANpGfQlwe90cTRC1ed6kGvoSvW0zCXJIkd5NA5rFt6DZr3YxpiCur eVqleOAWPRZTpA==; Received: from [193.50.110.209] (port=37204 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1okiAt-0002W5-Ga; Tue, 18 Oct 2022 04:42:25 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Marius Bakke Subject: Re: bug#58567: Grafting affects origins References: <87a65vwvde.fsf@gnu.org> <877d0ysh0d.fsf@gnu.org> Date: Tue, 18 Oct 2022 10:42:09 +0200 In-Reply-To: <877d0ysh0d.fsf@gnu.org> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?= =?utf-8?Q?s?= message of "Mon, 17 Oct 2022 15:42:58 +0200") Message-ID: <874jw1plpa.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 58567-done Cc: 58567-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: -3.3 (---) Hi, Ludovic Court=C3=A8s skribis: > I believe that=E2=80=99s a bug in =E2=80=98qt-build-system=E2=80=99: like= =E2=80=98gnu-build-system=E2=80=99, it > should pass #:graft? #f (patch below). Failing that, it=E2=80=99ll end u= p using > a different #:qtbase depending on whether or not grafts are enabled. > > Does that make sense? Pushed as dada5e86ed58c1869e30678c4d69582b1528ed6c. Thanks, Ludo=E2=80=99. ------------=_1666082582-26579-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 16 Oct 2022 17:07:13 +0000 Received: from localhost ([127.0.0.1]:46039 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ok76W-00045Y-Ow for submit@debbugs.gnu.org; Sun, 16 Oct 2022 13:07:13 -0400 Received: from lists.gnu.org ([209.51.188.17]:54144) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ok76V-00045R-A6 for submit@debbugs.gnu.org; Sun, 16 Oct 2022 13:07:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51154) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ok76N-0008Qf-Mk for bug-guix@gnu.org; Sun, 16 Oct 2022 13:07:09 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:53272) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ok76N-0000LG-Ez for bug-guix@gnu.org; Sun, 16 Oct 2022 13:07:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:Subject:To:From:in-reply-to: references; bh=Uhh6GBie0T14QcwSERuaoO8SzxBtJIwQN4b9AlVXFMo=; b=pigOmv51FsY/Xw aUpDa3wRYMxMdjhqrgcxcDMAXEwK9X83mG8O614dMPEEVsEOKleDNeQfx7IPYg69tMl+/4omWSfDT mjvTyGxShPKw76qDlqpz0Zp/1wLuGNfGH9i1o4JWajL7rCrmMQIjHu/FicJoNmFsntSnshKiEksBY 4z3pf+y3e9cmPEgNKHLke8J21nagHWxRnXQX+vU06vjmMME9/PICctdxxesnlXQmbjLTbUaX07Qn/ aZsAXOV/lSGs+Ub29jamFzG/dw71l3P+rykAouEJ1yFBpEEqDfRqZGSmkn0e08w6I4fhrO4CczZRg ljEBMtIIpxRNslC1VC5A==; Received: from eduroam-193-157-191-235.wlan.uio.no ([193.157.191.235]:43112 helo=localhost) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ok76M-0002eB-MC for bug-guix@gnu.org; Sun, 16 Oct 2022 13:07:03 -0400 From: Marius Bakke To: bug-guix@gnu.org Subject: Some grafts use a different input derivation than computed by --no-grafts Date: Sun, 16 Oct 2022 19:06:53 +0200 Message-ID: <87a65vwvde.fsf@gnu.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -2.3 (--) 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: -3.3 (---) --=-=-= Content-Type: text/plain Hello, Sorry for the indescriptive title, I'm not entirely sure what is going wrong here. The problem is that for some packages, 'guix build -d foo' has a different input derivation than the one produced by 'guix build --no-grafts -d foo'. As an example, as of commit 3d8c243efb615c7e642942433be1c7badf0ae65e, 'guix build -d telegram-desktop' produces: /gnu/store/q1gx5xaszlyyr0sx663c2qkx92cqbr4r-telegram-desktop-4.2.2.drv If we open that graft derivation, we see that it depends on: /gnu/store/92bl6qmj5r0byc59fykvlfaqmw6ikvy8-telegram-desktop-4.2.2.drv However: $ guix build -d --no-grafts telegram-desktop /gnu/store/4vbj4gblmwvl645z1q3aaxfhckjqi3kg-telegram-desktop-4.2.2.drv As a result: $ guix build telegram-desktop /gnu/store/6k2rdbc2v6nqyj2g445dii8gkamnbs43-telegram-desktop-4.2.2 $ guix build --no-grafts telegram-desktop The following derivations will be built: /gnu/store/4vbj4gblmwvl645z1q3aaxfhckjqi3kg-telegram-desktop-4.2.2.drv /gnu/store/n0rdkaf91ifyvsr81hxcdlb8hg8k6rgh-fcitx-qt5-1.2.6.drv This was discovered because users reported[0] missing substitutes for telegram-desktop despite it being built by Cuirass. We can see that it has built the --no-grafts derivation: https://ci.guix.gnu.org/build/1626416/details ...which is not being requested by end-users. I have a hunch that this has to do with the grafting code affecting origins (with gexps?), but have not confirmed this. "Trivial" grafted packages such as 'perl-xml-parser' do not exhibit this problem. [0] https://logs.guix.gnu.org/guix/2022-10-16.log#152428 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIUEARYKAC0WIQRNTknu3zbaMQ2ddzTocYulkRQQdwUCY0w6Lg8cbWFyaXVzQGdu dS5vcmcACgkQ6HGLpZEUEHd61gEA7l3GDHk9Tsh9w3XjatYO1M12mcoASQVo4K/D KfnbgOwA/2AGo2Sb+CgTOshpcvYJ0Ghsq5rZsXz8/UVFKSo0X2cM =GWje -----END PGP SIGNATURE----- --=-=-=-- ------------=_1666082582-26579-1--