Skip Menu |

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

Report information
The Basics
Id: 62350
Status: resolved
Priority: 0/
Queue: Module-Install

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in:
  • 0.70
  • 0.71
  • 0.72
  • 0.73
  • 0.74
  • 0.75
  • 0.76
  • 0.77
  • 0.78
  • 0.79
  • 0.80
  • 0.81
  • 0.82
  • 0.83
  • 0.84
  • 0.85
  • 0.86
  • 0.87
  • 0.88
  • 0.89
  • 0.90
  • 0.91
  • 0.92
  • 0.93
  • 0.94
  • 0.95
  • 0.96
  • 0.97
  • 0.98
  • 0.99
  • 1.00
Fixed in: 1.08



Subject: EUMM minimal version should not be set to the author's installed version
A META.yml file written by Module::Install sets the minimal EUMM version to the version as found on the author's system. I think this approach is wrong, for reasons explained in Ævar's blog post http://blogs.perl.org/users/aevar_arnfjor_bjarmason/2010/10/the-cpan-client-version-less-dependency-problem.html (see his update to chromatic's post). Additionally this code leads to the test error mentioned in https://rt.cpan.org/Ticket/Display.html?id=62348 I suggest to simply set the minimum EUMM version to 0. This could be increased if there was really ever a problem with older EUMM. But if so, this should be documented. See the attached patch. This closes my today's series of RT tickets and patches for Module::Install. Regards, Slaven
Subject: 0001-do-not-force-anymore-the-newest-ExtUtils-MakeMaker-w.patch
From ce659f08543d9a52e4b63e860fd0acd3e54b6a99 Mon Sep 17 00:00:00 2001 From: Slaven Rezic <slaven@rezic.de> Date: Thu, 21 Oct 2010 18:43:43 +0200 Subject: [PATCH] do not force anymore the newest ExtUtils::MakeMaker without a good reason --- lib/Module/Install/Makefile.pm | 19 ++----------------- 1 files changed, 2 insertions(+), 17 deletions(-) diff --git a/lib/Module/Install/Makefile.pm b/lib/Module/Install/Makefile.pm index a3fdb00..6f05eee 100644 --- a/lib/Module/Install/Makefile.pm +++ b/lib/Module/Install/Makefile.pm @@ -210,23 +210,8 @@ sub write { . "but we need version >= $perl_version"; } - # Make sure we have a new enough MakeMaker - require ExtUtils::MakeMaker; - - if ( $perl_version and Module::Install::_cmp($perl_version, '5.006') >= 0 ) { - # MakeMaker can complain about module versions that include - # an underscore, even though its own version may contain one! - # Hence the funny regexp to get rid of it. See RT #35800 - # for details. - my $v = $ExtUtils::MakeMaker::VERSION =~ /^(\d+\.\d+)/; - $self->build_requires( 'ExtUtils::MakeMaker' => $v ); - $self->configure_requires( 'ExtUtils::MakeMaker' => $v ); - } else { - # Allow legacy-compatibility with 5.005 by depending on the - # most recent EU:MM that supported 5.005. - $self->build_requires( 'ExtUtils::MakeMaker' => 6.42 ); - $self->configure_requires( 'ExtUtils::MakeMaker' => 6.42 ); - } + $self->build_requires( 'ExtUtils::MakeMaker' => 0 ); + $self->configure_requires( 'ExtUtils::MakeMaker' => 0 ); # Generate the MakeMaker params my $args = $self->makemaker_args; -- 1.7.0.3
hardcoded set to following in Makefile.PL in 1.08 requires 'ExtUtils::MakeMaker' => '6.59'; please close
Closing as fixed in 1.08