X-Loop: help-debbugs@HIDDEN Subject: bug#30952: Grafting sometimes include all the outputs of a package Resent-From: ludo@HIDDEN (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-guix@HIDDEN Resent-Date: Mon, 26 Mar 2018 14:00:02 +0000 Resent-Message-ID: <handler.30952.B.152207279428857 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 30952 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 30952 <at> debbugs.gnu.org X-Debbugs-Original-To: bug-guix@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.152207279428857 (code B ref -1); Mon, 26 Mar 2018 14:00:02 +0000 Received: (at submit) by debbugs.gnu.org; 26 Mar 2018 13:59:54 +0000 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?=) 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-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.
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: ludo@HIDDEN (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#30952: Acknowledgement (Grafting sometimes include all the outputs of a package) Message-ID: <handler.30952.B.152207279428857.ack <at> debbugs.gnu.org> References: <87y3ifc4z9.fsf@HIDDEN> X-Gnu-PR-Message: ack 30952 X-Gnu-PR-Package: guix Reply-To: 30952 <at> debbugs.gnu.org Date: Mon, 26 Mar 2018 14:00:02 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-guix@HIDDEN If you wish to submit further information on this problem, please send it to 30952 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 30952: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D30952 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.