bug-guix
[Top][All Lists]
Advanced

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

bug#31892: guix pull ignores --substitute-urls in some cases


From: Ludovic Courtès
Subject: bug#31892: guix pull ignores --substitute-urls in some cases
Date: Tue, 26 Jun 2018 14:33:07 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)

Hello Vagrant,

Vagrant Cascadian <address@hidden> 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 via email to

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