GNU bug report logs -
#53708
[PATCH] Fix Elixir substitution error
Previous Next
Reported by: Cees de Groot <cg <at> evrl.com>
Date: Tue, 1 Feb 2022 19:18:02 UTC
Severity: normal
Tags: patch
Merged with 53643
Done: Ludovic Courtès <ludo <at> gnu.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 53708 in the body.
You can then email your comments to 53708 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#53708
; Package
guix-patches
.
(Tue, 01 Feb 2022 19:18:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Cees de Groot <cg <at> evrl.com>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Tue, 01 Feb 2022 19:18:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
From d9860a374c5b6e5b992439a232e6897bfde1e334 Mon Sep 17 00:00:00 2001
From: Cees de Groot <cg <at> evrl.com>
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 substitution 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=$")
+ (("ERTS_BIN=\n")
(string-append
"ERTS_BIN="
;; Elixir Releases will prepend to ERTS_BIN the path of
--
2.34.0
Merged 53708.
Request was from
Ludovic Courtès <ludo <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Mon, 14 Feb 2022 13:37:02 GMT)
Full text and
rfc822 format available.
Merged 53643 53708.
Request was from
Ludovic Courtès <ludo <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Mon, 14 Feb 2022 13:38:01 GMT)
Full text and
rfc822 format available.
Reply sent
to
Ludovic Courtès <ludo <at> gnu.org>
:
You have taken responsibility.
(Mon, 14 Feb 2022 14:52:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Cees de Groot <cg <at> evrl.com>
:
bug acknowledged by developer.
(Mon, 14 Feb 2022 14:52:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 53708-done <at> debbugs.gnu.org (full text, mbox):
Hi,
Cees de Groot <cg <at> evrl.com> skribis:
>>From d9860a374c5b6e5b992439a232e6897bfde1e334 Mon Sep 17 00:00:00 2001
> From: Cees de Groot <cg <at> evrl.com>
> 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 substitution 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.
I adjusted the commit log and applied it.
Thanks!
Ludo’.
Reply sent
to
Ludovic Courtès <ludo <at> gnu.org>
:
You have taken responsibility.
(Mon, 14 Feb 2022 14:52:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
John Hamelink <me <at> johnhame.link>
:
bug acknowledged by developer.
(Mon, 14 Feb 2022 14:52:02 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Tue, 15 Mar 2022 11:24:05 GMT)
Full text and
rfc822 format available.
This bug report was last modified 3 years and 100 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.