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

Previous Next

Package: guix;

Reported by: pkill9 <pkill9 <at> runbox.com>

Date: Sat, 5 Dec 2020 08:28:01 UTC

Severity: important

To reply to this bug, email your comments to 45051 AT debbugs.gnu.org.

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#45051; Package guix. (Sat, 05 Dec 2020 08:28:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to pkill9 <pkill9 <at> runbox.com>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Sat, 05 Dec 2020 08:28:02 GMT) Full text and rfc822 format available.

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

From: pkill9 <pkill9 <at> runbox.com>
To: bug-guix <at> gnu.org
Subject: Guix pull fails: `In procedure put-string: Wrong type argument in
 position 1 (expecting open output port): #<closed: string 7f1182257850>`
Date: Sat, 5 Dec 2020 08:27:21 +0000
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
`https://ci.guix.gnu.org/nar/lzip/9ph7spq3b72fv4scqqzwxalb8n0wc6xn-graphviz-2.42.3-doc'...
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 <at> gnu.org>.




Information forwarded to bug-guix <at> gnu.org:
bug#45051; Package guix. (Sat, 05 Dec 2020 08:56:02 GMT) Full text and rfc822 format available.

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

From: pkill9 <pkill9 <at> runbox.com>
To: 45051 <at> debbugs.gnu.org
Subject: Re: bug#45051: Acknowledgement (Guix pull fails: `In procedure
 put-string: Wrong type argument in position 1 (expecting open output port):
 #<closed: string 7f1182257850>`)
Date: Sat, 5 Dec 2020 08:55:32 +0000
with --fallback it is building. It may be the result of the substitute
server not being available, the error may need to be caught.




Information forwarded to bug-guix <at> gnu.org:
bug#45051; Package guix. (Sun, 06 Dec 2020 02:15:02 GMT) Full text and rfc822 format available.

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

From: pkill9 <pkill9 <at> runbox.com>
To: 45051 <at> debbugs.gnu.org
Subject: Re: bug#45051: Acknowledgement (Guix pull fails: `In procedure
 put-string: Wrong type argument in position 1 (expecting open output port):
 #<closed: string 7f1182257850>`)
Date: Sun, 6 Dec 2020 02:14:15 +0000
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.




Information forwarded to bug-guix <at> gnu.org:
bug#45051; Package guix. (Fri, 11 Dec 2020 17:35:02 GMT) Full text and rfc822 format available.

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

From: Ludovic Courtès <ludo <at> gnu.org>
To: pkill9 <pkill9 <at> runbox.com>
Cc: 45051 <at> debbugs.gnu.org
Subject: Re: bug#45051: Guix pull fails: `In procedure put-string: Wrong
 type argument in position 1 (expecting open output port): #<closed: string
 7f1182257850>`
Date: Fri, 11 Dec 2020 18:34:21 +0100
Hi pkill9,

pkill9 <pkill9 <at> 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

?

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

HTH,
Ludo’.




Information forwarded to bug-guix <at> gnu.org:
bug#45051; Package guix. (Fri, 11 Dec 2020 18:42:01 GMT) Full text and rfc822 format available.

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

From: pkill9 <pkill9 <at> runbox.com>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: 45051 <at> debbugs.gnu.org
Subject: Re: bug#45051: Guix pull fails: `In procedure put-string: Wrong
 type argument in position 1 (expecting open output port): #<closed: string
 7f1182257850>`
Date: Fri, 11 Dec 2020 18:40:44 +0000
Hi Ludovic,

> 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.




Severity set to 'important' from 'normal' Request was from Ludovic Courtès <ludo <at> gnu.org> to control <at> debbugs.gnu.org. (Sat, 12 Dec 2020 18:33:03 GMT) Full text and rfc822 format available.

Information forwarded to bug-guix <at> gnu.org:
bug#45051; Package guix. (Sat, 08 Oct 2022 02:59:01 GMT) Full text and rfc822 format available.

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

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: 45051 <at> debbugs.gnu.org, pkill9 <pkill9 <at> runbox.com>
Subject: Re: bug#45051: Guix pull fails: `In procedure put-string: Wrong
 type argument in position 1 (expecting open output port): #<closed: string
 7f1182257850>`
Date: Fri, 07 Oct 2022 22:58:18 -0400
Hi,

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

> Hi pkill9,
>
> pkill9 <pkill9 <at> 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




This bug report was last modified 2 years and 248 days ago.

Previous Next


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