[Pkg-nagios-devel] Bug#865888: nagios-plugin-check-multi: FTBFS with Perl 5.26: Unescaped left brace in regex is deprecated here
Niko Tyni
ntyni at debian.org
Sun Jun 25 18:13:02 UTC 2017
On Sun, Jun 25, 2017 at 06:54:59PM +0300, Niko Tyni wrote:
> Package: nagios-plugin-check-multi
> Version: 0.26-3
> Severity: important
> User: debian-perl at lists.debian.org
> Usertags: perl-5.26-transition
>
> This package fails to build with Perl 5.26 (currently in experimental.)
> # 'Unescaped left brace in regex is deprecated here (and will be fatal in Perl 5.30), passed through in regex; marked by <-- HERE in m/^${ <-- HERE NAGIOS}/ at ../check_multi line 1377.
Just a note that while there was a very similar deprecation phase in Perl
5.22, this one is new with Perl 5.26. The earlier check was slightly
buggy and failed to warn in some cases where it should have.
So the current unescaped-left-brace-in-regex.patch isn't quite
sufficient unfortunately.
See http://search.cpan.org/dist/perl-5.26.0/pod/perldelta.pod#Unescaped_literal_%22{%22_characters_in_regular_expression_patterns_are_no_longer_permissible
--
Niko Tyni ntyni at debian.org
More information about the Pkg-nagios-devel
mailing list