cpan-testers-discuss  

Makefile.PL graceful exit and CPAN.pm bugfix

David Golden
Thu, 27 Sep 2007 09:18:29 -0700

On 9/27/07, David Golden <[EMAIL PROTECTED]> wrote:
> Damn!  Those are CPAN/CPAN::Reporter reports, too.  Its not failing at
> the PL stage -- it's failing at make despite a missing Makefile.  Time
> to go dig at the CPAN source.

OK.  I just committed a bugfix to the CPAN.pm source such that ut will
not continue into the "make" stage if a Makefile was not created.  I
tested it on CPAN::Test::Dummy::Perl5::Make::PLExit and it no longer
tries to send a report -- it just stops after exiting from
Makefile.PL.

If Andreas can turn around a CPAN 1.9202 release, I'll bump the
CPAN::Reporter prereq to that version before the 1.00 release.

That would mean that as of CPAN::Reporter 1.00, any Makefile.PL or
Build.PL could just "exit 0" before creating a Makefile or Build and
no CPAN Testers report would be issued.  That seems like it would be
quite useful as an option for manually aborting when non-Perl
prerequisites are missing.

Anyone with CPANPLUS/YACSmoke want to go confirm what happens there?

David