Skip Menu |

This queue is for tickets about the CPAN-YACSmoke CPAN distribution.

Report information
The Basics
Id: 36191
Status: open
Priority: 0/
Queue: CPAN-YACSmoke

People
Owner: Nobody in particular
Requestors: eric.roode.cpan [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.03_07
Fixed in: (no value)



Subject: Reports test failure when Module::Build not installed
CPAN::YACSmoke reports a failure when it cannot run Build.PL because Module::Build is not installed. My modules provide both Build.PL *and* Makefile.PL, so the end user has a choice in how to install the module. The whole POINT of providing both is so that the user need not have Module::Build installed. The suggested fix below (adding Module::Build as a prerequisite in Makefile.PL) is insane. I resent that this is counted as a failure of my module in CPAN Tester reports. An excerpt from the test report follows. See also http://www.nntp.perl.org/group/perl.cpan.testers/2008/05/msg1522754.html for the full report. ------ [ERROR] [Mon May 26 01:11:05 2008] MAKE failed: cp lib/Time/Normalize.pm blib/lib/Time/Normalize.pm Manifying blib/man3/Time::Normalize.3 /Volumes/Media/smoke/perl562/bin/perl "-Iblib/arch" "-Iblib/lib" Build.PL Build Can't locate Module/Build.pm in @INC (@INC contains: blib/arch blib/lib /Volumes/Media/smoke/perl562/lib/5.6.2/darwin-thread-multi-64int /Volumes/Media/smoke/perl562/lib/5.6.2 /Volumes/Media/smoke/perl562/lib/site_perl/5.6.2/darwin-thread-multi-64int /Volumes/Media/smoke/perl562/lib/site_perl/5.6.2 /Volumes/Media/smoke/perl562/lib/site_perl .) at Build.PL line 3. BEGIN failed--compilation aborted at Build.PL line 3. make: *** [Build] Error 2 MISSING PREREQUISITES: It was observed that the test suite seem to fail without these modules: Module::Build As such, adding the prerequisite module(s) to 'PREREQ_PM' in your Makefile.PL should solve this problem. For example:
From: rrwo [...] cpan.org
Not a bug: follow the chain of dependencies of your module, and you'll notice it uses File::Spec, which is in PathTools. The latest PathTools requires Module::Build. As for resentment about false failures: don't take it personally. It's a common problem even for testers not using YACSmoke. People who care about test results will be able to tell it's a hiccup with the testing system and not a bug with the module. On Mon May 26 12:27:41 2008, ROODE wrote: Show quoted text
> CPAN::YACSmoke reports a failure when it cannot run Build.PL because > Module::Build is not installed. My modules provide both Build.PL *and* > Makefile.PL, so the end user has a choice in how to install the module. > The whole POINT of providing both is so that the user need not have > Module::Build installed. The suggested fix below (adding Module::Build > as a prerequisite in Makefile.PL) is insane. > > I resent that this is counted as a failure of my module in CPAN Tester > reports. > > An excerpt from the test report follows. See also > http://www.nntp.perl.org/group/perl.cpan.testers/2008/05/msg1522754.html > for the full report. > ------ > [ERROR] [Mon May 26 01:11:05 2008] MAKE failed: cp > lib/Time/Normalize.pm blib/lib/Time/Normalize.pm > Manifying blib/man3/Time::Normalize.3 > /Volumes/Media/smoke/perl562/bin/perl "-Iblib/arch" "-Iblib/lib" > Build.PL Build > Can't locate Module/Build.pm in @INC (@INC contains: blib/arch blib/lib > /Volumes/Media/smoke/perl562/lib/5.6.2/darwin-thread-multi-64int > /Volumes/Media/smoke/perl562/lib/5.6.2 > /Volumes/Media/smoke/perl562/lib/site_perl/5.6.2/darwin-thread-multi-64int > /Volumes/Media/smoke/perl562/lib/site_perl/5.6.2 > /Volumes/Media/smoke/perl562/lib/site_perl .) at Build.PL line 3. > BEGIN failed--compilation aborted at Build.PL line 3. > make: *** [Build] Error 2 > > > > MISSING PREREQUISITES: > > It was observed that the test suite seem to fail without these modules: > > Module::Build > > As such, adding the prerequisite module(s) to 'PREREQ_PM' in your > Makefile.PL should solve this problem. For example:
Subject: Re: [rt.cpan.org #36191] Reports test failure when Module::Build not installed
Date: Tue, 27 May 2008 13:29:26 -0400
To: bug-CPAN-YACSmoke [...] rt.cpan.org
From: "Eric Roode" <eric.roode.cpan [...] gmail.com>
Thanks, Robert.