From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id qPvyBAmVOmJBdQEAgWs5BA (envelope-from ) for ; Wed, 23 Mar 2022 04:33:29 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id QGuUAQmVOmIhDwAAauVa8A (envelope-from ) for ; Wed, 23 Mar 2022 04:33:29 +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 BF2EC2A6D2 for ; Wed, 23 Mar 2022 04:33:28 +0100 (CET) Received: from localhost ([::1]:47518 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nWrkV-0006PO-Hq for larch@yhetil.org; Tue, 22 Mar 2022 23:33:27 -0400 Received: from eggs.gnu.org ([209.51.188.92]:52446) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nWrk6-0006MM-SI for bug-guix@gnu.org; Tue, 22 Mar 2022 23:33:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:48490) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nWrk6-0004OC-IS for bug-guix@gnu.org; Tue, 22 Mar 2022 23:33:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nWrk6-0004OS-GD for bug-guix@gnu.org; Tue, 22 Mar 2022 23:33:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#46389: Guix says it will download an output that is already downloaded Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 23 Mar 2022 03:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46389 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: pkill9 Received: via spool by 46389-submit@debbugs.gnu.org id=B46389.164800634916633 (code B ref 46389); Wed, 23 Mar 2022 03:33:02 +0000 Received: (at 46389) by debbugs.gnu.org; 23 Mar 2022 03:32:29 +0000 Received: from localhost ([127.0.0.1]:42384 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nWrjY-0004Ju-Cm for submit@debbugs.gnu.org; Tue, 22 Mar 2022 23:32:28 -0400 Received: from mail-qk1-f182.google.com ([209.85.222.182]:40844) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nWrjW-0004E7-4I for 46389@debbugs.gnu.org; Tue, 22 Mar 2022 23:32:26 -0400 Received: by mail-qk1-f182.google.com with SMTP id i65so203885qkd.7 for <46389@debbugs.gnu.org>; Tue, 22 Mar 2022 20:32:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=Npw607VeUUcE8K0bkDCUX5RArbpI56fKPLLdm7W2vek=; b=DqtatdIbEkJdd9t3pRylaja8jL4KzQTDnsGxDSynSKhTaJDpuFx9l8hI0skf6FMvmN aZS246xhe0S6cXCQWnfAmvwYsad/ORorZCiHUP5nb4AKJG7aJuh0DB+bQ4KD2WFWNjpK to0m5vIpActcsHJibh6bvvQ4EqYIVtnk4NBsEFI/A6DKt0PGPgynvauxtb8bE32gNx1Q yLwreV2FTSwmBnyjt1PFdjILX4t3hyRWo9hmsUYU3TAF0vRHT4JzWEl4wmyfd83313wj 3d5Z8GSMLxhudLOsJHudllHlFh7pGXqANKPAClUA1cMVdD3lLcaMaZEMAsthc2j/Ooz1 7eig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=Npw607VeUUcE8K0bkDCUX5RArbpI56fKPLLdm7W2vek=; b=h/YahqqFDSdT70KVocVbuBlDKqd3PM0Cf9u46D7G2dKT5kd1MKdUHZGKDs7lkoavn8 9rkl/D4NTFTmwIp7XgsdD2rOSSh7TGxcdRUvovZQTxBX4Ci9NTvykQgA2jcYmYwiN3YA fciP5BGPAgEmdR7Pu46k+1SuDq92Ez6zTFF9MZ8cjnISSsuG5CKur7pv69NoTaKPgxPa W5FickwKiog6kAQGTRGX+2xOvqrhI8l5flIRjmt1ii8Ja/TiXXi7rYDmyjZfE6lG4ssU Q5orCX5qCCNvOH/5j0N3NXBiOfzwbCdRkIZ8r+KqSXpxLNn1xQlMczY63ZJu0PXgykWK RqyQ== X-Gm-Message-State: AOAM5333EryxKNpyuz2ol6INjvQU5BBZn1ahOgVGdLoheatV4bVoT3jl zbOcVAODjPDfxgJmrjNl9Z+d18dgNEw5hQ== X-Google-Smtp-Source: ABdhPJzFUlTHnOPqnfuEekrkJwn8znH/De9LhpqeVkVXfeB+2g75uuu2bKKh3aV39bWxNCONWkwVWg== X-Received: by 2002:a05:620a:2586:b0:67b:1141:ce24 with SMTP id x6-20020a05620a258600b0067b1141ce24mr18045076qko.542.1648006339175; Tue, 22 Mar 2022 20:32:19 -0700 (PDT) Received: from hurd (dsl-10-129-199.b2b2c.ca. [72.10.129.199]) by smtp.gmail.com with ESMTPSA id u21-20020ae9c015000000b0067d4b2e1050sm9917360qkk.55.2022.03.22.20.32.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Mar 2022 20:32:18 -0700 (PDT) From: Maxim Cournoyer References: <20210208215531.35967610@runbox.com> <878s7xtw4h.fsf@gnu.org> <20210209195605.2a6419a9@runbox.com> Date: Tue, 22 Mar 2022 23:32:17 -0400 In-Reply-To: <20210209195605.2a6419a9@runbox.com> (pkill9@runbox.com's message of "Tue, 9 Feb 2021 19:56:05 +0000") Message-ID: <87sfr9xs1q.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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: , Cc: 46389@debbugs.gnu.org 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=1648006408; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc: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=Npw607VeUUcE8K0bkDCUX5RArbpI56fKPLLdm7W2vek=; b=O6Ke0WhzdJyvo77DQYyZhjlQPACmOX0OZE3hmjjtRKRf8kQS4cvjYdHm8pYhCk+jHX0nh3 UCapPqCNOJhv6Ll7cU+hE0j95lc5uDhwYddZhPe74dhJwcOEQn9z5U6uTxofWxJ3QYvAyS P2NIqlTezNTVNspTxPXE+gKMxIxuY4G8xO0sg48O+UJxUJO1ia381dx430pFGahhsjjdoG c+gKP3J2fpYoCqErmFjYox/LPSebwXM4JAgD0xWIkJ5Z8DQUIwJDJusTbFPTk+tqidI5Wr czxJZ12WpyrQCTLL+OSoITAqMXf1LMpvU1qB5tzOmi9Kb+ZJHENzKnKSyczJtA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1648006408; a=rsa-sha256; cv=none; b=QcLiIVmQ8vCf4hMdVbyyQNB+tVhxWoQn/p4+M5y4XLmfD5TYai2A+LPv+4lOMY93z3fxQP coXg2K7L3ttw3Lk0iJyYY2c4G2wueNJ0EtJBBRVZoZ4N5z5uYKrsQhs2+dq711LwI7U49e IxpZCtG1F8TaqOEmcmPf8Zkbx3Zt6XQt/t+jYEE1idd75gwfpf5HJ1ku5sLmqNR5wSqA4g U/HPUQ0TTnVZgGVeQQPmA4R/Lj6GZgMAW/1OOCesxaAnyS5wqHEK5J6hqhurzxKYHyd/xN 6H/1/ouK6UAujzz7WjdqxudWoRP9IuOo7P51qhnq1xXCBnK9oCVQMqxGTjL2+g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=DqtatdIb; 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: 4.90 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=DqtatdIb; 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: BF2EC2A6D2 X-Spam-Score: 4.90 X-Migadu-Scanner: scn0.migadu.com X-TUID: noLA4hxOck4P Hello, pkill9 writes: >> =E2=80=98guix build qtbase=E2=80=99 said it would download both the =E2= =80=9Cout=E2=80=9D and the >> =E2=80=9Cdebug=E2=80=9D output of qtbase, is that correct? > > Yep > >> It would be ideal if you could send precisely what=E2=80=99s on your ter= minal. >>=20 >> Thanks, >> Ludo=E2=80=99. > > In this example, I've checked the store path > "/gnu/store/vpvnd6593mjncvyir2rbgp3k83cr7w0a-qtbase-5.15.2" exists, and > I've run `guix gc --delete > /gnu/store/f2s8ql1x9d9890qrrf9qq4nix3f5aii3-qtbase-5.15.2-debug`: > > ``` > itsme@antelope ~> guix build -n qtbase > 209.5 MB would be downloaded: > /gnu/store/f2s8ql1x9d9890qrrf9qq4nix3f5aii3-qtbase-5.15.2-debug > /gnu/store/vpvnd6593mjncvyir2rbgp3k83cr7w0a-qtbase-5.15.2 > ``` > I can't test it with `guix build qtbase` because my internet keeps > cutting off while downloading qtbase-5.15.2-debug, but iirc > after it downloads the debug output, it just returns both store paths. I think it's a minor UI issue: --8<---------------cut here---------------start------------->8--- $ guix build ada-ed substitute: updating substitutes from 'http://127.0.0.1:8181'... 100.0% substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0% 0.8 MB will be downloaded: /gnu/store/kq9px99x5wnnx44px5z426gqw07afih7-ada-ed-1.11.2-debug /gnu/store/s4rz0x57m1ashz99jnfg7a5622ff06v1-ada-ed-1.11.2 substituting /gnu/store/s4rz0x57m1ashz99jnfg7a5622ff06v1-ada-ed-1.11.2... downloading from https://ci.guix.gnu.org/nar/lzip/s4rz0x57m1ashz99jnfg7a562= 2ff06v1-ada-ed-1.11.2 ... ada-ed-1.11.2 337KiB 585KiB/s 00= :01 [##################] 100.0% substituting /gnu/store/kq9px99x5wnnx44px5z426gqw07afih7-ada-ed-1.11.2-debu= g... downloading from https://ci.guix.gnu.org/nar/lzip/kq9px99x5wnnx44px5z426gqw= 07afih7-ada-ed-1.11.2-debug ... ada-ed-1.11.2-debug 486KiB 1.1MiB/s 00= :00 [##################] 100.0% /gnu/store/kq9px99x5wnnx44px5z426gqw07afih7-ada-ed-1.11.2-debug /gnu/store/s4rz0x57m1ashz99jnfg7a5622ff06v1-ada-ed-1.11.2 maxim@hurd ~/src/guix-master [env]$ guix gc -D /gnu/store/kq9px99x5wnnx44px= 5z426gqw07afih7-ada-ed-1.11.2-debug finding garbage collector roots... [...] deleting `/gnu/store/trash' deleting unused links... note: currently hard linking saves 70907.58 MiB $ guix build ada-ed substitute: updating substitutes from 'http://127.0.0.1:8181'... 100.0% substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0% 0.8 MB will be downloaded: /gnu/store/kq9px99x5wnnx44px5z426gqw07afih7-ada-ed-1.11.2-debug /gnu/store/s4rz0x57m1ashz99jnfg7a5622ff06v1-ada-ed-1.11.2 substituting /gnu/store/kq9px99x5wnnx44px5z426gqw07afih7-ada-ed-1.11.2-debu= g... downloading from https://ci.guix.gnu.org/nar/lzip/kq9px99x5wnnx44px5z426gqw= 07afih7-ada-ed-1.11.2-debug ... ada-ed-1.11.2-debug 486KiB 832KiB/s 00= :01 [##################] 100.0% /gnu/store/kq9px99x5wnnx44px5z426gqw07afih7-ada-ed-1.11.2-debug /gnu/store/s4rz0x57m1ashz99jnfg7a5622ff06v1-ada-ed-1.11.2 --8<---------------cut here---------------end--------------->8--- We can see that it listed *both* output about to be downloaded, then proceeded to download only the one missing (the debug output). Thanks, Maxim