Re: small fix to automake for updated perl

Mathieu Lirzin <[email protected]>
Newsgroups gmane.comp.sysutils.automake.patches
Message-ID <[email protected]>
Hello,

[email protected] writes:

> Here is a small fix to automake so that it works in recent versions of
> perl.
>
> Currently, with perl 5.26 I get this error while trying to build
> automake from source:
> Unescaped left brace in regex is illegal here in regex; marked by <-- 
> HERE in m/\${ <-- HERE ([^ \t=:+{}]+)}/ at automake-1.15/bin/automake
> line 3936.
>
> this patch fixes that by escaping the braces.
>
> From 19984fffbcc0989eedea70c6639b8e41d1b2718f Mon Sep 17 00:00:00 2001
> From: Raymond Nicholson <[email protected]>
> Date: Tue, 14 Nov 2017 21:17:57 +0000
> Subject: [PATCH] minor bug fix to bin/automake.in. update regex syntax in
>  substitute_ac_subst_variables escape { and } so that it works in perl 5.26
>  and newer
>
> ---

I have tried to install perl 5.26.1 on my local machine.  But I wasn't
able to reproduce this bug.  Here are the commands I have executed from
the Automake git repository:

   $ PERL=/path/to/local/perl ./bootstrap
   $ ./configure PERL=/path/to/local/perl
   $ make

Can you provide a recipe to help me reproduce it?

Sorry for the delay.

Thanks.

-- 
Mathieu Lirzin
GPG: F2A3 8D7E EB2B 6640 5761  070D 0ADE E100 9460 4D37
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.