GNU logs - #54495, boring messages


Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#54495: unexpected download after gc
Resent-From: zimoun <zimon.toutoune@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Mon, 21 Mar 2022 13:35:01 +0000
Resent-Message-ID: <handler.54495.B.164786969811705 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 54495
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: 54495 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-guix@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.164786969811705
          (code B ref -1); Mon, 21 Mar 2022 13:35:01 +0000
Received: (at submit) by debbugs.gnu.org; 21 Mar 2022 13:34:58 +0000
Received: from localhost ([127.0.0.1]:36167 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nWIBW-00032j-JI
	for submit <at> debbugs.gnu.org; Mon, 21 Mar 2022 09:34:58 -0400
Received: from lists.gnu.org ([209.51.188.17]:53522)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <zimon.toutoune@HIDDEN>) id 1nWIBU-00032a-Mb
 for submit <at> debbugs.gnu.org; Mon, 21 Mar 2022 09:34:56 -0400
Received: from eggs.gnu.org ([209.51.188.92]:39334)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <zimon.toutoune@HIDDEN>)
 id 1nWIBU-0004B7-Fo
 for bug-guix@HIDDEN; Mon, 21 Mar 2022 09:34:56 -0400
Received: from [2a00:1450:4864:20::429] (port=33684
 helo=mail-wr1-x429.google.com)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <zimon.toutoune@HIDDEN>)
 id 1nWIBT-0002T5-0K
 for bug-guix@HIDDEN; Mon, 21 Mar 2022 09:34:56 -0400
Received: by mail-wr1-x429.google.com with SMTP id q8so9361591wrc.0
 for <bug-guix@HIDDEN>; Mon, 21 Mar 2022 06:34:54 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=from:to:subject:date:message-id:mime-version;
 bh=eUPdnXI94271W2Xy+b4p0WQDRdkrDpaqGrjQPkeQFSE=;
 b=IHYa3b/pAiqpGCSJMYD5rc2tpBOURPk51P9N8gj4P3wiuKIfph1RFEmHuz5cNKncBF
 GMdcl/CLIDRpdclsk/E95xsklO8KKIlfdDcr/hcLrNdQDnVI9P6uhDwXbmM0PowktMXR
 aUJmvN44gISNXjY9IGNC3KaaN+EVjQs4eYIf5c4miJN+1x5r1mjj0pU+BomLp5heAiyU
 WmBbsK+cdkiVdbOn+PVk0PcGDMeOcgCrqnlKQSrtL391c0JDL99wGfoeAqPhb7iGItQM
 MaHlwXTSxwAGgkvkt5naFzYy5fE8+m+xyRkgoWJj22NkmwR3x9lPwwuWof+/j/8FJdD3
 usEQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=x-gm-message-state:from:to:subject:date:message-id:mime-version;
 bh=eUPdnXI94271W2Xy+b4p0WQDRdkrDpaqGrjQPkeQFSE=;
 b=HhbYbFo52+0qkeDz2eMeV4A3/XFFJZPSDF7rXXNvk+xxy+qbGFX7SodT+B2POuZeQD
 k+XUQPZFp5Db5CM1lFhSx119HcLbyOwTOaM9VL1MSDA/HmZG0z19P3PIp7MKNWOsptvh
 8q/x6uk4KWjCGf07Fh+mH/evleC3D+m4JsoMDu/2DGut1cMQhdhS3o6olCcGl3EfaBsO
 AweO2ochUlKIIkjWeuI98IuUofZY9KfYQezE9KDa4OQX7YcnNT8YzwKhIo/ti2iyotzj
 WYJQdoO7llCdagqEC0EFpbH8D+/7Wr8sbqDGBibqo1SQ8PRIxwQPCp8BJnuiKOlyfsto
 VNWg==
X-Gm-Message-State: AOAM532Igg8kSVZ5GfayZ1kTwUY56g5tLgde/I6FWsd38lHiwZEyyhjk
 aoLStqzB6hrWqicNPPvWjKfsmxXtp1E=
X-Google-Smtp-Source: ABdhPJxydGlW6d2YpkOu6O9ZfsHHAE+vq4CZ0bVam5mT3/6bDhQrRWpGvCblO1L3zLBo41YDERv7Dg==
X-Received: by 2002:a5d:588b:0:b0:204:1c1a:965d with SMTP id
 n11-20020a5d588b000000b002041c1a965dmr1824542wrf.669.1647869693319; 
 Mon, 21 Mar 2022 06:34:53 -0700 (PDT)
Received: from pfiuh07 ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id
 c7-20020a5d4f07000000b00203db8f13c6sm13270003wru.75.2022.03.21.06.34.52
 for <bug-guix@HIDDEN>
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Mon, 21 Mar 2022 06:34:52 -0700 (PDT)
From: zimoun <zimon.toutoune@HIDDEN>
Date: Fri, 18 Mar 2022 14:50:01 +0100
Message-ID: <877d8r8j5i.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::429
 (failed)
Received-SPF: pass client-ip=2a00:1450:4864:20::429;
 envelope-from=zimon.toutoune@HIDDEN; helo=mail-wr1-x429.google.com
X-Spam_score_int: -6
X-Spam_score: -0.7
X-Spam_bar: /
X-Spam_report: (-0.7 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
 PDS_HP_HELO_NORDNS=0.659, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793,
 SPF_HELO_NONE=0.001, SPF_PASS=-0.001,
 T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 1.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: -2.3 (--)

Hi,

Considering this with revision a03936a:

    guix gc
    guix install python-ipython -p tools
    guix gc
    guix install python-ipython -p tools

I am surprised that:

 1. the second GC collects things
 2. the second install downloads things

especially by this line:

python-ipython-7.27.0  892KiB  4.6MiB/s 00:00 [##################] 100.0%


Well, it is because of grafts.  The profile contains the grafted
version and the installation expect first the non-grafted for computing
the graft.  For instance:

--8<---------------cut here---------------start------------->8---
$ guix gc --list-dead | grep ipython
finding garbage collector roots...
determining live/dead paths...
/gnu/store/xmw4vxabnkm7vwa0ywfcqcmknbnia0c3-python-ipython-7.27.0

guix build python-ipython --no-grafts
/gnu/store/xmw4vxabnkm7vwa0ywfcqcmknbnia0c3-python-ipython-7.27.0
--8<---------------cut here---------------end--------------->8---

When something is grafted, is it possible to consider the non-grafted as
a "derivation", i.e., control the GC with 'gc-keep-derivations'.

Or the grafted could keep a reference to the non-grafted?


Well, I was expecting that this composition:

    guix gc && guix install

was "idempotent" in a way. :-) And to me, the fact that it is not is
somehow a bug.  Maybe, it is already well-known and not considered as
bug.


Cheers,
simon




Message sent:


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: zimoun <zimon.toutoune@HIDDEN>
Subject: bug#54495: Acknowledgement (unexpected download after gc)
Message-ID: <handler.54495.B.164786969811705.ack <at> debbugs.gnu.org>
References: <877d8r8j5i.fsf@HIDDEN>
X-Gnu-PR-Message: ack 54495
X-Gnu-PR-Package: guix
Reply-To: 54495 <at> debbugs.gnu.org
Date: Mon, 21 Mar 2022 13:35: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 54495 <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
54495: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D54495
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#54495: unexpected download after gc
Resent-From: raingloom <raingloom@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Tue, 22 Mar 2022 20:01:02 +0000
Resent-Message-ID: <handler.54495.B.164797924328698 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 54495
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: 54495 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-guix@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.164797924328698
          (code B ref -1); Tue, 22 Mar 2022 20:01:02 +0000
Received: (at submit) by debbugs.gnu.org; 22 Mar 2022 20:00:43 +0000
Received: from localhost ([127.0.0.1]:41909 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nWkgN-0007So-K3
	for submit <at> debbugs.gnu.org; Tue, 22 Mar 2022 16:00:43 -0400
Received: from lists.gnu.org ([209.51.188.17]:40660)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <raingloom@HIDDEN>) id 1nWkgM-0007Sg-6F
 for submit <at> debbugs.gnu.org; Tue, 22 Mar 2022 16:00:42 -0400
Received: from eggs.gnu.org ([209.51.188.92]:47074)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <raingloom@HIDDEN>)
 id 1nWkgJ-0008Mt-HP
 for bug-guix@HIDDEN; Tue, 22 Mar 2022 16:00:41 -0400
Received: from mx1.riseup.net ([198.252.153.129]:51644)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <raingloom@HIDDEN>)
 id 1nWkgH-0006Kr-Nd
 for bug-guix@HIDDEN; Tue, 22 Mar 2022 16:00:39 -0400
Received: from fews1.riseup.net (fews1-pn.riseup.net [10.0.1.83])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256
 client-signature RSA-PSS (2048 bits) client-digest SHA256)
 (Client CN "mail.riseup.net", Issuer "R3" (not verified))
 by mx1.riseup.net (Postfix) with ESMTPS id 4KNMmM0h7CzDrkc
 for <bug-guix@HIDDEN>; Tue, 22 Mar 2022 13:00:35 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak;
 t=1647979235; bh=1WomrUHlOV4/6QOYWoM7zfjwicuHzbZjqaENdjUoMkI=;
 h=Date:From:To:Subject:In-Reply-To:References:From;
 b=qGBwVKW0bP6FhYCj6GKhIn/GYDb0tfud6VcyLCPY+IeAK3HyjtfsBqDgc5O4l9MP4
 S/EFMKtp4Y9JBGMDmtP6pSV0Emsi5aVTuv5LGh+3DjKR2BBKJi4NsKQI7xTv+pyGa4
 lw5ELuDI06W+QG6Zj/bq9DotYsY1w8IMMQA0eXDw=
X-Riseup-User-ID: 6D1A7C722DC3C1CA6B9651AE08505C86689DCC1D8C469271A39D7279220F3D46
Received: from [127.0.0.1] (localhost [127.0.0.1])
 by fews1.riseup.net (Postfix) with ESMTPSA id 4KNMmL2rGQz5vwc
 for <bug-guix@HIDDEN>; Tue, 22 Mar 2022 13:00:34 -0700 (PDT)
Date: Tue, 22 Mar 2022 21:00:28 +0100
From: raingloom <raingloom@HIDDEN>
Message-ID: <20220322210028.23cfe132@HIDDEN>
In-Reply-To: <877d8r8j5i.fsf@HIDDEN>
References: <877d8r8j5i.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=198.252.153.129;
 envelope-from=raingloom@HIDDEN; helo=mx1.riseup.net
X-Spam_score_int: -27
X-Spam_score: -2.8
X-Spam_bar: --
X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
 RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001,
 SPF_HELO_PASS=-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.4 (-)
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: -2.4 (--)

On Fri, 18 Mar 2022 14:50:01 +0100
zimoun <zimon.toutoune@HIDDEN> wrote:

> Hi,
> 
> Considering this with revision a03936a:
> 
>     guix gc
>     guix install python-ipython -p tools
>     guix gc
>     guix install python-ipython -p tools
> 
> I am surprised that:
> 
>  1. the second GC collects things
>  2. the second install downloads things
> 
> especially by this line:
> 
> python-ipython-7.27.0  892KiB  4.6MiB/s 00:00 [##################]
> 100.0%
> 
> 
> Well, it is because of grafts.  The profile contains the grafted
> version and the installation expect first the non-grafted for
> computing the graft.  For instance:
> 
> --8<---------------cut here---------------start------------->8---
> $ guix gc --list-dead | grep ipython
> finding garbage collector roots...
> determining live/dead paths...
> /gnu/store/xmw4vxabnkm7vwa0ywfcqcmknbnia0c3-python-ipython-7.27.0
> 
> guix build python-ipython --no-grafts
> /gnu/store/xmw4vxabnkm7vwa0ywfcqcmknbnia0c3-python-ipython-7.27.0
> --8<---------------cut here---------------end--------------->8---
> 
> When something is grafted, is it possible to consider the non-grafted
> as a "derivation", i.e., control the GC with 'gc-keep-derivations'.
> 
> Or the grafted could keep a reference to the non-grafted?
> 
> 
> Well, I was expecting that this composition:
> 
>     guix gc && guix install
> 
> was "idempotent" in a way. :-) And to me, the fact that it is not is
> somehow a bug.  Maybe, it is already well-known and not considered as
> bug.
> 
> 
> Cheers,
> simon
> 
> 
> 

There should definitely be more attention paid to offline use so IMHO
this is a bug. Or at least missing feature.




Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#54495: unexpected download after gc
References: <877d8r8j5i.fsf@HIDDEN>
Resent-From: David Elsing <david.elsing@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Sun, 29 Oct 2023 19:38:02 +0000
Resent-Message-ID: <handler.54495.B54495.16986082654627 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 54495
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: zimon.toutoune@HIDDEN
Cc: 54495 <at> debbugs.gnu.org
Received: via spool by 54495-submit <at> debbugs.gnu.org id=B54495.16986082654627
          (code B ref 54495); Sun, 29 Oct 2023 19:38:02 +0000
Received: (at 54495) by debbugs.gnu.org; 29 Oct 2023 19:37:45 +0000
Received: from localhost ([127.0.0.1]:43407 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qxBbS-0001CW-Tg
	for submit <at> debbugs.gnu.org; Sun, 29 Oct 2023 15:37:45 -0400
Received: from mout01.posteo.de ([185.67.36.65]:47541)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <david.elsing@HIDDEN>) id 1qxBbN-0001CD-Gy
 for 54495 <at> debbugs.gnu.org; Sun, 29 Oct 2023 15:37:41 -0400
Received: from submission (posteo.de [185.67.36.169]) 
 by mout01.posteo.de (Postfix) with ESMTPS id 427E0240028
 for <54495 <at> debbugs.gnu.org>; Sun, 29 Oct 2023 20:36:57 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017;
 t=1698608218; bh=f/kSGf4u1iv54ehXRmETC3xhh22l6HKU/KtrW3g4UkY=;
 h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:From;
 b=Bd+LPG1vbViKw3Ta+pjzPWU7zuey3wxpAq9j8CIrV3/dZd/Y0RG88HqefO4wMLdGQ
 lb/52HmkRoCwceWBnGWkH1R27xwxSGfU+ImOGEQxKEiBAuCMaM26DZHDuow2jCYnTU
 AjJVJBCs5pYqH9CjWyGU7G8WnZyiloCKbnt5x1dISBHVkud0uEZ/ki1TaNCrOBNaYW
 pVT8x4qgpxQNHqclDW9pOnBtik7LZ0fK5nWFMutIj6Jvur3kw1x3EW6PKShYKeONrf
 MESl50/dE4jc9WuN1LXJ41lhBBnaBvPQGjeHf1U73KGtlFJQBWR0UlsRbdGWuSJazr
 M5mw8sQVKb8Vg==
Received: from customer (localhost [127.0.0.1])
 by submission (posteo.de) with ESMTPSA id 4SJRVd2FjDz9rxB;
 Sun, 29 Oct 2023 20:36:57 +0100 (CET)
From: David Elsing <david.elsing@HIDDEN>
In-Reply-To: 877d8r8j5i.fsf@HIDDEN
Date: Sun, 29 Oct 2023 19:36:56 +0000
Message-ID: <86pm0xgqzr.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
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 (---)

Hello,

AFAICT, there is no way to determine which ungrafted package a grafted
package comes from without the derivation of the grafted package (where
the ungrafted package is referenced). Therefore, I think adding a
reference to the ungrafted package in the package itself (your second
suggestion) would be the simplest way: https://issues.guix.gnu.org/66824

Presently, it is inconvenient to globally run guix gc at all for me, as
many (dependent) packages are deleted and substituted again when
rebuilding several profiles built with grafts.

Cheers,
David




Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#54495: unexpected download after gc
Resent-From: David Elsing <david.elsing@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Tue, 07 Jan 2025 19:52:03 +0000
Resent-Message-ID: <handler.54495.B54495.173627952210588 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 54495
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: 54495 <at> debbugs.gnu.org
Cc: raingloom@HIDDEN, zimon.toutoune@HIDDEN
Received: via spool by 54495-submit <at> debbugs.gnu.org id=B54495.173627952210588
          (code B ref 54495); Tue, 07 Jan 2025 19:52:03 +0000
Received: (at 54495) by debbugs.gnu.org; 7 Jan 2025 19:52:02 +0000
Received: from localhost ([127.0.0.1]:44782 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tVFcP-0002kd-QW
	for submit <at> debbugs.gnu.org; Tue, 07 Jan 2025 14:52:02 -0500
Received: from mout01.posteo.de ([185.67.36.65]:37047)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <david.elsing@HIDDEN>)
 id 1tVFcN-0002kI-5W
 for 54495 <at> debbugs.gnu.org; Tue, 07 Jan 2025 14:52:00 -0500
Received: from submission (posteo.de [185.67.36.169]) 
 by mout01.posteo.de (Postfix) with ESMTPS id 53187240027
 for <54495 <at> debbugs.gnu.org>; Tue,  7 Jan 2025 20:51:51 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017;
 t=1736279511; bh=QBicY1tS8Q1zu/d8Q1wFkhcOHw4XYD0+EvZiK23rpMA=;
 h=From:To:Subject:CC:Date:Message-ID:MIME-Version:Content-Type:
 From;
 b=mZboajfL92mBspp5vrrqwVbRNDqH9IsncDlryS61okzhYMHl3doeuSC30fZeZbdQV
 3SjraoZy3KXEM1e11vsnORjod2wvrrIvvJiCDR80sOhZlB/lUOeq/EwHdZDiiR0fyD
 7PcFPK1cUT6HlLzBRdFvYtqudW26CgqA3oAFPwD3S6K6MVGcw82NJAU4UAHA+kf7Ok
 ACBgQe9Usq2PNQhiNXLzz3MGd9cdfFD+HefjcrBN1E9LX/LueC6f3l7JzXcmLyoO64
 h4pJndp5YJv7o7/wmRKQexKems1JdQiTFUxJmGubwSoYqqiYu2Af+l2oH6c5Plu36q
 yuNjrg7OXnTUQ==
Received: from customer (localhost [127.0.0.1])
 by submission (posteo.de) with ESMTPSA id 4YSMBZ5F0tz6tsb;
 Tue,  7 Jan 2025 20:51:50 +0100 (CET)
From: David Elsing <david.elsing@HIDDEN>
In-Reply-To: <86pm0xgqzr.fsf@HIDDEN>
References: <86pm0xgqzr.fsf@HIDDEN>
Date: Tue, 07 Jan 2025 19:51:49 +0000
Message-ID: <8634hutnai.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
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 (---)

Hello,

David Elsing <david.elsing@HIDDEN> writes:

> Presently, it is inconvenient to globally run guix gc at all for me, as
> many (dependent) packages are deleted and substituted again when
> rebuilding several profiles built with grafts.

In the meantime, I learned about the '--gc-keep-outputs' and
'--gc-keep-derivations' options for guix-daemon [1], which together
prevent this issue. Of course, this also keeps build dependencies, but
that might be desirable anyway.

Best,
David

[1] https://guix.gnu.org/manual/devel/en/html_node/Invoking-guix_002ddaemon.html





Last modified: Sun, 12 Jan 2025 05:45:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.