GNU bug report logs - #31892
guix pull ignores --substitute-urls in some cases

Previous Next

Package: guix;

Reported by: Vagrant Cascadian <vagrant <at> debian.org>

Date: Tue, 19 Jun 2018 03:53:02 UTC

Severity: normal

Done: ludo <at> gnu.org (Ludovic Courtès)

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 31892 in the body.
You can then email your comments to 31892 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#31892; Package guix. (Tue, 19 Jun 2018 03:53:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Vagrant Cascadian <vagrant <at> debian.org>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Tue, 19 Jun 2018 03:53:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Vagrant Cascadian <vagrant <at> debian.org>
To: bug-guix <at> gnu.org
Subject: guix pull ignores --substitute-urls in some cases
Date: Mon, 18 Jun 2018 20:51:43 -0700
[Message part 1 (text/plain, inline)]
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
fetching path `/gnu/store/d1im1cqpajfyl6w205vpmw7pqv2j1y1b-libpthread-stubs-0.4' failed with exit code 1
fetching path `/gnu/store/yalicl04jvm63lwsnck336w96g88bi80-bash-4.4.19'...
killing process 860
Backtrace:
          17 (primitive-load "/gnu/store/xv6vjm9rz14c6y7ysr8rlqd6qaj?")
In ice-9/boot-9.scm:
    142:2 16 (dynamic-wind _ _ #<procedure 1fd1b960 at ice-9/eval.sc?>)
In ice-9/eval.scm:
    155:9 15 (_ _)
    159:9 14 (_ #(#(#<directory (guile-user) 1f85b140> "aarch64-?" ?)))
In ./guix/store.scm:
  1414:24 13 (run-with-store _ _ #:guile-for-build _ #:system _ # _)
In ./guix/gexp.scm:
/    666:2 12 (_ _)
In ./guix/monads.scm:
    485:9 11 (_ _)
In ./guix/gexp.scm:
   538:22 10 (_ _)
    666:2  9 (_ _)
In ./guix/monads.scm:
    485:9  8 (_ _)
In ./guix/gexp.scm:
   538:22  7 (_ _)
In ./guix/store.scm:
  1333:38  6 (_ #<build-daemon 256.97 1f91ecd0>)
In ./guix/packages.scm:
   878:14  5 (cache! #<weak-table 490/883> #<package graphviz <at> 2.40.?> ?)
In unknown file:
           4 (_ #<procedure thunk ()> #<procedure list _> #<undefined>)
In ./guix/grafts.scm:
    310:4  3 (graft-derivation #<build-daemon 256.97 1f91ecd0> #<de?> ?)
    188:4  2 (references-oracle #<build-daemon 256.97 1f91ecd0> #<de?>)
   197:20  1 (_ _ _)
In ./guix/store.scm:
   934:15  0 (_ #<build-daemon 256.97 1f91ecd0> _ _)

./guix/store.scm:934:15: Throw to key `srfi-34' with args `(#<condition &nix-protocol-error [message: "some substitutes for the outputs of derivation `/gnu/store/jvfkbsw0fgi1ihnc8g2dhixgsy1gzk9b-libpthread-stubs-0.4.drv' failed (usually happens due to networking issues); try `--fallback' to build derivation from source " status: 1] 262abb10>)'.
Backtrace:
           9 (primitive-load "/gnu/store/xl7cb97kpmpwc49yd9s6hhk21d8?")
In guix/ui.scm:
  1557:12  8 (run-guix-command _ . _)
In ice-9/boot-9.scm:
    837:9  7 (catch _ _ #<procedure ffffb23ef980 at guix/ui.scm:593?> ?)
    837:9  6 (catch _ _ #<procedure ffffb23ef998 at guix/ui.scm:711?> ?)
    837:9  5 (catch _ _ #<procedure ffffb02ac7a0 at guix/scripts/pu?> ?)
In guix/scripts/pull.scm:
   391:22  4 (_)
In guix/store.scm:
  1414:24  3 (run-with-store _ _ #:guile-for-build _ #:system _ # _)
In guix/scripts/pull.scm:
    239:2  2 (_ _)
In ice-9/eval.scm:
   191:27  1 (_ #(#(#<directory (build-self) ae28dc0> #<procedu?>) ?))
In unknown file:
           0 (scm-error misc-error #f "~A ~S" ("invalid build re?" ?) ?)

ERROR: In procedure scm-error:
ERROR: invalid build result (#<derivation /gnu/store/015sq2sm50yv22x4n5pcvr0psy51pfvr-compute-guix-derivation.drv => /gnu/store/xv6vjm9rz14c6y7ysr8rlqd6qaj3w8v3-compute-guix-derivation bdb4230> "")



live well,
  vagrant
[signature.asc (application/pgp-signature, inline)]

Reply sent to ludo <at> gnu.org (Ludovic Courtès):
You have taken responsibility. (Tue, 26 Jun 2018 12:34:01 GMT) Full text and rfc822 format available.

Notification sent to Vagrant Cascadian <vagrant <at> debian.org>:
bug acknowledged by developer. (Tue, 26 Jun 2018 12:34:02 GMT) Full text and rfc822 format available.

Message #10 received at 31892-done <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: Vagrant Cascadian <vagrant <at> debian.org>
Cc: 31892-done <at> debbugs.gnu.org
Subject: Re: bug#31892: guix pull ignores --substitute-urls in some cases
Date: Tue, 26 Jun 2018 14:33:07 +0200
Hello Vagrant,

Vagrant Cascadian <vagrant <at> 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’.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 25 Jul 2018 11:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 5 years and 275 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.