Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 370223 - g-cpan crashes on install AnyEvent::Feed
Summary: g-cpan crashes on install AnyEvent::Feed
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Robin Johnson
Depends on:
Reported: 2011-06-06 06:24 UTC by Pozdnyak Pavel
Modified: 2014-09-04 07:07 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Pozdnyak Pavel 2011-06-06 06:24:22 UTC
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 '---'
   Line: 1
   Document: 2
 at /usr/lib64/perl5/vendor_perl/5.12.3/ 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 due to
some missing parameters...  Will write to

Normally 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.

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 '---'
   Line: 1
   Document: 2
 at /usr/lib64/perl5/vendor_perl/5.12.3/ line 36
Comment 1 Sergiy Borodych 2011-06-09 08:02:55 UTC
I'm try to fix this bug

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
Comment 2 Sergiy Borodych 2014-09-04 06:50:17 UTC
I've checked on g-cpan-0.16.5, all seems fine now.
Please check it, and close the bug if all OK.