Subject: | Invalid syntax in META.yml |
Hi,
The "author" key of META.yml contains a duplicate "author:" string:
author: author:
- YAMASHINA Hio <hio@cpan.org>
Which causes Parse::CPAN::Meta->load_file to throw an error:
CPAN::Meta::YAML found illegal characters in plain scalar: 'author:' at /home/ilmari/perl5/perlbrew/perls/26.0/lib/5.26.0/Parse/CPAN/Meta.pm line 47.
The quick fix is to change line 279 of inc/ExtUtils/MY_Metafile.pm to
$yaml->{$key} = "\n";
But a better fix would be to remove inc/ExtUtils/MY_Metafile.pm and all references to it (including the @INC fix), and let ExtUtils::MakeMaker generate the META files itself. The my_metafile() parameters can be passed as the META_MERGE option to WriteMakefile if ExtUtils::MakeMaker is version 6.46 or newer (which shipped with perl 5.10.1).
Regards,
ilmari