Subject: | MooseX::StrictConstructor dep |
Date: | Tue, 13 Dec 2011 11:04:02 +0000 |
To: | bug-Net-Amazon-S3 [...] rt.cpan.org |
From: | Zefram <zefram [...] fysh.org> |
Net::Amazon::S3 installed OK for me, but then the module wouldn't
actually load:
$ perl -MNet::Amazon::S3 -e1
The method '_generate_BUILDALL' was not found in the inheritance hierarchy for Moose::Meta::Class::__ANON__::SERIAL::1 at /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/Class/MOP/Class.pm line 1053
Class::MOP::Class::__ANON__('Moose::Meta::Class=HASH(0x8f98a58)', '_generate_BUILDALL') called at /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/Class/MOP/Class.pm line 1098
Class::MOP::Class::add_around_method_modifier('Moose::Meta::Class=HASH(0x8f98a58)', '_generate_BUILDALL', 'CODE(0x8f8cdd4)') called at /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/Moose/Meta/Role/Application/ToClass.pm line 231
Moose::Meta::Role::Application::ToClass::apply_method_modifiers('Moose::Meta::Role::Application::ToClass=HASH(0x8f92118)', 'around', 'Moose::Meta::Role=HASH(0x8f914b8)', 'Moose::Meta::Class=HASH(0x8f98a58)') called at /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/Moose/Meta/Role/Application.pm line 78
Moose::Meta::Role::Application::apply_around_method_modifiers('Moose::Meta::Role::Application::ToClass=HASH(0x8f92118)', 'Moose::Meta::Role=HASH(0x8f914b8)', 'Moose::Meta::Class=HASH(0x8f98a58)') called at /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/Moose/Meta/Role/Application.pm line 64
Moose::Meta::Role::Application::apply('Moose::Meta::Role::Application::ToClass=HASH(0x8f92118)', 'Moose::Meta::Role=HASH(0x8f914b8)', 'Moose::Meta::Class=HASH(0x8f98a58)') called at /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/Moose/Meta/Role/Application/ToClass.pm line 36
Moose::Meta::Role::Application::ToClass::apply('Moose::Meta::Role::Application::ToClass=HASH(0x8f92118)', 'Moose::Meta::Role=HASH(0x8f914b8)', 'Moose::Meta::Class=HASH(0x8f98a58)', 'HASH(0x8dfa130)') called at /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/Moose/Meta/Role.pm line 470
Moose::Meta::Role::apply('Moose::Meta::Role=HASH(0x8f914b8)', 'Moose::Meta::Class=HASH(0x8f98a58)') called at /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/Moose/Util.pm line 160
Moose::Util::_apply_all_roles('Moose::Meta::Class=HASH(0x8f98a58)', undef, 'MooseX::StrictConstructor::Role::Meta::Method::Constructor') called at /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/Moose/Util.pm line 99
Moose::Util::apply_all_roles('Moose::Meta::Class=HASH(0x8f98a58)', 'MooseX::StrictConstructor::Role::Meta::Method::Constructor') called at /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/Moose/Meta/Class.pm line 104
Moose::Meta::Class::create('Moose::Meta::Class', 'Moose::Meta::Class::__ANON__::SERIAL::1', 'roles', 'ARRAY(0x8f70480)', 'weaken', '', 'superclasses', 'ARRAY(0x8f708a0)') called at /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/Class/MOP/Package.pm line 120
Class::MOP::Package::create_anon('Moose::Meta::Class', 'superclasses', 'ARRAY(0x8f708a0)', 'roles', 'ARRAY(0x8f70480)', 'cache', 1) called at /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/Class/MOP/Class.pm line 474
Class::MOP::Class::create_anon_class('Moose::Meta::Class', 'superclasses', 'ARRAY(0x8f708a0)', 'roles', 'ARRAY(0x8f70480)', 'cache', 1) called at /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/Moose/Util/MetaRole.pm line 134
Moose::Util::MetaRole::_make_new_class('Moose::Meta::Method::Constructor', 'ARRAY(0x8f70480)') called at /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/Moose/Util/MetaRole.pm line 95
Moose::Util::MetaRole::_make_new_metaclass('Moose::Meta::Class=HASH(0x8e7ef24)', 'HASH(0x8f707bc)', 'class') called at /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/Moose/Util/MetaRole.pm line 28
Moose::Util::MetaRole::apply_metaroles('for', 'Net::Amazon::S3', 'class_metaroles', 'HASH(0x8f707bc)') called at /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/Moose/Exporter.pm line 641
Moose::Exporter::__ANON__('MooseX::StrictConstructor', 'for_class', 'Net::Amazon::S3', 'metaclass', undef, 'meta_name', 'meta') called at /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/Moose/Exporter.pm line 435
Moose::Exporter::__ANON__('MooseX::StrictConstructor') called at /usr/lib/perl5/site_perl/5.8.8/Net/Amazon/S3.pm line 3
Net::Amazon::S3::BEGIN() called at /usr/lib/perl5/site_perl/5.8.8/MooseX/StrictConstructor.pm line 3
eval {...} called at /usr/lib/perl5/site_perl/5.8.8/MooseX/StrictConstructor.pm line 3
require Net/Amazon/S3.pm called at -e line 0
main::BEGIN() called at /usr/lib/perl5/site_perl/5.8.8/MooseX/StrictConstructor.pm line 3
eval {...} called at /usr/lib/perl5/site_perl/5.8.8/MooseX/StrictConstructor.pm line 3
BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.8/Net/Amazon/S3.pm line 3.
Compilation failed in require.
BEGIN failed--compilation aborted.
MooseX::StrictConstructor 0.10 was installed. Upgrading that to 0.16
fixed the problem. I conclude that Net::Amazon::S3 ought to be requiring
a higher version of MooseX::StrictConstructor than it currently does
(0.08). Looking at MooseX::StrictConstructor's Changes file, I suspect
that the real requirement is 0.16.
-zefram