From patchwork Thu Jun 17 13:36:02 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: M X-Patchwork-Id: 30333 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 0D35827BC78; Thu, 17 Jun 2021 14:37: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.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL, SPF_HELO_PASS,T_DKIM_INVALID,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 E0BC827BC81 for ; Thu, 17 Jun 2021 14:37:10 +0100 (BST) Received: from localhost ([::1]:47802 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ltsCk-0000Va-0O for patchwork@mira.cbaines.net; Thu, 17 Jun 2021 09:37:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52016) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ltsCc-0000VM-EO for guix-patches@gnu.org; Thu, 17 Jun 2021 09:37:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:42433) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ltsCc-0004Ao-4v for guix-patches@gnu.org; Thu, 17 Jun 2021 09:37:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ltsCb-0000uu-UX for guix-patches@gnu.org; Thu, 17 Jun 2021 09:37:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48120] [PATCH] etc: committer: Read #~, #$ and #+ correctly. References: In-Reply-To: Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 17 Jun 2021 13:37:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48120 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 48120@debbugs.gnu.org Received: via spool by 48120-submit@debbugs.gnu.org id=B48120.16239369843476 (code B ref 48120); Thu, 17 Jun 2021 13:37:01 +0000 Received: (at 48120) by debbugs.gnu.org; 17 Jun 2021 13:36:24 +0000 Received: from localhost ([127.0.0.1]:53979 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ltsBw-0000tt-0l for submit@debbugs.gnu.org; Thu, 17 Jun 2021 09:36:24 -0400 Received: from albert.telenet-ops.be ([195.130.137.90]:52522) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ltsBp-0000tg-Vn for 48120@debbugs.gnu.org; Thu, 17 Jun 2021 09:36:18 -0400 Received: from butterfly.local ([188.189.1.128]) by albert.telenet-ops.be with bizsmtp id JDcB2500Q2liavw06DcCmz; Thu, 17 Jun 2021 15:36:12 +0200 Message-ID: <927c6dc244aea404128d54055663409bd7f1e7e1.camel@telenet.be> From: Maxime Devos Date: Thu, 17 Jun 2021 15:36:02 +0200 User-Agent: Evolution 3.34.2 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r21; t=1623936972; bh=khDXhqNg6XH11HlpPKjBB4oGS4bLUe2yzwYdt/bWuBY=; h=Subject:From:To:Date; b=JeLbdYTXeTBAscVmDXoYT5cgVrjSBNJfWrY4RF2TJszT1blTaQPpz3jDxRWCFUmFH NkLYn4bbzmG9/ld0MU3A/gi5QRYkJkHA8w7ey10PSYzbjjzdNGc/dSTfQPZmggak3w BGPR6J/vSE32/Vacrr1tvH82hWd7k+pC8oa2r5xuMSmKbN8zI8rUj7DNPCdYH4MIBJ ueXc9bhRw6yNr2VMz4HDiPh0Qp5fGC4YzR9GhaczaVDeUNWSz4d6z3dfFaxhHb+U7q xb0VBepVuxli1zZXEyB2xLwkh9InQ7Kvmy24VamM2mwZGiuqMigR43QuPHKqbAXfzM 7KU4UoqLCJm7g== 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 Hi Guix, I haven't gotten around to making a new revision of the whole patch series yet, but I want to note that this individual patch is simple and functions on its own. Greetings, Maxime. From 3f6404ab0367d91bb665748a8eab17976e9a2c11 Mon Sep 17 00:00:00 2001 From: Maxime Devos Date: Fri, 30 Apr 2021 22:53:12 +0200 Subject: [PATCH] etc: committer: Read #~, #$ and #+ correctly. Some package definitions use G-expressions (see, e.g., chez-scheme). Import (guix gexp) such that Guile knows how to read those. Otherwise, an exception such as the following might be raised: ERROR: In procedure read: In procedure scm_lreadr: gnu/services/networking.scm:480:16: Unknown # object: #\~ * etc/committer.scm.in: Import (guix gexp). --- etc/committer.scm.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/etc/committer.scm.in b/etc/committer.scm.in index 1f19ccfd6d..b61121bc4b 100755 --- a/etc/committer.scm.in +++ b/etc/committer.scm.in @@ -36,7 +36,8 @@ (ice-9 popen) (ice-9 match) (ice-9 rdelim) - (ice-9 textual-ports)) + (ice-9 textual-ports) + (guix gexp)) (define (read-excursion port) "Read an expression from PORT and reset the port position before returning -- 2.32.0