Skip Menu |

This queue is for tickets about the Time-Duration-Parse CPAN distribution.

Report information
The Basics
Id: 94135
Status: resolved
Priority: 0/
Queue: Time-Duration-Parse

People
Owner: NEILB [...] cpan.org
Requestors: zefram [...] fysh.org
Cc:
AdminCc:

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



Subject: undeclared dep on Test::Builder::Module
Date: Mon, 24 Mar 2014 09:47:47 +0000
To: bug-Time-Duration-Parse [...] rt.cpan.org
From: Zefram <zefram [...] fysh.org>
The Test::More that is bundled with Time-Duration-Parse-0.09 includes the line use Test::Builder::Module 0.99; but nowhere does the distro declare this dependency. If installing on a fresh 5.18.2, for example, which bundles Test::Buulder::Module 0.98, failures like this are seen during testing: Test::Builder::Module version 0.99 required--this is only version 0.98 at /opt/perl-5.18.2/cpan/build/Time-Duration-Parse-0.09-7uHJhH/inc/Test/More.pm line 23. BEGIN failed--compilation aborted at /opt/perl-5.18.2/cpan/build/Time-Duration-Parse-0.09-7uHJhH/inc/Test/More.pm line 23. Compilation failed in require at t/00_compile.t line 2. BEGIN failed--compilation aborted at t/00_compile.t line 2. t/00_compile.t .... Dubious, test returned 255 (wstat 65280, 0xff00) There are other undeclared dependencies too, but this one is the most likely to cause grief. A quick perusal of inc/ reveals these external dependencies: Config Cwd ExtUtils::MakeMaker Fcntl File::Find File::Path Test::Builder::Module 0.99 constant perl 5.006 strict vars warnings Of these, META.yml mentions only ExtUtils::MakeMaker and perl. Likewise, lib/Time/Duration/Parse.pm itself has these external dependencies: Carp Exporter::Lite strict warnings of which META.yml mentions only Exporter::Lite. -zefram
Thank you for the detailed report. I recently adopted this dist, and have been trying to work out why I get a small number of CPAN Testers failures. It uses inc::Module::Install, which I'm not familiar with. I'll switch to a builder I am familiar with! Thanks again, Neil
Subject: Re: [rt.cpan.org #94135] undeclared dep on Test::Builder::Module
Date: Mon, 24 Mar 2014 02:58:54 -0700
To: bug-Time-Duration-Parse [...] rt.cpan.org
From: Tatsuhiko Miyagawa <miyagawa [...] gmail.com>
Meanwhile, you can just eliminate the line `auto_include;` in Makefile.PL to stop bundling modules. It was a bad habit i was cargo culting back in 2006 which I wouldn't do anymore. On Mon, Mar 24, 2014 at 2:53 AM, Neil_Bowers via RT < bug-Time-Duration-Parse@rt.cpan.org> wrote: Show quoted text
> Queue: Time-Duration-Parse > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=94135 > > > Thank you for the detailed report. > > I recently adopted this dist, and have been trying to work out why I get a > small number of CPAN Testers failures. > It uses inc::Module::Install, which I'm not familiar with. > > I'll switch to a builder I am familiar with! > > Thanks again, > Neil > >
-- Tatsuhiko Miyagawa
RT-Send-CC: miyagawa [...] gmail.com
Fixed in 0.10 - I switched to Dist::Zilla.