[Buildroot] [PATCH] intltool: add patch to fix compatibility with Perl 5.26
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Sun Jun 11 13:52:28 UTC 2017
Hello,
On Thu, 8 Jun 2017 09:03:44 +0200, Jörg Krause wrote:
> When Perl 5.26 is installed on the host, building some packages like
> avahi fail, because of intltool-update:
>
> ```
> Unescaped left brace in regex is illegal here in regex; marked by <-- HERE in m/^(.*)\${ <-- HERE ?([A-Z_]+)}?(.*)$/ at $BUILDROOT/host/usr/bin/intltool-update line 1065.
> ```
>
> Apparently, this has been a warning before Perl 5.26, but now it is an
> error.
>
> Fetch from:
> https://github.com/Alexpux/MSYS2-packages/blob/master/intltool/perl-5.22-compatibility.patch
>
> Reported upstream:
> https://bugs.launchpad.net/intltool/+bug/1696658
>
> Signed-off-by: Jörg Krause <joerg.krause at embedded.rocks>
> ---
> .../intltool/0001-perl-5.26-compatibility.patch | 53 ++++++++++++++++++++++
> 1 file changed, 53 insertions(+)
> create mode 100644 package/intltool/0001-perl-5.26-compatibility.patch
Applied to master, thanks.
FWIW, the bug was already reported upstream at
https://bugs.launchpad.net/intltool/+bug/1490906.
Peter: this is a build fix, we perhaps want it in the LTS branches?
Best regards,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
More information about the buildroot
mailing list