[Debian-med-packaging] bioperl autopkgtest failure: Can't find 'build_params' in _build at /usr/share/perl5/Module/Build/Base.pm line 1291.

gregor herrmann gregoa at debian.org
Sun Jan 15 00:03:01 UTC 2017


On Sat, 14 Jan 2017 23:22:30 +0100, Andreas Tille wrote:

> > Not sure (and I have to run now) but both tests fail exactly before
> > they get to the network tests. Maybe this is test_skip() in
> > Bio/Root/Test.pm (which _might_ to try to read the result of `perl
> > Build.PL' to see if network tests are allowed and this fails during
> > autopkgtest because those build artifacts don't exist in the
> > temporary test directory).
> > 
> > If this is true I'm not sure what's the best way to fix it. And easy
> > and inelegant version is to add the 2 tests to
> > debian/tests/pkg-perl/smoke-skip.
> 
> Sounds convincing - however, I admit I do not know what specific test
> to exclude (Just add t/Species.t to smoke-skip or just the specific
> subtest and if yes how to "count" the tests and once I know which one
> how to exactly specify it syntactically correct.

The quick and dirty workaround would be to add both test files to
debian/tests/pkg-perl/smoke-skip. This is just a workaround but I'm
not sure how feasible it is to dissect the actual problem (and write
patches to the upstream test framework if the problem is really that
Bio::Root::Test only works from within the build tree).

Tested patch attached.

Background information for the autopkgtest-pkg-perl framework:
https://pkg-perl.alioth.debian.org/autopkgtest.html

Cheers,
gregor  

-- 
 .''`.  https://info.comodo.priv.at/ - Debian Developer https://www.debian.org
 : :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D  85FA BB3A 6801 8649 AA06
 `. `'  Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
   `-   NP: Tori Amos: Icicle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-autopkgtest-add-t-Perl.t-and-t-Species.t-to-debian-t.patch
Type: text/x-diff
Size: 748 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-med-packaging/attachments/20170115/6971e746/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: Digital Signature
URL: <http://lists.alioth.debian.org/pipermail/debian-med-packaging/attachments/20170115/6971e746/attachment.sig>


More information about the Debian-med-packaging mailing list