Skip Menu |

This queue is for tickets about the ExtUtils-MakeMaker CPAN distribution.

Report information
The Basics
Id: 69465
Status: resolved
Priority: 0/
Queue: ExtUtils-MakeMaker

People
Owner: Nobody in particular
Requestors: Duncan.Garland [...] motortrak.com
Cc:
AdminCc:

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



Subject: Bundle::CPAN
Date: Thu, 14 Jul 2011 11:55:38 +0100
To: "bug-ExtUtils-MakeMaker [...] rt.cpan.org" <bug-ExtUtils-MakeMaker [...] rt.cpan.org>
From: Duncan Garland <Duncan.Garland [...] motortrak.com>
Hi, I've just tried to upgrade CPAN using Bundle::CPAN. The upgrade keeps failing due to problems with Makefile.PL. The most common error message is: Can't locate object method "new" via package "CPAN::Meta::Validator" (perhaps you forgot to load "CPAN::Meta::Validator"?) at /usr/lib/perl5/5.8.8/ExtUtils/MM_Any.pm line 819. Sure enough MM_Any.pm attempts to require CPAN::Meta but not CPAN::Meta::Validator. Is this a bug? I'm a bit stuck. Regards Duncan
Thanks for your report. Yep, it's a bug. I don't know how it got tripped for you and not anyone else, but it's a bug. Patched in https://github.com/Perl-Toolchain-Gang/ExtUtils-MakeMaker/commit/3ade84bda8b98895be2748e1e1a1f3f8006a8e19 it will be in the next release.
On Sun Jul 17 15:04:06 2011, MSCHWERN wrote: Show quoted text
> Thanks for your report. > > Yep, it's a bug. I don't know how it got tripped for you and not > anyone > else, but it's a bug. > > Patched in > https://github.com/Perl-Toolchain-Gang/ExtUtils- > MakeMaker/commit/3ade84bda8b98895be2748e1e1a1f3f8006a8e19 > it will be in the next release.
It doesn't look like that was the underlying problem. What's happened here is that because CPAN::Meta set $VERSION in a BEGIN block, the ->VERSION check returned true even though CPAN::Meta hadn't successfully loaded and as such ExtUtils::MakeMaker carried on believing that it had. I've now updated EUMM master to a new version of CPAN::Meta that does do this and tweaked the test for CPAN::Meta being available to be slightly more defensive, which I believe resolves the problem. To double check I'm right, please could you try installing ExtUtils-MakeMaker-6.58_01.tar.gz either from my CPAN directory via Show quoted text
cpan> install MSTROUT/ExtUtils-MakeMaker-6.58_01.tar.gz
or by direct download from http://www.trout.me.uk/perl/ExtUtils-MakeMaker-6.58_01.tar.gz
Subject: RE: [rt.cpan.org #69465] Bundle::CPAN
Date: Thu, 4 Aug 2011 09:14:45 +0100
To: "bug-ExtUtils-MakeMaker [...] rt.cpan.org" <bug-ExtUtils-MakeMaker [...] rt.cpan.org>
From: Duncan Garland <Duncan.Garland [...] motortrak.com>
Hi Matt, If I install your new version of ExtUtils::MakeMaker and download something else (just anything) from CPAN, will that give you the information you need or to you want me to do something more specific? All the best. Duncan Show quoted text
-----Original Message----- From: MSTROUT via RT [mailto:bug-ExtUtils-MakeMaker@rt.cpan.org] Sent: 03 August 2011 21:29 To: Duncan Garland Subject: [rt.cpan.org #69465] Bundle::CPAN <URL: https://rt.cpan.org/Ticket/Display.html?id=69465 > On Sun Jul 17 15:04:06 2011, MSCHWERN wrote:
> Thanks for your report. > > Yep, it's a bug. I don't know how it got tripped for you and not > anyone > else, but it's a bug. > > Patched in > https://github.com/Perl-Toolchain-Gang/ExtUtils- > MakeMaker/commit/3ade84bda8b98895be2748e1e1a1f3f8006a8e19 > it will be in the next release.
It doesn't look like that was the underlying problem. What's happened here is that because CPAN::Meta set $VERSION in a BEGIN block, the ->VERSION check returned true even though CPAN::Meta hadn't successfully loaded and as such ExtUtils::MakeMaker carried on believing that it had. I've now updated EUMM master to a new version of CPAN::Meta that does do this and tweaked the test for CPAN::Meta being available to be slightly more defensive, which I believe resolves the problem. To double check I'm right, please could you try installing ExtUtils-MakeMaker-6.58_01.tar.gz either from my CPAN directory via
cpan> install MSTROUT/ExtUtils-MakeMaker-6.58_01.tar.gz
or by direct download from http://www.trout.me.uk/perl/ExtUtils-MakeMaker-6.58_01.tar.gz
On Thu Aug 04 04:14:56 2011, Duncan.Garland@motortrak.com wrote: Show quoted text
> Hi Matt, > > If I install your new version of ExtUtils::MakeMaker and > download something else (just anything) from CPAN, will that give you > the information you need or to you want me to do something more > specific?
I built a CentOS VM of my own, verified the bug, and verified the fix on there, and 6.59 is now on CPAN. Please give that a go anyway, just to make sure it's fixed for -you-, but I think we're good. Thanks very much for the report!
Subject: RE: [rt.cpan.org #69465] Bundle::CPAN
Date: Mon, 8 Aug 2011 10:43:07 +0100
To: "bug-ExtUtils-MakeMaker [...] rt.cpan.org" <bug-ExtUtils-MakeMaker [...] rt.cpan.org>
From: Duncan Garland <Duncan.Garland [...] motortrak.com>
Hi Matt, Show quoted text
cpan> install MSTROUT/ExtUtils-MakeMaker-6.58_01.tar.gz
CPAN: Storable loaded ok Going to read /root/.cpan/Metadata Show quoted text
cpan> i ExtUtils::MakeMaker
Strange distribution name [ExtUtils::MakeMaker] Module id = ExtUtils::MakeMaker DESCRIPTION Writes Makefiles for extensions CPAN_USERID MSCHWERN (Michael G Schwern <mschwern@cpan.org>) CPAN_VERSION 6.59 CPAN_FILE M/MS/MSTROUT/ExtUtils-MakeMaker-6.59.tar.gz DSLI_STATUS SupO (standard,comp.lang.perl.*,perl,object-oriented) MANPAGE ExtUtils::MakeMaker - Create a module Makefile INST_FILE /usr/lib/perl5/5.8.8/ExtUtils/MakeMaker.pm INST_VERSION 6.58_01 Show quoted text
cpan> install Test::Most
Not the most rigorous test in the world, but the output all looked fine to me. Thanks for your help. All the best. Duncan Show quoted text
-----Original Message----- From: MSTROUT via RT [mailto:bug-ExtUtils-MakeMaker@rt.cpan.org] Sent: 05 August 2011 19:50 To: Duncan Garland Subject: [rt.cpan.org #69465] Bundle::CPAN <URL: https://rt.cpan.org/Ticket/Display.html?id=69465 > On Thu Aug 04 04:14:56 2011, Duncan.Garland@motortrak.com wrote:
> Hi Matt, > > If I install your new version of ExtUtils::MakeMaker and > download something else (just anything) from CPAN, will that give you > the information you need or to you want me to do something more > specific?
I built a CentOS VM of my own, verified the bug, and verified the fix on there, and 6.59 is now on CPAN. Please give that a go anyway, just to make sure it's fixed for -you-, but I think we're good. Thanks very much for the report!