Closed drebolo closed 9 years ago
$ cpanm -v Dancer2::Session::JSON
cpanm (App::cpanminus) 1.7001 on perl 5.018001 built for x86_64-linux
Work directory is /home/dinis/.cpanm/work/1395914493.26834
You have make /usr/bin/make
You have LWP 6.05
You have /bin/tar: tar (GNU tar) 1.26
Copyright © 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by John Gilmore and Jay Fenlason. You have /usr/bin/unzip Searching Dancer2::Session::JSON on cpanmetadb ... --> Working on Dancer2::Session::JSON Fetching http://www.cpan.org/authors/id/D/DA/DAGOLDEN/Dancer2-Session-JSON-0.001.tar.gz ... OK Unpacking Dancer2-Session-JSON-0.001.tar.gz Dancer2-Session-JSON-0.001/ Dancer2-Session-JSON-0.001/Changes Dancer2-Session-JSON-0.001/CONTRIBUTING Dancer2-Session-JSON-0.001/dist.ini Dancer2-Session-JSON-0.001/lib/ Dancer2-Session-JSON-0.001/LICENSE Dancer2-Session-JSON-0.001/Makefile.PL Dancer2-Session-JSON-0.001/MANIFEST Dancer2-Session-JSON-0.001/META.json Dancer2-Session-JSON-0.001/META.yml Dancer2-Session-JSON-0.001/perlcritic.rc Dancer2-Session-JSON-0.001/README Dancer2-Session-JSON-0.001/t/ Dancer2-Session-JSON-0.001/tidyall.ini Dancer2-Session-JSON-0.001/xt/ Dancer2-Session-JSON-0.001/xt/author/ Dancer2-Session-JSON-0.001/xt/release/ Dancer2-Session-JSON-0.001/xt/release/distmeta.t Dancer2-Session-JSON-0.001/xt/release/pod-coverage.t Dancer2-Session-JSON-0.001/xt/release/pod-syntax.t Dancer2-Session-JSON-0.001/xt/release/portability.t Dancer2-Session-JSON-0.001/xt/release/test-version.t Dancer2-Session-JSON-0.001/xt/author/critic.t Dancer2-Session-JSON-0.001/xt/author/pod-spell.t Dancer2-Session-JSON-0.001/t/00-compile.t Dancer2-Session-JSON-0.001/t/00-report-prereqs.t Dancer2-Session-JSON-0.001/t/lifecycle.t Dancer2-Session-JSON-0.001/lib/Dancer2/ Dancer2-Session-JSON-0.001/lib/Dancer2/Session/ Dancer2-Session-JSON-0.001/lib/Dancer2/Session/JSON.pm Entering Dancer2-Session-JSON-0.001 Checking configure dependencies from META.json Checking if you have ExtUtils::MakeMaker 6.30 ... Yes (6.84) Running Makefile.PL Configuring Dancer2-Session-JSON-0.001 ... Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for Dancer2::Session::JSON Writing MYMETA.yml and MYMETA.json OK Checking dependencies from MYMETA.json ... Checking if you have YAML 0 ... Yes (0.84) Checking if you have strict 0 ... Yes (1.07) Checking if you have File::Find 0 ... Yes (1.23) Checking if you have Test::TCP 1.13 ... Yes (2.01) Checking if you have warnings 0 ... Yes (1.18) Checking if you have ExtUtils::MakeMaker 0 ... Yes (6.84) Checking if you have File::Spec::Functions 0 ... Yes (3.40) Checking if you have List::Util 0 ... Yes (1.35) Checking if you have Dancer2::Core::Types 0 ... Yes (0.11) Checking if you have Dancer2 2 ... No (0.11 < 2) Checking if you have Test::More 0 ... Yes (1.001002) Checking if you have File::Spec 0 ... Yes (3.40) Checking if you have JSON 0 ... Yes (2.90) Checking if you have LWP::UserAgent 0 ... Yes (6.05) Checking if you have File::Temp 0.22 ... Yes (0.2304) Checking if you have Moo 0 ... Yes (1.003001) Checking if you have Dancer2::Core::Role::SessionFactory::File 0 ... Yes (0.11) Checking if you have HTTP::Date 0 ... Yes (6.02) ==> Found dependencies: Dancer2 Searching Dancer2 on cpanmetadb ... Found Dancer2 0.11 which doesn't satisfy 2. ! Installing the dependencies failed: Installed version (0.11) of Dancer2 is not in range '2' ! Bailing out the installation for Dancer2-Session-JSON-0.001. Expiring 1 work directories.
also, after that fixed when running dzil test:
dzil test
[DZ] building distribution under .build/ARJClSw31p for installation
[DZ] beginning to build Dancer2-Session-JSON
[@DAGOLDEN/Git::NextVersion] Bumping version from 0.001 to 0.002
[DZ] guessing dist's main_module is lib/Dancer2/Session/JSON.pm
[DZ] extracting distribution abstract from lib/Dancer2/Session/JSON.pm
[DZ] writing Dancer2-Session-JSON in .build/ARJClSw31p
[@DAGOLDEN/CopyFilesFromBuild] Copied .build/ARJClSw31p/cpanfile to ./cpanfile
Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for Dancer2::Session::JSON
Writing MYMETA.yml and MYMETA.json
cp lib/Dancer2/Session/JSON.pm blib/lib/Dancer2/Session/JSON.pm
Manifying blib/man3/Dancer2::Session::JSON.3
PERL_DL_NONLAZY=1 /home/dinis/perl5/perlbrew/perls/perl-5.18.1/bin/perl "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef _Test::Harness::Switches; testharness(0, 'blib/lib', 'blib/arch')" t/.t
t/00-report-prereqs.t .. #
t/00-report-prereqs.t .. ok
t/lifecycle.t .......... # Testing engine JSON
Dancer2 v0.11 server 31905 listening on http://0.0.0.0:50757 t/lifecycle.t .......... 1/?
Failed test 'session cookie set'
at t/lifecycle.t line 53.
undef
t/lifecycle.t .......... Dubious, test returned 2 (wstat 512, 0x200) Failed 2/27 subtests
t/lifecycle.t (Wstat: 512 Tests: 27 Failed: 2) Failed tests: 4, 15 Non-zero exit status: 2 Files=2, Tests=28, 1 wallclock secs ( 0.03 usr 0.01 sys + 0.46 cusr 0.04 csys = 0.54 CPU) Result: FAIL Failed 1/2 test programs. 2/28 subtests failed. make: *\ [test_dynamic] Error 2 error running make test
Just released 0.002 to CPAN which should fix this.
should your dist.ini have "[Prereqs] Dancer2 = 2"?
name = Dancer2-Session-JSON author = David Golden dagolden@cpan.org license = Apache_2_0 copyright_holder = David Golden copyright_year = 2013
[@DAGOLDEN] :version = 0.035 AutoMetaResources.bugtracker.rt = 0 AutoMetaResources.bugtracker.github = user:dagolden
[Prereqs] Dancer2 = 2