Subject: | Upgrade of deprecated code required. |
Environment: Ubuntu 9.10 Server
Error Report From CPAN Install Process:
Running install for module 'Catalyst::Plugin::Config::YAML'
Running make for B/BA/BAUERB/Catalyst-Plugin-Config-YAML-0.04.tar.gz
Has already been unwrapped into directory
/root/.cpan/build/Catalyst-Plugin-Config-YAML-0.04-fpSfub
Has already been made
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/Catalyst-Plugin-Config-YAML.t .. ok
t/components.t ................... 1/2 Couldn't instantiate component
"Foo::C::Bar", COMPONENT() method (from Catalyst::Component) didn't
return an object-like value (value was Foo::C::Bar).# Looks like you
planned 2 tests but ran 1.
# Looks like your test exited with 9 just after 1.
t/components.t ................... Dubious, test returned 9 (wstat 2304,
0x900)
Failed 1/2 subtests
t/multifiles.t ................... ok
Test Summary Report
-------------------
t/components.t (Wstat: 2304 Tests: 1 Failed: 0)
Non-zero exit status: 9
Parse errors: Bad plan. You planned 2 tests but ran 1.
Files=3, Tests=6, 7 wallclock secs ( 0.07 usr 0.01 sys + 6.14 cusr
0.36 csys = 6.58 CPU)
Result: FAIL
Failed 1/3 test programs. 0/6 subtests failed.
make: *** [test_dynamic] Error 255
BAUERB/Catalyst-Plugin-Config-YAML-0.04.tar.gz
/usr/bin/make test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports BAUERB/Catalyst-Plugin-Config-YAML-0.04.tar.gz
Running make install
make test had returned bad status, won't install without force
Failed during this command:
BAUERB/Catalyst-Plugin-Config-YAML-0.04.tar.gz: make_test NO
Line 8 of the file:
.cpan/build/Catalyst-Plugin-Config-YAML-0.04-fpSfub/blib/lib/Catalyst/Plugin/Config/YAML.pm
Should be changed from;
use NEXT;
to
use Class::C3::Adopt::NEXT;
Also, a change line 65 in that same file should be from;
$c->NEXT::setup();
to
$c->maybe::next::method();
As for the weirdness regarding the above listed unit-test error, I have
no idea how to troubleshoot/debug that issue.
Thanks.