Subject: | Fails to write Makefile if optional_features are present |
I found at least two distributions which cannot be built anymore with the current stable EUMM:
KRYDE/Glib-Ex-ObjectBits-16.tar.gz:
Output from '/usr/perl5.26.0-RC2p/bin/perl Makefile.PL':
Checking if your kit is complete...
Looks good
Warning: NAME must be a package name
Odd number of elements in anonymous hash at /usr/perl5.26.0-RC2p/lib/5.26.0/CPAN/Meta/Converter.pm line 541.
Failed to downconvert metadata to 1.4. Errors:
Expected a map structure from string or file. (optional_features -> maximum_tests -> requires) [Validation: 1.4]
Expected a map structure from string or file. (optional_features -> maximum_tests -> build_requires) [Validation: 1.4]
SREZIC/Tk-Pod-0.9943.tar.gz:
Running Makefile.PL
Checking if your kit is complete...
Looks good
Odd number of elements in anonymous hash at /home/travis/perl5/perlbrew/perls/5.20-extras/lib/site_perl/5.20.3/CPAN/Meta/Converter.pm line 535.
Odd number of elements in anonymous hash at /home/travis/perl5/perlbrew/perls/5.20-extras/lib/site_perl/5.20.3/CPAN/Meta/Converter.pm line 535.
Odd number of elements in anonymous hash at /home/travis/perl5/perlbrew/perls/5.20-extras/lib/site_perl/5.20.3/CPAN/Meta/Converter.pm line 535.
Odd number of elements in anonymous hash at /home/travis/perl5/perlbrew/perls/5.20-extras/lib/site_perl/5.20.3/CPAN/Meta/Converter.pm line 535.
Odd number of elements in anonymous hash at /home/travis/perl5/perlbrew/perls/5.20-extras/lib/site_perl/5.20.3/CPAN/Meta/Converter.pm line 535.
Failed to downconvert metadata to 1.4. Errors:
Expected a map structure from string or file. (optional_features -> debugging -> requires) [Validation: 1.4]
Expected a map structure from string or file. (optional_features -> debugging -> build_requires) [Validation: 1.4]
Expected a map structure from string or file. (optional_features -> fulltext_search -> build_requires) [Validation: 1.4]
Expected a map structure from string or file. (optional_features -> fulltext_search -> requires) [Validation: 1.4]
Expected a map structure from string or file. (optional_features -> nicer_gui -> requires) [Validation: 1.4]
Expected a map structure from string or file. (optional_features -> nicer_gui -> build_requires) [Validation: 1.4]
Expected a map structure from string or file. (optional_features -> external_links -> requires) [Validation: 1.4]
Expected a map structure from string or file. (optional_features -> external_links -> build_requires) [Validation: 1.4]
Expected a map structure from string or file. (optional_features -> gzip_support -> requires) [Validation: 1.4]
Expected a map structure from string or file. (optional_features -> gzip_support -> build_requires) [Validation: 1.4]
It seems that the problem is fixed in 7.27_01. Maybe it has the same cause as https://rt.cpan.org/Ticket/Display.html?id=121913
Maybe also an indication that tests are missing here?