Skip Menu |

This queue is for tickets about the Module-Install CPAN distribution.

Report information
The Basics
Id: 63454
Status: open
Priority: 0/
Queue: Module-Install

People
Owner: Nobody in particular
Requestors: TJC [...] cpan.org
Cc: toby.corkindale [...] strategicdata.com.au
AdminCc:

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



CC: toby.corkindale [...] strategicdata.com.au
Subject: Devel::Cover as a dependency causes CPANPLUS grief (if already present)
I seem to be hitting an odd edge case involving Module::Install's dependency checking and CPANPLUS. I'm attempting to install Task::Kensho via CPANPLUS. T-K includes Devel::Cover as an optional dependency. As it happens, I already have it installed. It seems that as part of the dependency checking, Devel::Cover gets loaded, and then causes grief a bit later, like so: $ cpanp Show quoted text
> i Task::Kensho
... time passes ... I hit 'y' to several prompts ... Writing Makefile for Task::Kensho Use of inherited AUTOLOAD for non-method Devel::Cover::set_first_init_and_end() is deprecated at /usr/local/strategic/perl/lib/site_perl/5.12.2/x86_64-linux-thread- multi/Devel/Cover.pm line 243 Devel::Cover::CHECK() called at /usr/local/strategic/perl/bin/cpanp-run- perl line 0 eval {...} called at /usr/local/strategic/perl/bin/cpanp-run-perl line 0 Can't locate auto/Devel/Cover/set_first_i.al in @INC (@INC contains: inc /usr/local/strategic/perl/lib/site_perl/5.12.2/x86_64-linux-thread-multi /usr/local/strategic/perl/lib/site_perl/5.12.2 /usr/local/strategic/perl/lib/5.12.2/x86_64-linux-thread-multi /usr/local/strategic/perl/lib/5.12.2 .) at /usr/local/strategic/perl/bin/cpanp- run-perl line 0 -- cannot continue
I should note that this is on Devel::Cover 0.73. I don't think this problem occurs if you are using Devel::Cover 0.65.