From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#19671: Raw binary data in build log from substitute-binary Date: Mon, 23 Mar 2015 10:49:42 +0100 Message-ID: <878ueokpqh.fsf@gnu.org> References: <87iofwft4n.fsf@netris.org> <87lhk93g9b.fsf@netris.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44254) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YZyzj-0005gh-3D for bug-guix@gnu.org; Mon, 23 Mar 2015 05:50:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YZyzi-0007HF-A6 for bug-guix@gnu.org; Mon, 23 Mar 2015 05:50:03 -0400 Received: from debbugs.gnu.org ([140.186.70.43]:43413) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YZyzi-0007GT-7W for bug-guix@gnu.org; Mon, 23 Mar 2015 05:50:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YZyzh-0000hK-RW for bug-guix@gnu.org; Mon, 23 Mar 2015 05:50:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87lhk93g9b.fsf@netris.org> (Mark H. Weaver's message of "Sat, 07 Feb 2015 10:14:56 -0500") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: Mark H Weaver Cc: 19671@debbugs.gnu.org This has just happened to me as well, and I think the reason is that, when a download failure happens (500, 502, 504, etc.), the thread doing the download directly writes to the current error port. And as we know, ports are not thread-safe in Guile 2.0 and we=E2=80=99re not doing additional synchronization here, so everything wrecks havoc. This is another incentive to merge wip-http-pipelining. I=E2=80=99ll give = it another try. Thanks, Ludo=E2=80=99.