When I try to install AnyEvent::Feed I've got this error: g-cpan -i AnyEvent::Feed |Checksum for /var/tmp/g-cpan/.cpan/sources/authors/id/E/EL/ELMEX/AnyEvent-Feed-0.3.tar.gz ok YAML Error: Expected separator '---' Code: YAML_PARSE_ERR_NO_SEPARATOR Line: 1 Document: 2 at /usr/lib64/perl5/vendor_perl/5.12.3/YAML.pm line 36 I have got file AnyEvent-Feed-0.3.tar.gz from CPAN and untar it. The META.yaml file was in fact json file. Also distribution contained META.json that seemed well formed. The quastion is, is this posible to do some failback mech for json META. Reproducible: Always Steps to Reproduce: 1.launch g-cpan -i AnyEvent::Feed Actual Results: -Sorry, we have to rerun the configuration dialog for CPAN.pm due to some missing parameters... Will write to <</root/.cpan/CPAN/MyConfig.pm>> Normally CPAN.pm keeps config variables in memory and changes need to be saved in a separate 'o conf commit' command to make them permanent between sessions. If you set the 'auto_commit' option to true, changes to a config variable are always automatically committed to disk. <auto_commit> Always commit changes to config variables to disk? [no] no Please remember to call 'o conf commit' to make the config permanent! Going to read '/var/tmp/g-cpan/.cpan/Metadata' Database was generated on Mon, 06 Jun 2011 02:34:52 GMT |Checksum for /var/tmp/g-cpan/.cpan/sources/authors/id/E/EL/ELMEX/AnyEvent-Feed-0.3.tar.gz ok YAML Error: Expected separator '---' Code: YAML_PARSE_ERR_NO_SEPARATOR Line: 1 Document: 2 at /usr/lib64/perl5/vendor_perl/5.12.3/YAML.pm line 36
I'm try to fix this bug see https://github.com/gentoo-perl/g-cpan/pull/1 also about parse META.json - it need adding one more depend (JSON) so I do not added this feature, maybe in future if someone approved
I've checked on g-cpan-0.16.5, all seems fine now. Please check it, and close the bug if all OK.