X-Loop: help-debbugs@HIDDEN Subject: bug#71332: guix gc delete order Resent-From: Nicolas Graves <ngraves@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-guix@HIDDEN Resent-Date: Mon, 03 Jun 2024 09:14:02 +0000 Resent-Message-ID: <handler.71332.B.171740601821974 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 71332 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 71332 <at> debbugs.gnu.org X-Debbugs-Original-To: bug-guix@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.171740601821974 (code B ref -1); Mon, 03 Jun 2024 09:14:02 +0000 Received: (at submit) by debbugs.gnu.org; 3 Jun 2024 09:13:38 +0000 Received: from localhost ([127.0.0.1]:58995 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1sE3kq-0005i6-BW for submit <at> debbugs.gnu.org; Mon, 03 Jun 2024 05:13:38 -0400 Received: from lists.gnu.org ([209.51.188.17]:48214) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <ngraves@HIDDEN>) id 1sE3kl-0005hw-Us for submit <at> debbugs.gnu.org; Mon, 03 Jun 2024 05:13:23 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <ngraves@HIDDEN>) id 1sE3iR-0006cf-Jo for bug-guix@HIDDEN; Mon, 03 Jun 2024 05:10:55 -0400 Received: from 7.mo560.mail-out.ovh.net ([188.165.48.182]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <ngraves@HIDDEN>) id 1sE3iP-0006wj-ET for bug-guix@HIDDEN; Mon, 03 Jun 2024 05:10:55 -0400 Received: from director8.ghost.mail-out.ovh.net (unknown [10.109.140.39]) by mo560.mail-out.ovh.net (Postfix) with ESMTP id 4Vt7HK5GFyz1TMJ for <bug-guix@HIDDEN>; Mon, 3 Jun 2024 09:10:37 +0000 (UTC) Received: from ghost-submission-6684bf9d7b-h9hqr (unknown [10.111.174.115]) by director8.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 9A9A91FE6E for <bug-guix@HIDDEN>; Mon, 3 Jun 2024 09:10:36 +0000 (UTC) Received: from ngraves.fr ([37.59.142.106]) by ghost-submission-6684bf9d7b-h9hqr with ESMTPSA id O9HbF4yIXWaAPwAAv5/j4g (envelope-from <ngraves@HIDDEN>) for <bug-guix@HIDDEN>; Mon, 03 Jun 2024 09:10:36 +0000 Authentication-Results: garm.ovh; auth=pass (GARM-106R00623bccd70-bd65-4896-9155-644bf9552dea, 9A7BB71699EF2F67F53F4148680474B903D0314E) smtp.auth=ngraves@HIDDEN X-OVh-ClientIp: 80.215.130.16 From: Nicolas Graves <ngraves@HIDDEN> Date: Mon, 03 Jun 2024 11:10:34 +0200 Message-ID: <87bk4i5r3p.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain X-Ovh-Tracer-Id: 9839520762669294256 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvledrvdelvddguddvucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvffufffkgggtsehttdertddttddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepueejleeileejfffhleetjedtleejheevudffleevgfdufeekhefgvddvveegveefnecukfhppeduvdejrddtrddtrddupdektddrvdduhedrudeftddrudeipdefjedrheelrddugedvrddutdeinecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpehnghhrrghvvghssehnghhrrghvvghsrdhfrhdpnhgspghrtghpthhtohepuddprhgtphhtthhopegsuhhgqdhguhhigiesghhnuhdrohhrghdpoffvtefjohhsthepmhhoheeitddpmhhouggvpehsmhhtphhouhht Received-SPF: pass client-ip=188.165.48.182; envelope-from=ngraves@HIDDEN; helo=7.mo560.mail-out.ovh.net X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) 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: -0.0 (/) Hi Guix, I feel the way `guix gc` choose its files to delete quite inconvenient. For instance, when developping big programs locally, I often find myself missing space, but when I will `guix gc -C30G`, instead of the expected unused items (not present in any profile, just built but discarded as the package I'm building is updated for instance), I will instead loose most of the native-inputs that are needed to build my `guix home` and `guix system`. This make me stuck in an endless loop of removing / redownloading over and over the same native-inputs, while my intention is first to remove files that aren't these native-inputs. I haven't delved into `guix gc` yet, how hard is that issue to solve? -- Best regards, Nicolas Graves
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: Nicolas Graves <ngraves@HIDDEN> Subject: bug#71332: Acknowledgement (guix gc delete order) Message-ID: <handler.71332.B.171740601821974.ack <at> debbugs.gnu.org> References: <87bk4i5r3p.fsf@HIDDEN> X-Gnu-PR-Message: ack 71332 X-Gnu-PR-Package: guix Reply-To: 71332 <at> debbugs.gnu.org Date: Mon, 03 Jun 2024 09:14: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 71332 <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 71332: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D71332 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
X-Loop: help-debbugs@HIDDEN Subject: bug#71332: guix gc delete order Resent-From: Guillaume Le Vaillant <glv@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-guix@HIDDEN Resent-Date: Mon, 03 Jun 2024 09:31:02 +0000 Resent-Message-ID: <handler.71332.B71332.171740705923614 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 71332 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Nicolas Graves <ngraves@HIDDEN> Cc: 71332 <at> debbugs.gnu.org Received: via spool by 71332-submit <at> debbugs.gnu.org id=B71332.171740705923614 (code B ref 71332); Mon, 03 Jun 2024 09:31:02 +0000 Received: (at 71332) by debbugs.gnu.org; 3 Jun 2024 09:30:59 +0000 Received: from localhost ([127.0.0.1]:59016 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1sE41r-00068o-53 for submit <at> debbugs.gnu.org; Mon, 03 Jun 2024 05:30:59 -0400 Received: from mout02.posteo.de ([185.67.36.66]:38829) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <glv@HIDDEN>) id 1sE41n-00068a-NJ for 71332 <at> debbugs.gnu.org; Mon, 03 Jun 2024 05:30:57 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 7F582240101 for <71332 <at> debbugs.gnu.org>; Mon, 3 Jun 2024 11:30:36 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1717407036; bh=8c3Q8sJnl96gh9eX6nVehYlI9DI2ut6iMU0diImLj40=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=OLrxY1DFrAgGCe4CWkX7gvAX1tHea0mxgwZtB7KBmUzv4M+AxVHEqMXIxZOwe1Ia3 P07Wm+TnSC/SoOCLNtNlxiT9N4/TBtRgalzVNKRmbODz0PDFy1I0zgY6IyUlL+A8v1 lxYGaAzy8OG47URq9TakwvatGZ+3URuUwuK7IDZ1y4hsnBDZgUlosLGyCKkywK85jS p+p8L2MpTZJkNkAKWwKwO8ralAuMtC01LadWXAjwaeUG8ZpP06n8wt4uos/vnU8OZA M7sHsgqcoXLVlYY5XgiW+o3SmN6a1EwoO0ZYk1VpdSx7OxAAyM30t3YsKzf+VOiM/S NvG+AwZ0Sy65Q== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Vt7kM4s81z6tx0; Mon, 3 Jun 2024 11:30:35 +0200 (CEST) From: Guillaume Le Vaillant <glv@HIDDEN> In-Reply-To: <87bk4i5r3p.fsf@HIDDEN> (Nicolas Graves via Bug reports for's message of "Mon, 03 Jun 2024 11:10:34 +0200") References: <87bk4i5r3p.fsf@HIDDEN> Date: Mon, 03 Jun 2024 09:30:34 +0000 Message-ID: <87plsygypx.fsf@kitej> 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 <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: -3.3 (---) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Nicolas Graves via Bug reports for GNU Guix <bug-guix@HIDDEN> skribis: > Hi Guix, > > I feel the way `guix gc` choose its files to delete quite > inconvenient. For instance, when developping big programs locally, I > often find myself missing space, but when I will `guix gc -C30G`, > instead of the expected unused items (not present in any profile, just > built but discarded as the package I'm building is updated for > instance), I will instead loose most of the native-inputs that are > needed to build my `guix home` and `guix system`. > > This make me stuck in an endless loop of removing / redownloading over > and over the same native-inputs, while my intention is first to remove > files that aren't these native-inputs. > > I haven't delved into `guix gc` yet, how hard is that issue to solve?=20 Hi. Is the guix-daemon of your system started with the "--gc-keep-derivations=3Dyes" and "--gc-keep-outputs=3Dyes" options? It should prevent "guix gc" from deleting the build dependencies of live profiles. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIUEAREKAC0WIQTLxZxm7Ce5cXlAaz5r6CCK3yH+PwUCZl2NOg8cZ2x2QHBvc3Rl by5uZXQACgkQa+ggit8h/j/R2gD/TCSZwLLuoAE1GhuClOQaIZF0YAvt3OfSdzpC p+Ur918A/0rkb6aDYjsQZ6nn0vCt1HwCis4eJzjO8GQDh/dAJSY3 =ml36 -----END PGP SIGNATURE----- --=-=-=--
X-Loop: help-debbugs@HIDDEN Subject: bug#71332: guix gc delete order Resent-From: Nicolas Graves <ngraves@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-guix@HIDDEN Resent-Date: Mon, 03 Jun 2024 13:32:02 +0000 Resent-Message-ID: <handler.71332.B71332.17174214983748 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 71332 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Guillaume Le Vaillant <glv@HIDDEN> Cc: Andrew Tropin <andrew@HIDDEN>, 71332 <at> debbugs.gnu.org Received: via spool by 71332-submit <at> debbugs.gnu.org id=B71332.17174214983748 (code B ref 71332); Mon, 03 Jun 2024 13:32:02 +0000 Received: (at 71332) by debbugs.gnu.org; 3 Jun 2024 13:31:38 +0000 Received: from localhost ([127.0.0.1]:40148 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1sE7mk-0000yM-9b for submit <at> debbugs.gnu.org; Mon, 03 Jun 2024 09:31:38 -0400 Received: from 3.mo561.mail-out.ovh.net ([46.105.44.175]:55035) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <ngraves@HIDDEN>) id 1sE7mh-0000y9-Jq for 71332 <at> debbugs.gnu.org; Mon, 03 Jun 2024 09:31:36 -0400 Received: from director1.ghost.mail-out.ovh.net (unknown [10.109.140.166]) by mo561.mail-out.ovh.net (Postfix) with ESMTP id 4VtDyN0R5lz1F3L for <71332 <at> debbugs.gnu.org>; Mon, 3 Jun 2024 13:26:20 +0000 (UTC) Received: from ghost-submission-6684bf9d7b-rtfkp (unknown [10.110.168.168]) by director1.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 686101FD3A; Mon, 3 Jun 2024 13:26:19 +0000 (UTC) Received: from ngraves.fr ([37.59.142.108]) by ghost-submission-6684bf9d7b-rtfkp with ESMTPSA id El6IFXvEXWYLHAAA+ZYi1A (envelope-from <ngraves@HIDDEN>); Mon, 03 Jun 2024 13:26:19 +0000 Authentication-Results: garm.ovh; auth=pass (GARM-108S0025585e3db-ebd8-44bf-b47e-cf4f9cb0e80c, 9A7BB71699EF2F67F53F4148680474B903D0314E) smtp.auth=ngraves@HIDDEN X-OVh-ClientIp: 80.215.130.16 From: Nicolas Graves <ngraves@HIDDEN> In-Reply-To: <87plsygypx.fsf@kitej> References: <87bk4i5r3p.fsf@HIDDEN> <87plsygypx.fsf@kitej> Date: Mon, 03 Jun 2024 15:26:16 +0200 Message-ID: <87ttiauphj.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain X-Ovh-Tracer-Id: 14157909854406173275 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: -100 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvledrvdelvddgieegucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhephffvvefujghffffkgggtsehttdertddttddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepveekleeujedthefgffekleekhffhffetgfdvheekleeuhfehueeljedtjefhvdfgnecukfhppeduvdejrddtrddtrddupdektddrvdduhedrudeftddrudeipdefjedrheelrddugedvrddutdeknecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpehnghhrrghvvghssehnghhrrghvvghsrdhfrhdpnhgspghrtghpthhtohepuddprhgtphhtthhopeejudeffedvseguvggssghughhsrdhgnhhurdhorhhgpdfovfetjfhoshhtpehmohehiedupdhmohguvgepshhmthhpohhuth X-Spam-Score: 0.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: -1.0 (-) On 2024-06-03 09:30, Guillaume Le Vaillant wrote: > Hi. > Is the guix-daemon of your system started with the > "--gc-keep-derivations=yes" and "--gc-keep-outputs=yes" options? > It should prevent "guix gc" from deleting the build dependencies of live > profiles. Probably not if they have to be added through the extra-options field of <guix-configuration> record. I'll try that, thanks! -- Best regards, Nicolas Graves
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.