hydra.gnu.org wrongfully redirects /nar/guix URLs

  • Done
  • quality assurance status badge
Details
4 participants
  • Björn Höfling
  • Danny Milosavljevic
  • Ludovic Courtès
  • Ryan Prior
Owner
unassigned
Submitted by
Ryan Prior
Severity
normal
R
R
Ryan Prior wrote on 20 Jun 2019 00:40
Report: failed to compute the derivation for Guix
(address . bug-guix@gnu.org)
CAHDL8oeecxhGUj5=YtTY2jAABEnE5Vz8CAwGLSfXwL9fz0+Y2w@mail.gmail.com
Please find attached a log of my recent attempt at running ~guix pull~

My guix version is guix (GNU Guix) c6de5afe5c5da34513ea43b041fead30f28f57d4

Thanks!
Ryan
$ guix pull
guile: warning: failed to install locale
Updating channel 'guix' from Git repository at 'https://git.savannah.gnu.org/git/guix.git'...
Building from this channel:
substitute: updating substitutes from 'https://mirror.hydra.gnu.org'... 100.0%
The following derivations will be built:
/gnu/store/jj7ilj6bkaxypicc7grfp2h9q38hsz0b-module-import-compiled.drv
/gnu/store/biac3z882laql46smaaq15yqjim3w8vm-module-import.drv
/gnu/store/3fmhv2g7n1qis98qwgkcbha2f0fvnqac-compute-guix-derivation.drv
building /gnu/store/biac3z882laql46smaaq15yqjim3w8vm-module-import.drv...
successfully built /gnu/store/biac3z882laql46smaaq15yqjim3w8vm-module-import.drv
building /gnu/store/jj7ilj6bkaxypicc7grfp2h9q38hsz0b-module-import-compiled.drv...
successfully built /gnu/store/jj7ilj6bkaxypicc7grfp2h9q38hsz0b-module-import-compiled.drv
building /gnu/store/3fmhv2g7n1qis98qwgkcbha2f0fvnqac-compute-guix-derivation.drv...
successfully built /gnu/store/3fmhv2g7n1qis98qwgkcbha2f0fvnqac-compute-guix-derivation.drv
Computing Guix derivation for 'x86_64-linux'... /@ substituter-started /gnu/store/5dzq0p9kmf9qdz77i9i76ljv5gqrn5cf-utf8proc-2.1.1 /gnu/store/lqkyzawj6z3fswbj87nzyg97xkhpiwys-guix-0.15.0/libexec/guix/substitute
-following redirection to `https://ci.guix.gnu.org'...
Backtrace:
3 (apply-smob/1 #<catch-closure 1d70220>)
In ice-9/boot-9.scm:
705:2 2 (call-with-prompt _ _ #<procedure default-prompt-handle?>)
In ice-9/eval.scm:
619:8 1 (_ #(#(#<directory (guile-user) 1e26140>)))
In guix/ui.scm:
1578:12 0 (run-guix-command _ . _)

guix/ui.scm:1578:12: In procedure run-guix-command:
In procedure put-string: Wrong type argument in position 1 (expecting open output port): #<closed: string 22ff3f0>
@ substituter-failed /gnu/store/5dzq0p9kmf9qdz77i9i76ljv5gqrn5cf-utf8proc-2.1.1 256 fetching path `/gnu/store/5dzq0p9kmf9qdz77i9i76ljv5gqrn5cf-utf8proc-2.1.1' failed with exit code 1
@ substituter-started /gnu/store/k3fsjph2l6zlq8chyd4vddik61z5c6vb-valgrind-3.15.0 /gnu/store/lqkyzawj6z3fswbj87nzyg97xkhpiwys-guix-0.15.0/libexec/guix/substitute
killing process 1523
Backtrace:
In srfi/srfi-1.scm:
592:29 19 (map1 _)
592:29 18 (map1 _)
592:29 17 (map1 _)
592:29 16 (map1 _)
592:29 15 (map1 _)
592:29 14 (map1 _)
592:29 13 (map1 _)
592:17 12 (map1 (("texlive" #<package texlive-tiny@49435 5ce?>) ?))
In ./guix/packages.scm:
979:16 11 (expand-input _ _ _ _ _)
936:16 10 (cache! #<weak-table 531/883> #<package texlive-tiny@4?> ?)
1255:22 9 (thunk)
1188:25 8 (bag->derivation #<store-connection 256.97 92a79c0> #<?> ?)
In srfi/srfi-1.scm:
592:29 7 (map1 _)
592:29 6 (map1 (("texlive-bin" #<package texlive-bin@201804?>) ?))
592:17 5 (map1 (("texlive-dvips" #<package texlive-dvips@49?>) ?))
In ./guix/packages.scm:
979:16 4 (expand-input #<store-connection 256.97 92a79c0> #<pac?> ?)
936:16 3 (cache! #<weak-table 531/883> #<package texlive-dvips@?> ?)
1255:22 2 (thunk)
1188:25 1 (bag->derivation #<store-connection 256.97 92a79c0> #<?> ?)
In srfi/srfi-1.scm:
592:17 0 (map1 (("dvips-font-maps" #<origin #<<svn-referenc?>) ?))

srfi/srfi-1.scm:592:17: In procedure map1:
Throw to key `srfi-34' with args `(#<condition &store-protocol-error [message: "some substitutes for the outputs of derivation `/gnu/store/kbgb2nk9v8d8dwai6m7bmshcz7mi1sy9-utf8proc-2.1.1.drv' failed (usually happens due to networking issues); try `--fallback' to build derivation from source " status: 1] 601f930>)'.
guix pull: error: You found a bug: the program '/gnu/store/2nh946nh4vnm63d7m7jwy3dcqpb7ywja-compute-guix-derivation'
failed to compute the derivation for Guix (version: "80ee7c4a48cdab4afa4d8eb4b7b8873d47841830"; system: "x86_64-linux";
host version: "c6de5afe5c5da34513ea43b041fead30f28f57d4"; pull-version: 1).
B
B
Björn Höfling wrote on 21 Jun 2019 13:02
(name . Ryan Prior)(address . ryanprior@gmail.com)(address . 36299@debbugs.gnu.org)
20190621130200.3433d6e1@alma-ubu
On Wed, 19 Jun 2019 17:40:18 -0500
Ryan Prior <ryanprior@gmail.com> wrote:

Toggle quote (8 lines)
> Please find attached a log of my recent attempt at running ~guix pull~
>
> My guix version is guix (GNU Guix)
> c6de5afe5c5da34513ea43b041fead30f28f57d4
>
> Thanks!
> Ryan

I'm unsure what exactly goes wrong here, but I also had this error
on a GuixSD system.

For me it worked with explicitly using the new substitute URL:

guix pull --substitute-urls="https://ci.guix.gnu.org/"

Can you try that out?

Björn
-----BEGIN PGP SIGNATURE-----

iF0EARECAB0WIQQiGUP0np8nb5SZM4K/KGy2WT5f/QUCXQy5KQAKCRC/KGy2WT5f
/VpPAJ0a6qZVmLZHQdIIwRkB1KvAqbHhKwCgkY/2EvcZ+H9u96aEZZwNdCAHHLQ=
=ceAM
-----END PGP SIGNATURE-----


L
L
Ludovic Courtès wrote on 21 Jun 2019 17:29
(name . Ryan Prior)(address . ryanprior@gmail.com)(address . 36299@debbugs.gnu.org)
874l4jgdnz.fsf@gnu.org
Hi Ryan,

Ryan Prior <ryanprior@gmail.com> skribis:

Toggle quote (13 lines)
> -following redirection to `https://ci.guix.gnu.org'...
> Backtrace:
> 3 (apply-smob/1 #<catch-closure 1d70220>)
> In ice-9/boot-9.scm:
> 705:2 2 (call-with-prompt _ _ #<procedure default-prompt-handle?>)
> In ice-9/eval.scm:
> 619:8 1 (_ #(#(#<directory (guile-user) 1e26140>)))
> In guix/ui.scm:
> 1578:12 0 (run-guix-command _ . _)
>
> guix/ui.scm:1578:12: In procedure run-guix-command:
> In procedure put-string: Wrong type argument in position 1 (expecting open output port): #<closed: string 22ff3f0>

It looks like it may have been a failure on ci.guix.gnu.org, such as
lack of disk space preventing it from replying (that happened a few days
ago).

Could you try again and see if it still shows up?

Thanks,
Ludo’.
D
D
Danny Milosavljevic wrote on 23 Jun 2019 11:20
(name . Ludovic Courtès)(address . ludo@gnu.org)
20190623112003.7a1c002b@scratchpost.org
Toggle quote (2 lines)
> > -following redirection to `https://ci.guix.gnu.org'...

I think that that redirection is wrong (the URL is not specific enough for a
substitute, right?).

It probably happens because one of the old substitute servers tries to be
helpful and redirects to the new substitute server, but fucks up.

That might also be the cause of the follow-up error--although that is a
separate bug.
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAl0PREMACgkQ5xo1VCww
uqWfawf+IH+xnjH48xkLx78w6iJ18tuMme5D6NEOm7K02N8tTFIOJdKVGOgo7xPf
HvjpcXzbAZ03AqaQU0HMevLXM3E5if6FfeRZZeLnU+zctoKs4em/QzdZeDrGhNGI
O4DZSXgvZMVR3RzS6natlZ/O8CTInduFzS1SzbwqYRRdkBVJ4BD6oAJBbcr3pzHn
T8Wg86NnawUToKSZjMatztAkaIyYt2/qpGtG4JhWFu6E8udBabw6XqpAo6uIg57L
42oXLXZTi7R2Z6drshKeOFOU4cRhp92UQr4ABclLhT92CDFylwEh59TRPt3yfdV1
dRgmFnNPM6gc7wPVb1134/42cHkcLQ==
=PCSQ
-----END PGP SIGNATURE-----


L
L
Ludovic Courtès wrote on 24 Jun 2019 10:21
control message for bug #36299
(address . control@debbugs.gnu.org)
871rzjfl5y.fsf@gnu.org
retitle 36299 hydra.gnu.org wrongfully redirects /nar/guix URLs
quit
L
L
Ludovic Courtès wrote on 24 Jun 2019 10:21
Re: bug#36299: Report: failed to compute the derivation for Guix
(name . Danny Milosavljevic)(address . dannym@scratchpost.org)
8736jzfl6s.fsf@gnu.org
Hi Danny,

Danny Milosavljevic <dannym@scratchpost.org> skribis:

Toggle quote (5 lines)
>> > -following redirection to `https://ci.guix.gnu.org'...
>
> I think that that redirection is wrong (the URL is not specific enough for a
> substitute, right?).

Good catch! maintenance.git commit
37c2348d72559f9c475cf9250ecef7b322223c1c fixes the redirect for nginx on
hydra.gnu.org.

Thanks,
Ludo’.
Closed
?
Your comment

This issue is archived.

To comment on this conversation send an email to 36299@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 36299
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch