Bug#823437: lintian: please relax missing-dependency-on-perlapi regexp
Niko Tyni
ntyni at debian.org
Wed May 4 18:36:45 UTC 2016
Package: lintian
Version: 2.5.44
X-Debbugs-Cc: perl at packages.debian.org
As noticed by Gregor Herrmann, packages built with the current Perl 5.24
packages in experimental trigger
E: liblocale-gettext-perl: missing-dependency-on-perlapi
The packages (for example liblocale-gettext-perl) get a dependency on
perlapi-5.24.0-exp1 as designed. I intend to drop the -exp1 suffix when
5.24 enters sid.
The Perl policy at
https://www.debian.org/doc/packaging-manuals/perl-policy/ch-module_packages.html#s-binary_modules
sets no restrictions on the perlapi-* suffix, so please relax the regexp
in the check.
Seems like
+ my $re = qr/^perlapi-[\d.]+(?:\s*\[[^\]]+\])?$/;
- my $re = qr/^perlapi-[-\w.]+(?:\s*\[[^\]]+\])?$/;
might be a good compromise but I only tested that very lightly.
This is currently an FTP-master autoreject, so the current check would
be a real problem in case of an accidental ABI break in unstable (where
we'd probably want to switch to perlapi-5.22.2d or something like that.)
--
Niko Tyni ntyni at debian.org
More information about the Perl-maintainers
mailing list