|Subject:||'.' is no longer in @INC|
Newer perl versions don't have anymore "." in @INC. This causes failures in the build: Output from '/opt/perl-5.26.2-RC1/bin/perl Build.PL': Can't locate inc/MyBuilder.pm in @INC (you may need to install the inc::MyBuilder module) (@INC contains: /var/tmp/cpansmoker-1023/2018032612/CPAN-Reporter-lib-krNN /opt/perl-5.26.2-RC1/lib/site_perl/5.26.2/x86_64-linux /opt/perl-5.26.2-RC1/lib/site_perl/5.26.2 /opt/perl-5.26.2-RC1/lib/5.26.2/x86_64-linux /opt/perl-5.26.2-RC1/lib/5.26.2) at Build.PL line 5. BEGIN failed--compilation aborted at Build.PL line 5. 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.