guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Multiple substitute servers question


From: Maxim Cournoyer
Subject: Re: Multiple substitute servers question
Date: Mon, 24 Apr 2017 10:04:58 +0900
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)

Maxim Cournoyer <address@hidden> writes:

Correction below:

> Hello Guix!
>
> I'm using both the default substitute server (mirrors.hydra.gnu.org) as
> well as the recently added bayfront.guixsd.org[1], and today when I tried to
> issue 'guix environment guix' I got:
>
>
> [...]
>
> ;;; note: source file /home/maxim/.config/guix/latest/gnu/packages/tmux.scm
> ;;;       newer than compiled 
> /home/maxim/.config/guix/latest/gnu/packages/tmux.go
> ;;; note: source file /home/maxim/.config/guix/latest/gnu/packages/tmux.scm
> ;;;       newer than compiled 
> /gnu/store/v83285dvjy923ikq1dddncixb6kfba0k-guix-0.12.0-5.1162/share/guile/site/2.0/gnu/packages/tmux.go
> Downloading 
> https://bayfront.guixsd.org/nar/c64n03yy6kk66ah7x7pghpx2zc62j8d0-subversion-1.8.17.tar.bz2
>  (6.6MiB installed)...
> guix substitute: error: connect: No route to host
> killing process 7274
> guix environment: error: build failed: some substitutes for the outputs of 
> derivation 
> `/gnu/store/2yl7ck1dzi32jb4aiqr2hhqxx90qkfxh-subversion-1.8.17.tar.bz2.drv' 
> failed (usually happens due to networking issues); try `--fallback' to build 
> derivation from source 
>
>
> Given that issuing 'guix environment guix
> --substitute-urls=mirrors.hydra.gnu.org' produces something different
> (but unfortunately equally broken):

The substitute URI should be "https://mirrors.hydra.gnu.org";. When using
such URI it works without an error.

My original question still holds though (why is an unresolvable
substitute-url able to bring the guix command down when at least one
working alternative substitute server exists? -- it should just warn
about it and push through).

> substitute: In unknown file:
> substitute:    ?: 1 [primitive-load 
> "/gnu/store/v83285dvjy923ikq1dddncixb6kfba0k-guix-0.12.0-5.1162/bin/.guix-real"]
> substitute: In guix/ui.scm:
> substitute: 1228: 0 [run-guix-command substitute "--query"]
> substitute: 
> substitute: guix/ui.scm:1228:8: In procedure run-guix-command:
> substitute: guix/ui.scm:1228:8: In procedure struct_vtable: Wrong type 
> argument in position 1 (expecting struct): #f
> guix environment: error: corrupt input while restoring archive from #<closed: 
> file 0>
>

Also, this error message is very cryptic; it didn't provided much that
would have helped me to realize about my error (wrong URI) earlier.

Maxim

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]