Bug#768144: libdigest-sha-perl: autopkgtest failure: Can't locate Digest/SHA/PurePerl.pm in @INC

Niko Tyni ntyni at debian.org
Wed Nov 5 11:39:32 UTC 2014


Package: libdigest-sha-perl
Version: 5.93-1

The autopkgtest suite of this package failed on ci.debian.net.

From
 http://ci.debian.net/data/packages/unstable/amd64/libd/libdigest-sha-perl/20141031_232445.autopkgtest.log

  t/allfcns.t ...... 
  Can't locate Digest/SHA/PurePerl.pm in @INC (you may need to install the Digest::SHA::PurePerl module) (@INC contains: /tmp/adttmp.iDdRlD/smoketE1cpK/blib/lib /tmp/adttmp.iDdRlD/smoketE1cpK/blib/arch /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.20.1 /usr/local/share/perl/5.20.1 /usr/lib/x86_64-linux-gnu/perl5/5.20 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.20 /usr/share/perl/5.20 /usr/local/lib/site_perl .) at (eval 1) line 2.
  BEGIN failed--compilation aborted at t/allfcns.t line 19.
  Dubious, test returned 2 (wstat 512, 0x200)
  No subtests run 
  
This happens with most or all the tests in t/.

The test files have this snippet:

  BEGIN {
        $MODULE = (-d "src") ? "Digest::SHA" : "Digest::SHA::PurePerl";
        eval "require $MODULE" || die $@;
        $MODULE->import(qw());
  }

so it looks putting (say) src/sha.h in debian/tests/test-files
might work around this.
-- 
Niko Tyni   ntyni at debian.org



More information about the pkg-perl-maintainers mailing list