David Cantrell <da...@cantrell.org.uk> writes: > On Thu, Jul 05, 2018 at 03:55:30PM +0000, Alceu R. de Freitas Jr. wrote: > >> Despite my efforts, the new release also showed the same error in one of >> your boxes: >> http://www.cpantesters.org/cpan/report/30beda64-7f90-11e8-bec4-48217347484a >> Could you please try to help me in discovering why Log::Log4perl is >> not being installed in this case? > > CCing cpan-testers-discuss because I'm stumped here. > > Here <https://pastebin.com/CFW7Aqs5> is the raw output from running > perl-5.14.4/bin/cpan Archive::Tar::Wrapper > > As you can see it fetches and untars the dist, runs Makefile.PL, which > correctly warns about the missing deps and does its usual dance. Here > <https://pastebin.com/XRiWqYmd> is the generated MYMETA.yml. But then > CPAN.pm doesn't spot that there are dependencies missing and carries on > to the 'make' and 'make test' phases, which then blows up. > > I can't see anything especially weird in Makefile.PL that would cause > this. Anyone else got any idea? > > This only happens in 5.14.4. I have test passes for 5.16 onwards, and > also for 5.8.9. > > In 5.12, Makefile.PL dies thus: > > Warning: prerequisite IPC::Run 0 not found. > Warning: prerequisite Log::Log4perl 0 not found. > Warning: prerequisite Test::Simple 1.302073 not found. We have 1.302059. > only nested arrays of non-refs are supported at > /home/david/cpantesting/perl-5.12.5/lib/5.12.5/ExtUtils/MakeMaker.pm > line 664 > (/home/david/cpantesting/perl-5.12.5/bin/perl Makefile.PL exited with > 65280) > > So I presume that there's something Odd in the metadata that only > affects some combinations of versions of CPAN.pm and EU::MM, but I can't > spot what it is.
I did some experiments with a clean perl install in a docker container (see attached Dockerfile). It seems that the dependency resolution is broken with perl 5.14.4, 5.15.0 and 5.15.1, and started to work with 5.15.2 again. Upgrading various CPAN-related modules in 5.14.4 (CPAN, CPAN::Meta, CPAN::Meta::YAML...) did not help. Regards, Slaven
Dockerfile
Description: Binary data
-- Slaven Rezic - slaven <at> rezic <dot> de Berlin Perl Mongers - http://berlin.pm.org