Skip Menu |

This queue is for tickets about the Math-DifferenceSet-Planar CPAN distribution.

Report information
The Basics
Id: 130259
Status: resolved
Priority: 0/
Queue: Math-DifferenceSet-Planar

People
Owner: hasch-cpan [...] cozap.com
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in:
  • 0.002
  • 0.003
Fixed in: 0.004



Subject: Undeclared dependency File::ShareDir::Install
Automatic build fails if File::ShareDir::Install is not installed: ... Output from '/usr/local/bin/perl Makefile.PL': Can't locate File/ShareDir/Install.pm in @INC (you may need to install the File::ShareDir::Install module) (@INC contains: /var/tmp/cpansmoker-1023/2019080506/CPAN-Reporter-lib-qiBy /usr/local/lib/perl5/site_perl/mach/5.28 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.28/mach /usr/local/lib/perl5/5.28 .) at Makefile.PL line 7. BEGIN failed--compilation aborted at Makefile.PL line 7. ... Probably it has to be declared as a configure_requires dependency.
On Mon Aug 05 01:13:28 2019, SREZIC wrote: Show quoted text
> Automatic build fails if File::ShareDir::Install is not installed: > > ... > Probably it has to be declared as a configure_requires dependency.
Thank you for spotting this. Fixed in 0.003. -Martin
On 2019-08-05 10:53:31, MHASCH wrote: Show quoted text
> On Mon Aug 05 01:13:28 2019, SREZIC wrote:
> > Automatic build fails if File::ShareDir::Install is not installed: > > > > ... > > Probably it has to be declared as a configure_requires dependency.
> > Thank you for spotting this. Fixed in 0.003. > > -Martin
The dependency actually has to be specified at the "configure" phase -- "build" is not soon enough. https://metacpan.org/pod/CPAN::Meta::Spec#Phases
On Mon Aug 05 18:54:42 2019, ETHER wrote: Show quoted text
> On 2019-08-05 10:53:31, MHASCH wrote:
> > On Mon Aug 05 01:13:28 2019, SREZIC wrote:
> > > Automatic build fails if File::ShareDir::Install is not installed: > > > Probably it has to be declared as a configure_requires dependency.
> > Thank you for spotting this. Fixed in 0.003.
> The dependency actually has to be specified at the "configure" phase > -- "build" is not soon enough.
Oops, you are so right. And just in time for my PerlCon presentation, too. Thanks, Karen and Slaven. Fixed (hopefully) in 0.004. -Martin