Subject: | Build.PL problems |
If Build.PL + Build is used to install the distribution, then the test phase fails:
# Failed test 'Pod coverage on FrameMaker::MifTree'
# at /usr/perl5.22.1-RC1p/lib/site_perl/5.22.1/Test/Pod/Coverage.pm line 133.
# FrameMaker::MifTree: requiring 'FrameMaker::MifTree' failed
# Looks like you failed 1 test of 2.
t/05-pod-coverage.t ..
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/2 subtests
However, if CPAN.pm is configured to prefer Makefile.PL (prefer_installer=EUMM), then the test passes.
The pod coverage failure happens only because the compilation of FrameMaker::MifTree fails. And this happens because the two non-pm files in lib/FrameMaker/MifTree does not get copied to blib/lib if Build.PL is used.
Maybe it's best to remove Build.PL completely.