Bug#842461: libtest-lwp-useragent-perl: autopkgtest failure: t/50-examples-application_client_test.t

Niko Tyni ntyni at debian.org
Sat Oct 29 12:37:44 UTC 2016


Package: libtest-lwp-useragent-perl
Version: 0.030-1
User: debian-perl at lists.debian.org
Usertags: autopkgtest perl-cwd-inc-removal

This package recently started failing its autopkgtest checks on ci.debian.net.

  Can't locate MyApp/Client.pm in @INC (you may need to install the MyApp::Client module) (@INC contains: examples /tmp/autopkgtest.3gibtz/autopkgtest_tmp/smokeQ3iUsC/blib/lib /tmp/autopkgtest.3gibtz/autopkgtest_tmp/smokeQ3iUsC/blib/arch /tmp/autopkgtest.3gibtz/autopkgtest_tmp/smokeQ3iUsC /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.24.1 /usr/local/share/perl/5.24.1 /usr/lib/x86_64-linux-gnu/perl5/5.24 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.24 /usr/share/perl/5.24 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at t/50-examples-application_client_test.t line 21.
  BEGIN failed--compilation aborted at t/50-examples-application_client_test.t line 21.
  Dubious, test returned 2 (wstat 512, 0x200)
  No subtests run 
 
It looks like the root cause is that we dropped cwd ('.') from @INC
in perl. The reason it worked until now was that the relevant test
got skipped earlier

  t/50-examples-application_client_test.t .. skipped: Test requires module 'JSON::MaybeXS' but it's not found

Presumably some build dependency has now started pulling in
JSON:::MaybeXS, triggering the failure.

The package still builds from source, probably because debhelper sets
PERL_USE_UNSAFE_INC=1 during the build.
-- 
Niko Tyni   ntyni at debian.org



More information about the pkg-perl-maintainers mailing list