Bug#789433: libtest-checkchanges-perl: FTBFS with perl 5.22 (Module::Build)

gregor herrmann gregoa at debian.org
Sun Jun 21 00:52:26 UTC 2015


Control: tag -1 + confirmed upstream
Control: forwarded -1 https://rt.cpan.org/Public/Bug/Display.html?id=98689

On Sun, 21 Jun 2015 00:23:09 +0100, Dominic Hargreaves wrote:

> Source: libtest-checkchanges-perl
> Version: 0.14-2
> Severity: important
> User: debian-perl at lists.debian.org
> Usertags: perl-5.22-transition
> Tags: sid stretch
> 
> This package FTBFS with perl 5.22 (currently in experimental), since
> Module::Build has been removed from perl core:
> 
>         perl Build test --verbose 1
> Can't locate Module/Build/Version.pm in @INC (you may need to install the Module::Build::Version module) (@INC contains: /«PKGBUILDDIR»/blib/lib /«PKGBUILDDIR»/blib/arch /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/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base .) at /«PKGBUILDDIR»/blib/lib/Test/CheckChanges.pm line 123.
> # Looks like your test exited with 2 before it could output anything.
> t/changes.t ......... 
> 1..1
> 
> The fix is to add a build dependency on libmodule-build-perl.

That's an interesting case.

0.14-2 does b-d on libmodule-build-perl and is really uploaded and
libmodule-build-perl really gets installed in the chroot -- but there
is no Module::Build::Version:

# dpkg -L libmodule-build-perl | grep Version | wc -l
0

The upstream bug report at
https://rt.cpan.org/Public/Bug/Display.html?id=98689
suggests to "use Module::Metadata to find 'package' declarations in
code, and version.pm to parse version strings."

From M::B's upstream changelog:

0.4207 - Sat Aug 16 12:56:59 CEST 2014
[..]
  - Module::Build::YAML has been removed

  - Module::Build::ModuleInfo has been removed

  - Module::Build::Version has been removed


Cheers,
gregor

-- 
 .''`.  Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
 : :' : Debian GNU/Linux user, admin, and developer -  https://www.debian.org/
 `. `'  Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
   `-   NP: JBO: Mir sta'dd'n etz die Feier
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: Digital Signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20150621/019c57be/attachment.sig>


More information about the pkg-perl-maintainers mailing list