Bug#788893: dh-make-perl: FTBFS with perl 5.22 (Module::Build::Metadata)

Dominic Hargreaves dom at earth.li
Mon Jun 15 22:11:15 UTC 2015


Source: dh-make-perl
Version: 0.85-1
Severity: important
User: debian-perl at lists.debian.org
Usertags: perl-5.22-transition

This package FTBFS with perl 5.22, since Module::Build::Metadata has been
removed from perl core:

Can't locate Module/Build/ModuleInfo.pm in @INC (you may need to install the Mod
ule::Build::ModuleInfo module) (@INC contains: /«PKGBUILDDIR»/blib/lib /«PKGBUIL
DDIR»/blib/arch /«PKGBUILDDIR»/privinc /etc/perl /usr/local/lib/x86_64-linux-gnu
/perl/5.22.0 /usr/local/share/perl/5.22.0 /usr/lib/x86_64-linux-gnu/perl5/5.22 /
usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.22 /usr/share/perl/5.22 /usr/lo
cal/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base /«PKGBUILDDIR») at /«PKGBU
ILDDIR»/blib/lib/DhMakePerl/Command/make.pm line 56.
BEGIN failed--compilation aborted at /«PKGBUILDDIR»/blib/lib/DhMakePerl/Command/
make.pm line 56.
Compilation failed in require at t/extract_name_ver.t line 5.
BEGIN failed--compilation aborted at t/extract_name_ver.t line 5.
# Looks like your test exited with 2 before it could output anything.

The fix is probably to refactor the code to use Module::Metadata instead:

http://search.cpan.org/~leont/Module-Build-Deprecated-0.4210/lib/Module/Build/ModuleInfo.pm

This bug will become release critical nearer the time of the perl 5.22
migration.

Cheers,
Dominic.



More information about the pkg-perl-maintainers mailing list