From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 2OhyKy5/OGLCAwEAgWs5BA (envelope-from ) for ; Mon, 21 Mar 2022 14:35:42 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id EEfVKC5/OGJbcAEA9RJhRA (envelope-from ) for ; Mon, 21 Mar 2022 14:35:42 +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 838AEEA83 for ; Mon, 21 Mar 2022 14:35:42 +0100 (CET) Received: from localhost ([::1]:47884 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nWICD-0004FC-KD for larch@yhetil.org; Mon, 21 Mar 2022 09:35:41 -0400 Received: from eggs.gnu.org ([209.51.188.92]:39378) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nWIBa-0004De-Ha for bug-guix@gnu.org; Mon, 21 Mar 2022 09:35:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:42270) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nWIBa-0002VS-5n for bug-guix@gnu.org; Mon, 21 Mar 2022 09:35:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nWIBZ-000335-TJ for bug-guix@gnu.org; Mon, 21 Mar 2022 09:35:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#54495: unexpected download after gc Resent-From: zimoun Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 21 Mar 2022 13:35:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 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.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 ) id 1nWIBW-00032j-JI for submit@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 ) id 1nWIBU-00032a-Mb for submit@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 ) id 1nWIBU-0004B7-Fo for bug-guix@gnu.org; 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 ) id 1nWIBT-0002T5-0K for bug-guix@gnu.org; Mon, 21 Mar 2022 09:34:56 -0400 Received: by mail-wr1-x429.google.com with SMTP id q8so9361591wrc.0 for ; 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 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Mar 2022 06:34:52 -0700 (PDT) From: zimoun Date: Fri, 18 Mar 2022 14:50:01 +0100 Message-ID: <877d8r8j5i.fsf@gmail.com> 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@gmail.com; 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-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=1647869742; 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:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post:dkim-signature; bh=eUPdnXI94271W2Xy+b4p0WQDRdkrDpaqGrjQPkeQFSE=; b=rqMfodbvwpirbE7qNvTREDhJzWe8bG3gsY3Tl15ZjzgkeNUi+8SzDLZSkIiSxO1CAOfzdK rAQzZEY5M2lJ61yeBXxw+2dNn0SH+yjpwfNKe6qPAdKsL/ZQ8L9RTM+kW0FvEcdg4zyBC8 a7e+HK3u5duSVt7gnFBJmuWNl/eNts1eqjIGe/nWzj7GEajl/m5M0MDALT2vSqlBVfRYt/ YuRcqWrVr4iZjZZhfXqVq9RuWWahvsk06V+dQYe3l6F4ZAGOCYeZjCyhSEnuui+WC6YdPB 6D9QEMp7fZQ1u7CdXdaLhYQkv9DiuhwuxpTQA7S1yjsFwTe3hwKj4t7YUlVVHw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1647869742; a=rsa-sha256; cv=none; b=B2De+LxV8ORl8uMqCGbps9enJ+V4Lf+7RSaMgjbqTBtqHlw7KHzHa59tUE8fhL0r/FN3Vi qSwCSMCZYfD7UXAEIBrNZIWNDrlvsr2suoR3KSbEDlFooyIOcDqfEHeNhcXaQLTH6QYJPb UT1Wzt/+lCnERO5HcKrvs1ek3ayBkt9FB1w6fNlrBdVTG6nSeAZBzWWRLUitK2ItpJsDXg iTNVZGnu/4dJlDNCX8Nm6mhZx+uXrP/gETr9mPQegKDZbC0o6NgjBZUbfY9A90xRVyARer 0vQRYrxjAY8FjZqmk+MWWE8HxkpfdCufEL6WYCrK+R9Sjsc2n3pPYAmRJfGyAw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b="IHYa3b/p"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (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: 6.68 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b="IHYa3b/p"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (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: 838AEEA83 X-Spam-Score: 6.68 X-Migadu-Scanner: scn1.migadu.com X-TUID: 9JQJ58j6oyBZ 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