emacs-bug-tracker
[Top][All Lists]
Advanced

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

[debbugs-tracker] bug#31892: closed (guix pull ignores --substitute-urls


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#31892: closed (guix pull ignores --substitute-urls in some cases)
Date: Tue, 26 Jun 2018 12:34:01 +0000

Your message dated Tue, 26 Jun 2018 14:33:07 +0200
with message-id <address@hidden>
and subject line Re: bug#31892: guix pull ignores --substitute-urls in some 
cases
has caused the debbugs.gnu.org bug report #31892,
regarding guix pull ignores --substitute-urls in some cases
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
31892: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=31892
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: guix pull ignores --substitute-urls in some cases Date: Mon, 18 Jun 2018 20:51:43 -0700
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 address@hidden> ?)
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

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message --- Subject: Re: 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’.


--- End Message ---

reply via email to

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