[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
48/96: substitute: Download nar from another server upon ETIMEDOUT.
From: |
guix-commits |
Subject: |
48/96: substitute: Download nar from another server upon ETIMEDOUT. |
Date: |
Wed, 19 Apr 2023 21:41:12 -0400 (EDT) |
apteryx pushed a commit to branch core-updates
in repository guix.
commit e95e65541ae7ce98c2f9095317fea4754ca5ac91
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Mon Apr 17 16:00:16 2023 +0200
substitute: Download nar from another server upon ETIMEDOUT.
Previously, 'guix substitute' would fail abruptly with something like:
guix substitute: warning: while fetching
https://ci.guix.gnu.org/nar/lzip/…-example: server is somewhat slow
guix substitute: warning: try `--no-substitutes' if the problem persists
guix substitute: error: connect*: Connection timed out
substitution of /gnu/store/…-example failed
* guix/scripts/substitute.scm (network-error?): Add ETIMEDOUT.
---
guix/scripts/substitute.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/guix/scripts/substitute.scm b/guix/scripts/substitute.scm
index 109b0c7900..2bbe045364 100755
--- a/guix/scripts/substitute.scm
+++ b/guix/scripts/substitute.scm
@@ -577,7 +577,7 @@ STATUS-PORT."
(or (and (system-error? exception)
(let ((errno (system-error-errno
(cons 'system-error (exception-args exception)))))
- (memv errno (list ECONNRESET ECONNABORTED
+ (memv errno (list ECONNRESET ECONNABORTED ETIMEDOUT
ECONNREFUSED EHOSTUNREACH
ENOENT)))) ;for "file://"
(and (kind-and-args? exception)
- 25/96: gnu: python-isort: Update to 5.12.0., (continued)
- 25/96: gnu: python-isort: Update to 5.12.0., guix-commits, 2023/04/19
- 40/96: gnu: python-scikit-build: Update to 0.17.1., guix-commits, 2023/04/19
- 41/96: gnu: python-fonttools: Update to 4.39.3., guix-commits, 2023/04/19
- 57/96: snippets: tempel: Simplify git-commit-mode detection., guix-commits, 2023/04/19
- 62/96: gnu: texlive-latex-acronym: Replace with texlive-acronym., guix-commits, 2023/04/19
- 64/96: gnu: texlive-latex-lastpage: Replace with texlive-lastpage., guix-commits, 2023/04/19
- 37/96: gnu: python-pytest-trio: Update to 0.8.0., guix-commits, 2023/04/19
- 44/96: gnu: python-anyio: Update to 3.6.2., guix-commits, 2023/04/19
- 46/96: environment: Really auto-load (guix scripts pack)., guix-commits, 2023/04/19
- 47/96: services: agetty: 'term-console' succeeds by default., guix-commits, 2023/04/19
- 48/96: substitute: Download nar from another server upon ETIMEDOUT.,
guix-commits <=
- 49/96: ssh: Silence remote daemon messages when sending store items., guix-commits, 2023/04/19
- 54/96: gnu: audacity: Update to 3.3.0-beta-1., guix-commits, 2023/04/19
- 58/96: gnu: r-with-tests: Update to 4.2.3., guix-commits, 2023/04/19
- 60/96: gnu: Add texlive-relsize., guix-commits, 2023/04/19
- 65/96: gnu: Add texlive-totpages., guix-commits, 2023/04/19
- 66/96: gnu: emacs-autothemer: Update to 0.2.17., guix-commits, 2023/04/19
- 75/96: gnu: kwin: Update skipped test list., guix-commits, 2023/04/19
- 78/96: gnu: r-rhdf5: Update to 2.42.1., guix-commits, 2023/04/19
- 84/96: gnu: r-dmrseq: Update to 1.18.1., guix-commits, 2023/04/19
- 89/96: tests: guix-system: Drop the i686-linux desktop image test., guix-commits, 2023/04/19