Skip Menu |

This queue is for tickets about the Catalyst-Runtime CPAN distribution.

Report information
The Basics
Id: 61590
Status: resolved
Priority: 0/
Queue: Catalyst-Runtime

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

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



Subject: Catalyst::Utils needs to use Class::MOP
I encountered the following error messages when attempting to install Catalyst-Plugin- Cache-0.10 via cpan: === output of make test === Running make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/*.t Couldn't construct Catalyst::Plugin::Cache::Backend::Memory with either list style or hash ref style param passing: Undefined subroutine &Class::MOP::is_class_loaded called at /Users/sscaffid/perl5/lib/perl5/Catalyst/Utils.pm line 279. Undefined subroutine &Class::MOP::is_class_loaded called at /Users/sscaffid/perl5/lib/perl5/Catalyst/Utils.pm line 279. # Looks like your test exited with 255 just after 1. t/basic.t ................. Dubious, test returned 255 (wstat 65280, 0xff00) All 1 subtests passed Couldn't construct MyCache with either list style or hash ref style param passing: Undefined subroutine &Class::MOP::is_class_loaded called at /Users/sscaffid/perl5/lib/perl5/Catalyst/Utils.pm line 279. Undefined subroutine &Class::MOP::is_class_loaded called at /Users/sscaffid/perl5/lib/perl5/Catalyst/Utils.pm line 279. # Tests were run but no plan was declared and done_testing() was not seen. t/config_backend_class.t .. Dubious, test returned 255 (wstat 65280, 0xff00) All 1 subtests passed t/config_guess_backend.t .. ok Couldn't construct SomeClass with either list style or hash ref style param passing: Undefined subroutine &Class::MOP::is_class_loaded called at /Users/sscaffid/perl5/lib/perl5/Catalyst/Utils.pm line 279. Undefined subroutine &Class::MOP::is_class_loaded called at /Users/sscaffid/perl5/lib/perl5/Catalyst/Utils.pm line 279. # Tests were run but no plan was declared and done_testing() was not seen. t/currying_conf.t ......... Dubious, test returned 255 (wstat 65280, 0xff00) All 1 subtests passed Couldn't construct Catalyst::Plugin::Cache::Backend::Memory with either list style or hash ref style param passing: Undefined subroutine &Class::MOP::is_class_loaded called at /Users/sscaffid/perl5/lib/perl5/Catalyst/Utils.pm line 279. Undefined subroutine &Class::MOP::is_class_loaded called at /Users/sscaffid/perl5/lib/perl5/Catalyst/Utils.pm line 279. # Tests were run but no plan was declared and done_testing() was not seen. t/key_regexes.t ........... Dubious, test returned 255 (wstat 65280, 0xff00) All 2 subtests passed t/live_app.t .............. skipped: Test::WWW::Mechanize::Catalyst is required for this test Test Summary Report ------------------- t/basic.t (Wstat: 65280 Tests: 1 Failed: 0) Non-zero exit status: 255 t/config_backend_class.t (Wstat: 65280 Tests: 1 Failed: 0) Non-zero exit status: 255 Parse errors: No plan found in TAP output t/currying_conf.t (Wstat: 65280 Tests: 1 Failed: 0) Non-zero exit status: 255 Parse errors: No plan found in TAP output t/key_regexes.t (Wstat: 65280 Tests: 2 Failed: 0) Non-zero exit status: 255 Parse errors: No plan found in TAP output Files=6, Tests=9, 2 wallclock secs ( 0.03 usr 0.02 sys + 0.41 cusr 0.10 csys = 0.56 CPU) Result: FAIL Failed 4/6 test programs. 0/9 subtests failed. make: *** [test_dynamic] Error 255 (/usr/bin/make test exited with 512) === end output === This bug is easily resolved by adding the line "use Class::MOP" to Catalyst/Utils.pm
This is already fixed in trunk and will be in the next release. Thanks for the bug report however!