Bug#789437: libtest-mockmodule-perl: FTBFS with perl 5.22 (CGI build-dep)

Dominic Hargreaves dom at earth.li
Sat Jun 20 23:26:11 UTC 2015


Source: libtest-mockmodule-perl
Version: 0.05-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 CGI
has been removed from perl core:

        make -j1 test TEST_VERBOSE=1
make[1]: Entering directory '/«PKGBUILDDIR»'
PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-
e" "undef *Test::Harness::Switches; test_harness(1, 'blib/lib', 'blib/arch')" t/
*.t
Can't locate CGI.pm in @INC (you may need to install the CGI module) (@INC conta
ins: /«PKGBUILDDIR»/blib/lib /«PKGBUILDDIR»/blib/arch /etc/perl /usr/local/lib/x
86_64-linux-gnu/perl/5.22.0 /usr/local/share/perl/5.22.0 /usr/lib/x86_64-linux-g
nu/perl5/5.22 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.22 /usr/share/pe
rl/5.22 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base .) at /«PKG
BUILDDIR»/blib/lib/Test/MockModule.pm line 26.
# Looks like you planned 41 tests but ran 6.
# Looks like your test exited with 2 just after 6.
t/mockmodule.t .... 

The fix is to add (build)-dependencies on

libcgi-pm-perl | perl (<< 5.19)

This bug will become release critical nearer the time of the perl 5.22
migration, expected during the (northern hemisphere) summer.

Cheers,
Dominic.



More information about the pkg-perl-maintainers mailing list