Subject: | Non-numeric version warning |
On some of my smokers I see the following test failure:
...
# Failed test 'no warnings'
# at /opt/perl-5.22.3D/lib/site_perl/5.22.3/Test/Builder.pm line 135.
# There were 1 warning(s)
# Previous test 2 'An object of class 'CPAN::Mini::Visit' isa 'CPAN::Mini::Visit''
# Argument "2.04_01" isn't numeric in numeric ge (>=) at /home/cpansand/.cpan/build/2017070209/Archive-Extract-0.80-07rOkt/blib/lib/Archive/Extract.pm line 818.
# at /home/cpansand/.cpan/build/2017070209/Archive-Extract-0.80-07rOkt/blib/lib/Archive/Extract.pm line 818.
# Archive::Extract::_untar_at(Archive::Extract=HASH(0x17ba1f0)) called at /home/cpansand/.cpan/build/2017070209/Archive-Extract-0.80-07rOkt/blib/lib/Archive/Extract.pm line 431
# Archive::Extract::extract(Archive::Extract=HASH(0x17ba1f0), "to", File::Temp::Dir=HASH(0x266bb30)) called at /home/cpansand/.cpan/build/2017070209/CPAN-Mini-Visit-1.15-2f7_Lk/blib/lib/CPAN/Mini/Visit.pm line 268
# eval {...} called at /home/cpansand/.cpan/build/2017070209/CPAN-Mini-Visit-1.15-2f7_Lk/blib/lib/CPAN/Mini/Visit.pm line 267
# CPAN::Mini::Visit::run(CPAN::Mini::Visit=HASH(0x265d748)) called at t/02_main.t line 27
#
# Looks like you failed 1 test of 23.
t/02_main.t ......
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/23 subtests
...
It seems that perl 5.24.1 ships a version of Archive::Tar with an underline version:
$ corelist -a Archive::Tar
...
v5.24.1 2.04_01
...
This is causing the warning here:
$use_list->{ 'IO::Zlib' } = '0.0'
if $Archive::Tar::VERSION >= '0.99';