Subject: | requires_external_bin returns with incorrect exit value on failure |
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.