* bug#34209: guix --version: ERROR: In procedure display: In procedure fport_write: Broken pipe
@ 2019-01-26 16:31 Pierre Neidhardt
2019-01-27 17:57 ` Ricardo Wurmus
2019-01-27 17:57 ` Ricardo Wurmus
0 siblings, 2 replies; 3+ messages in thread
From: Pierre Neidhardt @ 2019-01-26 16:31 UTC (permalink / raw)
To: 34209
[-- Attachment #1: Type: text/plain, Size: 765 bytes --]
In Bash:
--8<---------------cut here---------------start------------->8---
$ guix --version | awk '{print $4; exit}'
Backtrace:
5 (primitive-load "/home/ambrevar/.config/guix/current/bin/guix")
In guix/ui.scm:
464:2 4 (show-version-and-exit _)
In ice-9/format.scm:
1590:19 3 (format #t "Copyright ~a 2019 ~a" "(C)" "the Guix authors\n")
261:19 2 (format:format-work "Copyright ~a 2019 ~a" ("(C)" "the Guix authors\n"))
70:10 1 (format:out-obj-padded _ _ _ _)
In unknown file:
0 (display "the Guix authors\n" #<output: file 1>)
ERROR: In procedure display:
In procedure fport_write: Broken pipe
--8<---------------cut here---------------end--------------->8---
--
Pierre Neidhardt
https://ambrevar.xyz/
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#34209: guix --version: ERROR: In procedure display: In procedure fport_write: Broken pipe
2019-01-26 16:31 bug#34209: guix --version: ERROR: In procedure display: In procedure fport_write: Broken pipe Pierre Neidhardt
@ 2019-01-27 17:57 ` Ricardo Wurmus
2019-01-27 17:57 ` Ricardo Wurmus
1 sibling, 0 replies; 3+ messages in thread
From: Ricardo Wurmus @ 2019-01-27 17:57 UTC (permalink / raw)
To: Pierre Neidhardt; +Cc: 34209
Pierre Neidhardt <mail@ambrevar.xyz> writes:
> In Bash:
> --8<---------------cut here---------------start------------->8---
> $ guix --version | awk '{print $4; exit}'
> Backtrace:
> 5 (primitive-load "/home/ambrevar/.config/guix/current/bin/guix")
> In guix/ui.scm:
> 464:2 4 (show-version-and-exit _)
> In ice-9/format.scm:
> 1590:19 3 (format #t "Copyright ~a 2019 ~a" "(C)" "the Guix authors\n")
> 261:19 2 (format:format-work "Copyright ~a 2019 ~a" ("(C)" "the Guix authors\n"))
> 70:10 1 (format:out-obj-padded _ _ _ _)
> In unknown file:
> 0 (display "the Guix authors\n" #<output: file 1>)
>
> ERROR: In procedure display:
> In procedure fport_write: Broken pipe
> --8<---------------cut here---------------end--------------->8---
This happens because awk closes the stream while we’re writing to it.
We could wrap the things in “run-guix” in (leave-on-EPIPE …).
Or we tell Guix not to ignore SIGPIPE.
See also https://issues.guix.info/issue/29826.
--
Ricardo
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#34209: guix --version: ERROR: In procedure display: In procedure fport_write: Broken pipe
2019-01-26 16:31 bug#34209: guix --version: ERROR: In procedure display: In procedure fport_write: Broken pipe Pierre Neidhardt
2019-01-27 17:57 ` Ricardo Wurmus
@ 2019-01-27 17:57 ` Ricardo Wurmus
1 sibling, 0 replies; 3+ messages in thread
From: Ricardo Wurmus @ 2019-01-27 17:57 UTC (permalink / raw)
To: 34209
merge 34209 29826
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-01-27 19:45 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-01-26 16:31 bug#34209: guix --version: ERROR: In procedure display: In procedure fport_write: Broken pipe Pierre Neidhardt
2019-01-27 17:57 ` Ricardo Wurmus
2019-01-27 17:57 ` Ricardo Wurmus
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.