From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 21 09:34:58 2022 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 To: bug-guix@gnu.org Subject: unexpected download after gc 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-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" 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