From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id WKj8G/HJZWDuqQAAgWs5BA (envelope-from ) for ; Thu, 01 Apr 2021 15:26:09 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id SIXMFfHJZWD+BAAAbx9fmQ (envelope-from ) for ; Thu, 01 Apr 2021 13:26:09 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id D184F190F8 for ; Thu, 1 Apr 2021 15:26:08 +0200 (CEST) Received: from localhost ([::1]:43874 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lRxKp-000825-Pc for larch@yhetil.org; Thu, 01 Apr 2021 09:26:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38616) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lRxGt-0003sZ-Go for bug-guix@gnu.org; Thu, 01 Apr 2021 09:22:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:45115) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lRxGt-0000hQ-5B for bug-guix@gnu.org; Thu, 01 Apr 2021 09:22:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lRxGt-0001hG-1i for bug-guix@gnu.org; Thu, 01 Apr 2021 09:22:03 -0400 Subject: bug#41930: =?UTF-8?Q?=E2=80=98guix_?= =?UTF-8?Q?pull=E2=80=99?= shows raw build log output Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-To: bug-guix@gnu.org Resent-Date: Thu, 01 Apr 2021 13:22:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 41930 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 41930-done@debbugs.gnu.org Mail-Followup-To: 41930@debbugs.gnu.org, ludo@gnu.org, ludovic.courtes@inria.fr Received: via spool by 41930-done@debbugs.gnu.org id=D41930.16172832736394 (code D ref 41930); Thu, 01 Apr 2021 13:22:02 +0000 Received: (at 41930-done) by debbugs.gnu.org; 1 Apr 2021 13:21:13 +0000 Received: from localhost ([127.0.0.1]:56646 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lRxG5-0001f3-D1 for submit@debbugs.gnu.org; Thu, 01 Apr 2021 09:21:13 -0400 Received: from eggs.gnu.org ([209.51.188.92]:45384) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lRxG4-0001ej-Fv for 41930-done@debbugs.gnu.org; Thu, 01 Apr 2021 09:21:12 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:54469) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lRxFz-0000Dp-Ai for 41930-done@debbugs.gnu.org; Thu, 01 Apr 2021 09:21:07 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=56184 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lRxFy-0002tG-Oc for 41930-done@debbugs.gnu.org; Thu, 01 Apr 2021 09:21:07 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87o8pgjwuc.fsf@inria.fr> <87im58g0pj.fsf@gnu.org> Date: Thu, 01 Apr 2021 15:21:05 +0200 In-Reply-To: <87im58g0pj.fsf@gnu.org> ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Tue, 30 Mar 2021 16:44:56 +0200") Message-ID: <87ft0a87jy.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1617283568; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-to: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=LKgn6Ce6NuTnSUNEcpoI2UcOqjzQ0pn6lKhxFxd39uQ=; b=n4DFtEMvLUFDpauVlrJeofRKb5hjmdIZoebtnPi3qB7iNmkAxAJX0AFlEecGheX5Z6Cjcp pze5WopwhN1c2cwI6HhpprJhrt29VBCZFOGr/fbqcD2YsdLB4HFisNp/6tIlB98vjyynaf o2TMjOTf6wfuIEL7MPjAdTFWCiSqLb+TBXQC7iUxaq8UAkLx7/bfYjuiiRxRN0mjcTunxH /cYJEsaTIsgoRdLSwCJyqAFO/T+92EHBUmBBJfsVUF24l+jdYJt9SOp+AzzPj8VSv6tbuQ 51N0X2ogBp5qtVp3QCtbSNGxiqz1DDgSRqVGArLZKyZ0OFTOOktDUN6CvHr+yw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1617283568; a=rsa-sha256; cv=none; b=kuhwYbClli1yDR/pL71g7evzQXdr6LJagGNIpnsMLMZD/B/jabtEfQBxMGR48LxBHRf4ib 7xUXfAlHjDuiUeoXNMVLjKJjZQolGrH/d5HRLAuLENKiLr+Hd0MpLSx1iXpaNpEZCXjOIm xnNpgWt5P7EvAEt9TcuD/BQ5wds8PuO2EimHxRI6wVGXfpkqphVhbs0TaNJSwQLnmeesMj VTImB2Mr7ZsehvypYAE60IBrQekizTFgEASNcJQ74860fwuCNbKE+IHKS63b2lw06IiZbY nrYfCJjGTEGwTIyXbznNN21a5E4u5MBbe3I14OoHfqupyYUo3CP3aHvMhbYtTA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Spam-Score: -2.93 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: D184F190F8 X-Spam-Score: -2.93 X-Migadu-Scanner: scn0.migadu.com X-TUID: puBAjGVQAcIt Ludovic Court=C3=A8s skribis: > The attached patch fixes that in an unimaginative but efficient fashion: > > 1. the parent process (which runs =E2=80=98build-self.scm=E2=80=99) acc= epts connections on > a named socket; > > 2. the =E2=80=98compute-guix-derivation=E2=80=99 process connects to th= at socket and > sends it its raw build output (what we see in the snippet above); > > 3. the parent process reads that and sends it to its own > (current-build-output-port); that port processes those =E2=80=9C@=E2= =80=9D build > traces according to the current =E2=80=98--verbosity=E2=80=99=E2=80= =94see (guix status). > > With this in place, builds or downloads triggered during the evaluation > of =E2=80=98compute-guix-derivation=E2=80=99 are reported in a consistent= way from a UI > viewpoint. > > There was one remaining glitch: the spinner that > =E2=80=98compute-guix-derivation=E2=80=99 prints would show up in the mid= dle of the > prettified build output. The second patch addresses that. Pushed as a81a19930b2cbe1327e1e82d6210f80846ce2898. Ludo=E2=80=99.