Skip Menu |

This queue is for tickets about the FrameMaker-MifTree CPAN distribution.

Report information
The Basics
Id: 108972
Status: open
Priority: 0/
Queue: FrameMaker-MifTree

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.075
Fixed in: (no value)



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.
On 2015-11-15 09:08:39, SREZIC wrote: Show quoted text
> 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.
http://neilb.org/2015/05/18/two-build-files-considered-harmful.html