Skip Menu |

This queue is for tickets about the Setup-File-Symlink CPAN distribution.

Report information
The Basics
Id: 82530
Status: rejected
Priority: 0/
Queue: Setup-File-Symlink

People
Owner: Nobody in particular
Requestors: hesco [...] campaignfoundations.com
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 0.24
Fixed in: 0.24



Subject: perhaps you forgot to load "Module::Metadata::Version"
$ cpanm -L cpan_deps/ install Setup::File::Symlink Can't locate object method "new" via package "Module::Metadata::Version" (perhaps you forgot to load "Module::Metadata::Version"?) at /loader/0x9651840/App/cpanminus/script.pm line 845. -------------------- I know this appears to come from cpanm, and not fro your code, however, I have been using this installation of cpanm for a few weeks without encountering this issue (at least that I have noticed). So I supect it may have something to do with your code, but have not perfomred an RCA to determine that definitively. This module would be very helpful to my current project. Would hate to sort out what to use in the alternative. Thanks for your work on this, -- Hugh Esco
On Sun Jan 06 20:05:18 2013, HESCO wrote: Show quoted text
> $ cpanm -L cpan_deps/ install Setup::File::Symlink > > Can't locate object method "new" via package
"Module::Metadata::Version" Show quoted text
> (perhaps you forgot to load "Module::Metadata::Version"?) at > /loader/0x9651840/App/cpanminus/script.pm line 845. > > -------------------- > > I know this appears to come from cpanm, and not fro your code, > however, I have been using this installation of cpanm for a few > weeks without encountering this issue (at least that I have
noticed). Show quoted text
> > So I supect it may have something to do with your code, > but have not perfomred an RCA to determine that definitively. > > This module would be very helpful to my current project. > Would hate to sort out what to use in the alternative. > > Thanks for your work on this, > -- Hugh Esco
Hi Hugh, I've never encountered that error message in cpanm, not with Setup::File::Symlink or any other module. Setup::File::Symlink also does not use Module::Metadata::Version at all. Can you produce a stack trace for this? Install Carp::Always and do something like: $ perl -MCarp::Always `which cpanm` -L cpan_deps/ install Setup::File::Symlink or: $ PERL5OPT=-MCarp::Always cpanm -L cpan_deps/ install Setup::File::Symlink and report back to me the output when the error happens. Regards, Steven
Subject: Re: [rt.cpan.org #82530] perhaps you forgot to load "Module::Metadata::Version"
Date: Mon, 7 Jan 2013 12:30:05 -0500
To: bug-Setup-File-Symlink [...] rt.cpan.org
From: Hugh Esco <hesco [...] campaignfoundations.com>
Thanks for your prompt response on this. I'm afraid the trace below fails to shed enough light to show me a path forward, but perhaps you will see more here than I do. As requested . . . $ perl -MCarp::Always `which cpanm` -L cpan_deps/ install Can't locate object method "new" via package "Module::Metadata::Version" (perhaps you forgot to load "Module::Metadata::Version"?) at /loader/0x9c7f548/App/cpanminus/script.pm line 843 App::cpanminus::script::check_module('App::cpanminus::script=HASH(0x9c7f718)', 'ExtUtils::MakeMaker', 6.31) called at /loader/0x9c7f548/App/cpanminus/script.pm line 877 App::cpanminus::script::should_install('App::cpanminus::script=HASH(0x9c7f718)', 'ExtUtils::MakeMaker', 6.31) called at /loader/0x9c7f548/App/cpanminus/script.pm line 893 App::cpanminus::script::install_deps('App::cpanminus::script=HASH(0x9c7f718)', '/home/hesco/sandbox', 0, 'ExtUtils::MakeMaker', 6.31, 'ExtUtils::Install', 1.46, 'Module::Build', 0.28, ...) called at /loader/0x9c7f548/App/cpanminus/script.pm line 103 App::cpanminus::script::check_libs('App::cpanminus::script=HASH(0x9c7f718)') called at /loader/0x9c7f548/App/cpanminus/script.pm line 660 App::cpanminus::script::install_module('App::cpanminus::script=HASH(0x9c7f718)', 'install', 0) called at /loader/0x9c7f548/App/cpanminus/script.pm line 123 App::cpanminus::script::doit('App::cpanminus::script=HASH(0x9c7f718)') called at /usr/local/bin/cpanm line 5667 On Mon, 7 Jan 2013 10:23:41 -0500 "steven haryanto via RT" <bug-Setup-File-Symlink@rt.cpan.org> wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=82530 > > > On Sun Jan 06 20:05:18 2013, HESCO wrote:
> > $ cpanm -L cpan_deps/ install Setup::File::Symlink > > > > Can't locate object method "new" via package
> "Module::Metadata::Version"
> > (perhaps you forgot to load "Module::Metadata::Version"?) at > > /loader/0x9651840/App/cpanminus/script.pm line 845. > > > > -------------------- > > > > I know this appears to come from cpanm, and not fro your code, > > however, I have been using this installation of cpanm for a few > > weeks without encountering this issue (at least that I have
> noticed).
> > > > So I supect it may have something to do with your code, > > but have not perfomred an RCA to determine that definitively. > > > > This module would be very helpful to my current project. > > Would hate to sort out what to use in the alternative. > > > > Thanks for your work on this, > > -- Hugh Esco
> > Hi Hugh, > > I've never encountered that error message in cpanm, not with > Setup::File::Symlink or any other module. Setup::File::Symlink also > does not use Module::Metadata::Version at all. > > Can you produce a stack trace for this? Install Carp::Always and do > something like: > > $ perl -MCarp::Always `which cpanm` -L cpan_deps/ install > Setup::File::Symlink > > or: > > $ PERL5OPT=-MCarp::Always cpanm -L cpan_deps/ install > Setup::File::Symlink > > and report back to me the output when the error happens. > > Regards, > Steven
-- Hugh Esco skype: hresco3_ ; 678-921-8186 x21 http://www.CampaignFoundations.com/ Providing Application Hosting, Telephony, Custom Development and Consulting Services to Green Candidates, Green Parties and the non profits working for a just and sustainable future. if( $insurance->rationing() ) { $people->die(); } if( isa_ok($self,'Troy::Davis') =~ m/^ok/) { $people->are_whole(); }
Thanks. I think you should report this to App::cpanminus' RT queue. I don't think this is a bug with Setup::File::Symlink. BTW, meanwhile you can use other CPAN clients like 'cpan' to install that module. Regards, Steven