Subject: | Could not access url http://search.cpan.org |
The test suite fails on some of my smoker systems:
...
PERL_DL_NONLAZY=1 "/opt/perl-5.26.3/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
Could not access url http://search.cpan.org. No such file or directory at t/01.t line 31.
# Looks like your test exited with 2 just after 7.
t/01.t ..
Dubious, test returned 2 (wstat 512, 0x200)
Failed 1/8 subtests
...
Just a wild guess: nowadays search.cpan.org redirects to metacpan.org, which is https-only, and possibly the failures happen if LWP::Protocol::https is not installed. If this is true, then either LWP::Protocol::https has to be declared as a dependency, or a http-only site has to be used for tests.