Guix pull fails: `In procedure put-string: Wrong type argument in position 1 (expecting open output port): #<closed: string 7f1182257850>`

  • Open
  • quality assurance status badge
Details
3 participants
  • Ludovic Courtès
  • Maxim Cournoyer
  • pkill9
Owner
unassigned
Submitted by
pkill9
Severity
important
P
P
pkill9 wrote on 5 Dec 2020 09:27
(address . bug-guix@gnu.org)
20201205082721.34581cea@runbox.com
Using guix commit 243512d984e1b870d3b77b2759698a64ed723fea. Also fails
with previous guix revisions.

Full output:

Computing Guix derivation for 'x86_64-linux'... /@ substituter-started
/gnu/store/9ph7spq3b72fv4scqqzwxalb8n0wc6xn-graphviz-2.42.3-doc
substitute -following redirection to
Backtrace: In ice-9/boot-9.scm: 1736:10 4 (with-exception-handler _ _
#:unwind? _ # _) In unknown file:
3 (apply-smob/0 #<thunk 7f11836ec3c0>)
In ice-9/boot-9.scm:
718:2 2 (call-with-prompt _ _ #<procedure default-prompt-handle?>)
In ice-9/eval.scm:
619:8 1 (_ #(#(#<directory (guile-user) 7f1183311f00>)))
In guix/ui.scm:
1949:12 0 (run-guix-command _ . _)

guix/ui.scm:1949:12: In procedure run-guix-command:
In procedure put-string: Wrong type argument in position 1 (expecting
open output port): #<closed: string 7f1182257850> @ substituter-failed
/gnu/store/9ph7spq3b72fv4scqqzwxalb8n0wc6xn-graphviz-2.42.3-doc 256
fetching path
`/gnu/store/9ph7spq3b72fv4scqqzwxalb8n0wc6xn-graphviz-2.42.3-doc'
failed with exit code 1 @ substituter-started
/gnu/store/adx3hrrgjs0n55zm4i4p5kv6yj0q3bhq-guile-ssh-0.13.1-debug
substitute killing process 4025 Backtrace: 11 (primitive-load
"/gnu/store/f2ymnsn7d0jv9p8alj4mrg4dpw2fr5vn-compute-guix-derivation")
In ice-9/eval.scm: 155:9 10 (_ _) 159:9 9 (_
#(#(#(#(#(#(#(#(#(#(#(#(#(#<directory (guile-user) 7fc042336f?> ?) ?)
?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?)) In ./guix/store.scm: 2049:24 8
(run-with-store #<store-connection 256.99 7fc0406ba5f0> _
#:guile-for-build _ #:system _ #:target _) 1883:8 7 (_ _) In
./guix/gexp.scm: 258:18 6 (_ _) 1123:2 5 (_ _)
982:2 4 (_ _)
843:4 3 (_ _)
In ./guix/store.scm:
1931:12 2 (_ #<store-connection 256.99 7fc0406ba5f0>)
1358:5 1 (map/accumulate-builds #<store-connection 256.99
7fc0406ba5f0> _ _) 1369:15 0 (_ #<store-connection 256.99
7fc0406ba5f0> 7fc0406ba5f0> _ _)

./guix/store.scm:1369:15: ERROR:
1. &store-protocol-error:
message: "some substitutes for the outputs of derivation
`/gnu/store/d879bxb47cnzkgsl37478aa4mmp7cjdg-graphviz-2.42.3.drv'
failed (usually happens due to networking issues); try `--fallback' to
build derivation from source " status: 1 guix pull: error: You found a
bug: the program
'/gnu/store/f2ymnsn7d0jv9p8alj4mrg4dpw2fr5vn-compute-guix-derivation'
failed to compute the derivation for Guix (version:
"4cf3734c56d669ee2d78082e5d7c4d0a58e0f800"; system: "x86_64-linux";
host version: "243512d984e1b870d3b77b2759698a64ed723fea"; pull-version:
1). Please report it by email to <bug-guix@gnu.org>.
P
P
pkill9 wrote on 5 Dec 2020 09:55
Re: bug#45051: Acknowledgement (Guix pull fails: `In procedure put-string: Wrong type argument in position 1 (expecting open output port): #<closed: string 7f1182257850>`)
(address . 45051@debbugs.gnu.org)
20201205085532.33d46084@runbox.com
with --fallback it is building. It may be the result of the substitute
server not being available, the error may need to be caught.
P
P
pkill9 wrote on 6 Dec 2020 03:14
(address . 45051@debbugs.gnu.org)
20201206021415.1747073a@runbox.com
It's actually doing this for *any* package I build, and it's not
because it can't get substitutes, as running `guix weather hello`
reports that a substitute is available, but it still does this issue
with the `hello` package.
L
L
Ludovic Courtès wrote on 11 Dec 2020 18:34
Re: bug#45051: Guix pull fails: `In procedure put-string: Wrong type argument in position 1 (expecting open output port): #<closed: string 7f1182257850>`
(name . pkill9)(address . pkill9@runbox.com)(address . 45051@debbugs.gnu.org)
878sa45js2.fsf@gnu.org
Hi pkill9,

pkill9 <pkill9@runbox.com> skribis:

Toggle quote (4 lines)
> Computing Guix derivation for 'x86_64-linux'... /@ substituter-started
> /gnu/store/9ph7spq3b72fv4scqqzwxalb8n0wc6xn-graphviz-2.42.3-doc
> substitute -following redirection to

Could it be that your substitute URL is https://ci.guix.info?

If so, could you try:

guix build inkscape --substitute-urls=https://ci.guix.gnu.org

?

It may have to do with https://issues.guix.gnu.org/45174.

HTH,
Ludo’.
P
P
pkill9 wrote on 11 Dec 2020 19:40
(name . Ludovic Courtès)(address . ludo@gnu.org)(address . 45051@debbugs.gnu.org)
20201211184044.50ac30e9@runbox.com
Hi Ludovic,

Toggle quote (6 lines)
> Could it be that your substitute URL is https://ci.guix.info?
>
> If so, could you try:
>
> guix build inkscape --substitute-urls=https://ci.guix.gnu.org

This works, thanks.
L
L
Ludovic Courtès wrote on 12 Dec 2020 18:27
control message for bug #45051
(address . control@debbugs.gnu.org)
87zh2j2auh.fsf@gnu.org
severity 45051 important
quit
M
M
Maxim Cournoyer wrote on 8 Oct 2022 04:58
Re: bug#45051: Guix pull fails: `In procedure put-string: Wrong type argument in position 1 (expecting open output port): #<closed: string 7f1182257850>`
(name . Ludovic Courtès)(address . ludo@gnu.org)
87y1tr2f91.fsf@gmail.com
Hi,

Ludovic Courtès <ludo@gnu.org> writes:

Toggle quote (14 lines)
> Hi pkill9,
>
> pkill9 <pkill9@runbox.com> skribis:
>
>> Computing Guix derivation for 'x86_64-linux'... /@ substituter-started
>> /gnu/store/9ph7spq3b72fv4scqqzwxalb8n0wc6xn-graphviz-2.42.3-doc
>> substitute -following redirection to
>
> Could it be that your substitute URL is <https://ci.guix.info>?
>
> If so, could you try:
>
> guix build inkscape --substitute-urls=https://ci.guix.gnu.org

Given this was the actual problem, what was the underlying error that
should have appeared in the error output that would have made that
clear? A TLS cert validation error?

--
Thanks,
Maxim
?
Your comment

Commenting via the web interface is currently disabled.

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

To respond to this issue using the mumi CLI, first switch to it
mumi current 45051
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