Skip Menu |
 

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

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

Report information
The Basics
Id: 67417
Status: resolved
Priority: 0/
Queue: CPAN-Reporter

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

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



Subject: M::I substitution in PrereqCheck causes false FAILs that should be DISCARDs
Download (untitled) / with headers
text/plain 947b
This is an example report demonstrating the issue: http://www.cpantesters.org/cpan/report/0529fdb8-6d2e-1014-a4e5- ad769f735aaf This issue currently affects many (if not all) M::I::* modules. What happens is this: When Module::Install fails to install due to failing tests, a module that depends on it actually being fully installed on the system (and not just in inc/) will attempt to test anyhow, fail the test and then defer to CPAN::Reporter for grading. At this point CPAN::Reporter will use C::R::PrereqCheck to try and pinpoint missing dependencies. However due to the following substitution, it will incorrectly find Module::Install in the dist's inc/ directory and consider the dependency to be fulfilled despite it not actually being installed on the system: my %substitute = ( 'Module::Install' => 'inc::Module::Install', ); This causes CPAN::Reporter to report a false FAIL, instead of the correct DISCARD.
Download (untitled) / with headers
text/plain 105b
Sending the previous mail has failed. Please contact your admin, they can find more details in the logs.
Download (untitled) / with headers
text/plain 105b
Sending the previous mail has failed. Please contact your admin, they can find more details in the logs.
Download (untitled) / with headers
text/plain 280b
Patched in the repo. Side effect: M::I older than 0.95 will not be checked for loading. Hopefully, that's a reasonable tradeoff. M::I prior to that version would die during require unless invoked as "inc::Module::Instsall", which makes compilation testing impossible otherwise.


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.