Bug#789466: libtest-prereq-perl: FTBFS with perl 5.22 (Module::Build)

gregor herrmann gregoa at debian.org
Sun Jun 21 13:14:13 UTC 2015


Control: clone -1 -2
Control: retitle -2 libtest-prereq-perl: FTBFS with perl 5.22: test failures
Control: forwarded -2 https://rt.cpan.org/Public/Bug/Display.html?id=96099
Control: found -2 1.038-2

On Sun, 21 Jun 2015 10:09:11 +0100, Dominic Hargreaves wrote:

> Source: libtest-prereq-perl
> Version: 1.038-1
> 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:
> 
> Can't locate Module/Build.pm in @INC (you may need to install the Module::Build 
> module) (@INC contains: /«PKGBUILDDIR»/blib/lib /«PKGBUILDDIR»/blib/arch /etc/pe
> rl /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/pe
> rl-base .) at /«PKGBUILDDIR»/blib/lib/Test/Prereq/Build.pm line 25.
> BEGIN failed--compilation aborted at /«PKGBUILDDIR»/blib/lib/Test/Prereq/Build.pm line 25.
> Compilation failed in require at t/get_prereqs.t line 7.
> BEGIN failed--compilation aborted at t/get_prereqs.t line 7.
> 
> The fix is probably to add a build dependency on libmodule-build-perl.

That's the easy part. But the package still fails with 5.22:

#   Failed test 'Right modules for modules and tests'
#   at t/get_loaded_modules.t line 10.
Didn't find right modules! Found < Module::Build Module::Info Test::Prereq Test::Prereq::Build >
# Looks like you failed 1 test of 1.
t/get_loaded_modules.t ..
1..1
not ok 1 - Right modules for modules and tests
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/1 subtests

#   Failed test 'Found some modules that didn't show up in PREREQ_PM or *_REQUIRES
# '
#   at /tmp/buildd/libtest-prereq-perl-1.038/blib/lib/Test/Prereq.pm line 294.
#   Module::Build
# Looks like you failed 1 test of 1.
t/prereq_ok.t ...........
1..1
not ok 1 - Found some modules that didn't show up in PREREQ_PM or *_REQUIRES
# 
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/1 subtests

#   Failed test 'Found some modules that didn't show up in PREREQ_PM or *_REQUIRES
# '
#   at /tmp/buildd/libtest-prereq-perl-1.038/blib/lib/Test/Prereq.pm line 294.
#   Module::Build
# Looks like you failed 1 test of 1.
t/prior_plan.t ..........
1..1
not ok 1 - Found some modules that didn't show up in PREREQ_PM or *_REQUIRES
# 
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/1 subtests

t/get_loaded_modules.t (Wstat: 256 Tests: 1 Failed: 1)
  Failed test:  1
  Non-zero exit status: 1
t/prereq_ok.t         (Wstat: 256 Tests: 1 Failed: 1)
  Failed test:  1
  Non-zero exit status: 1
t/prior_plan.t        (Wstat: 256 Tests: 1 Failed: 1)
  Failed test:  1
  Non-zero exit status: 1


In all 3 tests, Module::Build is found ...

This is also noted at
https://rt.cpan.org/Public/Bug/Display.html?id=96099
https://rt.cpan.org/Public/Bug/Display.html?id=98445


Cheers,
gregor, cloning a new bug

-- 
 .''`.  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: U2: Grace
-------------- 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/3b53ec62/attachment.sig>


More information about the pkg-perl-maintainers mailing list