[Debian-med-packaging] Bug#832845: [Help] Re: Bug#832845: libbio-das-lite-perl: FTBFS: Tests failures
Alex Muntada
alexm at alexm.org
Sun Aug 7 11:22:21 UTC 2016
Andreas Tille:
> I can reproduce the problem but I have no idea how to solve it.
The issue is "use base" of a module without using it first:
Base class package "t::FileStub" is empty.
(Perhaps you need to 'use' the module which defines that package first,
or make that module available in @INC (@INC contains: /«PKGBUILDDIR»/blib/lib /«PKGBUILDDIR»/blib/arch lib /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.22.2 /usr/local/share/perl/5.22.2 /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 t/FileStubChunked.pm line 11.
And the fix is easy:
$ diff -u t/FileStubChunked.pm{.orig,}
--- t/FileStubChunked.pm.orig 2011-05-06 12:24:03.000000000 +0200
+++ t/FileStubChunked.pm 2016-08-07 13:17:36.272822915 +0200
@@ -8,6 +8,7 @@
package t::FileStubChunked;
use strict;
use warnings;
+use t::FileStub;
use base qw(t::FileStub);
our $VERSION = do { my @r = (q$Revision: 19 $ =~ /\d+/mxg); sprintf '%d.'.'%03d' x $#r, @r };
Cheers!
Alex
More information about the Debian-med-packaging
mailing list