From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id sL2FLxwrOmIGYgAAgWs5BA (envelope-from ) for ; Tue, 22 Mar 2022 21:01:32 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 8OIxKBwrOmKFbQAAG6o9tA (envelope-from ) for ; Tue, 22 Mar 2022 21:01:32 +0100 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 4EBCB3FF3C for ; Tue, 22 Mar 2022 21:01:32 +0100 (CET) Received: from localhost ([::1]:35004 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nWkh9-0000AB-0q for larch@yhetil.org; Tue, 22 Mar 2022 16:01:31 -0400 Received: from eggs.gnu.org ([209.51.188.92]:47178) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nWkgm-00008k-0C for bug-guix@gnu.org; Tue, 22 Mar 2022 16:01:09 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:48012) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nWkgg-0006il-QV for bug-guix@gnu.org; Tue, 22 Mar 2022 16:01:07 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nWkgg-0007TS-G0 for bug-guix@gnu.org; Tue, 22 Mar 2022 16:01:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#54495: unexpected download after gc Resent-From: raingloom Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 22 Mar 2022 20:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54495 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 54495@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@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 ) id 1nWkgN-0007So-K3 for submit@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 ) id 1nWkgM-0007Sg-6F for submit@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 ) id 1nWkgJ-0008Mt-HP for bug-guix@gnu.org; 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 ) id 1nWkgH-0006Kr-Nd for bug-guix@gnu.org; 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 ; 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 ; Tue, 22 Mar 2022 13:00:34 -0700 (PDT) Date: Tue, 22 Mar 2022 21:00:28 +0100 From: raingloom Message-ID: <20220322210028.23cfe132@riseup.net> In-Reply-To: <877d8r8j5i.fsf@gmail.com> References: <877d8r8j5i.fsf@gmail.com> 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@riseup.net; 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-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-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1647979292; 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: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=nsO9YnES62gq5N27HaQHorfU3Xms7Qpz7Grg2IbdZjM=; b=Tugp94mCAJnTtZqifdxHUPqUQz7BSj0x4NJHPNbwG3oVQlqyEMWXwvjtg92+izOGBmOhOl tFh7DdIJylGoaM/XG6u4Tusln2jhKjOdV3BP7xgF6zJ7DDTN2WPwvURosR6RmWisCGnyuA 2GGnjQQ120QrnI7o8NoK7+YiYIkdfFmK1BHimpMBleLW+4qIsuTDH8E+hJtWzYKUlfxsiU 9Iw2qHkSejV5pOy+miCV49SUS2OQv/iuJ4x44fZZNKenw51Mvn61q6LVxrLwFKCVsKbF+P 6IxhfK4Zgs6iSKozD67LL2144vVB7Z5vg0pVmL4M8XsayinGm7ouYqiCPwPZ0Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1647979292; a=rsa-sha256; cv=none; b=pxw9Uv2Qd1OldbKtWQt/bT+idHGBeVPkv4Fc/tNsaobR00HDFdgQPYh0hC9bw5nnL5gWlQ jw2y0dKYwpm35ExB215hqzM76obfKtkHN+LoFmKxqLzprm/AdSN2etTX8q/MDHSYZ4caPJ BN/B1QlFQErRdLr7I9HnnRXyIhe+1zy1h0VYB43ttScaI6TFNMQuVMsQd8ZIfIGY+dP3+U IjLQCZl+mIL6hb+7OSe8Mk65Y6SNG0rQ3PvfW7/NLNNvSUG5JF2pl8/9TkSQVaC8RXM2/1 0lO5dYqkm5Z3hqVkQaXBV6hu5vsvMpOZC0ECUg4qK7SUaOSuvXW/vNDP2sRoyA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=riseup.net header.s=squak header.b=qGBwVKW0; dmarc=fail reason="SPF not aligned (relaxed)" header.from=riseup.net (policy=none); 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: 3.79 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=riseup.net header.s=squak header.b=qGBwVKW0; dmarc=fail reason="SPF not aligned (relaxed)" header.from=riseup.net (policy=none); 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: 4EBCB3FF3C X-Spam-Score: 3.79 X-Migadu-Scanner: scn0.migadu.com X-TUID: f4bYL8nTH0Xi On Fri, 18 Mar 2022 14:50:01 +0100 zimoun 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.