From unknown Sat Aug 16 19:20:54 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#53708] [PATCH] Fix Elixir substitution error Resent-From: Cees de Groot Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 01 Feb 2022 19:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 53708 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 53708@debbugs.gnu.org X-Debbugs-Original-To: "guix-patches@gnu.org" Reply-To: Cees de Groot Received: via spool by submit@debbugs.gnu.org id=B.1643743048605 (code B ref -1); Tue, 01 Feb 2022 19:18:02 +0000 Received: (at submit) by debbugs.gnu.org; 1 Feb 2022 19:17:28 +0000 Received: from localhost ([127.0.0.1]:44141 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nEyee-00009h-H0 for submit@debbugs.gnu.org; Tue, 01 Feb 2022 14:17:28 -0500 Received: from lists.gnu.org ([209.51.188.17]:41682) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nEyed-00009T-0Q for submit@debbugs.gnu.org; Tue, 01 Feb 2022 14:17:27 -0500 Received: from eggs.gnu.org ([209.51.188.92]:57454) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nEyeb-00029X-L8 for guix-patches@gnu.org; Tue, 01 Feb 2022 14:17:26 -0500 Received: from mail-4323.proton.ch ([185.70.43.23]:26718) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nEyeR-0000UG-Aa for guix-patches@gnu.org; Tue, 01 Feb 2022 14:17:21 -0500 Date: Tue, 01 Feb 2022 19:16:52 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=evrl.com; s=protonmail3; t=1643743014; bh=18kzYsG6VFp6TKnmHNt9Nbu93E4qkc17ZhNKhi69L80=; h=Date:To:From:Reply-To:Subject:Message-ID:From:To:Cc; b=Futx7RGU7ZI9zihGLEHXByrbLeYYCDdUNS26F462jyfSbdB2kOqDhDGz2onNkTOJ1 wGtLxhkPgwoeuvMQeYn5MXzCviAKP8rR4AxcNpfY3uT60vLYBPwDFgkd04RWKeW4yl 3m8+vjq3QPIYcrmRHsQ2Ah2bx1n5QUbaJbJRi0bA34Gzl5CjAZOCGRv9sYZTHo5SNg YyjgWrQCZXdYIAHgz+fxjT9wpYeUlV/Z6ki7GDAfQVgvIb6jj0zPcZUbQZFq7lU1gA ni7uizZu7v+mJfaY88V3u+0+o45eOBLIaVks0QvzBmtAMnAwOAzLhYGFWU1cXbZAB1 lVabkgNwOp+EA== From: Cees de Groot Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.2 required=10.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,T_SCC_BODY_TEXT_LINE shortcircuit=no autolearn=disabled version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on mailout.protonmail.ch Received-SPF: pass client-ip=185.70.43.23; envelope-from=cg@evrl.com; helo=mail-4323.proton.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) 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: -2.3 (--) >From d9860a374c5b6e5b992439a232e6897bfde1e334 Mon Sep 17 00:00:00 2001 From: Cees de Groot Date: Tue, 1 Feb 2022 14:12:17 -0500 Subject: [PATCH] Fix regex for ERTS_BIN substitution in Elixir Something must have gone wrong during testing of the ELixir 1.13.2 patch I = submitted last week. Apart from #53707, I also found out that the whole sub= stitution regex did not work. This works better - it is still more brittle = than I like, but apparently `substitute*` does not work with fully anchored regexes. --- gnu/packages/elixir.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnu/packages/elixir.scm b/gnu/packages/elixir.scm index fae8279e5c..55e17f2901 100644 --- a/gnu/packages/elixir.scm +++ b/gnu/packages/elixir.scm @@ -70,7 +70,7 @@ (define-public elixir (("#!/bin/sh") (string-append "#!" (search-input-file inputs "/bin/sh"))= )) (substitute* "bin/elixir" - (("^ERTS_BIN=3D$") + (("ERTS_BIN=3D\n") (string-append "ERTS_BIN=3D" ;; Elixir Releases will prepend to ERTS_BIN the path of -- 2.34.0 From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 14 08:36:48 2022 Received: (at control) by debbugs.gnu.org; 14 Feb 2022 13:36:48 +0000 Received: from localhost ([127.0.0.1]:40249 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nJbX6-0007nq-6M for submit@debbugs.gnu.org; Mon, 14 Feb 2022 08:36:48 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:40182) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nJbX4-0007nc-9d for control@debbugs.gnu.org; Mon, 14 Feb 2022 08:36:46 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id CA0ECB5A for ; Mon, 14 Feb 2022 14:36:40 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XqRWRTWC1iYd for ; Mon, 14 Feb 2022 14:36:40 +0100 (CET) Received: from ribbon (91-160-117-201.subs.proxad.net [91.160.117.201]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 418B4B50 for ; Mon, 14 Feb 2022 14:36:40 +0100 (CET) Date: Mon, 14 Feb 2022 14:36:39 +0100 Message-Id: <877d9xy3h4.fsf@gnu.org> To: control@debbugs.gnu.org From: =?utf-8?Q?Ludovic_Court=C3=A8s?= Subject: control message for bug #53708 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spamd-Bar: / Authentication-Results: hera.aquilenet.fr; none X-Rspamd-Server: hera X-Rspamd-Queue-Id: CA0ECB5A X-Spamd-Result: default: False [0.61 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[control@debbugs.gnu.org]; RCPT_COUNT_ONE(0.00)[1]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; R_MIXED_CHARSET(0.71)[subject]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: control 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: -0.0 (/) merge 53708 53708 quit From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 14 08:37:05 2022 Received: (at control) by debbugs.gnu.org; 14 Feb 2022 13:37:05 +0000 Received: from localhost ([127.0.0.1]:40257 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nJbXN-0007pK-Bx for submit@debbugs.gnu.org; Mon, 14 Feb 2022 08:37:05 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:40222) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nJbXL-0007o8-M4 for control@debbugs.gnu.org; Mon, 14 Feb 2022 08:37:03 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 482F9566 for ; Mon, 14 Feb 2022 14:36:58 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9mHEQn7uLbxg for ; Mon, 14 Feb 2022 14:36:57 +0100 (CET) Received: from ribbon (91-160-117-201.subs.proxad.net [91.160.117.201]) by hera.aquilenet.fr (Postfix) with ESMTPSA id C73E0292 for ; Mon, 14 Feb 2022 14:36:57 +0100 (CET) Date: Mon, 14 Feb 2022 14:36:57 +0100 Message-Id: <875yphy3gm.fsf@gnu.org> To: control@debbugs.gnu.org From: =?utf-8?Q?Ludovic_Court=C3=A8s?= Subject: control message for bug #53708 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spamd-Bar: / Authentication-Results: hera.aquilenet.fr; none X-Rspamd-Server: hera X-Rspamd-Queue-Id: 482F9566 X-Spamd-Result: default: False [0.61 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[control@debbugs.gnu.org]; RCPT_COUNT_ONE(0.00)[1]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; R_MIXED_CHARSET(0.71)[subject]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: control 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: -0.0 (/) merge 53708 53643 quit From unknown Sat Aug 16 19:20:54 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Cees de Groot Subject: bug#53708: closed (Re: bug#53708: [PATCH] Fix Elixir substitution error) Message-ID: References: <87wnhxwlgc.fsf@gnu.org> X-Gnu-PR-Message: they-closed 53708 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 53708@debbugs.gnu.org Date: Mon, 14 Feb 2022 14:52:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1644850322-8347-1" This is a multi-part message in MIME format... ------------=_1644850322-8347-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #53708: [PATCH] Fix Elixir substitution error which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 53708@debbugs.gnu.org. --=20 53708: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D53708 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1644850322-8347-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 53708-done) by debbugs.gnu.org; 14 Feb 2022 14:51:25 +0000 Received: from localhost ([127.0.0.1]:40441 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nJchJ-00029h-8E for submit@debbugs.gnu.org; Mon, 14 Feb 2022 09:51:25 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:42104) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nJchH-00029S-68 for 53708-done@debbugs.gnu.org; Mon, 14 Feb 2022 09:51:24 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id B98F4566; Mon, 14 Feb 2022 15:51:16 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ma93XMbZiMB7; Mon, 14 Feb 2022 15:51:16 +0100 (CET) Received: from ribbon (unknown [IPv6:2a01:e0a:1d:7270:af76:b9b:ca24:c465]) by hera.aquilenet.fr (Postfix) with ESMTPSA id D645E2D0; Mon, 14 Feb 2022 15:51:15 +0100 (CET) From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Cees de Groot Subject: Re: bug#53708: [PATCH] Fix Elixir substitution error References: Date: Mon, 14 Feb 2022 15:51:15 +0100 In-Reply-To: (Cees de Groot's message of "Tue, 01 Feb 2022 19:16:52 +0000") Message-ID: <87wnhxwlgc.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-Spamd-Bar: / Authentication-Results: hera.aquilenet.fr; none X-Rspamd-Server: hera X-Rspamd-Queue-Id: B98F4566 X-Spamd-Result: default: False [-0.10 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 53708-done Cc: 53708-done@debbugs.gnu.org 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: -0.0 (/) Hi, Cees de Groot skribis: >>>From d9860a374c5b6e5b992439a232e6897bfde1e334 Mon Sep 17 00:00:00 2001 > From: Cees de Groot > Date: Tue, 1 Feb 2022 14:12:17 -0500 > Subject: [PATCH] Fix regex for ERTS_BIN substitution in Elixir > > Something must have gone wrong during testing of the ELixir 1.13.2 patch = I submitted last week. Apart from #53707, I also found out that the whole s= ubstitution regex did not work. This works better - it is still more brittl= e than I like, but apparently `substitute*` > does not work with fully anchored regexes. I adjusted the commit log and applied it. Thanks! Ludo=E2=80=99. ------------=_1644850322-8347-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 1 Feb 2022 19:17:28 +0000 Received: from localhost ([127.0.0.1]:44141 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nEyee-00009h-H0 for submit@debbugs.gnu.org; Tue, 01 Feb 2022 14:17:28 -0500 Received: from lists.gnu.org ([209.51.188.17]:41682) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nEyed-00009T-0Q for submit@debbugs.gnu.org; Tue, 01 Feb 2022 14:17:27 -0500 Received: from eggs.gnu.org ([209.51.188.92]:57454) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nEyeb-00029X-L8 for guix-patches@gnu.org; Tue, 01 Feb 2022 14:17:26 -0500 Received: from mail-4323.proton.ch ([185.70.43.23]:26718) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nEyeR-0000UG-Aa for guix-patches@gnu.org; Tue, 01 Feb 2022 14:17:21 -0500 Date: Tue, 01 Feb 2022 19:16:52 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=evrl.com; s=protonmail3; t=1643743014; bh=18kzYsG6VFp6TKnmHNt9Nbu93E4qkc17ZhNKhi69L80=; h=Date:To:From:Reply-To:Subject:Message-ID:From:To:Cc; b=Futx7RGU7ZI9zihGLEHXByrbLeYYCDdUNS26F462jyfSbdB2kOqDhDGz2onNkTOJ1 wGtLxhkPgwoeuvMQeYn5MXzCviAKP8rR4AxcNpfY3uT60vLYBPwDFgkd04RWKeW4yl 3m8+vjq3QPIYcrmRHsQ2Ah2bx1n5QUbaJbJRi0bA34Gzl5CjAZOCGRv9sYZTHo5SNg YyjgWrQCZXdYIAHgz+fxjT9wpYeUlV/Z6ki7GDAfQVgvIb6jj0zPcZUbQZFq7lU1gA ni7uizZu7v+mJfaY88V3u+0+o45eOBLIaVks0QvzBmtAMnAwOAzLhYGFWU1cXbZAB1 lVabkgNwOp+EA== To: "guix-patches@gnu.org" From: Cees de Groot Subject: [PATCH] Fix Elixir substitution error Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.2 required=10.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,T_SCC_BODY_TEXT_LINE shortcircuit=no autolearn=disabled version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on mailout.protonmail.ch Received-SPF: pass client-ip=185.70.43.23; envelope-from=cg@evrl.com; helo=mail-4323.proton.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit 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: , Reply-To: Cees de Groot Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) >From d9860a374c5b6e5b992439a232e6897bfde1e334 Mon Sep 17 00:00:00 2001 From: Cees de Groot Date: Tue, 1 Feb 2022 14:12:17 -0500 Subject: [PATCH] Fix regex for ERTS_BIN substitution in Elixir Something must have gone wrong during testing of the ELixir 1.13.2 patch I = submitted last week. Apart from #53707, I also found out that the whole sub= stitution regex did not work. This works better - it is still more brittle = than I like, but apparently `substitute*` does not work with fully anchored regexes. --- gnu/packages/elixir.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnu/packages/elixir.scm b/gnu/packages/elixir.scm index fae8279e5c..55e17f2901 100644 --- a/gnu/packages/elixir.scm +++ b/gnu/packages/elixir.scm @@ -70,7 +70,7 @@ (define-public elixir (("#!/bin/sh") (string-append "#!" (search-input-file inputs "/bin/sh"))= )) (substitute* "bin/elixir" - (("^ERTS_BIN=3D$") + (("ERTS_BIN=3D\n") (string-append "ERTS_BIN=3D" ;; Elixir Releases will prepend to ERTS_BIN the path of -- 2.34.0 ------------=_1644850322-8347-1-- From unknown Sat Aug 16 19:20:54 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: John Hamelink Subject: bug#53643: closed (Re: bug#53708: [PATCH] Fix Elixir substitution error) Message-ID: References: <87wnhxwlgc.fsf@gnu.org> <878ruwexe3.fsf@johnhame.link> X-Gnu-PR-Message: they-closed 53643 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 53643@debbugs.gnu.org Date: Mon, 14 Feb 2022 14:52:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1644850322-8347-3" This is a multi-part message in MIME format... ------------=_1644850322-8347-3 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #53708: [PATCH] Gnu: Elixir: Use previous method for detecting sh which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 53643@debbugs.gnu.org. --=20 53708: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D53708 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1644850322-8347-3 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 53708-done) by debbugs.gnu.org; 14 Feb 2022 14:51:25 +0000 Received: from localhost ([127.0.0.1]:40441 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nJchJ-00029h-8E for submit@debbugs.gnu.org; Mon, 14 Feb 2022 09:51:25 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:42104) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nJchH-00029S-68 for 53708-done@debbugs.gnu.org; Mon, 14 Feb 2022 09:51:24 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id B98F4566; Mon, 14 Feb 2022 15:51:16 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ma93XMbZiMB7; Mon, 14 Feb 2022 15:51:16 +0100 (CET) Received: from ribbon (unknown [IPv6:2a01:e0a:1d:7270:af76:b9b:ca24:c465]) by hera.aquilenet.fr (Postfix) with ESMTPSA id D645E2D0; Mon, 14 Feb 2022 15:51:15 +0100 (CET) From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Cees de Groot Subject: Re: bug#53708: [PATCH] Fix Elixir substitution error References: Date: Mon, 14 Feb 2022 15:51:15 +0100 In-Reply-To: (Cees de Groot's message of "Tue, 01 Feb 2022 19:16:52 +0000") Message-ID: <87wnhxwlgc.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-Spamd-Bar: / Authentication-Results: hera.aquilenet.fr; none X-Rspamd-Server: hera X-Rspamd-Queue-Id: B98F4566 X-Spamd-Result: default: False [-0.10 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 53708-done Cc: 53708-done@debbugs.gnu.org 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: -0.0 (/) Hi, Cees de Groot skribis: >>>From d9860a374c5b6e5b992439a232e6897bfde1e334 Mon Sep 17 00:00:00 2001 > From: Cees de Groot > Date: Tue, 1 Feb 2022 14:12:17 -0500 > Subject: [PATCH] Fix regex for ERTS_BIN substitution in Elixir > > Something must have gone wrong during testing of the ELixir 1.13.2 patch = I submitted last week. Apart from #53707, I also found out that the whole s= ubstitution regex did not work. This works better - it is still more brittl= e than I like, but apparently `substitute*` > does not work with fully anchored regexes. I adjusted the commit log and applied it. Thanks! Ludo=E2=80=99. ------------=_1644850322-8347-3 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 30 Jan 2022 21:17:49 +0000 Received: from localhost ([127.0.0.1]:37829 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nEHa1-0002m2-CG for submit@debbugs.gnu.org; Sun, 30 Jan 2022 16:17:49 -0500 Received: from lists.gnu.org ([209.51.188.17]:57632) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nEHZz-0002lv-Qg for submit@debbugs.gnu.org; Sun, 30 Jan 2022 16:17:48 -0500 Received: from eggs.gnu.org ([209.51.188.92]:60288) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nEHZz-0007xy-KQ for guix-patches@gnu.org; Sun, 30 Jan 2022 16:17:47 -0500 Received: from wout1-smtp.messagingengine.com ([64.147.123.24]:33979) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nEHZx-0007gm-V0 for guix-patches@gnu.org; Sun, 30 Jan 2022 16:17:47 -0500 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id 1BC5932009C3 for ; Sun, 30 Jan 2022 16:17:43 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Sun, 30 Jan 2022 16:17:43 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=johnhame.link; h=cc:content-type:date:date:from:from:in-reply-to:message-id :mime-version:reply-to:sender:subject:subject:to:to; s=fm2; bh=x jjT1PmgtBKHsmnlp3I2O99pVG0oxVRgLgaqlkfcsbg=; b=lHebdiiIMMQvCs2/c tfUXYTCKF0q6B9vKPJMmd3sM8Hm/wVwmX+B+SqtYTOjP0FOx36pqV1qZ5lVJqIya DZLsBCRhZ8iol00Xd5GZb1pR1XDqq2M9yR/A5atUnOJ92i8M3Dd1dSU3ptAq9kXo 8epZy5C827p1NN/cYwbiYuQ/7M/Wp95B8tTszcZArz8vAeS9uDjk4rxARjmlrs0N 7dYGxlyyHpR2PWy4/l4OJEzZ5h8m6NseNRWtvtO8h39RBjZQyTQOv1kdyCqWRDbF ajZh44zhhQQFmT0M7/w3FvrMIqm/nQwELtJyObsBK4rey3jwimp4XKwupgblywVZ J4a5w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:date:from:from :in-reply-to:message-id:mime-version:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=xjjT1PmgtBKHsmnlp3I2O99pVG0oxVRgLgaqlkfcs bg=; b=VyhXpzaEJxhFwqVf+PI+zEWV2ZDmrGv+6VH4+d+qHpy4Ks0kMbHnrr+0g WS/yKWf5KRQU9/3y9MYOkkjfPuQrEAn50ITIpC8gE+uCsiU807gr4Pz5mtTGdLVs lZtr1twpv3+YUHzbi4zVbT/7MBu8E0AV/Z28zkkxSscx4v2EPg19FPakAvvKRR8T rC9NccZXQMfk9hwlfZI7KaaHdsL0XpKevlLRzD/MCZGp2i+SzEu9mRRMLwnM9Xqj G3crD4iLZsUdyk2WhPc5E16i+isI13fL6eT5HIDWd8xTPLs9MRlHVh9o66pC9PqJ 7g3A7iKbo0vyN4QF2BaYyc0RH/+MQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrfeelgddugeekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffuffgfkfggtgesghdtreertd ertdenucfhrhhomheplfhohhhnucfjrghmvghlihhnkhcuoehmvgesjhhohhhnhhgrmhgv rdhlihhnkheqnecuggftrfgrthhtvghrnhepleefteevffetfeefgedtheffuddtvdettd dvvdfhhfdvfefgieeggffgtdelheejnecuvehluhhsthgvrhfuihiivgeptdenucfrrghr rghmpehmrghilhhfrhhomhepmhgvsehjohhhnhhhrghmvgdrlhhinhhk X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Sun, 30 Jan 2022 16:17:42 -0500 (EST) From: John Hamelink To: guix-patches@gnu.org Subject: [PATCH] Gnu: Elixir: Use previous method for detecting sh Date: Sun, 30 Jan 2022 21:15:17 +0000 User-agent: mu4e 1.6.10; emacs 28.0.50 Message-ID: <878ruwexe3.fsf@johnhame.link> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="===-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: pass client-ip=64.147.123.24; envelope-from=me@johnhame.link; helo=wout1-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.6 (-) X-Debbugs-Envelope-To: submit 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: -2.6 (--) --===-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: multipart/mixed; boundary="==-=-=" --==-=-= Content-Type: text/plain Content-Disposition: inline Content-Transfer-Encoding: quoted-printable gnu/packages/elixir.scm (elixir)[arguments]: Keep G-expressions, but use =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D WHICH instead of SEARCH-INPUT-FILES. Signed-off-by: John Hamelink =2D-- gnu/packages/elixir.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Hi there, While following a tutorial, I found myself struggling to build elixir. After discussing on #guix, and looking on the build server for clues, it seems that the SEARCH-INPUT-FILE change in 3da297997d ("gnu: elixir: Use G-expressions.") was the culprit. Within the G-expression, I reverted to the use of WHICH for the "sh" binary, while leaving the others as they are. I do not understand the differences between these two functions or why SEARCH-INPUT-FILE is preferential, so there may be additional caveats I'm n= ot aware of that SEARCH-INPUT-FILE addresses. Thanks John diff --git a/gnu/packages/elixir.scm b/gnu/packages/elixir.scm index 3fb74a56a5..5df50902ce 100644 =2D-- a/gnu/packages/elixir.scm +++ b/gnu/packages/elixir.scm @@ -68,7 +68,7 @@ (define-public elixir (substitute* '("lib/mix/lib/mix/release.ex" "lib/mix/lib/mix/tasks/release.init.ex") (("#!/bin/sh") =2D (string-append "#!" (search-input-file inputs "sh")))) + (string-append "#!" (which "sh")))) (substitute* "bin/elixir" (("^ERTS_BIN=3D$") (string-append =2D-=20 2.35.1 --==-=-=-- --=-=-=-- --===-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJFBAEBCgAvFiEE+Yt/N+nvP8wO2AcVFT3f6aVKmkwFAmH3AHQRHG1lQGpvaG5o YW1lLmxpbmsACgkQFT3f6aVKmkz0Zg//X3fqmssUTlK1YCLNWbtlHVQ33CynHeYJ O//RHqFOcya5JqliKZelHADW+WE5zsTyUW6IbDqzg4fXFVqPHPJGMHNsIVrSCBKk w0dgFPgAK955sTi/Iy/iXFujKQ0/qqR0FWn5urGV81VyDAJ6TT6SDi3vndUI3ue8 rV1GRNlHjSzF7wWaj8OFBgn+fFAQ161zpL7hzwZ0OToZlCwkmBpMm+/5NfV5zrCZ t6kkmZO7SsNHLwe4eyybcF6gfscwYUe5y71Wx1BBvXKMi+Rx8YiV4e2ANBWHITM6 Wvq0YITyt2WuOxk2pwmL22UJiGjRLxs0Gp9lmE4Loa96xhETsTq0APsFM2GqKsWl C6Xca59ud7GPj3vAbSeTaZlv3LlM013MYxguhTbOt9Oq0vEMNcH2Ikhp90iHvmLf 5guz84JYW3cI2ihF1zRe5vcYinLjhtZXavJbIfRBVoibnmRHo4onjg9/T+ghKolB JxwF/oF698L9GLR5Q1rk55cVid5TyXakDnRFJF6btgPjf7Ys2GhS7RRG89ozIqWp i2gp65NCg1+3XBGbV4rZOFuewKYyxyu9g3qTSI9gOknwzQL4r6GmatsBEII0M+Dj n2VmbrANz9qYmRzxq50eWm/2qGAxBILHhyhEcCI1wtiQBUzj64El4sn4Gpr6cxur yoBQWT+0NpE= =XwwH -----END PGP SIGNATURE----- --===-=-=-- ------------=_1644850322-8347-3--