Skip Menu |

This queue is for tickets about the CPAN CPAN distribution.

Report information
The Basics
Id: 91242
Status: open
Priority: 0/
Queue: CPAN

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

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



Subject: if perl is too low in META.yml/json, this information is not sent to CPAN::Reporter
META.yml of Lexical::Import has configure_requires: perl: 5.011002 So, on perl 5.10.0 Show quoted text
cpan> test Lexical::Import
Running test for module 'Lexical::Import' Running make for Z/ZE/ZEFRAM/Lexical-Import-0.002.tar.gz ... ZEFRAM/Lexical-Import-0.002.tar.gz requires perl '5.011002'; you have only 5.010 001; giving up ZEFRAM/Lexical-Import-0.002.tar.gz [prereq] -- NOT OK Could not make: requires perl '5.011002' Running make test Can't test without successful make Failed during this command: ZEFRAM/Lexical-Import-0.002.tar.gz : make NO requires perl '5.011002' Should sub CPAN::Distribution::satisfy_configure_requires just send a fake output to CPAN::Reporter::grade_PL? Or it is incorrect place? -- Alexandr Ciornii, http://chorny.net
Subject: Re: [rt.cpan.org #91242] if perl is too low in META.yml/json, this information is not sent to CPAN::Reporter
Date: Sun, 8 Dec 2013 07:39:29 -0500
To: bug-CPAN <bug-CPAN [...] rt.cpan.org>
From: David Golden <dagolden [...] cpan.org>
On Sat, Dec 7, 2013 at 3:22 PM, Alexandr Ciornii via RT <bug-CPAN@rt.cpan.org> wrote: Show quoted text
> Should sub CPAN::Distribution::satisfy_configure_requires just send a fake output to CPAN::Reporter::grade_PL? Or it is incorrect place?
The CPAN Testers policy is that when prerequisites are not satisfied, no report should be sent so I don't have a problem with it doing nothing. Faking up a "No support for OS" output message for grade_PL would also seem fine.