Skip Menu |

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

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

People
Owner: bobtfish [...] bobtfish.net
Requestors: bottomsc [...] missouri.edu
Cc:
AdminCc:

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



Subject: Tests try to use undefined subroutine in Class::MOP
Dear Maintainers, Thank you for your work on this module. I was trying to install MojoMojo on CentOS 5.5, with perl version 5.8.8. I got output very similar to this Tester Report: http://www.cpantesters.org/cpan/report/57c9071c-b728-11df-a4c9-924b984c9764 Apparently the method or subroutine Class::MOP::is_class_loaded is undefined for some reason. Class::MOP tested fine, but perhaps the bug is actually there. Anyway, here is the test output: t/basic.t ................. 1/? 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 /home/username/lib/perl5/Catalyst/Utils.pm line 279. Undefined subroutine &Class::MOP::is_class_loaded called at /home/username/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 t/config_backend_class.t .. 1/? Couldn't construct MyCache with either list style or hash ref style param passing: Undefined subroutine &Class::MOP::is_class_loaded called at /home/username/lib/perl5/Catalyst/Utils.pm line 279. Undefined subroutine &Class::MOP::is_class_loaded called at /home/username/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 t/currying_conf.t ......... 1/? Couldn't construct SomeClass with either list style or hash ref style param passing: Undefined subroutine &Class::MOP::is_class_loaded called at /home/username/lib/perl5/Catalyst/Utils.pm line 279. Undefined subroutine &Class::MOP::is_class_loaded called at /home/username/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 t/key_regexes.t ........... 1/? 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 /home/username/lib/perl5/Catalyst/Utils.pm line 279. Undefined subroutine &Class::MOP::is_class_loaded called at /home/username/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, 1 wallclock secs ( 0.03 usr 0.02 sys + 0.46 cusr 0.08 csys = 0.59 CPU) Result: FAIL Failed 4/6 test programs. 0/9 subtests failed. make: *** [test_dynamic] Error 255 BOBTFISH/Catalyst-Plugin-Cache-0.10.tar.gz /usr/bin/make test -- NOT OK //hint// to see the cpan-testers results for installing this module, try: reports BOBTFISH/Catalyst-Plugin-Cache-0.10.tar.gz Running make install make test had returned bad status, won't install without force Thanks, Christopher Bottoms
From: bottomsc [...] missouri.edu
Please disregard this bug. It is actually a bug in Catalyst::Utils, which is missing a simple "use Class::MOP;" statement. Thanks, Christopher Bottoms
Thanks for the bug report. I have fixed this in subversion: http://dev.catalystframework.org/svnweb/Catalyst/revision?rev=13584