GNU bug report logs - #34209
guix --version: ERROR: In procedure display: In procedure fport_write: Broken pipe

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Reported by: Pierre Neidhardt <mail@HIDDEN>; merged with #29826; dated Sat, 26 Jan 2019 16:32:02 UTC; Maintainer for guix is bug-guix@HIDDEN.
Merged 29826 34209. Request was from Ricardo Wurmus <rekado@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 34209 <at> debbugs.gnu.org:


Received: (at 34209) by debbugs.gnu.org; 27 Jan 2019 19:44:07 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jan 27 14:44:07 2019
Received: from localhost ([127.0.0.1]:47982 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1gnqLf-0007nQ-1Y
	for submit <at> debbugs.gnu.org; Sun, 27 Jan 2019 14:44:07 -0500
Received: from sender-of-o51.zoho.com ([135.84.80.216]:21045)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rekado@HIDDEN>) id 1gnqLd-0007mj-7v
 for 34209 <at> debbugs.gnu.org; Sun, 27 Jan 2019 14:44:05 -0500
ARC-Seal: i=1; a=rsa-sha256; t=1548611862; cv=none; d=zoho.com; s=zohoarc; 
 b=cCd/AAtlFU0x5z/verBJEthKNnmVhmDOOPRYvhLNPjQK55DPphp6wQ28bTXGi8H7EctI/35z5qVPY+AbJEnlUPbk5Qz0owF1B46VhcMo+yxLn1hfz9TMBY9Wiqr3SVd7AhES1Ek+wqEv2QXlKQ8KCAQO1ULLxrIrvtXLqYajADs=
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com;
 s=zohoarc; t=1548611862;
 h=Content-Type:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To:ARC-Authentication-Results;
 bh=i5/t4JaPD68L7B5BY6bGmP3GgGA82GhUJfk/JH0ZVw4=; 
 b=INTuh2Sk4FdP+AFwE5QN/Rq3KPIkcUrhxga1N/htwjnmHiXNdAGu2rlkneYd/h15ir/aTTMHu/PzIPfgdyTGADjkf1sxwhzglzudNbmqy4L9Cq5ZRypxkrpSqIyU6kbem3b2pjvkkL6y/t5ZsD5nXsfd7VmU2Z+8QssEkzWSvf8=
ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass  header.i=elephly.net;
 spf=pass  smtp.mailfrom=rekado@HIDDEN;
 dmarc=pass header.from=<rekado@HIDDEN> header.from=<rekado@HIDDEN>
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1548611862; 
 s=zoho; d=elephly.net; i=rekado@HIDDEN;
 h=References:From:To:Subject:In-reply-to:Date:Message-ID:MIME-Version:Content-Type;
 l=19; bh=i5/t4JaPD68L7B5BY6bGmP3GgGA82GhUJfk/JH0ZVw4=;
 b=CzXiI3pfXmSmDVlUNKg052QQwcLVcArxqNJcxmUWwjtesG/M5p8Mb6cs0sH/ZbEm
 31lmAT2dy5yWpEIs4ut0APEsn7/c6Ryw9rb8I34JSe4bXJvW0jrN7D7DOFiyWrys2tl
 oQItITSIxzfrEPQBPZMl2FJaC7cy4x5UqQq9GXik=
Received: from localhost (p578E7473.dip0.t-ipconnect.de [87.142.116.115]) by
 mx.zohomail.com with SMTPS id 1548611861224437.9474262986945;
 Sun, 27 Jan 2019 09:57:41 -0800 (PST)
References: <87d0ojlmb5.fsf@HIDDEN>
User-agent: mu4e 1.0; emacs 26.1
From: Ricardo Wurmus <rekado@HIDDEN>
To: 34209 <at> debbugs.gnu.org
Subject: Re: bug#34209: guix --version: ERROR: In procedure display: In
 procedure fport_write: Broken pipe
In-reply-to: <87d0ojlmb5.fsf@HIDDEN>
X-URL: https://elephly.net
X-PGP-Key: https://elephly.net/rekado.pubkey
X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
Date: Sun, 27 Jan 2019 18:57:37 +0100
Message-ID: <87h8durnji.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-ZohoMailClient: External
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 34209
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

merge 34209 29826





Information forwarded to bug-guix@HIDDEN:
bug#34209; Package guix. Full text available.

Message received at 34209 <at> debbugs.gnu.org:


Received: (at 34209) by debbugs.gnu.org; 27 Jan 2019 19:43:44 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jan 27 14:43:44 2019
Received: from localhost ([127.0.0.1]:47978 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1gnqLH-0007mL-Lj
	for submit <at> debbugs.gnu.org; Sun, 27 Jan 2019 14:43:43 -0500
Received: from sender-of-o51.zoho.com ([135.84.80.216]:21115)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rekado@HIDDEN>) id 1gnqLE-0007mC-Os
 for 34209 <at> debbugs.gnu.org; Sun, 27 Jan 2019 14:43:41 -0500
ARC-Seal: i=1; a=rsa-sha256; t=1548611834; cv=none; d=zoho.com; s=zohoarc; 
 b=DzbUk9vXnViUiR+uFki2Ry77VSKsF1Z2TIpDhcZd7L7ntbDDqC0nvUHbpz6yFgEzVqFAJKsfEhZkbYf0h68gd6xyrVYtiQdvunKyXBTO+feIKZkYxUzpI0ERpprNEACsbtCoeZIIn9KhJ+5ntrNOEa6HjyrrXRqklQsZod4Muls=
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com;
 s=zohoarc; t=1548611834;
 h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To:ARC-Authentication-Results;
 bh=beMr3XhoiiTcmwEqp6adaOlkLpuiQ63mjci4TWmRaSg=; 
 b=Q07iHaVuB3RbBKi1zlat59ipq46qxN+/fUcfr/sAK5miKLT3CBVJv+WTkYmNyUvaako1l+LmBg3hPc8tkS5KZZpV1YhtSKYfqexHEsl/+7y3s9A5mLS8U2I7sEF9edPADhAax6gGrRrnEo0AODS5nJtq1oAby8cyLyGiG+Kml7k=
ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass  header.i=elephly.net;
 spf=pass  smtp.mailfrom=rekado@HIDDEN;
 dmarc=pass header.from=<rekado@HIDDEN> header.from=<rekado@HIDDEN>
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1548611834; 
 s=zoho; d=elephly.net; i=rekado@HIDDEN;
 h=References:From:To:Cc:Subject:In-reply-to:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding;
 l=1048; bh=beMr3XhoiiTcmwEqp6adaOlkLpuiQ63mjci4TWmRaSg=;
 b=BgaDISIQiiBgNOWK5ztDCcH6X/+MIpEbM+0ZuJiI3J0Mr8gU9vOq+sqhYLQCdViL
 HYbCOF62QjCQ/vBHPu+CxUuxE9gmbX+yH0nUC8qBMmGAAPjWslFio5bO9w+Ym/hXhk/
 yXGwEc3mMNIPvNzbmZS7mG7CI3fCrabWh4sLNT1A=
Received: from localhost (p578E7473.dip0.t-ipconnect.de [87.142.116.115]) by
 mx.zohomail.com with SMTPS id 1548611832923582.981117943969;
 Sun, 27 Jan 2019 09:57:12 -0800 (PST)
References: <87d0ojlmb5.fsf@HIDDEN>
User-agent: mu4e 1.0; emacs 26.1
From: Ricardo Wurmus <rekado@HIDDEN>
To: Pierre Neidhardt <mail@HIDDEN>
Subject: Re: bug#34209: guix --version: ERROR: In procedure display: In
 procedure fport_write: Broken pipe
In-reply-to: <87d0ojlmb5.fsf@HIDDEN>
X-URL: https://elephly.net
X-PGP-Key: https://elephly.net/rekado.pubkey
X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
Date: Sun, 27 Jan 2019 18:57:08 +0100
Message-ID: <87imyarnkb.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-ZohoMailClient: External
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 34209
Cc: 34209 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)


Pierre Neidhardt <mail@HIDDEN> writes:

> In Bash:
> --8<---------------cut here---------------start------------->8---
> $ guix --version | awk '{print $4; exit}'
> Backtrace:
>            5 (primitive-load "/home/ambrevar/.config/guix/current/bin/gui=
x")
> 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=E2=80=99re writing to i=
t.
We could wrap the things in =E2=80=9Crun-guix=E2=80=9D in (leave-on-EPIPE =
=E2=80=A6).

Or we tell Guix not to ignore SIGPIPE.

See also https://issues.guix.info/issue/29826.

--
Ricardo





Information forwarded to bug-guix@HIDDEN:
bug#34209; Package guix. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 26 Jan 2019 16:31:44 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jan 26 11:31:44 2019
Received: from localhost ([127.0.0.1]:46746 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1gnQrw-0002pV-0q
	for submit <at> debbugs.gnu.org; Sat, 26 Jan 2019 11:31:44 -0500
Received: from eggs.gnu.org ([209.51.188.92]:51631)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mail@HIDDEN>) id 1gnQrt-0002pG-H3
 for submit <at> debbugs.gnu.org; Sat, 26 Jan 2019 11:31:41 -0500
Received: from lists.gnu.org ([209.51.188.17]:41627)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <mail@HIDDEN>) id 1gnQro-0007AS-8I
 for submit <at> debbugs.gnu.org; Sat, 26 Jan 2019 11:31:36 -0500
Received: from eggs.gnu.org ([209.51.188.92]:33599)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <mail@HIDDEN>) id 1gnQrn-00037Z-AZ
 for bug-guix@HIDDEN; Sat, 26 Jan 2019 11:31:36 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-0.7 required=5.0 tests=BAYES_20,RCVD_IN_DNSWL_LOW
 autolearn=disabled version=3.3.2
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <mail@HIDDEN>) id 1gnQrm-00079g-Gj
 for bug-guix@HIDDEN; Sat, 26 Jan 2019 11:31:35 -0500
Received: from relay2-d.mail.gandi.net ([217.70.183.194]:48021)
 by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <mail@HIDDEN>) id 1gnQrm-00078J-9h
 for bug-guix@HIDDEN; Sat, 26 Jan 2019 11:31:34 -0500
X-Originating-IP: 86.246.38.102
Received: from mimimi (lfbn-1-802-102.w86-246.abo.wanadoo.fr [86.246.38.102])
 (Authenticated sender: mail@HIDDEN)
 by relay2-d.mail.gandi.net (Postfix) with ESMTPSA id C29E140006
 for <bug-guix@HIDDEN>; Sat, 26 Jan 2019 16:31:31 +0000 (UTC)
User-agent: mu4e 1.0; emacs 26.1
From: Pierre Neidhardt <mail@HIDDEN>
To: bug-guix@HIDDEN
Subject: guix --version: ERROR: In procedure display: In procedure
 fport_write: Broken pipe
Message-ID: <87d0ojlmb5.fsf@HIDDEN>
Date: Sat, 26 Jan 2019 17:31:31 +0100
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha256; protocol="application/pgp-signature"
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 217.70.183.194
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

--=-=-=
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

In Bash:
=2D-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 au=
thors\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
=2D-8<---------------cut here---------------end--------------->8---

=2D-=20
Pierre Neidhardt
https://ambrevar.xyz/

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAlxMi2MACgkQm9z0l6S7
zH/MxQf9FGOgAmsexqYSfKrdBlCStim7h2ZrCoBtNxMbKIc/Yuh8s3DA7Mfwo9YP
hIh6Ro0elPmA2kKlUXf1u3Z573Xx/+1e8aGaDwsd4B6jmWy/I4aM6VNGSXmwQBSQ
tDzVcbdjUvMSkFIrpypgAdLT7HzpRIPXH8frUtwnKq1H2iE8Zk/sOdUiRrZLvfWN
UWEXSUp8QE9a3u2tJv+tA0SEr3zcl0kYAiisWex52Sj/VTYhNPNnHmEhhXZtVqj1
Vcohbw1Km9YkuzX6+T55UnC4gaxlAK0aCxQEetsU9aXU9pWGk5NxxZj5itvsJtcj
PM453H18IUdiVOJlRwFhr77JniOWlw==
=wmvc
-----END PGP SIGNATURE-----
--=-=-=--




Acknowledgement sent to Pierre Neidhardt <mail@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#34209; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Thu, 31 Jan 2019 14:30:03 UTC

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