Subject: | Insecure dependency in require while running with -T switch |
On some of my smoker systems running "make test" fails:
...
PERL_DL_NONLAZY=1 "/bbbike/perl-5.20.1/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
Bailout called. Further testing stopped:
# Failed test 'use Mail::BIMI;'
# at t/00-load.t line 10.
# Tried to use 'Mail::BIMI'.
# Error: Insecure dependency in require while running with -T switch at /opt/perl-5.20.1/lib/site_perl/5.20.1/Net/DNS/Resolver/Base.pm line 570.
# BEGIN failed--compilation aborted at /opt/perl-5.20.1/lib/site_perl/5.20.1/Net/DNS/Resolver/Base.pm line 570.
# Compilation failed in require at /opt/perl-5.20.1/lib/5.20.1/base.pm line 99.
# ...propagated at /opt/perl-5.20.1/lib/5.20.1/base.pm line 108.
# BEGIN failed--compilation aborted at /opt/perl-5.20.1/lib/site_perl/5.20.1/Net/DNS/Resolver/UNIX.pm line 18.
# Compilation failed in require at /opt/perl-5.20.1/lib/5.20.1/base.pm line 99.
# ...propagated at /opt/perl-5.20.1/lib/5.20.1/base.pm line 108.
# BEGIN failed--compilation aborted at /opt/perl-5.20.1/lib/site_perl/5.20.1/Net/DNS/Resolver.pm line 22.
# Compilation failed in require at /tmpfs/.cpan-build-cpansand/2018012200/Mail-BIMI-1.20180122-11/blib/lib/Mail/BIMI.pm line 12.
# BEGIN failed--compilation aborted at /tmpfs/.cpan-build-cpansand/2018012200/Mail-BIMI-1.20180122-11/blib/lib/Mail/BIMI.pm line 12.
# Compilation failed in require at t/00-load.t line 10.
# BEGIN failed--compilation aborted at t/00-load.t line 10.
Use of uninitialized value $Mail::BIMI::VERSION in concatenation (.) or string at t/00-load.t line 15.
# Looks like your test exited with 255 just after 3.
FAILED--Further testing stopped: Makefile:859: recipe for target 'test_dynamic' failed
make: *** [test_dynamic] Error 255
...
This may happen if an older version of Net::DNS::Resolver is installed (version 1480), though statistical analysis is not clear about this.