Received: (at 30952) by debbugs.gnu.org; 16 Jun 2025 11:49:45 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jun 16 07:49:45 2025 Received: from localhost ([127.0.0.1]:43596 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1uR8LQ-00089n-Re for submit <at> debbugs.gnu.org; Mon, 16 Jun 2025 07:49:45 -0400 Received: from mail-wm1-x329.google.com ([2a00:1450:4864:20::329]:46571) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <zimon.toutoune@HIDDEN>) id 1uR8LM-00088T-SH for 30952 <at> debbugs.gnu.org; Mon, 16 Jun 2025 07:49:41 -0400 Received: by mail-wm1-x329.google.com with SMTP id 5b1f17b1804b1-43ea40a6e98so54518745e9.1 for <30952 <at> debbugs.gnu.org>; Mon, 16 Jun 2025 04:49:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1750074575; x=1750679375; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=DYjCB/Zf+sEBE4zVf0AGC3aOmOfN3Cmzv6jDmdcwa7U=; b=NNL2wueA9iX3+IinStsDKAqHOSRucYxa0BQpC0jnrAiRUhmQTIb1sMYIXuSpjSItAu ZiUM9eI0V23B2v86R5bF7kfHtmh4bAVsQip58ifIWHz6Fp0XYC4sFIvh8J8r9IQ31hSs NT+tweAabFtbEp4cnAfr7VuWOq4vX8/ERwb8SEa/HMKSmmNFp+duvgkRD1zJj8xv5p9Q TxKytZhhsWwkxWzNTSU3ruMKRowbqG25v4H6PDSj3dVe2jiUguzVSN77P4xHP1oQKBqT +6979WLuEdR03fDERCnM5N+MnmPGd5FFSnh/wFCagTomazw5cMkHObGlx5PNaoCLfGer RvKg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1750074575; x=1750679375; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=DYjCB/Zf+sEBE4zVf0AGC3aOmOfN3Cmzv6jDmdcwa7U=; b=lCUGsW/ngWAvZPtwmUpsOqsVH8h7OgS/NkdcBExiPFz3k8jeQ1/Ioxtv0SlH1PShNm IZbQcjpJv1I1a0PYZZSJVfsyFHGDNJvf410ljvgFh5kko5eJrlzEgpDf0EQS2HyHPieA CwBa0xlYIhfG6j4McGVgzcwQrZqDIACBaS30eg03OoDzoJBwI+liBj0EmsOZCH4RJja1 CacHaB/ZXwewLYqLG+nExWDJzgxtqFUFXeRL4vP/HsOhNogJ6GtTqW7LTVK3OS3iPPgs Y+uuB6g1DJ+cuWP4TuprZeB9qKcfc/vbn6pLijwx7YY9y5BIIUyE9IjjTHB18BLIY2LI sgKQ== X-Gm-Message-State: AOJu0YzGlc06sMso1CpEu4/ud3jZvzPiQ1v53Hz6mzAM5KdhjJpHgVj6 LMZSFvkRC2488D9bbWw/WCQeHz+wpXlVUPWRuAMdmiji8o2Zh9/0U/pItbhcGKmI X-Gm-Gg: ASbGncvD8blFZCyz/p6bDcnRrqH4kEUWeKBVQuSOObzVKA0RqUcVlcF7A9gbFqBto+K InFMcdqoA+/8zDRupLiiPDpLoexFLH3ucL6/LzJv7s23PpSYVcNzVPRiawUs4LdcLR3eefrbqN2 TMa5r9aJD8jYZXLBY3Whk1KPHnNXduMaz9b6SS53LhOxqrxJ+9yEtE+0EY2Puvqv6zfpqSup1WE hFIiY/qCbAVwnrz1l3BaHOkLbV/bO3PQQj+7iEs8d2Edst4fRNi4841QCeE7ise8Z2R9hm5UX7i BuXFxXJQ1norrMqOUMHJ+RMuztijM+btVly0KS12T3mcndwvr9dmLtBXQ7YGPzWJIyQOWWvpEd4 ResMUMertfeT7NAtYzqzPlJc= X-Google-Smtp-Source: AGHT+IH7nirdoVkjgROS9PRxqG+IxKP44cxrkhiWBTXBzFidw2PIyVmB/7McPxgV9gYh4hJT3HJB9Q== X-Received: by 2002:a05:600c:c16a:b0:450:d614:cb with SMTP id 5b1f17b1804b1-4533cacab63mr75750085e9.33.1750074574454; Mon, 16 Jun 2025 04:49:34 -0700 (PDT) Received: from lili (nat-dsi-209.net.univ-paris-diderot.fr. [81.194.30.209]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4531ff595b7sm128473715e9.2.2025.06.16.04.49.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Jun 2025 04:49:34 -0700 (PDT) From: Simon Tournier <zimon.toutoune@HIDDEN> To: ludo@HIDDEN (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: bug#30952: Grafting sometimes include all the outputs of a package In-Reply-To: <87y3ifc4z9.fsf@HIDDEN> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?= =?utf-8?Q?s?= message of "Mon, 26 Mar 2018 15:59:38 +0200") References: <87y3ifc4z9.fsf@HIDDEN> Date: Mon, 16 Jun 2025 12:07:09 +0200 Message-ID: <87ikkw80fm.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 30952 Cc: 30952 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Hi Ludo What is the status of this old bug https://issues.guix.gnu.org/issue/30952 ? On Mon, 26 Mar 2018 at 15:59, ludo@HIDDEN (Ludovic Court=C3=A8s) wrote: > I noticed my /run/current-system would depend on two different > =E2=80=98network-manager=E2=80=99. > > Looking more closely, both are grafts, but the different is that the > first one only has the =E2=80=9Cout=E2=80=9D output while the other one h= as =E2=80=9Cout=E2=80=9D and > =E2=80=9Cdoc=E2=80=9D: > > $ guix gc --referrers "/gnu/store/ia69421l4wxny3k38zj5ql7bxsnasbfq-networ= k-manager-1.8.4.drv" > /gnu/store/68gfp5ac9rp4p9vsb0rrnvxa2fy1w4w9-profile.drv > /gnu/store/6mivj4kfa7qx1z47f3kgfxfzm4148wwi-info-dir.drv > /gnu/store/7skqpm8a0h6cvzwbj6m0zjjdgg676gm1-dbus-system-services.drv > /gnu/store/84xhi03ikjcrr6vpkbvqy12a5s9imbxx-etc-polkit-1.drv > /gnu/store/8gcq4gvghnp830kz9rs4ra9b8m8cggmn-dbus-configuration.drv > /gnu/store/c40mizbls6b91jifib2z9xhasqc2m45f-xdg-desktop-database.drv > /gnu/store/dc1vrv9jf8bf1dl94v8k04rjv69rjc6s-ca-certificate-bundle.drv > /gnu/store/hbzq0f0fmfylv380k315j56qpqj7hpbi-shepherd-networking.scm.drv > /gnu/store/jhdxpzj8f4ar8bp8pi3nvjn4fkiqg3d5-manual-database.drv > /gnu/store/q94jkh8vf6sdvx9lg9gx9z6nans85sai-fonts-dir.drv > /gnu/store/yz5mp49js753xcidl20lddl5xq2i2c9f-xdg-mime-database.drv > $ guix gc --referrers "/gnu/store/gpvbfa0bgz5v0n4lcyv0mp3mh44p8dvy-networ= k-manager-1.8.4.drv" > /gnu/store/332xw1rgi24v7vf3m8v8wgzbn34n037a-network-manager-applet-1.8.4.= drv > /gnu/store/m2j527i7mfvh6zayx3yn4jv64hqw28s0-network-manager-openvpn-1.8.0= .drv > $ head -c 50 "/gnu/store/ia69421l4wxny3k38zj5ql7bxsnasbfq-network-manager= -1.8.4.drv" > Derive([("doc","/gnu/store/53lsazvjjsf6ib0s2cgxrqn$ > $ head -c 50 "/gnu/store/gpvbfa0bgz5v0n4lcyv0mp3mh44p8dvy-network-manage= r-1.8.4.drv" > Derive([("out","/gnu/store/hsy71fkli9blh34np008j3j > > I believe this is because the optimization in commit > 482fda2729c3e76999892cb8f9a0391a7bd37119 work as expected when the graft > is used as a package input, but doesn=E2=80=99t fire when the package is = used in > a gexp for instance. > > That=E2=80=99s because =E2=80=98package-compiler=E2=80=99 calls =E2=80=98= package-derivation=E2=80=99, which > doesn=E2=80=99t specify which output(s) we=E2=80=99re interested in. It contains this unique message from 2018. :-) Cheers, simon
bug-guix@HIDDEN
:bug#30952
; Package guix
.
Full text available.Received: (at submit) by debbugs.gnu.org; 26 Mar 2018 13:59:54 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Mar 26 09:59:54 2018 Received: from localhost ([127.0.0.1]:54462 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1f0SfC-0007VM-CU for submit <at> debbugs.gnu.org; Mon, 26 Mar 2018 09:59:54 -0400 Received: from eggs.gnu.org ([208.118.235.92]:44712) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <ludo@HIDDEN>) id 1f0SfA-0007V7-Al for submit <at> debbugs.gnu.org; Mon, 26 Mar 2018 09:59:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <ludo@HIDDEN>) id 1f0Sf4-00038V-8d for submit <at> debbugs.gnu.org; Mon, 26 Mar 2018 09:59:47 -0400 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,T_RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:39888) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from <ludo@HIDDEN>) id 1f0Sf4-00038P-4x for submit <at> debbugs.gnu.org; Mon, 26 Mar 2018 09:59:46 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35679) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <ludo@HIDDEN>) id 1f0Sf2-0007K6-Rb for bug-guix@HIDDEN; Mon, 26 Mar 2018 09:59:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <ludo@HIDDEN>) id 1f0Sez-00036Y-MR for bug-guix@HIDDEN; Mon, 26 Mar 2018 09:59:44 -0400 Received: from hera.aquilenet.fr ([185.233.100.1]:45468) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from <ludo@HIDDEN>) id 1f0Sez-000369-GQ for bug-guix@HIDDEN; Mon, 26 Mar 2018 09:59:41 -0400 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 24C2912383 for <bug-guix@HIDDEN>; Mon, 26 Mar 2018 15:59:40 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id B0mWkIsk4sxl for <bug-guix@HIDDEN>; Mon, 26 Mar 2018 15:59:39 +0200 (CEST) Received: from ribbon (unknown [193.50.110.93]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 51D8312322 for <bug-guix@HIDDEN>; Mon, 26 Mar 2018 15:59:39 +0200 (CEST) From: ludo@HIDDEN (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: bug-guix@HIDDEN Subject: Grafting sometimes include all the outputs of a package X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 6 Germinal an 226 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, 26 Mar 2018 15:59:38 +0200 Message-ID: <87y3ifc4z9.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (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] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -5.0 (-----) Hello, I noticed my /run/current-system would depend on two different =E2=80=98network-manager=E2=80=99. Looking more closely, both are grafts, but the different is that the first one only has the =E2=80=9Cout=E2=80=9D output while the other one has= =E2=80=9Cout=E2=80=9D and =E2=80=9Cdoc=E2=80=9D: --8<---------------cut here---------------start------------->8--- $ guix gc --referrers "/gnu/store/ia69421l4wxny3k38zj5ql7bxsnasbfq-network-= manager-1.8.4.drv" /gnu/store/68gfp5ac9rp4p9vsb0rrnvxa2fy1w4w9-profile.drv /gnu/store/6mivj4kfa7qx1z47f3kgfxfzm4148wwi-info-dir.drv /gnu/store/7skqpm8a0h6cvzwbj6m0zjjdgg676gm1-dbus-system-services.drv /gnu/store/84xhi03ikjcrr6vpkbvqy12a5s9imbxx-etc-polkit-1.drv /gnu/store/8gcq4gvghnp830kz9rs4ra9b8m8cggmn-dbus-configuration.drv /gnu/store/c40mizbls6b91jifib2z9xhasqc2m45f-xdg-desktop-database.drv /gnu/store/dc1vrv9jf8bf1dl94v8k04rjv69rjc6s-ca-certificate-bundle.drv /gnu/store/hbzq0f0fmfylv380k315j56qpqj7hpbi-shepherd-networking.scm.drv /gnu/store/jhdxpzj8f4ar8bp8pi3nvjn4fkiqg3d5-manual-database.drv /gnu/store/q94jkh8vf6sdvx9lg9gx9z6nans85sai-fonts-dir.drv /gnu/store/yz5mp49js753xcidl20lddl5xq2i2c9f-xdg-mime-database.drv $ guix gc --referrers "/gnu/store/gpvbfa0bgz5v0n4lcyv0mp3mh44p8dvy-network-= manager-1.8.4.drv" /gnu/store/332xw1rgi24v7vf3m8v8wgzbn34n037a-network-manager-applet-1.8.4.drv /gnu/store/m2j527i7mfvh6zayx3yn4jv64hqw28s0-network-manager-openvpn-1.8.0.d= rv $ head -c 50 "/gnu/store/ia69421l4wxny3k38zj5ql7bxsnasbfq-network-manager-1= .8.4.drv" Derive([("doc","/gnu/store/53lsazvjjsf6ib0s2cgxrqn$=20 $ head -c 50 "/gnu/store/gpvbfa0bgz5v0n4lcyv0mp3mh44p8dvy-network-manager-= 1.8.4.drv" Derive([("out","/gnu/store/hsy71fkli9blh34np008j3j --8<---------------cut here---------------end--------------->8--- I believe this is because the optimization in commit 482fda2729c3e76999892cb8f9a0391a7bd37119 work as expected when the graft is used as a package input, but doesn=E2=80=99t fire when the package is us= ed in a gexp for instance. That=E2=80=99s because =E2=80=98package-compiler=E2=80=99 calls =E2=80=98pa= ckage-derivation=E2=80=99, which doesn=E2=80=99t specify which output(s) we=E2=80=99re interested in. Ludo=E2=80=99.
ludo@HIDDEN (Ludovic Courtès)
:bug-guix@HIDDEN
.
Full text available.bug-guix@HIDDEN
:bug#30952
; Package guix
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.