[Debian-med-packaging] Bug#796259: bioperl: FTBFS with perl 5.22 (CGI build-dep)

Dominic Hargreaves dom at earth.li
Thu Aug 20 20:41:18 UTC 2015


Source: bioperl
Version: 1.6.924-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:

#   Failed test 'use Bio::DB::Query::HIVQuery;'
#   at t/RemoteDB/HIV/HIVQuery.t line 12.
#     Tried to use 'Bio::DB::Query::HIVQuery'.
#     Error:  Can't locate CGI.pm in @INC (you may need to install the CGI module) (@INC contains: /«PKGBUILDDIR»/blib/lib /«PKGBUILDDIR»/blib/arch /«PKGBUILDDIR» /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/Bio/DB/Query/HIVQuery.pm line 212.
# BEGIN failed--compilation aborted at /«PKGBUILDDIR»/blib/lib/Bio/DB/Query/HIVQuery.pm line 212.
# Compilation failed in require at t/RemoteDB/HIV/HIVQuery.t line 12.
# BEGIN failed--compilation aborted at t/RemoteDB/HIV/HIVQuery.t line 12.
Can't locate object method "new" via package "Bio::DB::Query::HIVQuery" at t/RemoteDB/HIV/HIVQuery.t line 21.
# Looks like you planned 41 tests but ran 6.
# Looks like you failed 1 test of 6 run.
# Looks like your test exited with 255 just after 6.
t/RemoteDB/HIV/HIVQuery.t .............. 
1..41
not ok 1 - use Bio::DB::Query::HIVQuery;

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 Debian-med-packaging mailing list