Skip Menu |

This queue is for tickets about the MooseX-StrictConstructor CPAN distribution.

Report information
The Basics
Id: 64621
Status: resolved
Priority: 0/
Queue: MooseX-StrictConstructor

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

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



Subject: Fails with Moose 1.9902
When running the test with Moose 1.9902 (TRIAL) installed on Perl 5.10.1 I get the following errors: $ prove -b ./t t/basic.t ................. The method '_generate_BUILDALL' was not found in the inheritance hierarchy for Class::MOP::Class::__ANON__::SERIAL::1 at /home/christiaan/perl5/lib/perl5/i686-linux-gnu-thread-multi/Class/MOP/Class.pm line 1091 Class::MOP::Class::__ANON__('Moose::Meta::Class=HASH(0x93fa3e8)', '_generate_BUILDALL') called at /home/christiaan/perl5/lib/perl5/i686-linux-gnu-thread-multi/Class/MOP/Class.pm line 1136 Class::MOP::Class::add_around_method_modifier('Moose::Meta::Class=HASH(0x93fa3e8)', '_generate_BUILDALL', 'CODE(0x92b9c00)') called at /home/christiaan/perl5/lib/perl5/i686-linux-gnu-thread-multi/Moose/Meta/Role/Application/ToClass.pm line 223 Moose::Meta::Role::Application::ToClass::apply_method_modifiers('Moose::Meta::Role::Application::ToClass=HASH(0x93fa3c8)', 'around', 'Moose::Meta::Role=HASH(0x93e79a8)', 'Moose::Meta::Class=HASH(0x93fa3e8)') called at /home/christiaan/perl5/lib/perl5/i686-linux-gnu-thread-multi/Moose/Meta/Role/Application.pm line 76 Moose::Meta::Role::Application::apply_around_method_modifiers('Moose::Meta::Role::Application::ToClass=HASH(0x93fa3c8)', 'Moose::Meta::Role=HASH(0x93e79a8)', 'Moose::Meta::Class=HASH(0x93fa3e8)') called at /home/christiaan/perl5/lib/perl5/i686-linux-gnu-thread-multi/Moose/Meta/Role/Application.pm line 62 Moose::Meta::Role::Application::apply('Moose::Meta::Role::Application::ToClass=HASH(0x93fa3c8)', 'Moose::Meta::Role=HASH(0x93e79a8)', 'Moose::Meta::Class=HASH(0x93fa3e8)') called at /home/christiaan/perl5/lib/perl5/i686-linux-gnu-thread-multi/Moose/Meta/Role/Application/ToClass.pm line 33 Moose::Meta::Role::Application::ToClass::apply('Moose::Meta::Role::Application::ToClass=HASH(0x93fa3c8)', 'Moose::Meta::Role=HASH(0x93e79a8)', 'Moose::Meta::Class=HASH(0x93fa3e8)', 'HASH(0x92a2468)') called at /home/christiaan/perl5/lib/perl5/i686-linux-gnu-thread-multi/Moose/Meta/Role.pm line 485 Moose::Meta::Role::apply('Moose::Meta::Role=HASH(0x93e79a8)', 'Moose::Meta::Class=HASH(0x93fa3e8)') called at /home/christiaan/perl5/lib/perl5/i686-linux-gnu-thread-multi/Moose/Util.pm line 139 Moose::Util::_apply_all_roles('Moose::Meta::Class=HASH(0x93fa3e8)', undef, 'MooseX::StrictConstructor::Role::Meta::Method::Constructor') called at /home/christiaan/perl5/lib/perl5/i686-linux-gnu-thread-multi/Moose/Util.pm line 93 Moose::Util::apply_all_roles('Moose::Meta::Class=HASH(0x93fa3e8)', 'MooseX::StrictConstructor::Role::Meta::Method::Constructor') called at /home/christiaan/perl5/lib/perl5/i686-linux-gnu-thread-multi/Moose/Meta/Class.pm line 89 Moose::Meta::Class::create('Moose::Meta::Class', 'Class::MOP::Class::__ANON__::SERIAL::1', 'roles', 'ARRAY(0x931a500)', 'weaken', '', 'superclasses', 'ARRAY(0x931a240)') called at /home/christiaan/perl5/lib/perl5/i686-linux-gnu-thread-multi/Class/MOP/Class.pm line 443 Class::MOP::Class::create_anon_class('Moose::Meta::Class', 'roles', 'ARRAY(0x931a500)', 'weaken', '', 'superclasses', 'ARRAY(0x931a240)') called at /home/christiaan/perl5/lib/perl5/i686-linux-gnu-thread-multi/Moose/Meta/Class.pm line 113 Moose::Meta::Class::create_anon_class('Moose::Meta::Class', 'superclasses', 'ARRAY(0x931a240)', 'roles', 'ARRAY(0x931a500)', 'cache', 1) called at /home/christiaan/perl5/lib/perl5/i686-linux-gnu-thread-multi/Moose/Util/MetaRole.pm line 165 Moose::Util::MetaRole::_make_new_class('Moose::Meta::Method::Constructor', 'ARRAY(0x931a500)') called at /home/christiaan/perl5/lib/perl5/i686-linux-gnu-thread-multi/Moose/Util/MetaRole.pm line 126 Moose::Util::MetaRole::_make_new_metaclass('Moose::Meta::Class=HASH(0x9056ef0)', 'HASH(0x9319910)', 'class') called at /home/christiaan/perl5/lib/perl5/i686-linux-gnu-thread-multi/Moose/Util/MetaRole.pm line 41 Moose::Util::MetaRole::apply_metaroles('for', 'Stricter', 'class_metaroles', 'HASH(0x9319910)') called at /home/christiaan/perl5/lib/perl5/i686-linux-gnu-thread-multi/Moose/Exporter.pm line 633 Moose::Exporter::__ANON__('MooseX::StrictConstructor', 'for_class', 'Stricter', 'metaclass', undef, 'meta_name', 'meta') called at /home/christiaan/perl5/lib/perl5/i686-linux-gnu-thread-multi/Moose/Exporter.pm line 429 Moose::Exporter::__ANON__('MooseX::StrictConstructor') called at t/basic.t line 20 Stricter::BEGIN() called at /home/christiaan/MooseX-StrictConstructor-0.12/blib/lib/MooseX/StrictConstructor.pm line 20 eval {...} called at /home/christiaan/MooseX-StrictConstructor-0.12/blib/lib/MooseX/StrictConstructor.pm line 20 BEGIN failed--compilation aborted at t/basic.t line 20. t/basic.t ................. Dubious, test returned 2 (wstat 512, 0x200) No subtests run t/instance.t .............. The method '_generate_BUILDALL' was not found in the inheritance hierarchy for Class::MOP::Class::__ANON__::SERIAL::1 at /home/christiaan/perl5/lib/perl5/i686-linux-gnu-thread-multi/Class/MOP/Class.pm line 1091 Class::MOP::Class::__ANON__('Moose::Meta::Class=HASH(0xa49bcc8)', '_generate_BUILDALL') called at /home/christiaan/perl5/lib/perl5/i686-linux-gnu-thread-multi/Class/MOP/Class.pm line 1136 Class::MOP::Class::add_around_method_modifier('Moose::Meta::Class=HASH(0xa49bcc8)', '_generate_BUILDALL', 'CODE(0xa4649f8)') called at /home/christiaan/perl5/lib/perl5/i686-linux-gnu-thread-multi/Moose/Meta/Role/Application/ToClass.pm line 223 Moose::Meta::Role::Application::ToClass::apply_method_modifiers('Moose::Meta::Role::Application::ToClass=HASH(0xa49bca8)', 'around', 'Moose::Meta::Role=HASH(0xa465068)', 'Moose::Meta::Class=HASH(0xa49bcc8)') called at /home/christiaan/perl5/lib/perl5/i686-linux-gnu-thread-multi/Moose/Meta/Role/Application.pm line 76 Moose::Meta::Role::Application::apply_around_method_modifiers('Moose::Meta::Role::Application::ToClass=HASH(0xa49bca8)', 'Moose::Meta::Role=HASH(0xa465068)', 'Moose::Meta::Class=HASH(0xa49bcc8)') called at /home/christiaan/perl5/lib/perl5/i686-linux-gnu-thread-multi/Moose/Meta/Role/Application.pm line 62 Moose::Meta::Role::Application::apply('Moose::Meta::Role::Application::ToClass=HASH(0xa49bca8)', 'Moose::Meta::Role=HASH(0xa465068)', 'Moose::Meta::Class=HASH(0xa49bcc8)') called at /home/christiaan/perl5/lib/perl5/i686-linux-gnu-thread-multi/Moose/Meta/Role/Application/ToClass.pm line 33 Moose::Meta::Role::Application::ToClass::apply('Moose::Meta::Role::Application::ToClass=HASH(0xa49bca8)', 'Moose::Meta::Role=HASH(0xa465068)', 'Moose::Meta::Class=HASH(0xa49bcc8)', 'HASH(0xa327e18)') called at /home/christiaan/perl5/lib/perl5/i686-linux-gnu-thread-multi/Moose/Meta/Role.pm line 485 Moose::Meta::Role::apply('Moose::Meta::Role=HASH(0xa465068)', 'Moose::Meta::Class=HASH(0xa49bcc8)') called at /home/christiaan/perl5/lib/perl5/i686-linux-gnu-thread-multi/Moose/Util.pm line 139 Moose::Util::_apply_all_roles('Moose::Meta::Class=HASH(0xa49bcc8)', undef, 'MooseX::StrictConstructor::Role::Meta::Method::Constructor') called at /home/christiaan/perl5/lib/perl5/i686-linux-gnu-thread-multi/Moose/Util.pm line 93 Moose::Util::apply_all_roles('Moose::Meta::Class=HASH(0xa49bcc8)', 'MooseX::StrictConstructor::Role::Meta::Method::Constructor') called at /home/christiaan/perl5/lib/perl5/i686-linux-gnu-thread-multi/Moose/Meta/Class.pm line 89 Moose::Meta::Class::create('Moose::Meta::Class', 'Class::MOP::Class::__ANON__::SERIAL::1', 'roles', 'ARRAY(0xa44e1e8)', 'weaken', '', 'superclasses', 'ARRAY(0xa44df28)') called at /home/christiaan/perl5/lib/perl5/i686-linux-gnu-thread-multi/Class/MOP/Class.pm line 443 Class::MOP::Class::create_anon_class('Moose::Meta::Class', 'roles', 'ARRAY(0xa44e1e8)', 'weaken', '', 'superclasses', 'ARRAY(0xa44df28)') called at /home/christiaan/perl5/lib/perl5/i686-linux-gnu-thread-multi/Moose/Meta/Class.pm line 113 Moose::Meta::Class::create_anon_class('Moose::Meta::Class', 'superclasses', 'ARRAY(0xa44df28)', 'roles', 'ARRAY(0xa44e1e8)', 'cache', 1) called at /home/christiaan/perl5/lib/perl5/i686-linux-gnu-thread-multi/Moose/Util/MetaRole.pm line 165 Moose::Util::MetaRole::_make_new_class('Moose::Meta::Method::Constructor', 'ARRAY(0xa44e1e8)') called at /home/christiaan/perl5/lib/perl5/i686-linux-gnu-thread-multi/Moose/Util/MetaRole.pm line 126 Moose::Util::MetaRole::_make_new_metaclass('Moose::Meta::Class=HASH(0xa392538)', 'HASH(0xa0dde50)', 'class') called at /home/christiaan/perl5/lib/perl5/i686-linux-gnu-thread-multi/Moose/Util/MetaRole.pm line 41 Moose::Util::MetaRole::apply_metaroles('for', 'Foo', 'class_metaroles', 'HASH(0xa0dde50)') called at /home/christiaan/perl5/lib/perl5/i686-linux-gnu-thread-multi/Moose/Exporter.pm line 633 Moose::Exporter::__ANON__('MooseX::StrictConstructor', 'for_class', 'Foo', 'metaclass', undef, 'meta_name', 'meta') called at /home/christiaan/perl5/lib/perl5/i686-linux-gnu-thread-multi/Moose/Exporter.pm line 429 Moose::Exporter::__ANON__('MooseX::StrictConstructor') called at t/instance.t line 10 Foo::BEGIN() called at /home/christiaan/MooseX-StrictConstructor-0.12/blib/lib/MooseX/StrictConstructor.pm line 10 eval {...} called at /home/christiaan/MooseX-StrictConstructor-0.12/blib/lib/MooseX/StrictConstructor.pm line 10 BEGIN failed--compilation aborted at t/instance.t line 10. t/instance.t .............. Dubious, test returned 2 (wstat 512, 0x200) No subtests run t/release-eol.t ........... skipped: these tests are for release candidate testing t/release-kwalitee.t ...... skipped: these tests are for release candidate testing t/release-no-tabs.t ....... skipped: these tests are for release candidate testing t/release-pod-coverage.t .. skipped: these tests are for release candidate testing t/release-pod-spell.t ..... skipped: these tests are for release candidate testing t/release-pod-syntax.t .... skipped: these tests are for release candidate testing Test Summary Report ------------------- t/basic.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: No plan found in TAP output t/instance.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: No plan found in TAP output Files=8, Tests=0, 1 wallclock secs ( 0.05 usr 0.03 sys + 0.77 cusr 0.08 csys = 0.93 CPU) Result: FAIL
Subject: Re: [rt.cpan.org #64621] Fails with Moose 1.9902
Date: Sun, 9 Jan 2011 08:54:03 -0600 (CST)
To: Christiaan Kras via RT <bug-MooseX-StrictConstructor [...] rt.cpan.org>
From: Dave Rolsky <autarch [...] urth.org>
On Sun, 9 Jan 2011, Christiaan Kras via RT wrote: Show quoted text
> When running the test with Moose 1.9902 (TRIAL) installed on Perl 5.10.1
Moose 2.0 will not be compatible with a number of MX modules. We're aware of this, and plan on addressing this before a Moose 2.0 final release. -dave /*============================================================ http://VegGuide.org http://blog.urth.org Your guide to all that's veg House Absolute(ly Pointless) ============================================================*/
Thanks. Was getting some CPAN Testers reports of a module of mine failing with the given Moose version. Didn't know that it's the development version of Moose 2.0. I can silently ignore those reports for now :-).