all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Cc: guix-devel <guix-devel@gnu.org>
Subject: Re: Multiple substitute servers question
Date: Tue, 02 May 2017 12:34:55 +0200	[thread overview]
Message-ID: <878tmfk0mo.fsf@gnu.org> (raw)
In-Reply-To: <87tw5epqdh.fsf@gmail.com> (Maxim Cournoyer's message of "Mon, 24 Apr 2017 10:04:58 +0900")

Hello!

Maxim Cournoyer <maxim.cournoyer@gmail.com> skribis:

> Maxim Cournoyer <maxim.cournoyer@gmail.com> writes:

[...]

> 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).

That’s what it does, except for URL syntax errors.

That is, if you pass:

  --substitute-urls="http://example.org/does-not-work https://mirror.hydra.gnu.org"

then the first one is ignored.

Does that make sense?

>> 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.

Indeed.  Fixed in 8a2105078b5845e31768da06b360676352b1f3e9 (you won’t
get the fix until you run an updated guix-daemon.)

Thanks!

Ludo’.

  reply	other threads:[~2017-05-02 10:35 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
2017-05-02 10:34   ` Ludovic Courtès [this message]
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=878tmfk0mo.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=guix-devel@gnu.org \
    --cc=maxim.cournoyer@gmail.com \
    /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.