Skip Menu |

This queue is for tickets about the Module-Build CPAN distribution.

Report information
The Basics
Id: 68952
Status: open
Priority: 0/
Queue: Module-Build

People
Owner: Nobody in particular
Requestors: philip.monsen [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Unimportant
Broken in: 0.3800
Fixed in: (no value)



Subject: M::B tests complain during Perl core "make test"
On the occasions of several recent Perl distribution releases, there have been p5p mentions of test complaints traceable back to Module::Build tests, see e.g. http://code.activestate.com/lists/perl5-porters/165285/ This non-fatal issue has been publicly observed on HP-UX, AIX, Mac OS X, and FreeBSD. A sample of this phenomenon is readily reproducible by running one of the offending M::B tests from the "t" subdirectory in the perl build directory: $ ./perl harness ../cpan/Module-Build/t/install.t ../cpan/Module-Build/t/install.t .. 1/34 [Pod::Html 1.11] pod2html( q{--flush}, q{--title=Simple - Perl extension for blah blah blah}, q{--podpath=../../t/lib}, q{--infile=blib/lib/Simple.pm}, q{--outfile=blib/libhtml/site/lib/Simple.tmp}, q{--podroot=../../t}, q{--htmlroot=../..}, q{--header}, q{--backlink=Back to Top}) failed: t/install.t: error opening directory ../../t/lib: No such file or directory ../cpan/Module-Build/t/install.t .. 2/34 [Pod::Html 1.11] pod2html( q{--flush}, q{--title=Simple - Perl extension for blah blah blah}, q{--podpath=../../t/lib}, q{--infile=blib/lib/Simple.pm}, q{--outfile=blib/libhtml/lib/Simple.tmp}, q{--podroot=../../t}, q{--htmlroot=..}, q{--header}, q{--backlink=Back to Top}) failed: t/install.t: error opening directory ../../t/lib: No such file or directory ../cpan/Module-Build/t/install.t .. 10/34 [Pod::Html 1.11] pod2html( q{--flush}, q{--title=Simple::ConfigData - Configuration for Simple}, q{--podpath=../../t/lib}, q{--infile=blib/lib/Simple/ConfigData.pm}, q{--outfile=blib/libhtml/site/lib/Simple/ConfigData.tmp}, q{--podroot=../../t}, q{--htmlroot=../../..}, q{--header}, q{--backlink=Back to Top}) failed: t/install.t: error opening directory ../../t/lib: No such file or directory ../cpan/Module-Build/t/install.t .. ok All tests successful. Files=1, Tests=34, 11 wallclock secs ( 0.08 usr 0.02 sys + 6.83 cusr 3.75 csys = 10.68 CPU) Result: PASS I think the issue here is that when the skeletal "Simple" module is created to exercise Module::Build functionality, reasonable settings for --podroot (and thus --podpath) are not obtained, because PERL_CORE is at that time set to "../../t/perl", and thus the Pod::Html::pod2html() invocation fails and spews as above. Fixing this would clean up unnecessary noise during Perl core build/test cycles.
Subject: [rt.cpan.org #68952] PATCH: Quiets test noise during Perl core "make test"
Date: Mon, 20 Jun 2011 11:00:30 -0500
To: bug-Module-Build [...] rt.cpan.org
From: Philip Monsen <philip.monsen [...] gmail.com>
The attached patch cures the reported issue, at least on HP-UX 11.31.

Message body is not shown because sender requested not to inline it.