GNU bug report logs - #23602
Unescaped left brace in regex is deprecated, passed through in regex

Previous Next

Package: automake;

Reported by: carl hansen <carlhansen1234 <at> gmail.com>

Date: Mon, 23 May 2016 06:24:02 UTC

Severity: normal

Tags: fixed

Merged with 21986, 23014, 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 23602 in the body.
You can then email your comments to 23602 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#23602; Package automake. (Mon, 23 May 2016 06:24:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to carl hansen <carlhansen1234 <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-automake <at> gnu.org. (Mon, 23 May 2016 06:24:02 GMT) Full text and rfc822 format available.

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

From: carl hansen <carlhansen1234 <at> gmail.com>
To: bug-automake <at> gnu.org
Subject: Unescaped left brace in regex is deprecated, passed through in regex
Date: Sun, 22 May 2016 23:23:23 -0700
[Message part 1 (text/plain, inline)]
>> automake --version
Unescaped left brace in regex is deprecated, passed through in regex;
marked by <-- HERE in m/\${ <-- HERE ([^ \t=:+{}]+)}/ at
/opt/gsrc/bin/automake line 3936.
automake (GNU automake) 1.15
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv2+: GNU GPL version 2 or later ....


using perl 5.22.1

how to fix ?
[Message part 2 (text/html, inline)]

Information forwarded to bug-automake <at> gnu.org:
bug#23602; Package automake. (Mon, 23 May 2016 06:40:02 GMT) Full text and rfc822 format available.

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

From: carl hansen <carlhansen1234 <at> gmail.com>
To: 23602 <at> debbugs.gnu.org
Subject: Re: bug#23602: Unescaped left brace in regex is deprecated, passed
 through in regex
Date: Sun, 22 May 2016 23:39:03 -0700
[Message part 1 (text/plain, inline)]
On Sun, May 22, 2016 at 11:23 PM, carl hansen <carlhansen1234 <at> gmail.com>
wrote:

> >> automake --version
> Unescaped left brace in regex is deprecated, passed through in regex;
> marked by <-- HERE in m/\${ <-- HERE ([^ \t=:+{}]+)}/ at
> /opt/gsrc/bin/automake line 3936.
> automake (GNU automake) 1.15
> Copyright (C) 2014 Free Software Foundation, Inc.
> License GPLv2+: GNU GPL version 2 or later ....
>
>
> using perl 5.22.1
>
> how to fix ?
>
>
>
>  was:

   $text =~ s/\${([^ \t=:+{}]+)}/substitute_ac_subst_variables_worker
($1)/ge;

following the message, this seems to work; not thoroughly tested:

   $text =~ s/\$\{([^ \t=:+{}]+)\}/substitute_ac_subst_variables_worker
($1)/ge;

leaning toothpicks....
[Message part 2 (text/html, inline)]

Information forwarded to bug-automake <at> gnu.org:
bug#23602; Package automake. (Tue, 03 Jan 2017 00:19:02 GMT) Full text and rfc822 format available.

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

From: Pavel Sanda <sanda <at> lyx.org>
To: 23602 <at> debbugs.gnu.org
Subject: bug#23602: [PATCH] Unescaped left brace in regex is deprecated,
 passed through in regex
Date: Mon, 2 Jan 2017 15:34:09 -0800
On Sun, May 22, 2016 at 11:23 PM, carl hansen <address <at> hidden> wrote:
>>> automake --version
>Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\${ <-- HERE ([^ \t=:+{}]+)}/ at /opt/gsrc/bin/automake line 3936.
>automake (GNU automake) 1.15

It seems that various distributions started to fix this on their own.
Could anyone responsible push this trivial fix to the upstream?

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=202986

Pavel




Information forwarded to bug-automake <at> gnu.org:
bug#23602; Package automake. (Fri, 02 Jun 2017 19:34:01 GMT) Full text and rfc822 format available.

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

From: Daniel Schepler <dschepler <at> gmail.com>
To: 23602 <at> debbugs.gnu.org
Subject: automake does not work at all with Perl 5.26.0
Date: Fri, 2 Jun 2017 12:25:06 -0700
With the recent release of Perl 5.26.0, this warning has become an
error, so automake doesn't work at all on any packages.  For example,
with libvncserver-0.9.11 (which doesn't provide any release tarball
with pregenerated autotools):

...
autoreconf: running: automake --add-missing --copy
Unescaped left brace in regex is illegal here in regex; marked by <--
HERE in m/\${ <-- HERE ([6 \t=:={}]+)}/ at /usr/bin/automake line
3936.
autoreconf: automake failed with exit status: 255
-- 
Daniel Schepler




Information forwarded to bug-automake <at> gnu.org:
bug#23602; Package automake. (Sun, 04 Jun 2017 22:25:02 GMT) Full text and rfc822 format available.

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

From: Mathieu Lirzin <mthl <at> gnu.org>
To: Daniel Schepler <dschepler <at> gmail.com>
Cc: 23602 <at> debbugs.gnu.org
Subject: Re: bug#23602: automake does not work at all with Perl 5.26.0
Date: Mon, 05 Jun 2017 00:24:27 +0200
Hello Daniel,

Daniel Schepler <dschepler <at> gmail.com> writes:

> With the recent release of Perl 5.26.0, this warning has become an
> error, so automake doesn't work at all on any packages.  For example,
> with libvncserver-0.9.11 (which doesn't provide any release tarball
> with pregenerated autotools):
>
> ...
> autoreconf: running: automake --add-missing --copy
> Unescaped left brace in regex is illegal here in regex; marked by <--
> HERE in m/\${ <-- HERE ([6 \t=:={}]+)}/ at /usr/bin/automake line
> 3936.
> autoreconf: automake failed with exit status: 255

What version of Automake are you running?

I suspect this issue has already been fixed in the Git repository, see:

  https://git.savannah.gnu.org/cgit/automake.git/commit/?h=micro&id=13f00eb4493c217269b76614759e452d8302955e

This will be fixed in the next micro release, that I expect to be able
to make this summer.

Thanks for you report.

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




Information forwarded to bug-automake <at> gnu.org:
bug#23602; Package automake. (Mon, 05 Jun 2017 13:04:02 GMT) Full text and rfc822 format available.

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

From: Hans-Bernhard Bröker <HBBroeker <at> t-online.de>
To: Mathieu Lirzin <mthl <at> gnu.org>, Daniel Schepler <dschepler <at> gmail.com>
Cc: 23602 <at> debbugs.gnu.org
Subject: Re: bug#23602: automake does not work at all with Perl 5.26.0
Date: Mon, 5 Jun 2017 15:03:28 +0200
Am 05.06.2017 um 00:24 schrieb Mathieu Lirzin:

> I suspect this issue has already been fixed in the Git repository, see:
> 
>    https://git.savannah.gnu.org/cgit/automake.git/commit/?h=micro&id=13f00eb4493c217269b76614759e452d8302955e

Indeed, Paul Eggert applied a fix in March 2016.

> This will be fixed in the next micro release, that I expect to be able
> to make this summer.

Good to hear that.




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

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

From: Mathieu Lirzin <mthl <at> gnu.org>
To: Hans-Bernhard Bröker <HBBroeker <at> t-online.de>
Cc: Daniel Schepler <dschepler <at> gmail.com>, 23602 <at> debbugs.gnu.org
Subject: Re: bug#23602: automake does not work at all with Perl 5.26.0
Date: Sun, 16 Jul 2017 12:39:13 +0200
Hello,

Hans-Bernhard Bröker <HBBroeker <at> t-online.de> writes:

> Am 05.06.2017 um 00:24 schrieb Mathieu Lirzin:
>
>> I suspect this issue has already been fixed in the Git repository, see:
>>
>>    https://git.savannah.gnu.org/cgit/automake.git/commit/?h=micro&id=13f00eb4493c217269b76614759e452d8302955e
>
> Indeed, Paul Eggert applied a fix in March 2016.
>
>> This will be fixed in the next micro release, that I expect to be able
>> to make this summer.
>
> Good to hear that.

This has been fixed in Automake 1.15.1.

Thanks.

-- 
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:40:02 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 23602 <at> debbugs.gnu.org and carl hansen <carlhansen1234 <at> gmail.com> Request was from Mathieu Lirzin <mthl <at> gnu.org> to control <at> debbugs.gnu.org. (Sun, 16 Jul 2017 10:40:02 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.