Skip Menu |

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

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

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

Bug Information
Severity: Critical
Broken in:
  • 0.73
  • 0.74
Fixed in: (no value)



Subject: install_share broken, $self->module_name empty
After upgrading to 0.73/74, install_share no longer completes, but instead dies with this message: include inc/Module/Install/Share.pm For File::ShareDir::dist_dir to work, the module and distribution names much match at /Library/Perl/5.8.6/Module/Install/Share.pm line 26. Form the code, $name/$self->name is the name from Makefile.pl, but $self->module_name is undefined after an all_from call. Makefile.PL attached.
Subject: Makefile.PL
# $Id: /local/CPAN/Mango/Makefile.PL 1644 2008-06-02T01:46:53.055259Z claco $ use strict; use warnings; use inc::Module::Install 0.65; use File::Spec; name 'Mango'; license 'perl'; perl_version '5.008001'; all_from 'lib/Mango.pm'; requires 'Catalyst::Action::RenderView'; requires 'Catalyst::Action::REST' => '0.60'; requires 'Catalyst::Component::ACCEPT_CONTEXT' => '0.05'; requires 'Catalyst::Devel' => '1.02'; requires 'Catalyst::Plugin::Authentication' => '0.09999'; requires 'Catalyst::Plugin::Authentication::Credential::HTTP'; requires 'Catalyst::Plugin::Authorization::Roles'; requires 'Catalyst::Plugin::Cache'; requires 'Catalyst::Plugin::ConfigLoader'; requires 'Catalyst::Plugin::Session'; requires 'Catalyst::Plugin::Session::State::Cookie'; requires 'Catalyst::Plugin::Session::Store::File'; requires 'Catalyst::Plugin::Static::Simple'; requires 'Catalyst::Runtime' => '5.7012'; requires 'Catalyst::View::TT'; requires 'CGI::FormBuilder'; requires 'Class::Accessor::Grouped' => '0.06000'; requires 'Class::Inspector'; requires 'Class::Workflow'; requires 'Clone' => '0.27'; requires 'DateTime'; requires 'DBIx::Class' => '0.08008'; requires 'Error'; requires 'File::ShareDir'; requires 'FormValidator::Simple' => '0.17'; requires 'Handel' => '1.00011'; requires 'HTML::TagCloud::Sortable'; requires 'I18N::LangTags'; requires 'I18N::LangTags::Detect'; requires 'List::MoreUtils'; requires 'Locale::Maketext'; requires 'MIME::Types'; requires 'Module::Starter' => '1.42'; requires 'Path::Class'; requires 'Scalar::Util'; requires 'Set::Scalar'; requires 'SQL::Translator' => '0.08'; requires 'URI'; requires 'XML::Atom' => '0.27'; requires 'XML::Feed' => '0.12'; requires 'XML::RSS' => '1.31'; requires 'YAML'; build_requires 'Directory::Scratch'; test_requires 'Test::Class'; test_requires 'Test::More'; test_requires 'Test::WWW::Mechanize::Catalyst'; catalyst; tests('t/*.t t/*/*.t'); clean_files('t/var'); install_script glob('script/*.pl'); install_share; eval { my $source = File::Spec->catfile('lib', 'Mango.pm'); system "pod2text $source > README"; }; auto_install; WriteAll;
Subject: Re: [rt.cpan.org #36343] install_share broken, $self->module_name empty
Date: Mon, 02 Jun 2008 15:29:22 +1000
To: bug-Module-Install [...] rt.cpan.org
From: Adam Kennedy <adamkennedybackup [...] gmail.com>
This is a known bug (I hit it yesterday) and it is being addressed immediately. It was an attempt to add a check to prevent the use of install_share in inappropriate situations. Adam K Christopher H. Laco via RT wrote: Show quoted text
> Sun Jun 01 22:10:39 2008: Request 36343 was acted upon. > Transaction: Ticket created by CLACO > Queue: Module-Install > Subject: install_share broken, $self->module_name empty > Broken in: 0.73, 0.74 > Severity: Critical > Owner: Nobody > Requestors: claco@cpan.org > Status: new > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=36343 > > > > After upgrading to 0.73/74, install_share no longer completes, but > instead dies with this message: > > include inc/Module/Install/Share.pm > For File::ShareDir::dist_dir to work, the module and distribution names > much match at /Library/Perl/5.8.6/Module/Install/Share.pm line 26. > > > Form the code, $name/$self->name is the name from Makefile.pl, but > $self->module_name is undefined after an all_from call. > > > Makefile.PL attached. > >
This has now been fixed