Subject: | '.' is no longer in @INC |
Newer perl versions don't have anymore "." in @INC. This causes failures in the test suite:
# Testing Module::Build::Pluggable::AuthorTests 0.01, Perl 5.026002, /opt/perl-5.26.2-RC1/bin/perl
t/00-load.t ..... ok
do "Build.PL" failed, '.' is no longer in @INC; did you mean do "./Build.PL"? at /opt/perl-5.26.2-RC1/lib/site_perl/5.26.2/Test/Module/Build/Pluggable.pm line 105.
# Failed test 'Created Build file'
# at /opt/perl-5.26.2-RC1/lib/site_perl/5.26.2/Test/Module/Build/Pluggable.pm line 106.
#
# Looks like you failed 1 test of 2.
t/authortest.t ..
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/2 subtests
Current CPAN.pm and other installers workaround the issue, so this problem is not visible when using these tools. But it fails if the distribution is built manually on the commandline.
A possible fix is to put something like
use lib ".";
on top of the failing test scripts.