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

PackageSource(s)Maintainer(s)
guix PTS Buildd Popcon
Reply or subscribe to this bug. View this bug as an mbox, status mbox, or maintainer mbox

Report forwarded to bug-guix@gnu.org:
bug#45051; Package guix. (Sat, 05 Dec 2020 08:28:01 GMT) (full text, mbox, link).


Acknowledgement sent to pkill9 <pkill9@runbox.com>:
New bug report received and forwarded. Copy sent to bug-guix@gnu.org. (Sat, 05 Dec 2020 08:28:02 GMT) (full text, mbox, link).


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

From: pkill9 <pkill9@runbox.com>
To: bug-guix@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@gnu.org>.




Information forwarded to bug-guix@gnu.org:
bug#45051; Package guix. (Sat, 05 Dec 2020 08:56:02 GMT) (full text, mbox, link).


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

From: pkill9 <pkill9@runbox.com>
To: 45051@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@gnu.org:
bug#45051; Package guix. (Sun, 06 Dec 2020 02:15:02 GMT) (full text, mbox, link).


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

From: pkill9 <pkill9@runbox.com>
To: 45051@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@gnu.org:
bug#45051; Package guix. (Fri, 11 Dec 2020 17:35:02 GMT) (full text, mbox, link).


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

From: Ludovic Courtès <ludo@gnu.org>
To: pkill9 <pkill9@runbox.com>
Cc: 45051@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@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@gnu.org:
bug#45051; Package guix. (Fri, 11 Dec 2020 18:42:01 GMT) (full text, mbox, link).


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

From: pkill9 <pkill9@runbox.com>
To: Ludovic Courtès <ludo@gnu.org>
Cc: 45051@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@gnu.org> to control@debbugs.gnu.org. (Sat, 12 Dec 2020 18:33:03 GMT) (full text, mbox, link).


Information forwarded to bug-guix@gnu.org:
bug#45051; Package guix. (Sat, 08 Oct 2022 02:59:01 GMT) (full text, mbox, link).


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

From: Maxim Cournoyer <maxim.cournoyer@gmail.com>
To: Ludovic Courtès <ludo@gnu.org>
Cc: 45051@debbugs.gnu.org, pkill9 <pkill9@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@gnu.org> writes:

> 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




Send a report that this bug log contains spam.


debbugs.gnu.org maintainers <help-debbugs@gnu.org>. Last modified: Sun Sep 8 01:36:04 2024; Machine Name: wallace-server

GNU bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.