GNU bug report logs - #23014
minor bug with unescaped brace in automake.in

Previous Next

Package: automake;

Reported by: George Demmy <gdemmy <at> gmail.com>

Date: Mon, 14 Mar 2016 23:27:02 UTC

Severity: normal

Tags: fixed

Merged with 21986, 23602, 31883

Done: Mathieu Lirzin <mthl <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 23014 in the body.
You can then email your comments to 23014 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-automake <at> gnu.org:
bug#23014; Package automake. (Mon, 14 Mar 2016 23:27:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to George Demmy <gdemmy <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-automake <at> gnu.org. (Mon, 14 Mar 2016 23:27:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: George Demmy <gdemmy <at> gmail.com>
To: bug-automake <at> gnu.org
Subject: minor bug with unescaped brace in automake.in
Date: Mon, 14 Mar 2016 18:20:27 -0400
Hello!

I was running automake in the course of building a project and the error:

$ automake --version
Unescaped left brace in regex is deprecated, passed through in regex;
marked by <-- HERE in m/\${ <-- HERE ([^ \t=:+{}]+)}/ at
/usr/bin/automake-1.14 line 3930.
automake (GNU automake) 1.14.1

Apparently, the Perl crew is going to get progressively tougher with
their enforcement of their regex syntax. I checked out the sources
from savannah's git and made a patch off of my local branch off
master, the content of which I'll just cut and paste rather than
attach. It's pretty simple...

HTH and regards,

George

From 53bf25212749cc1264b930560a1963228240ee7a Mon Sep 17 00:00:00 2001
From: George Demmy <gdemmy <at> gmail.com>
Date: Mon, 14 Mar 2016 18:04:25 -0400
Subject: [PATCH] Escaped brace per Perl's deprecation of old regex rules

---
 bin/automake.in | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/bin/automake.in b/bin/automake.in
index c1d1a8a..2f6bc9e 100644
--- a/bin/automake.in
+++ b/bin/automake.in
@@ -6,7 +6,7 @@ eval 'case $# in 0) exec @PERL@ -S "$0";; *) exec
@PERL@ -S "$0" "$@";; esac'
     if 0;

 # automake - create Makefile.in from Makefile.am
-# Copyright (C) 1994-2015 Free Software Foundation, Inc.
+# Copyright (C) 1994-2016 Free Software Foundation, Inc.

 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -3741,7 +3741,7 @@ sub substitute_ac_subst_variables_worker
 sub substitute_ac_subst_variables
 {
   my ($text) = @_;
-  $text =~ s/\${([^ \t=:+{}]+)}/substitute_ac_subst_variables_worker ($1)/ge;
+  $text =~ s/\$\{([^ \t=:+{}]+)}/substitute_ac_subst_variables_worker ($1)/ge;
   return $text;
 }

-- 
2.7.0




Information forwarded to bug-automake <at> gnu.org:
bug#23014; Package automake. (Sun, 16 Jul 2017 10:47:01 GMT) Full text and rfc822 format available.

Message #8 received at 23014 <at> debbugs.gnu.org (full text, mbox):

From: Mathieu Lirzin <mthl <at> gnu.org>
To: George Demmy <gdemmy <at> gmail.com>
Cc: 23014 <at> debbugs.gnu.org
Subject: Re: bug#23014: minor bug with unescaped brace in automake.in
Date: Sun, 16 Jul 2017 12:45:53 +0200
Hello,

George Demmy <gdemmy <at> gmail.com> writes:

> I was running automake in the course of building a project and the error:
>
> $ automake --version
> Unescaped left brace in regex is deprecated, passed through in regex;
> marked by <-- HERE in m/\${ <-- HERE ([^ \t=:+{}]+)}/ at
> /usr/bin/automake-1.14 line 3930.
> automake (GNU automake) 1.14.1
>
> Apparently, the Perl crew is going to get progressively tougher with
> their enforcement of their regex syntax. I checked out the sources
> from savannah's git and made a patch off of my local branch off
> master, the content of which I'll just cut and paste rather than
> attach. It's pretty simple...

This has been fixed in Automake 1.15.1

Thanks for the bug report.

-- 
Mathieu Lirzin
GPG: F2A3 8D7E EB2B 6640 5761  070D 0ADE E100 9460 4D37




Added tag(s) fixed. Request was from Mathieu Lirzin <mthl <at> gnu.org> to control <at> debbugs.gnu.org. (Sun, 16 Jul 2017 10:47:03 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 23014 <at> debbugs.gnu.org and George Demmy <gdemmy <at> gmail.com> Request was from Mathieu Lirzin <mthl <at> gnu.org> to control <at> debbugs.gnu.org. (Sun, 16 Jul 2017 10:47:03 GMT) Full text and rfc822 format available.

Merged 23014 23602. Request was from Mathieu Lirzin <mthl <at> gnu.org> to control <at> debbugs.gnu.org. (Sun, 16 Jul 2017 10:47:04 GMT) Full text and rfc822 format available.

Merged 21986 23014 23602. Request was from Mathieu Lirzin <mthl <at> gnu.org> to control <at> debbugs.gnu.org. (Sun, 16 Jul 2017 16:35: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. (Mon, 14 Aug 2017 11:24:03 GMT) Full text and rfc822 format available.

bug unarchived. Request was from Mathieu Lirzin <mthl <at> gnu.org> to control <at> debbugs.gnu.org. (Wed, 20 Jun 2018 08:26:02 GMT) Full text and rfc822 format available.

Forcibly Merged 21986 23014 23602 31883. Request was from Mathieu Lirzin <mthl <at> gnu.org> to control <at> debbugs.gnu.org. (Wed, 20 Jun 2018 08:27: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. (Wed, 18 Jul 2018 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 6 years and 336 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.