Subject: | Installation failure |
Date: | Thu, 14 May 2020 10:12:11 +0000 |
To: | "bug-JSON-MaybeXS [...] rt.cpan.org" <bug-JSON-MaybeXS [...] rt.cpan.org> |
From: | Erkka Karimäki <Erkka.Karimaki [...] qentinel.com> |
Building and testing JSON-MaybeXS-1.004001
cp lib/JSON/MaybeXS.pm blib/lib/JSON/MaybeXS.pm
Manifying blib/man3/JSON::MaybeXS.3pm
PERL_DL_NONLAZY=1 PERL_USE_UNSAFE_INC=1 /usr/bin/perl "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
# Using Cpanel::JSON::XS 4.19
# true is: bless( do{\(my $o = 1)}, 'JSON::PP::Boolean' )
# false is: bless( do{\(my $o = 0)}, 'JSON::PP::Boolean' )
t/cpanel.t .......... ok
# using invocant: JSON::MaybeXS
t/legacy.t .......... ok
t/new.t ............. ok
t/none.t ............ ok
# Using JSON::PP 2.27300
# true is: bless( do{\(my $o = 1)}, 'JSON::PP::Boolean' )
# false is: bless( do{\(my $o = 0)}, 'JSON::PP::Boolean' )
t/pp.t .............. ok
# Using Cpanel::JSON::XS 4.19
# true is: bless( do{\(my $o = 1)}, 'JSON::PP::Boolean' )
# false is: bless( do{\(my $o = 0)}, 'JSON::PP::Boolean' )
t/preload_cpanel.t .. ok
# Using JSON::XS 2.34
# Failed test 'Correct JSON class'
# at t/preload_xs.t line 10.
# got: 'Cpanel::JSON::XS'
# expected: 'JSON::XS'
# Failed test 'Correct encode_json function'
# at t/preload_xs.t line 12.
# got: 'CODE(0x1893320)'
# expected: 'CODE(0x1230e80)'
# Failed test 'Correct encode_json function'
# at t/preload_xs.t line 13.
# got: 'CODE(0x18933f8)'
# expected: 'CODE(0x1230e98)'
# true is: bless( do{\(my $o = 1)}, 'JSON::PP::Boolean' )
# false is: bless( do{\(my $o = 0)}, 'JSON::PP::Boolean' )
# Looks like you failed 3 tests of 10.
t/preload_xs.t ......
Dubious, test returned 3 (wstat 768, 0x300)
Failed 3/10 subtests
# Using JSON::XS 2.34
# Failed test 'Correct JSON class'
# at t/xs.t line 19.
# got: 'JSON::PP'
# expected: 'JSON::XS'
# Failed test 'Correct encode_json function'
# at t/xs.t line 21.
# got: 'CODE(0x18d4358)'
# expected: 'CODE(0x18175c8)'
# Failed test 'Correct encode_json function'
# at t/xs.t line 22.
# got: 'CODE(0x18d4310)'
# expected: 'CODE(0x18175e0)'
# true is: bless( do{\(my $o = 1)}, 'JSON::PP::Boolean' )
# false is: bless( do{\(my $o = 0)}, 'JSON::PP::Boolean' )
# Looks like you failed 3 tests of 10.
t/xs.t ..............
Dubious, test returned 3 (wstat 768, 0x300)
Failed 3/10 subtests
Test Summary Report
-------------------
t/preload_xs.t (Wstat: 768 Tests: 10 Failed: 3)
Failed tests: 1-3
Non-zero exit status: 3
t/xs.t (Wstat: 768 Tests: 10 Failed: 3)
Failed tests: 1-3
Non-zero exit status: 3
Files=8, Tests=60, 1 wallclock secs ( 0.07 usr 0.00 sys + 0.91 cusr 0.05 csys = 1.03 CPU)
Result: FAIL
Failed 2/8 test programs. 6/60 subtests failed.
Makefile:818: recipe for target 'test_dynamic' failed
make: *** [test_dynamic] Error 3
-> FAIL Installing JSON::MaybeXS failed.