Skip Menu |

This queue is for tickets about the Devel-CallChecker CPAN distribution.

Report information
The Basics
Id: 70739
Status: rejected
Priority: 0/
Queue: Devel-CallChecker

People
Owner: Nobody in particular
Requestors: rurban [...] x-ray.at
Cc:
AdminCc:

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



Subject: Missing PREREQ_PM: Params::Classify
# running Build.PL Created MYMETA.yml and MYMETA.json Creating new 'Build' script for 'Devel-CallChecker' version '0.003' (/usr/local/bin/perl5.14.1d Makefile.PL exited with 0) CPAN::Reporter: Makefile.PL result is 'pass', No errors. /usr/local/bin/perl5.14.1d Build --makefile_env_macros 1 Building Devel-CallChecker gcc-mp-4.6 -I/usr/local/lib/perl5/5.14.1/darwin-thread-debug/CORE - DXS_VERSION="0.003" -DVERSION="0.003" -c -fno-common -DPERL_DARWIN -m64 - DDEBUGGING -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include - I/opt/local/include -m64 -g3 -o lib/Devel/CallChecker.o lib/Devel/CallChecker.c ExtUtils::Mkbootstrap::Mkbootstrap('blib/arch/auto/Devel/CallChecker/CallChecker.bs') env LD_RUN_PATH=/usr/local/lib/perl5/5.14.1/darwin-thread-debug/CORE env MACOSX_DEPLOYMENT_TARGET=10.3 cc -bundle -undefined dynamic_lookup - L/usr/local/lib -L/opt/local/lib -fstack-protector -o blib/arch/auto/Devel/CallChecker/CallChecker.bundle lib/Devel/CallChecker.o (/usr/bin/make exited with 0) CPAN::Reporter: make result is 'pass', No errors. ZEFRAM/Devel-CallChecker-0.003.tar.gz /usr/bin/make -- OK Running make test /usr/local/bin/perl5.14.1d Build --makefile_env_macros 1 test Can't locate Params/Classify.pm in @INC (@INC contains: lib /Users/rurban/.cpan/build/Devel-CallChecker-0.003-wI8gnd/blib/lib /Users/rurban/.cpan/build/Devel-CallChecker-0.003-wI8gnd/blib/arch /Users/rurban/.cpan/build/Devel-CallChecker-0.003-wI8gnd/_build/lib _build/lib /usr/local/lib/perl5/site_perl/5.14.1/darwin-thread-debug /usr/local/lib/perl5/site_perl/5.14.1 /usr/local/lib/perl5/5.14.1/darwin-thread-debug /usr/local/lib/perl5/5.14.1 /usr/local/lib/perl5/site_perl/5.14.0 /usr/local/lib/perl5/site_perl/5.10.1 /usr/local/lib/perl5/site_perl .) at /usr/local/lib/perl5/site_perl/5.14.0/Module/Runtime.pm line 50. BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.14.0/Module/Runtime.pm line 50. Compilation failed in require at /usr/local/lib/perl5/site_perl/5.14.0/DynaLoader/Functions.pm line 42. BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.14.0/DynaLoader/Functions.pm line 42. Compilation failed in require at lib/Devel/CallChecker.pm line 48. After manually installing Params::Classify, all tests pass.
Subject: Re: [rt.cpan.org #70739] Missing PREREQ_PM: Params::Classify
Date: Mon, 5 Sep 2011 17:08:00 +0100
To: Reini Urban via RT <bug-Devel-CallChecker [...] rt.cpan.org>
From: Zefram <zefram [...] fysh.org>
Reini Urban via RT wrote: Show quoted text
>Can't locate Params/Classify.pm in @INC
... Show quoted text
>BEGIN failed--compilation aborted at >/usr/local/lib/perl5/site_perl/5.14.0/Module/Runtime.pm line 50. >Compilation failed in require at
... Show quoted text
>/usr/local/lib/perl5/site_perl/5.14.0/DynaLoader/Functions.pm line 42. >Compilation failed in require at lib/Devel/CallChecker.pm line 48.
This is a strange result. Params::Classify is not used directly by Devel::CallChecker, but is used directly by both DynaLoader::Functions and Module::Runtime. Module::Runtime is used directly by DynaLoader::Functions, which is used directly by Devel::CallChecker. Both Module::Runtime and DynaLoader::Functions do declare their requirement for Params::Classify, both at configure time and in their META.{json,yml}, and neither could pass its test suite without Params::Classify being loadable. For you to have Params::Classify not available but both Module::Runtime and DynaLoader::Functions available suggests that you had it installed at one time and then later removed it. Or perhaps that you installed it somewhere temporary that was used as additional @INC while building and testing Module::Runtime and DynaLoader::Functions, but never properly installed it. In any case, something strange is happening in your perl installation. I see no relevant fault in any of my modules. -zefram
Closing this ticket because of lack of information locating the problem.
On Mon Feb 06 08:35:38 2012, ZEFRAM wrote: Show quoted text
> Closing this ticket because of lack of information locating the
problem. Ignoring the problem does not fix the problem. It is easily reproducable an all platforms with all fresh perls. I had to patch my init scripts to pass this missing prereq. Attached is a sample log with a fresh blead and cpan IPC::Run List::MoreUtils Params::Util Math::Round Attribute::Handlers B::Hooks::EndOfScope DateTime DateTime::Locale Devel::GlobalDestruction ExtUtils::Install Module::Build Moose MooseX::Types Test::Tester DBI DBD::SQLite List::MoreUtils Params::Util Math::Round are the other deps which are missing in some autarch modules. -- Reini Urban
Subject: log.upd-blead
Download log.upd-blead
application/octet-stream 1.3m

Message body not shown because it is not plain text.

Subject: Re: [rt.cpan.org #70739] Missing PREREQ_PM: Params::Classify
Date: Tue, 7 Feb 2012 16:42:52 +0000
To: Reini Urban via RT <bug-Devel-CallChecker [...] rt.cpan.org>
From: Zefram <zefram [...] fysh.org>
Reini Urban via RT wrote: Show quoted text
>Attached is a sample log with a fresh blead
Thank you for the log. It gives some useful clues as to what's going wrong. Firstly, it's clear that this is *not* a fresh installation. It's installing into a tree that's already populated to some extent. There's a bunch of permission errors showing a failed attempt to remove part of the module tree, immediately after the installation. I don't believe such a recursive removal is part of the Perl installation process, nor is it the work of cpan, so I think there's some step there that you didn't mention. So you're installing where there are already files, then probably removing some, and definitely failing to remove some. At this point I'm satisfied in dismissing your installation as hopelessly corrupted. Continuing, the first thing cpan reports about the modules you requested is that IPC::Run is already installed. Since it's not bundled with the core, this is further clear indication that the installation is not clean at this point. The first mention of Params::Classify comes during testing of DateTime, when it is invoked many levels down, via DateTime::TimeZone and a handful of other already-installed modules. P:C can't be found, indicating that the installations of DateTime::TimeZone and all the other modules in that stack trace are already broken, by virtue of having a prerequisite not present. Conclusively, your perl installation is already broken at this stage. It is broken before cpan has attempted to install any of my modules. For that matter, it's clear that it's broken before you invoked cpan at all. At least, before you invoked cpan in the scope of this log, because you've obviously applied cpan to these directories before. I'd be interested if prerequisites get screwed up on a *fresh* installation. I'm not interested in what you have there. -zefram