Skip Menu |
 

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

Report information
The Basics
Id: 35164
Status: resolved
Priority: 0/
Queue: Module-Install

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

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



Subject: requires_external_bin returns with incorrect exit value on failure
Download (untitled) / with headers
text/plain 785b
Hi, The option "requires_external_bin", as far as I know is a way to check for required binaries at build time. The M::I documentation says: "Unlike a missing Perl module, a missing external binary is unresolvable at make-time, and so the Makefile.PL run will abort with a "NA" (Not Applicable) result." According to the code in Module/Install/External.pm, to avoid building Makefile, an exit(255) is done when a required binary is not found. However, CPAN Testers Wiki (http://cpantest.grango.org/wiki/CPANAuthorNotes) says that in order the testing system to consider the result NA, the exit value should be zero. The incorrect exit value causes FAIL reports ( for example, http://www.nntp.perl.org/group/perl.cpan.testers/2008/03/msg1237997.html) to be sent out instead of NA.
Replaced exit(255) with exit(0) in Module::Install::External. Will be fixed in the next release.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.