Bug#789336: libhtml-template-perl: FTBFS with perl 5.22 (CGI build-dep)

Dominic Hargreaves dom at earth.li
Fri Jun 19 22:21:07 UTC 2015


Source: libhtml-template-perl
Version: 2.95-1
Severity: important
User: debian-perl at lists.debian.org
Usertags: perl-5.22-transition
Tags: sid stretch
Forwarded: https://rt.cpan.org/Public/Bug/Display.html?id=98029

This package FTBFS with perl 5.22 (currently in experimental), since CGI
has been removed from perl core:

#   Failed test 'use CGI;'
#   at t/03-associate.t line 9.
#     Tried to use 'CGI'.
#     Error:  Can't locate CGI.pm in @INC (you may need to install the CGI modul
e) (@INC contains: /«PKGBUILDDIR»/blib/lib /«PKGBUILDDIR»/blib/arch /etc/perl /u
sr/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-ba
se .) at t/03-associate.t line 9.
# BEGIN failed--compilation aborted at t/03-associate.t line 9.
Can't locate object method "new" via package "CGI" (perhaps you forgot to load "
CGI"?) at t/03-associate.t line 22.
# Looks like you planned 7 tests but ran 4.
# Looks like you failed 1 test of 4 run.
# Looks like your test exited with 255 just after 4.
t/03-associate.t ............ 
1..7
ok 1 - use HTML::Template;

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.

Note: I'm marking this as Forwarded as the dep is missing from
the upstream metadata, but that doesn't strictly need to be fixed
for this Debian bug to be resolved.

Cheers,
Dominic.



More information about the pkg-perl-maintainers mailing list