unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Vagrant Cascadian <vagrant@debian.org>
Cc: 31892-done@debbugs.gnu.org
Subject: bug#31892: guix pull ignores --substitute-urls in some cases
Date: Tue, 26 Jun 2018 14:33:07 +0200	[thread overview]
Message-ID: <87zhzh4tj0.fsf@gnu.org> (raw)
In-Reply-To: <87in6fph68.fsf@aikidev.net> (Vagrant Cascadian's message of "Mon, 18 Jun 2018 20:51:43 -0700")

Hello Vagrant,

Vagrant Cascadian <vagrant@debian.org> skribis:

> I've seen this a few times, and it seems like guix pull remembers old
> substitutes. I tried disabling one of the substitutes that guix-daemon
> is configured to use since it wasn't online at the time, but it tries to
> use it anyways:
>
> guix pull --substitute-urls='http://10.0.0.15:8081 http://10.0.0.15:8082' --branch=elfutils-0.172 --url=/home/vagrant/src/guix-bare
>
> guile: warning: failed to install locale
> warning: failed to install locale: Invalid argument
> Updating from Git repository at '/home/vagrant/src/guix-bare'...
> Building from Git commit b606d8625660ed035e98db7035f487e8b90b4d65...
> guile: warning: failed to install locale
> Computing Guix derivation for 'aarch64-linux'... -fetching path `/gnu/store/d1im1cqpajfyl6w205vpmw7pqv2j1y1b-libpthread-stubs-0.4'...
> -
> |Downloading http://10.0.0.157:8080/nar/gzip/d1im1cqpajfyl6w205vpmw7pqv2j1y1b-libpthread-stubs-0.4...
> guix substitute: error: connect: No route to host

This bug was due to the fact that the ‘compute-guix-derivation’ program
would open a new connection to the store, and thus it would not inherit
the build options of its parent ‘guix pull’ process (substitute URLs,
build hook, timeouts, etc.).

Should be fixed with 790c3e019a5410018bd31596c2dcda5d0efb0d36.

Thanks,
Ludo’.

      reply	other threads:[~2018-06-26 12:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-19  3:51 bug#31892: guix pull ignores --substitute-urls in some cases Vagrant Cascadian
2018-06-26 12:33 ` Ludovic Courtès [this message]

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

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87zhzh4tj0.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=31892-done@debbugs.gnu.org \
    --cc=vagrant@debian.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 public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).