Skip Menu |

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

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

People
Owner: Nobody in particular
Requestors: nonsolosoft [...] diff.org
Cc:
AdminCc:

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



Subject: fails tests and install on freebsd 6.3 with perl 5.10.1
Cannot determine perl version info from lib/JSON/Any.pm *** Module::AutoInstall version 1.03 *** Checking for Perl dependencies... *** Since we're running under CPAN, I'll just let it take care of the dependency's installation later. [Core Features] - Test::More ...loaded. (0.92 >= 0.42) - Carp ...loaded. (1.11) [JSON] - JSON ...loaded. (2.15 >= 2.02) [JSON::XS] - JSON::XS ...loaded. (2.26 >= 2.232) [JSON::DWIW] - JSON::DWIW ...loaded. (0.38) [JSON::Syck] - JSON::Syck ...missing. ==> Auto-install the 1 optional module(s) from CPAN? [n] *** Module::AutoInstall configuration finished. Warning: prerequisite ExtUtils::MakeMaker 6.42 not found. We have unknown version. Writing Makefile for JSON::Any Running [/usr/bin/make test UNINST=1]... PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/00-lo ad.t t/01-JSON.t t/02-JSON-XS.t t/03-JSON-DWIW.t t/04-ENV.t t/05-JSON-Syck.t t/10_unicode.t t/11-string-escape.t t/12-bo olean.t t/00-load.t ........... ok # Testing JSON::Any 1.21, Perl 5.010001, /usr/bin/perl t/01-JSON.t ........... ok # Testing JSON.pm backend t/02-JSON-XS.t ........ Dubious, test returned 1 (wstat 256, 0x100) Failed 1/24 subtests # Testing JSON::XS backend # Failed test at t/02-JSON-XS.t line 48. # got: '"\ud801\udc02" # ' # expected: '"\ud801\udc02"' # Looks like you failed 1 test of 24. # Testing JSON::DWIW backend t/03-JSON-DWIW.t ...... ok no_plan takes no arguments at t/04-ENV.t line 11. t/04-ENV.t ............ ok t/05-JSON-Syck.t ...... skipped: JSON::Syck not installed: Couldn't find a JSON package. Need XS, JSON, or DWIW at (eval 6) line 1 # handler is JSON::XS # handler is JSON::Backend::XS::Supportable # DWIW: JSON::DWIW does not support utf8 at t/10_unicode.t line 19 # Syck: Couldn't find a JSON package. Need XS, JSON, or DWIW at t/10_unicode.t line 18 t/10_unicode.t ........ ok # handler is JSON::XS # handler is JSON::Backend::XS::Supportable # handler is JSON::DWIW t/11-string-escape.t .. ok Exiting subroutine via next at t/11-string-escape.t line 52. # handler is JSON::XS # handler is JSON # handler is JSON::DWIW t/12-boolean.t ........ ok Test Summary Report ------------------- t/02-JSON-XS.t (Wstat: 256 Tests: 24 Failed: 1) Failed test: 17 Non-zero exit status: 1 Files=9, Tests=140, 1 wallclock secs ( 0.11 usr 0.03 sys + 1.20 cusr 0.16 csys = 1.49 CPU) Result: FAIL *** Error code 255 Stop in /root/.cpanplus/5.10.1/build/JSON-Any-1.21. Failed 1/9 test programs. 1/140 subtests failed. [ERROR] MAKE TEST failed: Bad file descriptor PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harne ss(0, 'inc', 'blib/lib', 'blib/arch')" t/00-load.t t/01-JSON.t t/02-JSON-XS.t t/03-JSON-DWIW.t t/04-ENV.t t/05-JSON-Syck .t t/10_unicode.t t/11-string-escape.t t/12-boolean.t t/00-load.t ........... ok # Testing JSON::Any 1.21, Perl 5.010001, /usr/bin/perl t/01-JSON.t ........... ok # Testing JSON.pm backend t/02-JSON-XS.t ........ Dubious, test returned 1 (wstat 256, 0x100) Failed 1/24 subtests # Testing JSON::XS backend # Failed test at t/02-JSON-XS.t line 48. # got: '"\ud801\udc02" # ' # expected: '"\ud801\udc02"' # Looks like you failed 1 test of 24. # Testing JSON::DWIW backend t/03-JSON-DWIW.t ...... ok no_plan takes no arguments at t/04-ENV.t line 11. t/04-ENV.t ............ ok t/05-JSON-Syck.t ...... skipped: JSON::Syck not installed: Couldn't find a JSON package. Need XS, JSON, or DWIW at (eval 6) line 1 # handler is JSON::XS # handler is JSON::Backend::XS::Supportable # DWIW: JSON::DWIW does not support utf8 at t/10_unicode.t line 19 # Syck: Couldn't find a JSON package. Need XS, JSON, or DWIW at t/10_unicode.t line 18 t/10_unicode.t ........ ok # handler is JSON::XS # handler is JSON::Backend::XS::Supportable # handler is JSON::DWIW t/11-string-escape.t .. ok Exiting subroutine via next at t/11-string-escape.t line 52. # handler is JSON::XS # handler is JSON # handler is JSON::DWIW t/12-boolean.t ........ ok Test Summary Report ------------------- t/02-JSON-XS.t (Wstat: 256 Tests: 24 Failed: 1) Failed test: 17 Non-zero exit status: 1 Files=9, Tests=140, 1 wallclock secs ( 0.11 usr 0.03 sys + 1.20 cusr 0.16 csys = 1.49 CPU) Result: FAIL *** Error code 255 Stop in /root/.cpanplus/5.10.1/build/JSON-Any-1.21. Failed 1/9 test programs. 1/140 subtests failed. [ERROR] Unable to create a new distribution object for 'JSON::Any' -- cannot continue [ERROR] Failed to install 'JSON::Any' as prerequisite for 'Catalyst::View::JSON' [ERROR] Unable to satisfy prerequisites for 'Catalyst::View::JSON' -- aborting install [ERROR] Unable to create a new distribution object for 'Catalyst::View::JSON' -- cannot continue
Even if I install JSON::Syck: t/04-ENV.t ............ ok Found deprecated package JSON::Syck. Please upgrade to XS, JSON, or DWIW at (eval 6) line 1 t/05-JSON-Syck.t ...... ok # handler is JSON::XS # handler is JSON::Backend::XS::Supportable # DWIW: JSON::DWIW does not support utf8 at t/10_unicode.t line 19 Found deprecated package JSON::Syck. Please upgrade to XS, JSON, or DWIW at t/10_unicode.t line 18 # Syck: JSON::Syck does not support utf8 at t/10_unicode.t line 19 t/10_unicode.t ........ ok # handler is JSON::XS # handler is JSON::Backend::XS::Supportable # handler is JSON::DWIW Found deprecated package JSON::Syck. Please upgrade to XS, JSON, or DWIW at t/11-string-escape.t line 46 t/11-string-escape.t .. ok
This should be resolved in 1.22 on it's way to CPAN now. Please feel free to re-open this ticket if it is not resolved.