From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id KOMDD386TGPazgAAbAwnHQ (envelope-from ) for ; Sun, 16 Oct 2022 19:08:15 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id eGfWDX86TGNTjwAAG6o9tA (envelope-from ) for ; Sun, 16 Oct 2022 19:08:15 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id BD5F1FEB6 for ; Sun, 16 Oct 2022 19:08:14 +0200 (CEST) Received: from localhost ([::1]:34758 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ok77V-0000et-5E for larch@yhetil.org; Sun, 16 Oct 2022 13:08:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49804) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ok77L-0000eS-5U for bug-guix@gnu.org; Sun, 16 Oct 2022 13:08:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:46963) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ok77K-0000Qq-U2 for bug-guix@gnu.org; Sun, 16 Oct 2022 13:08:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ok77K-00046o-Ot for bug-guix@gnu.org; Sun, 16 Oct 2022 13:08:02 -0400 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1665940095; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post:dkim-signature; bh=Uhh6GBie0T14QcwSERuaoO8SzxBtJIwQN4b9AlVXFMo=; b=aX9+F4LzEoXcoxkPS1TwVI5ztO3vLQM7PJCXU1P7gmvAlfyiKo5GHsTS9jLGfKBNjWX4qF qZW5Xv9O1YhPnVXurOeBFwH8IhUHzndMd1GgqlYtZM/YeTKalIaqQWCScHC2yztGayZ3J+ bJ7vc9/lYDBHW9GrZux/9Y4yWpIny0bNCkgziHhrpw9b+jRbVV8bXFxLVGJ8GcAsapV4fw RuAkNomLLmEULLXABlHL0idhMgZs+1yLRQSmNpQSkpx6BxvTxXknlu/b0P5tEtjv6dK/Vi LZRzpzOFyszn9EoS6p7S4kL4FgPhpwS4OrWiKap2zIqwqNsikYUR/k1L7/LmHw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1665940095; a=rsa-sha256; cv=none; b=Bl+9Tk+JDvMd/iE2cZpF4oiPEz79cs2SBQ3vvLHXA4G46r/yZqSpCPnE158TtOEFP84QRg op5cOLitzhqTrMqYXGNDWbB0PmsT6FSixoUOStJmcHNJ+EzhCG6Q0s78171Zn9EykqJSED DCYLshpkwQqlWKDx3weNpORv24PmXy2gTkk294Ck7Sh2dyJ8+Ul+YyZC7n4egy12L0oaga N6sj662sH1lrI7ZpBn2uCntqrAMqNDazvef6KHeOSHdcI0JtynCvpHTPOY+70qGqM50iBI lCP9HyvEpFG7Vc0K+EQ57+NTASGUQKVasPA+q9cwCU/1/CNoUOlv2E6CsG9SeA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=pigOmv51; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -6.71 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=pigOmv51; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: BD5F1FEB6 X-Spam-Score: -6.71 X-Migadu-Scanner: scn0.migadu.com X-TUID: S5XJ7+AvuGhS --=-=-= 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----- --=-=-=--