Skip Menu |

This queue is for tickets about the CPAN CPAN distribution.

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

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

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



Subject: when YAML is not installed, fallback methods do not seem to use JSON?
In this pastebin, from a hapless newbie trying to get a distribution installed, https://bpaste.net/show/b4e500a56e0a We see: "Could not read '/root/.cpan/build/MooseX-Params-Validate-0.19-LMn41M/MYMETA.yml'. Falling back to other methods to determine prerequisites". However, those fallback methods don't seem to include two which ought to work: - using CPAN::Meta::YAML to read MYMETA.yml - using JSON::PP to read MYMETA.json Maybe I'm misunderstanding something? But it looks here like the user's problems all stem from ending up with distributions getting installed without the prereqs being fulfilled. (this user has: CPAN.pm 1.9402, CPAN::Meta::YAML 0.012, perl 5.10.1)
On 2015-01-12 17:46:02, ETHER wrote: Show quoted text
> In this pastebin, from a hapless newbie trying to get a distribution > installed, > > https://bpaste.net/show/b4e500a56e0a > > We see: "Could not read '/root/.cpan/build/MooseX-Params-Validate- > 0.19-LMn41M/MYMETA.yml'. Falling back to other methods to determine > prerequisites". > > However, those fallback methods don't seem to include two which ought > to work: > > - using CPAN::Meta::YAML to read MYMETA.yml > - using JSON::PP to read MYMETA.json > > Maybe I'm misunderstanding something? But it looks here like the > user's problems all stem from ending up with distributions getting > installed without the prereqs being fulfilled. > > (this user has: CPAN.pm 1.9402, CPAN::Meta::YAML 0.012, perl 5.10.1)
^^^^^^^^^^^^^^ This is quite old --- I believe in those days there was only YAML and YAML::Syck support for reading meta files, nothing else.