Skip Menu |

This queue is for tickets about the PAR-Dist-FromCPAN CPAN distribution.

Report information
The Basics
Id: 27278
Status: resolved
Priority: 0/
Queue: PAR-Dist-FromCPAN

People
Owner: Nobody in particular
Requestors: abram [...] arin.net
Cc:
AdminCc:

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



Subject: PAR::Dist::FromCPAN bug?
Date: Thu, 24 May 2007 15:21:51 -0400
To: bug-par-dist-fromcpan [...] rt.cpan.org
From: Abram Thielke <abram [...] arin.net>
Download signature.asc
application/pgp-signature 189b

Message body not shown because it is not plain text.

Hello, I believe there is a small issue with the way PAR::Dist::FromCPAN builds the module dependency list. In the cpan_to_par function, in the recursive dependency solving loop, you're doing a map from the keys of the hash reference that is created by a $mod->distribution->prereq_pm above. It looks like you are expecting that hash to have something along the lines of Module => Version. However CPAN::Distribution::prereq_pm is returning a hash ref containing the keys 'requires' and 'build_requires'. Those are hash references containing Module => Version. I'm running CPAN 1.9102. The file attached is a quick patch to address this issue. Thanks, Abram Thielke

Message body is not shown because sender requested not to inline it.

Thanks for your bug report. I was just going to release a new version of the module with a similar fix, but it would have missed "build_requires". PAR::Dist::FromCPAN 0.05 is on its way to CPAN! Best regards, Steffen