Subject: | Test failures due to old File::Next version |
When building ack from CPAN.pm, then the system would detect that an old
File::Next version is installed:
Warning: prerequisite File::Next 0.38 not found. We have 0.32.
However, CPAN.pm does not resolve the prerequisite automatically, as
it usually does for other modules. I see that ack's Makefile.PL has
some rules overriding the standard rules and it seems that this
prevents the automatic prereq installation.
BTW, here's the log of the make test failure:
CPAN: CPAN::Reporter loaded ok (v0.36)
PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00-load.........# Testing App::Ack 1.58, Perl 5.008008,
/usr/local/bin/perl
ok
t/ack-a...........File::Next version 0.34 required--this is only version
0.32 at t/ack-a.t line 7.
BEGIN failed--compilation aborted at t/ack-a.t line 7.
# Looks like your test died before it could output anything.
dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED test 1
Failed 1/1 tests, 0.00% okay
t/ack-binary......ack-standalone: Invalid parameter passed to files():
follow_symlinks
Undefined subroutine &File::Next::reslash called at Util.pm line 23.
# Looks like you planned 3 tests but only ran 2.
# Looks like your test died just after 2.
dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED test 3
Failed 1/3 tests, 66.67% okay
[snipped]
Regards,
Slaven