GNU bug report logs - #21001
Testsuite failure with new Perl

Previous Next

Package: automake;

Reported by: Pavel Raiskup <praiskup <at> redhat.com>

Date: Tue, 7 Jul 2015 09:38:01 UTC

Severity: normal

Tags: fixed, patch

Merged with 22372

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 21001 in the body.
You can then email your comments to 21001 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#21001; Package automake. (Tue, 07 Jul 2015 09:38:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Pavel Raiskup <praiskup <at> redhat.com>:
New bug report received and forwarded. Copy sent to bug-automake <at> gnu.org. (Tue, 07 Jul 2015 09:38:02 GMT) Full text and rfc822 format available.

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

From: Pavel Raiskup <praiskup <at> redhat.com>
To: Automake Patches <automake-patches <at> gnu.org>,
 Automake Bugs <bug-automake <at> gnu.org>
Subject: Testsuite failure with new Perl
Date: Tue, 07 Jul 2015 11:36:53 +0200
[Message part 1 (text/plain, inline)]
Based on build failure in Fedora 23 [1], automake has some testsuite
failures against newer perl (currently Perl v5.22).  Its because of new
Perl warning:

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

Please consider the attached patch.

[1] https://bugzilla.redhat.com/attachment.cgi?id=1046458
Pavel
[0001-bin-automake-escape-in-regexp-pattern.patch (text/x-patch, attachment)]

Added tag(s) patch. Request was from Jaap Keuter <jaap.keuter <at> xs4all.nl> to control <at> debbugs.gnu.org. (Sun, 24 Jan 2016 16:32:01 GMT) Full text and rfc822 format available.

Merged 21001 22372. Request was from Jaap Keuter <jaap.keuter <at> xs4all.nl> to control <at> debbugs.gnu.org. (Sun, 24 Jan 2016 16:32:01 GMT) Full text and rfc822 format available.

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

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

From: Mathieu Lirzin <mthl <at> gnu.org>
To: ludo <at> gnu.org (Ludovic Courtès)
Cc: 22372 <at> debbugs.gnu.org, 21001 <at> debbugs.gnu.org
Subject: Re: bug#22372: [PATCH] automake.in: fix deprecated regex syntax
Date: Sun, 16 Jul 2017 15:24:04 +0200
Hello,

ludo <at> gnu.org (Ludovic Courtès) writes:

> Enrico Jorns <ejo <at> pengutronix.de> skribis:
>
>> Running automake with perl >= 5.22.0 produces the warning
>>
>>   Unescaped left brace in regex is deprecated, passed through in regex;
>>   marked by <-- HERE in m/\${ <-- HERE ([^ \t=:+{}]+)}/ at
>>   /ptx/work/dude/ejo/temptest/nodistro.0/sysroots/x86_64-oesdk-linux/usr/bin/automake
>>   line 3936.
>>
>> With perl-5.22.0 using a literal '{' in regexp is deprecated and should
>> be escaped.
>> This patch escapes the '{' characters to match in the regex of function
>> `substitute_ac_subst_variables_worker`.
>
> I confirm that this solves the problem.
>
> This had previously been reported at
> <https://lists.gnu.org/archive/html/automake-patches/2015-07/msg00000.html>.
> I think it would be nice to apply it and put up a 1.15.1 release because
> more and more people will hit this issue.

This has been fixed in Automake 1.15.1.  I am closing this bug.

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 13:25:03 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 21001 <at> debbugs.gnu.org and Pavel Raiskup <praiskup <at> redhat.com> Request was from Mathieu Lirzin <mthl <at> gnu.org> to control <at> debbugs.gnu.org. (Sun, 16 Jul 2017 13:25:04 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. (Mon, 06 Nov 2017 22:17:03 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, 05 Dec 2017 12:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 7 years and 255 days ago.

Previous Next


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