Skip Menu |

This queue is for tickets about the JSON-Any CPAN distribution.

Report information
The Basics
Id: 89850
Status: resolved
Priority: 0/
Queue: JSON-Any

People
Owner: cpan [...] prather.org
Requestors: genehack [...] genehack.org
Cc:
AdminCc:

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



Subject: tests fail with 5.19.5
Date: Tue, 29 Oct 2013 10:00:38 -0700
To: bug-JSON-Any [...] rt.cpan.org
From: John SJ Anderson <genehack [...] genehack.org>
% make test [3/12773] PERL_DL_NONLAZY=1 /opt/plenv/versions/5.19.5/bin/perl5.19.5 "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/ar ch')" t/*.t t/00-load.t ............... 1/7 # Failed test 'use JSON::Any;' # at t/00-load.t line 18. # Tried to use 'JSON::Any'. # Error: Couldn't find a decoder method. at t/00-load.t line 18. # BEGIN failed--compilation aborted at t/00-load.t line 18. # Testing JSON::Any 1.30, Perl 5.019005, /opt/plenv/versions/5.19.5/bin/perl5.19.5 Use of uninitialized value in subroutine entry at /home/genehack/.cpanm/work/1383061238.15340/JSON-Any-1.30/blib/lib/JSON/Any.pm line 364. Can't use an undefined value as a subroutine reference at /home/genehack/.cpanm/work/1383061238.15340/JSON-Any-1.30/blib/lib/JSON/Any.pm line 364. # Looks like you planned 7 tests but ran 6. # Looks like you failed 1 test of 6 run. # Looks like your test exited with 255 just after 6. t/00-load.t ............... Dubious, test returned 255 (wstat 65280, 0xff00) Failed 2/7 subtests t/01-JSON.t ............... skipped: JSON.pm not installed: Couldn't find a JSON package. Need CPANEL, XS, PP, JSON, or DWIW at (eval 4) line 1. t/02-JSON-XS.t ............ skipped: JSON::XS not installed: Couldn't find a decoder method. at (eval 4) line 1. t/03-JSON-DWIW.t .......... skipped: JSON::DWIW not installed: Couldn't find a JSON package. Need CPANEL, XS, PP, JSON, or DWIW at (eval 4) line 1. t/04-ENV.t ................ skipped: Couldn't find a decoder method. at (eval 4) line 2. t/05-JSON-Syck.t .......... skipped: JSON::Syck not installed: Couldn't find a JSON package. Need CPANEL, XS, PP, JSON, or DWIW at (eval 4) line 1. t/06-JSON-PP.t ............ 1/19 # Testing JSON::PP backend t/06-JSON-PP.t ............ ok t/07-CPanel-JSON-XS.t ..... skipped: Cpanel::JSON::XS not installed: Couldn't find a JSON package. Need CPANEL, XS, PP, JSON, or DWIW at (eval 4) line 1. t/10_unicode.t ............ skipped: Couldn't find a decoder method. at (eval 4) line 2. t/11-string-escape.t ...... skipped: Couldn't find a decoder method. at (eval 5) line 2. t/12-boolean.t ............ skipped: Couldn't find a decoder method. at (eval 5) line 2. t/release-pod-coverage.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/00-load.t (Wstat: 65280 Tests: 6 Failed: 1) Failed test: 1 Non-zero exit status: 255 Parse errors: Bad plan. You planned 7 tests but ran 6. Files=13, Tests=25, 0 wallclock secs ( 0.07 usr 0.04 sys + 0.26 cusr 0.01 csys = 0.38 CPU) Result: FAIL Failed 1/13 test programs. 1/25 subtests failed. make: *** [test_dynamic] Error 255
On Tue Oct 29 13:00:53 2013, genehack@genehack.org wrote: Show quoted text
> # Tried to use 'JSON::Any'. > # Error: Couldn't find a decoder method. at t/00-load.t line 18.
Probably caused by #89853, independent of the perl version.
This should be fixed in 1.31 and above.