From patchwork Thu Oct 22 16:25:57 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christopher Baines X-Patchwork-Id: 24738 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id ED35E27BBF0; Thu, 22 Oct 2020 17:27:20 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,UNPARSEABLE_RELAY autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id C9A6927BBEE for ; Thu, 22 Oct 2020 17:27:20 +0100 (BST) Received: from localhost ([::1]:51894 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kVdQt-0001zf-Un for patchwork@mira.cbaines.net; Thu, 22 Oct 2020 12:27:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53432) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kVdQd-0001qP-Pv for guix-patches@gnu.org; Thu, 22 Oct 2020 12:27:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:42128) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kVdQd-0004up-Ek for guix-patches@gnu.org; Thu, 22 Oct 2020 12:27:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kVdQd-0000Pm-Bs for guix-patches@gnu.org; Thu, 22 Oct 2020 12:27:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#44143] [PATCH 1/5] services: guix: Fix hooks gexp issue for the Guix Build Coordinator. Resent-From: Christopher Baines Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 22 Oct 2020 16:27:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44143 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 44143@debbugs.gnu.org Received: via spool by 44143-submit@debbugs.gnu.org id=B44143.16033839671477 (code B ref 44143); Thu, 22 Oct 2020 16:27:03 +0000 Received: (at 44143) by debbugs.gnu.org; 22 Oct 2020 16:26:07 +0000 Received: from localhost ([127.0.0.1]:53667 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kVdPi-0000Ng-JW for submit@debbugs.gnu.org; Thu, 22 Oct 2020 12:26:06 -0400 Received: from mira.cbaines.net ([212.71.252.8]:47586) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kVdPg-0000Mk-6O for 44143@debbugs.gnu.org; Thu, 22 Oct 2020 12:26:05 -0400 Received: from localhost (92.41.179.191.threembb.co.uk [92.41.179.191]) by mira.cbaines.net (Postfix) with ESMTPSA id 5798727BBEE for <44143@debbugs.gnu.org>; Thu, 22 Oct 2020 17:26:03 +0100 (BST) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id f3a0d24d for <44143@debbugs.gnu.org>; Thu, 22 Oct 2020 16:26:01 +0000 (UTC) From: Christopher Baines Date: Thu, 22 Oct 2020 17:25:57 +0100 Message-Id: <20201022162601.3757-1-mail@cbaines.net> X-Mailer: git-send-email 2.28.0 In-Reply-To: <87eelqgrso.fsf@cbaines.net> References: <87eelqgrso.fsf@cbaines.net> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/services/guix.scm (make-guix-build-coordinator-start-script): Fix handling the name within the hook gexp. --- gnu/services/guix.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnu/services/guix.scm b/gnu/services/guix.scm index bd7ebcd2aa..665267f5e3 100644 --- a/gnu/services/guix.scm +++ b/gnu/services/guix.scm @@ -209,7 +209,7 @@ (hooks (list #$@(map (match-lambda ((name . hook-gexp) - #~(cons name #$hook-gexp))) + #~(cons '#$name #$hook-gexp))) hooks))) (hooks-with-defaults `(,@hooks From patchwork Thu Oct 22 16:25:58 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christopher Baines X-Patchwork-Id: 24737 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id F246527BBF0; Thu, 22 Oct 2020 17:27:15 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,UNPARSEABLE_RELAY,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id B784E27BBEE for ; Thu, 22 Oct 2020 17:27:15 +0100 (BST) Received: from localhost ([::1]:51662 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kVdQo-0001r2-Qh for patchwork@mira.cbaines.net; Thu, 22 Oct 2020 12:27:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53438) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kVdQd-0001qT-R4 for guix-patches@gnu.org; Thu, 22 Oct 2020 12:27:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:42127) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kVdQd-0004uo-2Q for guix-patches@gnu.org; Thu, 22 Oct 2020 12:27:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kVdQc-0000Pf-VD for guix-patches@gnu.org; Thu, 22 Oct 2020 12:27:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#44143] [PATCH 2/5] gnu: guix-build-coordinator: Ensure gnutls is available. Resent-From: Christopher Baines Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 22 Oct 2020 16:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44143 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 44143@debbugs.gnu.org Received: via spool by 44143-submit@debbugs.gnu.org id=B44143.16033839661471 (code B ref 44143); Thu, 22 Oct 2020 16:27:02 +0000 Received: (at 44143) by debbugs.gnu.org; 22 Oct 2020 16:26:06 +0000 Received: from localhost ([127.0.0.1]:53665 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kVdPi-0000NZ-9t for submit@debbugs.gnu.org; Thu, 22 Oct 2020 12:26:06 -0400 Received: from mira.cbaines.net ([212.71.252.8]:47592) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kVdPg-0000Mn-7E for 44143@debbugs.gnu.org; Thu, 22 Oct 2020 12:26:05 -0400 Received: from localhost (92.41.179.191.threembb.co.uk [92.41.179.191]) by mira.cbaines.net (Postfix) with ESMTPSA id 6CC2227BBF0 for <44143@debbugs.gnu.org>; Thu, 22 Oct 2020 17:26:03 +0100 (BST) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id 11701f07 for <44143@debbugs.gnu.org>; Thu, 22 Oct 2020 16:26:01 +0000 (UTC) From: Christopher Baines Date: Thu, 22 Oct 2020 17:25:58 +0100 Message-Id: <20201022162601.3757-2-mail@cbaines.net> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201022162601.3757-1-mail@cbaines.net> References: <87eelqgrso.fsf@cbaines.net> <20201022162601.3757-1-mail@cbaines.net> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches Some hooks expect this to be available. * gnu/packages/package-management.scm (guix-build-coordinator) [inputs,native-inputs]: Add gnutls. --- gnu/packages/package-management.scm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gnu/packages/package-management.scm b/gnu/packages/package-management.scm index 45c3d4d5cf..349897fd16 100644 --- a/gnu/packages/package-management.scm +++ b/gnu/packages/package-management.scm @@ -1048,6 +1048,7 @@ environments.") `(("pkg-config" ,pkg-config) ("autoconf" ,autoconf) ("automake" ,automake) + ("gnutls" ,gnutls) ;; Guile libraries are needed here for cross-compilation. ("guile-json" ,guile-json-3) @@ -1066,6 +1067,7 @@ environments.") ("guile-zlib" ,guile-zlib) ("guile-sqlite3" ,guile-sqlite3) ("guix" ,guix) + ("gnutls" ,gnutls) ("sqlite" ,sqlite) ("sqitch" ,sqitch))) (home-page "https://git.cbaines.net/guix/build-coordinator/") From patchwork Thu Oct 22 16:25:59 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christopher Baines X-Patchwork-Id: 24740 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id C310627BBF0; Thu, 22 Oct 2020 17:28:52 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,UNPARSEABLE_RELAY autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 9BB9227BBEE for ; Thu, 22 Oct 2020 17:28:52 +0100 (BST) Received: from localhost ([::1]:53488 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kVdSN-0002lV-PE for patchwork@mira.cbaines.net; Thu, 22 Oct 2020 12:28:51 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53434) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kVdQd-0001qQ-QB for guix-patches@gnu.org; Thu, 22 Oct 2020 12:27:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:42126) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kVdQc-0004un-JC for guix-patches@gnu.org; Thu, 22 Oct 2020 12:27:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kVdQc-0000PW-Em for guix-patches@gnu.org; Thu, 22 Oct 2020 12:27:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#44143] [PATCH 3/5] services: guix-build-coordinator: Output the start script name. Resent-From: Christopher Baines Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 22 Oct 2020 16:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44143 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 44143@debbugs.gnu.org Received: via spool by 44143-submit@debbugs.gnu.org id=B44143.16033839661464 (code B ref 44143); Thu, 22 Oct 2020 16:27:02 +0000 Received: (at 44143) by debbugs.gnu.org; 22 Oct 2020 16:26:06 +0000 Received: from localhost ([127.0.0.1]:53663 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kVdPh-0000NR-Qy for submit@debbugs.gnu.org; Thu, 22 Oct 2020 12:26:06 -0400 Received: from mira.cbaines.net ([212.71.252.8]:47588) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kVdPg-0000Ml-8S for 44143@debbugs.gnu.org; Thu, 22 Oct 2020 12:26:04 -0400 Received: from localhost (92.41.179.191.threembb.co.uk [92.41.179.191]) by mira.cbaines.net (Postfix) with ESMTPSA id 8171B27BBF1 for <44143@debbugs.gnu.org>; Thu, 22 Oct 2020 17:26:03 +0100 (BST) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id 1bffa0fe for <44143@debbugs.gnu.org>; Thu, 22 Oct 2020 16:26:01 +0000 (UTC) From: Christopher Baines Date: Thu, 22 Oct 2020 17:25:59 +0100 Message-Id: <20201022162601.3757-3-mail@cbaines.net> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201022162601.3757-1-mail@cbaines.net> References: <87eelqgrso.fsf@cbaines.net> <20201022162601.3757-1-mail@cbaines.net> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches As this can be useful for debugging purposes. * gnu/services/guix.scm (make-guix-build-coordinator-start-script): Output the current filename. --- gnu/services/guix.scm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gnu/services/guix.scm b/gnu/services/guix.scm index 665267f5e3..1666733e9c 100644 --- a/gnu/services/guix.scm +++ b/gnu/services/guix.scm @@ -200,6 +200,8 @@ (guix-build-coordinator build-allocator) (guix-build-coordinator coordinator)) + (simple-format #t "starting the guix-build-coordinator:\n ~A\n" + (current-filename)) (let* ((metrics-registry (make-metrics-registry #:namespace "guixbuildcoordinator_")) From patchwork Thu Oct 22 16:26:00 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christopher Baines X-Patchwork-Id: 24741 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 8DB0527BBF0; Thu, 22 Oct 2020 17:29:04 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,UNPARSEABLE_RELAY autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 477E227BBEE for ; Thu, 22 Oct 2020 17:29:04 +0100 (BST) Received: from localhost ([::1]:53696 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kVdSZ-0002qm-GH for patchwork@mira.cbaines.net; Thu, 22 Oct 2020 12:29:03 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53436) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kVdQd-0001qR-QM for guix-patches@gnu.org; Thu, 22 Oct 2020 12:27:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:42122) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kVdQb-0004uj-MX for guix-patches@gnu.org; Thu, 22 Oct 2020 12:27:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kVdQb-0000PA-IP for guix-patches@gnu.org; Thu, 22 Oct 2020 12:27:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#44143] [PATCH 4/5] services: guix-build-coordinator: Include the system profile in PATH. Resent-From: Christopher Baines Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 22 Oct 2020 16:27:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44143 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 44143@debbugs.gnu.org Received: via spool by 44143-submit@debbugs.gnu.org id=B44143.16033839651449 (code B ref 44143); Thu, 22 Oct 2020 16:27:01 +0000 Received: (at 44143) by debbugs.gnu.org; 22 Oct 2020 16:26:05 +0000 Received: from localhost ([127.0.0.1]:53659 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kVdPh-0000NI-BM for submit@debbugs.gnu.org; Thu, 22 Oct 2020 12:26:05 -0400 Received: from mira.cbaines.net ([212.71.252.8]:47590) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kVdPg-0000Mm-6L for 44143@debbugs.gnu.org; Thu, 22 Oct 2020 12:26:04 -0400 Received: from localhost (92.41.179.191.threembb.co.uk [92.41.179.191]) by mira.cbaines.net (Postfix) with ESMTPSA id 9761127BBF2 for <44143@debbugs.gnu.org>; Thu, 22 Oct 2020 17:26:03 +0100 (BST) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id 2839c4c7 for <44143@debbugs.gnu.org>; Thu, 22 Oct 2020 16:26:01 +0000 (UTC) From: Christopher Baines Date: Thu, 22 Oct 2020 17:26:00 +0100 Message-Id: <20201022162601.3757-4-mail@cbaines.net> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201022162601.3757-1-mail@cbaines.net> References: <87eelqgrso.fsf@cbaines.net> <20201022162601.3757-1-mail@cbaines.net> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches As this allows hooks to use the system profile, if that's desired. * gnu/services/guix.scm (guix-build-coordinator-shepherd-services): Set PATH to include the system profile. --- gnu/services/guix.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gnu/services/guix.scm b/gnu/services/guix.scm index 1666733e9c..ac2a03147c 100644 --- a/gnu/services/guix.scm +++ b/gnu/services/guix.scm @@ -267,7 +267,8 @@ #:environment-variables `(,(string-append "GUIX_LOCPATH=" #$glibc-utf8-locales "/lib/locale") - "LC_ALL=en_US.utf8") + "LC_ALL=en_US.utf8" + "PATH=/run/current-system/profile/bin") ; for hooks #:log-file "/var/log/guix-build-coordinator/coordinator.log")) (stop #~(make-kill-destructor)))))) From patchwork Thu Oct 22 16:26:01 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christopher Baines X-Patchwork-Id: 24739 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id F30EF27BBF0; Thu, 22 Oct 2020 17:28:47 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,UNPARSEABLE_RELAY autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id CCDB427BBEE for ; Thu, 22 Oct 2020 17:28:47 +0100 (BST) Received: from localhost ([::1]:53296 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kVdSJ-0002fs-2C for patchwork@mira.cbaines.net; Thu, 22 Oct 2020 12:28:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53430) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kVdQd-0001qO-PI for guix-patches@gnu.org; Thu, 22 Oct 2020 12:27:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:42125) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kVdQc-0004um-2o for guix-patches@gnu.org; Thu, 22 Oct 2020 12:27:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kVdQb-0000PI-Vw for guix-patches@gnu.org; Thu, 22 Oct 2020 12:27:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#44143] [PATCH 5/5] services: guix-build-coordinator: Configure output buffering. Resent-From: Christopher Baines Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 22 Oct 2020 16:27:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44143 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 44143@debbugs.gnu.org Received: via spool by 44143-submit@debbugs.gnu.org id=B44143.16033839651456 (code B ref 44143); Thu, 22 Oct 2020 16:27:01 +0000 Received: (at 44143) by debbugs.gnu.org; 22 Oct 2020 16:26:05 +0000 Received: from localhost ([127.0.0.1]:53661 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kVdPh-0000NK-Jx for submit@debbugs.gnu.org; Thu, 22 Oct 2020 12:26:05 -0400 Received: from mira.cbaines.net ([212.71.252.8]:47594) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kVdPg-0000Mo-7L for 44143@debbugs.gnu.org; Thu, 22 Oct 2020 12:26:04 -0400 Received: from localhost (92.41.179.191.threembb.co.uk [92.41.179.191]) by mira.cbaines.net (Postfix) with ESMTPSA id AC12E27BBF3 for <44143@debbugs.gnu.org>; Thu, 22 Oct 2020 17:26:03 +0100 (BST) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id 7fb5232d for <44143@debbugs.gnu.org>; Thu, 22 Oct 2020 16:26:01 +0000 (UTC) From: Christopher Baines Date: Thu, 22 Oct 2020 17:26:01 +0100 Message-Id: <20201022162601.3757-5-mail@cbaines.net> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201022162601.3757-1-mail@cbaines.net> References: <87eelqgrso.fsf@cbaines.net> <20201022162601.3757-1-mail@cbaines.net> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches Otherwise the logging is garbled. * gnu/services/guix.scm (make-guix-build-coordinator-start-script): Configure line output buffering for stdout and stderr. --- gnu/services/guix.scm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gnu/services/guix.scm b/gnu/services/guix.scm index ac2a03147c..4afe02792f 100644 --- a/gnu/services/guix.scm +++ b/gnu/services/guix.scm @@ -200,6 +200,9 @@ (guix-build-coordinator build-allocator) (guix-build-coordinator coordinator)) + (setvbuf (current-output-port) 'line) + (setvbuf (current-error-port) 'line) + (simple-format #t "starting the guix-build-coordinator:\n ~A\n" (current-filename)) (let* ((metrics-registry (make-metrics-registry