From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Enge Subject: Failures without internet connection Date: Wed, 29 May 2013 11:30:20 +0200 Message-ID: <201305291130.20169.andreas@enge.fr> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:47837) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uhcj5-0002zH-2q for bug-guix@gnu.org; Wed, 29 May 2013 05:31:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Uhciy-0002Rj-Tc for bug-guix@gnu.org; Wed, 29 May 2013 05:31:23 -0400 Received: from moutng.kundenserver.de ([212.227.126.171]:59728) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uhciy-0002RR-K2 for bug-guix@gnu.org; Wed, 29 May 2013 05:31:16 -0400 List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: bug-guix@gnu.org 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 # ...] 157: 11 [#] 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 #] 3651: 6 [#] 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