From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 01 09:21:13 2021 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: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: 41930-done@debbugs.gnu.org Subject: Re: bug#41930: =?utf-8?B?4oCYZ3VpeCBwdWxs4oCZ?= shows raw build log output 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=22'?= =?utf-8?Q?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-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 41930-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) 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.