Skip Menu |

This queue is for tickets about the FindBin-libs CPAN distribution.

Report information
The Basics
Id: 125127
Status: resolved
Priority: 0/
Queue: FindBin-libs

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Undeclared dependency File::Copy::Recursive::Reduced (2.017012)
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. ...
CC: lembark [...] wrkhors.com
Subject: Re: [rt.cpan.org #125127] Undeclared dependency File::Copy::Recursive::Reduced (2.017012)
Date: Thu, 19 Apr 2018 15:04:52 -0500
To: bug-FindBin-libs [...] rt.cpan.org
From: Steven Lembark <lembark [...] wrkhors.com>
On Thu, 19 Apr 2018 01:57:59 -0400 "Slaven_Rezic via RT" <bug-FindBin-libs@rt.cpan.org> wrote: Show quoted text
> 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. Sorry about that. -- Steven Lembark 1505 National Ave Workhorse Computing Rockford, IL 61103 lembark@wrkhors.com +1 888 359 3508
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.
CC: lembark [...] wrkhors.com
Subject: Re: [rt.cpan.org #125127] Undeclared dependency File::Copy::Recursive::Reduced (2.017012)
Date: Fri, 20 Apr 2018 00:32:59 -0500
To: bug-FindBin-libs [...] rt.cpan.org
From: Steven Lembark <lembark [...] wrkhors.com>
On Thu, 19 Apr 2018 18:27:17 -0400 "Slaven_Rezic via RT" <bug-FindBin-libs@rt.cpan.org> wrote: Show quoted text
> 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!):
Thank you, that was the piece I'd missed. -- Steven Lembark 1505 National Ave Workhorse Computing Rockford, IL 61103 lembark@wrkhors.com +1 888 359 3508
On 2018-04-20 01:34:36, lembark@wrkhors.com wrote: Show quoted text
> On Thu, 19 Apr 2018 18:27:17 -0400 > "Slaven_Rezic via RT" <bug-FindBin-libs@rt.cpan.org> wrote: >
> > 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!):
> > Thank you, that was the piece I'd missed. >
The new release seems to work (but there is another problem, which I will address in a new issue). Resolving.