[PATCH 2/3] autodetect Perl packages

Axel Beckert abe at debian.org
Mon Sep 8 10:46:18 UTC 2014


Hi,

Martin Pitt wrote:
> I ran this for two random Perl packages. The runtime-deps (not doing
> that much) and the heavy-deps (not doing anything) ones passed, but
> the buildtime-deps one failed similarly for both:
> 
> | ./run-from-checkout libperl-metrics-simple-perl --- schroot sid
> | t/0901_pod.t ...........
> | 1..1
> | not ok 1 - POD test for lib
> | 
> | #   Failed test 'POD test for lib'
> | #   at /usr/share/perl5/Test/Pod.pm line 186.
> | # lib does not exist
> | # Looks like you failed 1 test of 1.
> | Dubious, test returned 1 (wstat 256, 0x100)
> | Failed 1/1 subtests 
[...]
> This might be a missing test dependency which needs to be added to the
> Tests() instantiation?

Looks rather like not having the unpacked source directory in the
current working directory. Test::Pod seems to be there, because that's
the one throwing the error.

It argues about not finding the directory "lib" which is in the root
directory of libperl-metrics-simple-perl (and the vast majority of all
pkg-perl package as it's nowadays the canonical location for Perl Modules
inside Perl Module distributions (i.e. source packages):

[…]-metrics-simple-perl → ls -ld lib
drwxr-xr-x 3 abe tar 4096 Aug 29  2013 lib/

HTH.

		Regards, Axel
-- 
 ,''`.  |  Axel Beckert <abe at debian.org>, http://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE
  `-    |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5



More information about the autopkgtest-devel mailing list