all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Maxim Cournoyer <maxim.cournoyer@gmail.com>
To: guix-devel <guix-devel@gnu.org>
Subject: Re: Multiple substitute servers question
Date: Mon, 24 Apr 2017 10:04:58 +0900	[thread overview]
Message-ID: <87tw5epqdh.fsf@gmail.com> (raw)
In-Reply-To: <87fugyeifc.fsf@gmail.com> (Maxim Cournoyer's message of "Mon, 24 Apr 2017 09:52:07 +0900")

[-- Attachment #1: Type: text/plain, Size: 2366 bytes --]

Maxim Cournoyer <maxim.cournoyer@gmail.com> 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 #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

  reply	other threads:[~2017-04-24  1:05 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-24  0:52 Multiple substitute servers question Maxim Cournoyer
2017-04-24  1:04 ` Maxim Cournoyer [this message]
2017-05-02 10:34   ` Ludovic Courtès
2017-05-02 15:54     ` Maxim Cournoyer
2017-05-02 21:14       ` Ludovic Courtès
2017-05-07  7:24       ` Maxim Cournoyer
2017-05-08 14:10         ` Ludovic Courtès
2017-05-08 15:44           ` Maxim Cournoyer

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=87tw5epqdh.fsf@gmail.com \
    --to=maxim.cournoyer@gmail.com \
    --cc=guix-devel@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.