From: Andreas Enge <andreas@enge.fr>
To: bug-guix@gnu.org
Subject: Failures without internet connection
Date: Wed, 29 May 2013 11:30:20 +0200 [thread overview]
Message-ID: <201305291130.20169.andreas@enge.fr> (raw)
Download of substituted binaries fails when one is offline. This is
logical, but should guix then not gracefully fall back to compilation if
the sources have already been downloaded?
In any case, catching the error and emitting an error message would
probably be preferable to
$ guix build hello
The following file will be downloaded:
/nix/store/7g06kqdm6qjbzdppnryyvjl2bz82r8dh-hello-2.8
@ substituter-started /nix/store/7g06kqdm6qjbzdppnryyvjl2bz82r8dh-hello-2.8
/usr/local/guix-git/libexec/guix/substitute-binary
Backtrace:
In ice-9/boot-9.scm:
149: 12 [catch #t #<catch-closure 1c131a0> ...]
157: 11 [#<procedure 1bb10f0 ()>]
In unknown file:
?: 10 [catch-closure]
In ice-9/boot-9.scm:
63: 9 [call-with-prompt prompt0 ...]
In ice-9/eval.scm:
407: 8 [eval # #]
In ice-9/boot-9.scm:
2111: 7 [save-module-excursion #<procedure 1bb6100 at
ice-9/boot-9.scm:3646:3 ()>]
3651: 6 [#<procedure 1bb6100 at ice-9/boot-9.scm:3646:3 ()>]
In unknown file:
?: 5 [load-compiled/vm "/root/.cache/guile/ccache/2.0-
LE-8-2.0/usr/local/guix-git/bin/guix.go"]
In guix/ui.scm:
460: 4 [run-guix-command substitute-binary "--substitute" ...]
In guix/scripts/substitute-binary.scm:
428: 3 [guix-substitute-binary "--substitute" ...]
In guix/web.scm:
151: 2 [loop #]
In web/client.scm:
45: 1 [open-socket-for-uri #]
In unknown file:
?: 0 [getaddrinfo "hydra.gnu.org" "http" ...]
ERROR: In procedure getaddrinfo:
ERROR: In procedure getaddrinfo: Der Name oder der Dienst ist nicht bekannt
@ substituter-failed /nix/store/7g06kqdm6qjbzdppnryyvjl2bz82r8dh-hello-2.8
256 fetching path `/nix/store/7g06kqdm6qjbzdppnryyvjl2bz82r8dh-hello-2.8'
failed with exit code 1
guix build: error: build failed: some substitutes for the outputs of
derivation `/nix/store/bc6hgclkr7a3yq3xh7h6m7myagfdwvdj-hello-2.8.drv'
failed; try `--fallback'
In the past, I think I also ran into a similar problem even when using "--
no-substitutes", as guix tried in vain to check for newer versions of gnu
packages, but I cannot reproduce this problem now.
Andreas
next reply other threads:[~2013-05-29 9:31 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-29 9:30 Andreas Enge [this message]
2013-05-29 21:29 ` Failures without internet connection Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201305291130.20169.andreas@enge.fr \
--to=andreas@enge.fr \
--cc=bug-guix@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.