From debbugs-submit-bounces@debbugs.gnu.org Fri Aug 20 07:33:25 2021 Received: (at 26035) by debbugs.gnu.org; 20 Aug 2021 11:33:26 +0000 Received: from localhost ([127.0.0.1]:33055 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mH2m5-0000Su-Jl for submit@debbugs.gnu.org; Fri, 20 Aug 2021 07:33:25 -0400 Received: from mail-wr1-f47.google.com ([209.85.221.47]:36522) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mH2m3-0000Se-Qn; Fri, 20 Aug 2021 07:33:24 -0400 Received: by mail-wr1-f47.google.com with SMTP id k8so13800024wrn.3; Fri, 20 Aug 2021 04:33:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=XMeUaR2Gi+ZgfEnrUJncSnQ3jr1rDZ240dPgdmxL6lY=; b=f/M0DoGwely61tT9I+GouMn0RGjb4EUW4kkAaiTlJw30CIrxieGT12fLUt7fAR0c4u gzwRIxYZxh8c0fTJ0r5/sj3ggxv5aZroBqQfr6qsSvuNf/xnGhhqvmY+fPaJTd9Rugy4 MOlf4Uh04qyHi0L65MGd23tiKBlEjgf/ysxSD0ImQ5WIfg4z9KFxZwUUpm7CxcSfCnhT orLQWZZYLenvMzooUNn86w/+eU/2axJ0Taq2PQAUl363LW9qZO4R97QNBFmoBH+dIi75 wi609GD5TjvpWkdnxGwe4rtF/TpFuZON9mlXSlHATiVFRCGHPsIZBrrIjH2qcOv8R2jK Bsyg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=XMeUaR2Gi+ZgfEnrUJncSnQ3jr1rDZ240dPgdmxL6lY=; b=t2WtkdaSss+xUukYJ7/d8JRUIyJGJugVYf2sA8cw36beplmHZr91B+9hG3qlEAOHtz rsm7I4eLJwOPFLufjLddWFJgg4OTomR0reSsavhsqvqn/Y1AnHYiVB8YRIV+oAmiWGbb ATDp2tIo4xpYXTEEgOIcp0guZmu5axWGwdvlD+SjpNbnhupXi5M+S1NBu7E8rxUcThgH yjesTfXRCi53/X4N4Wvk7j3stysrumKIcVdYfs+hShqkTMSfFWbLn5e3r+U3YW6XKWG9 TUun4X8zq2tsrFv+PENsklknaEn0R5WHThCcwNdC1m2XXm+aIqrM+/mxm+xAgyqIrU6z +hLQ== X-Gm-Message-State: AOAM530zHx/k5yqImafGE/UC4mJPcOb8akhMOObpHVQ5N54c/6XdpYZt Jtqavecb9NJJM3AOTkA/9cvgAfS1ecGk0Q== X-Google-Smtp-Source: ABdhPJxxpIQImXiHOjzVxVpOUkd0q1K00x5b/5cEo3EFTArvISVceLqxqQpqK6nE6TwWsjL+DD8SRA== X-Received: by 2002:adf:ebc8:: with SMTP id v8mr9573310wrn.153.1629459197840; Fri, 20 Aug 2021 04:33:17 -0700 (PDT) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id l2sm5574734wrx.2.2021.08.20.04.33.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Aug 2021 04:33:17 -0700 (PDT) From: zimoun To: Maxim Cournoyer Subject: Re: bug#26833: `guix substitute --substitute' dies on unreachable substitute server References: <87efvzz79y.fsf@gmail.com> Date: Fri, 20 Aug 2021 13:04:06 +0200 In-Reply-To: <87efvzz79y.fsf@gmail.com> (Maxim Cournoyer's message of "Mon, 08 May 2017 08:40:25 -0700") Message-ID: <86pmu8nzrt.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 26035 Cc: 26035@debbugs.gnu.org, 26833@debbugs.gnu.org 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: -1.0 (-) Hi Maxim, Your recent investigation bug#30290 [0] rings this bell: If it appears the same issue, maybe we could merge them. WDYT? On Mon, 08 May 2017 at 08:40, Maxim Cournoyer wrote: > Problem: When using multiple substitute servers, if one of the server is > temporarily unreachable, `guix substitute --substitute' will throw an > exception. Example (while bayfront server was down, attempting to build > a package only available locally (emacs-dvc)): > > guix package -i emacs-dvc > ;;; note: source file /home/maxim/.config/guix/latest/gnu/packages/emacs.scm > ;;; newer than compiled /home/maxim/.config/guix/latest/gnu/packages/emacs.go > ;;; note: source file /home/maxim/.config/guix/latest/gnu/packages/emacs.scm > ;;; newer than compiled /gnu/store/nqy9m6hhnkkfwr5wyq5bac96v9s9hc9i-guix-0.12.0-9.25a4/lib/guile/2.0/site-ccache/gnu/packages/emacs.go > ;;; note: source file /home/maxim/.config/guix/latest/gnu/packages/emacs.scm > ;;; newer than compiled /run/current-system/profile/lib/guile/2.0/site-ccache/gnu/packages/emacs.go > ;;; note: source file /home/maxim/.config/guix/latest/gnu/packages/emacs.scm > ;;; newer than compiled /home/maxim/.cache/guile/ccache/2.0-LE-8-2.0/home/maxim/src/guix/gnu/packages/emacs.scm.go > The following package will be installed: > emacs-dvc trunk-1.591 /gnu/store/sraxmg5qz9i4338s4ks7asgy4v68dgqs-emacs-dvc-trunk-1.591 >> > substitute: updating list of substitutes from 'https://mirror.hydra.gnu.org'... 100.0% > substitute: updating list of substitutes from 'https://mirror.hydra.gnu.org'... 100.0% > Downloading https://bayfront.guixsd.org/nar/gzip/6h7ym07plwxfn4zq53ld8zfpbx3a09al-at-spi2-core-2.22.0 (1.1MiB installed)... > guix substitute: error: connect: No route to host > killing process 13896 > killing process 13896: No such process > > Expected: Since multiple substitute servers are being used, rather than > bombing out on the first unavailable one, `guix substitute --substitute' > (or any other command implicated with substitute servers) should simply > warn about it before attempting the next one. > > Bonus point: `guix substitute --query' should also print a warning > message that substitute server X couldn't be reached (it doesn't print > anything about that right now, just skips to the next one). Cheers, simon 0: