Subject: | Build-test failure |
Date: | Thu, 9 Feb 2017 09:28:18 -0500 |
To: | bug-Template-Plugin-JSON [...] rt.cpan.org |
From: | Peter Staab <peter.staab [...] gmail.com> |
I just wanted report a bug in testing Template::Plugin::JSON. I have the code generated from cpanm below:
I stumbled across http://www.perlmonks.org/?node_id=1083777 <http://www.perlmonks.org/?node_id=1083777> which may be relavant, that post in from 2014 and I notice that the current version of Template::Plugin::JSON is late 2015.
Peter
cpanm (App::cpanminus) 1.7042 on perl 5.018002 built for darwin-thread-multi-2level
Work directory is /Users/pstaab/.cpanm/work/1486650100.39130
You have make /usr/bin/make
You have LWP 6.05
You have /usr/bin/tar: bsdtar 2.8.3 - libarchive 2.8.3
You have /usr/bin/unzip
Searching Template::Plugin::JSON () on cpanmetadb ...
--> Working on Template::Plugin::JSON
Fetching http://www.cpan.org/authors/id/N/NE/NEILB/Template-Plugin-JSON-0.07.tar.gz ... OK
Unpacking Template-Plugin-JSON-0.07.tar.gz
x Template-Plugin-JSON-0.07/
x Template-Plugin-JSON-0.07/Changes
x Template-Plugin-JSON-0.07/lib/
x Template-Plugin-JSON-0.07/Makefile.PL
x Template-Plugin-JSON-0.07/MANIFEST
x Template-Plugin-JSON-0.07/MANIFEST.SKIP
x Template-Plugin-JSON-0.07/META.json
x Template-Plugin-JSON-0.07/META.yml
x Template-Plugin-JSON-0.07/README
x Template-Plugin-JSON-0.07/t/
x Template-Plugin-JSON-0.07/t/live.t
x Template-Plugin-JSON-0.07/lib/Template/
x Template-Plugin-JSON-0.07/lib/Template/Plugin/
x Template-Plugin-JSON-0.07/lib/Template/Plugin/JSON.pm
Entering Template-Plugin-JSON-0.07
Checking configure dependencies from META.json
Checking if you have ExtUtils::MakeMaker 6.64 ... Yes (7.24)
Running Makefile.PL
Configuring Template-Plugin-JSON-0.07 ... Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for Template::Plugin::JSON
Writing MYMETA.yml and MYMETA.json
JSON::XS is reccomended, you should probably install it for better performance.
OK
Checking dependencies from MYMETA.json ...
Checking if you have Test::More 0 ... Yes (1.302075)
Checking if you have Moose 0 ... Yes (2.1202)
Checking if you have Template 2.20 ... Yes (2.26)
Checking if you have Carp 0 ... Yes (1.38)
Checking if you have ExtUtils::MakeMaker 0 ... Yes (7.24)
Checking if you have JSON 2.12 ... Yes (2.90)
Building and testing Template-Plugin-JSON-0.07 ... cp lib/Template/Plugin/JSON.pm blib/lib/Template/Plugin/JSON.pm
Manifying 1 pod document
PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/live.t .. 1/9
# Failed test 'use Template::Plugin::JSON;'
# at t/live.t line 11.
# Tried to use 'Template::Plugin::JSON'.
# Error: Invalid version format (version required) at /Library/Perl/5.18/Module/Runtime.pm line 386.
# BEGIN failed--compilation aborted at /Users/pstaab/.cpanm/work/1486650100.39130/Template-Plugin-JSON-0.07/blib/lib/Template/Plugin/JSON.pm line 6.
# Compilation failed in require at t/live.t line 11.
# BEGIN failed--compilation aborted at t/live.t line 11.
# Failed test 'template processing'
# at t/live.t line 13.
plugin error - Attempt to reload Template/Plugin/JSON.pm aborted.
Compilation failed in require at /Library/Perl/5.18/darwin-thread-multi-2level/Template/Plugins.pm line 206.
# Failed test 'output seems OK'
# at t/live.t line 23.
# undef
# doesn't match '(?^:\{\W*foo\W*:\W*bar\W*\})'
# Failed test 'pretty output'
# at t/live.t line 25.
# undef
# doesn't match '(?^:\n)'
malformed JSON string, neither array, object, number, string or atom, at character offset 0 (before "(end of string)") at t/live.t line 27.
# Looks like your test exited with 255 just after 4.
t/live.t .. Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 9/9 subtests
Test Summary Report
-------------------
t/live.t (Wstat: 65280 Tests: 4 Failed: 4)
Failed tests: 1-4
Non-zero exit status: 255
Parse errors: Bad plan. You planned 9 tests but ran 4.
Files=1, Tests=4, 1 wallclock secs ( 0.02 usr 0.00 sys + 0.24 cusr 0.04 csys = 0.30 CPU)
Result: FAIL
Failed 1/1 test programs. 4/4 subtests failed.
make: *** [test_dynamic] Error 255
FAIL
! Installing Template::Plugin::JSON failed. See /Users/pstaab/.cpanm/work/1486650100.39130/build.log for details. Retry with --force to force install it.
Message body is not shown because it is too large.