On 2018-04-19 16:06:55, lembark@wrkhors.com wrote:
Show quoted text> On Thu, 19 Apr 2018 01:57:59 -0400
> "Slaven_Rezic via RT" <bug-FindBin-libs@rt.cpan.org> wrote:
>
> > Thu Apr 19 01:57:59 2018: Request 125127 was acted upon.
> > Transaction: Ticket created by SREZIC
> > Queue: FindBin-libs
> > Subject: Undeclared dependency File::Copy::Recursive::Reduced
> > (2.017012) Broken in: (no value)
> > Severity: (no value)
> > Owner: Nobody
> > Requestors: SREZIC@cpan.org
> > Status: new
> > Ticket <URL:
https://rt.cpan.org/Ticket/Display.html?id=125127 >
> >
> >
> > It seems that File::Copy::Recursive::Reduced needs to be specified as
> > configure_requires:
> >
> > ...
> > Output from '/bbbike/perl-5.20.3D/bin/perl Makefile.PL':
> >
> > Can't locate File/Copy/Recursive/Reduced.pm in @INC (you may need to
> > install the File::Copy::Recursive::Reduced module) (@INC
> > contains: /var/tmp/cpansmoker-1023/2018041903/CPAN-Reporter-lib-aln1
> > /opt/perl-5.20.3D/lib/site_perl/5.20.3/x86_64-linux-ld /opt/perl-
> > 5.20.3D/lib/site_perl/5.20.3 /opt/perl-5.20.3D/lib/5.20.3/x86_64-
> > linux-ld /opt/perl-5.20.3D/lib/5.20.3 .)
> > at Makefile.PL line 14. BEGIN failed--compilation aborted at
> > Makefile.PL line 14. ...
>
> Problem is that configure_requires needs a relatively recent version
> of MakeMaker, which isn't always available. Dumb of me, I put the
> code in with a "use" rather than require.
This does not help. If META.yml and META.json contain the correct requirement, then it can stil be a "use". But META.yml/json did not change in 2.017013.
Please see
https://metacpan.org/pod/ExtUtils::MakeMaker#CONFIGURE_REQUIRES for a possible solution. And note that the EUMM version 6.52 requirement is only needed for the author when running "make dist", but not for the normal user installing the module. But to avoid unnecessary warnings it's probably better to write something like this (untested!):
($ExtUtils::MakeMaker::VERSION >= 6.52 ? (CONFIGURE_REQUIRES => ...) : ()),
To test the change, do a "make distdir". The created directory should contain META.yml/json files which have the configuration requirements specified.