Skip to content

Instantly share code, notes, and snippets.

@jasonblewis
Created May 4, 2015 01:15
Show Gist options
  • Save jasonblewis/7f216d8f62152298b911 to your computer and use it in GitHub Desktop.
Save jasonblewis/7f216d8f62152298b911 to your computer and use it in GitHub Desktop.
Dancer2 failed to install
cpanm (App::cpanminus) 1.7001 on perl 5.020001 built for x86_64-linux-thread-multi
Work directory is /home/jason/.cpanm/work/1430700355.28863
You have make /usr/bin/make
You have LWP 6.13
You have /bin/tar: tar (GNU tar) 1.27.1
Copyright (C) 2013 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
Checking if you have ExtUtils::MakeMaker 6.31 ... Yes (6.94)
Checking if you have ExtUtils::Install 1.46 ... Yes (1.67)
Searching Dancer2 on cpanmetadb ...
--> Working on Dancer2
Fetching http://www.cpan.org/authors/id/X/XS/XSAWYERX/Dancer2-0.160000.tar.gz
-> OK
Unpacking Dancer2-0.160000.tar.gz
Entering Dancer2-0.160000
Checking configure dependencies from META.json
Checking if you have Module::Build 0.3601 ... Yes (0.4202)
Checking if you have File::ShareDir::Install 0.06 ... Yes (0.08)
Checking if you have ExtUtils::MakeMaker 0 ... Yes (6.94)
Checking if you have Module::Build 0.36 ... Yes (0.4202)
Configuring Dancer2-0.160000
Running Build.PL
Checking prerequisites...
recommends:
* JSON::XS is not installed
ERRORS/WARNINGS FOUND IN PREREQUISITES. You may wish to install the versions
of the modules indicated above before proceeding with this installation
Created MYMETA.yml and MYMETA.json
Creating new 'Build' script for 'Dancer2' version '0.160000'
-> OK
Checking dependencies from MYMETA.json ...
Checking if you have vars 0 ... Yes (1.03)
Checking if you have HTTP::Date 0 ... Yes (6.02)
Checking if you have Plack::Response 0 ... Yes (1.0034)
Checking if you have Pod::Simple::Search 0 ... Yes (3.28)
Checking if you have HTTP::Request::Common 0 ... Yes (6.04)
Checking if you have Cwd 0 ... Yes (3.48)
Checking if you have Encode 0 ... Yes (2.60)
Checking if you have Test::Fatal 0 ... Yes (0.013)
Checking if you have Template 0 ... Yes (2.26)
Checking if you have URI::Escape 0 ... Yes (3.31)
Checking if you have Pod::Simple::SimpleTree 0 ... Yes (3.28)
Checking if you have Plack::MIME 0 ... Yes (undef)
Checking if you have Hash::Merge::Simple 0 ... Yes (0.051)
Checking if you have lib 0 ... Yes (0.63)
Checking if you have Plack::Middleware::FixMissingBodyInRedirect 0 ... Yes (0.09)
Checking if you have IPC::Open3 0 ... Yes (1.16)
Checking if you have Moo::Role 0 ... Yes (1.004002)
Checking if you have IO::Handle 0 ... Yes (1.35)
Checking if you have Test::MockTime 0 ... Yes (0.12)
Checking if you have Moo 1.003000 ... Yes (1.004002)
Checking if you have POSIX 0 ... Yes (1.38_03)
Checking if you have List::Util 0 ... Yes (1.38)
Checking if you have Safe 0 ... Yes (2.37)
Checking if you have FindBin 0 ... Yes (1.51)
Checking if you have Plack::Middleware::ContentLength 0 ... Yes (undef)
Checking if you have Template::Tiny 0 ... Yes (1.12)
Checking if you have Import::Into 0 ... Yes (1.002000)
Checking if you have File::Basename 0 ... Yes (2.85)
Checking if you have Plack::Middleware::Static 0 ... Yes (undef)
Checking if you have MooX::Types::MooseLike 0.16 ... Yes (0.27)
Checking if you have File::Path 0 ... Yes (2.09)
Checking if you have utf8 0 ... Yes (1.13_01)
Checking if you have IO::File 0 ... Yes (1.16)
Checking if you have HTTP::Body 0 ... Yes (1.19)
Checking if you have Plack::Test 0 ... Yes (undef)
Checking if you have Fcntl 0 ... Yes (1.11)
Checking if you have MIME::Base64 3.13 ... Yes (3.14)
Checking if you have File::ShareDir 1.00 ... Yes (1.03)
Checking if you have warnings 0 ... Yes (1.23)
Checking if you have File::Spec 0 ... Yes (3.48)
Checking if you have Plack::Middleware::Conditional 0 ... Yes (undef)
Checking if you have Plack::Middleware::RemoveRedundantBody 0 ... Yes (0.03)
Checking if you have App::Cmd::Setup 0 ... Yes (0.323)
Checking if you have parent 0 ... Yes (0.228)
Checking if you have Plack::Middleware::Head 0 ... Yes (undef)
Checking if you have Exporter 5.57 ... Yes (5.71)
Checking if you have Plack::Request 0 ... Yes (1.0034)
Checking if you have Plack 1.0029 ... Yes (1.0034)
Checking if you have Scalar::Util 0 ... Yes (1.38)
Checking if you have Try::Tiny 0 ... Yes (0.22)
Checking if you have File::Copy 0 ... Yes (2.30)
Checking if you have Safe::Isa 0 ... Yes (1.000004)
Checking if you have Module::Runtime 0 ... Yes (0.014)
Checking if you have File::Temp 0.22 ... Yes (0.2304)
Checking if you have Return::MultiLevel 0 ... Yes (0.04)
Checking if you have strict 0 ... Yes (1.08)
Checking if you have Role::Tiny 1.003000 ... Yes (1.003002)
Checking if you have File::Spec::Functions 0 ... Yes (3.48)
Checking if you have File::Find 0 ... Yes (1.27)
Checking if you have HTTP::Tiny 0 ... Yes (0.043)
Checking if you have URI 0 ... Yes (1.60)
Checking if you have Class::Load 0 ... Yes (0.20)
Checking if you have HTTP::Request 0 ... Yes (6.00)
Checking if you have Config::Any 0 ... Yes (0.24)
Checking if you have Sub::Quote 0 ... Yes (1.004002)
Checking if you have Digest::SHA 0 ... Yes (5.88)
Checking if you have YAML 0 ... Yes (0.85)
Checking if you have JSON 0 ... Yes (2.90)
Checking if you have Data::Dumper 0 ... Yes (2.154)
Checking if you have overload 0 ... Yes (1.22)
Checking if you have Carp 0 ... Yes (1.3301)
Checking if you have Module::Build 0.3601 ... Yes (0.4202)
Checking if you have Test::More 0.92 ... Yes (1.001003)
Checking if you have Test::Memory::Cycle 1.04 ... Yes (1.04)
Checking if you have HTTP::Server::PSGI 0 ... Yes (undef)
Checking if you have Capture::Tiny 0.12 ... Yes (0.25)
Checking if you have ExtUtils::MakeMaker 0 ... Yes (6.94)
Checking if you have HTTP::Cookies 0 ... Yes (6.01)
Checking if you have HTTP::Headers 0 ... Yes (6.05)
Checking if you have Plack::Builder 0 ... Yes (undef)
Checking if you have Test::Builder 0 ... Yes (1.001003)
Checking if you have MooX::Types::MooseLike::Base 0 ... Yes (0.27)
Building and testing Dancer2-0.160000
Building Dancer2
t/00-compile.t ......................................... ok
#
# Versions for all modules listed in MYMETA.json (including optional ones):
#
# === Configure Requires ===
#
# Module Want Have
# ----------------------- ------ ------
# ExtUtils::MakeMaker any 6.94
# File::ShareDir::Install 0.06 0.08
# Module::Build 0.3601 0.4202
#
# === Build Requires ===
#
# Module Want Have
# ------------- ------ ------
# Module::Build 0.3601 0.4202
#
# === Build Recommends ===
#
# Module Want Have
# ----------------------- ---- --------
# CGI::Deurl::XS any 0.08
# Crypt::URandom any 0.34
# JSON::XS any missing
# Math::Random::ISAAC::XS any 1.004
# Pod::Simple::Search any 3.28
# Pod::Simple::SimpleTree any 3.28
# Scope::Upper any 0.27
# Test::Builder any 1.001003
# Test::More any 1.001003
# URL::Encode::XS any 0.03
#
# === Test Requires ===
#
# Module Want Have
# --------------------- ---- --------
# Capture::Tiny 0.12 0.25
# ExtUtils::MakeMaker any 6.94
# File::Spec any 3.48
# File::Temp 0.22 0.2304
# FindBin any 1.51
# HTTP::Body any 1.19
# HTTP::Cookies any 6.01
# HTTP::Request any 6.00
# HTTP::Request::Common any 6.04
# IO::Handle any 1.35
# IPC::Open3 any 1.16
# Plack::Response any 1.0034
# Plack::Test any undef
# Test::Fatal any 0.013
# Test::Memory::Cycle 1.04 1.04
# Test::MockTime any 0.12
# Test::More 0.92 1.001003
# YAML any 0.85
# lib any 0.63
# utf8 any 1.13_01
# vars any 1.03
#
# === Test Recommends ===
#
# Module Want Have
# ---------- -------- --------
# CPAN::Meta 2.120900 2.140640
#
# === Runtime Requires ===
#
# Module Want Have
# ------------------------------------------- -------- --------
# App::Cmd::Setup any 0.323
# Carp any 1.3301
# Class::Load any 0.20
# Config::Any any 0.24
# Cwd any 3.48
# Data::Dumper any 2.154
# Digest::SHA any 5.88
# Encode any 2.60
# Exporter 5.57 5.71
# Fcntl any 1.11
# File::Basename any 2.85
# File::Copy any 2.30
# File::Find any 1.27
# File::Path any 2.09
# File::ShareDir 1.00 1.03
# File::Spec any 3.48
# File::Spec::Functions any 3.48
# File::Temp 0.22 0.2304
# HTTP::Body any 1.19
# HTTP::Date any 6.02
# HTTP::Headers any 6.05
# HTTP::Server::PSGI any undef
# HTTP::Tiny any 0.043
# Hash::Merge::Simple any 0.051
# IO::File any 1.16
# Import::Into any 1.002000
# JSON any 2.90
# List::Util any 1.38
# MIME::Base64 3.13 3.14
# Module::Runtime any 0.014
# Moo 1.003000 1.004002
# Moo::Role any 1.004002
# MooX::Types::MooseLike 0.16 0.27
# MooX::Types::MooseLike::Base any 0.27
# POSIX any 1.38_03
# Plack 1.0029 1.0034
# Plack::Builder any undef
# Plack::MIME any undef
# Plack::Middleware::Conditional any undef
# Plack::Middleware::ContentLength any undef
# Plack::Middleware::FixMissingBodyInRedirect any 0.09
# Plack::Middleware::Head any undef
# Plack::Middleware::RemoveRedundantBody any 0.03
# Plack::Middleware::Static any undef
# Plack::Request any 1.0034
# Pod::Simple::Search any 3.28
# Pod::Simple::SimpleTree any 3.28
# Return::MultiLevel any 0.04
# Role::Tiny 1.003000 1.003002
# Safe any 2.37
# Safe::Isa any 1.000004
# Scalar::Util any 1.38
# Sub::Quote any 1.004002
# Template any 2.26
# Template::Tiny any 1.12
# Test::Builder any 1.001003
# Test::More 0.92 1.001003
# Try::Tiny any 0.22
# URI any 1.60
# URI::Escape any 3.31
# YAML any 0.85
# overload any 1.22
# parent any 0.228
# strict any 1.08
# warnings any 1.23
#
# === Runtime Recommends ===
#
# Module Want Have
# ----------------------- ---- --------
# CGI::Deurl::XS any 0.08
# Crypt::URandom any 0.34
# JSON::XS any missing
# Math::Random::ISAAC::XS any 1.004
# Pod::Simple::Search any 3.28
# Pod::Simple::SimpleTree any 3.28
# Scope::Upper any 0.27
# Test::Builder any 1.001003
# Test::More any 1.001003
# URL::Encode::XS any 0.03
#
# === Runtime Suggests ===
#
# Module Want Have
# --------------- ---- ----
# Class::Load::XS any 0.09
# Fcntl any 1.11
# MIME::Types any 2.04
# YAML any 0.85
#
t/00-report-prereqs.t .................................. ok
[main:28977] error @2015-05-04 10:46:10> Exception caught in 'core.app.before_request' filter: Hook error: Can't locate object method "failure" via package "Foo" (perhaps you forgot to load "Foo"?) at t/app.t line 150.
at /home/jason/.cpanm/work/1430700355.28863/Dancer2-0.160000/blib/lib/Dancer2/Core/App.pm line 952. in /home/jason/.cpanm/work/1430700355.28863/Dancer2-0.160000/blib/lib/Dancer2/Core/App.pm l. 526
t/app.t ................................................ ok
t/app_alone.t .......................................... ok
t/author-no-tabs.t ..................................... skipped: these tests are for testing by the author
t/auto_page.t .......................................... ok
t/caller.t ............................................. ok
t/charset_server.t ..................................... ok
t/classes/Dancer2-Core-Factory/new.t ................... ok
t/classes/Dancer2-Core-Hook/new.t ...................... ok
# Running test with XS_URL_DECODE
# Running test with XS_PARSE_QUERY_STRING
# Running test without XS_PARSE_QUERY_STRING
# Running test without XS_URL_DECODE
t/classes/Dancer2-Core-Request/new.t ................... ok
t/classes/Dancer2-Core-Response-Delayed/after_hooks.t .. ok
t/classes/Dancer2-Core-Response-Delayed/new.t .......... ok
t/classes/Dancer2-Core-Response/new_from.t ............. ok
t/classes/Dancer2-Core-Role-Engine/with.t .............. ok
t/classes/Dancer2-Core-Role-Handler/with.t ............. ok
t/classes/Dancer2-Core-Role-HasLocation/with.t ......... ok
t/classes/Dancer2-Core-Role-Headers/with.t ............. ok
t/classes/Dancer2-Core-Role-Serializer/with.t .......... ok
t/classes/Dancer2-Core-Role-StandardResponses/with.t ... ok
t/classes/Dancer2-Core-Route/base.t .................... ok
t/classes/Dancer2-Core-Route/match.t ................... ok
t/classes/Dancer2-Core-Runner/environment.t ............ ok
>> Dancer2 v0.160000 server 29000 listening on http://0.0.0.0:3000
t/classes/Dancer2-Core-Runner/new.t .................... ok
t/classes/Dancer2-Core-Runner/psgi_app.t ............... ok
t/classes/Dancer2-Core/camelize.t ...................... ok
t/classes/Dancer2/import.t ............................. ok
t/config_multiapp.t .................................... ok
t/config_reader.t ...................................... ok
t/config_settings.t .................................... ok
t/context-in-before.t .................................. ok
t/cookie.t ............................................. ok
t/custom_dsl.t ......................................... ok
t/dancer-test.t ........................................ ok
# Failed test 'utf-8 string returns the same using the YAML serializer'
# at t/deserialize.t line 110.
Wide character in print at /home/jason/perl5/lib/perl5/Test/Builder.pm line 1821.
# ''
# doesn't match '(?^u:\∮\ E\⋅da\ \=\ Q\,\ \ n\ \→\ \∞\,\ \∑\ f\(i\)\ \=\ \∏\ g\(i\))'
# Looks like you failed 1 test of 15.
t/deserialize.t ........................................
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/15 subtests
t/dispatcher.t ......................................... ok
t/dsl.t ................................................ ok
t/dsl/any.t ............................................ ok
t/dsl/app.t ............................................ ok
t/dsl/content.t ........................................ ok
t/dsl/delayed.t ........................................ ok
t/dsl/error_template.t ................................. ok
t/dsl/extend.t ......................................... ok
t/dsl/halt.t ........................................... ok
t/dsl/pass.t ........................................... ok
t/dsl/path.t ........................................... ok
t/dsl/send_file.t ...................................... ok
t/dsl/splat.t .......................................... ok
t/dsl/to_app.t ......................................... ok
t/engine.t ............................................. ok
[AppDies:29031] error @2015-05-04 10:46:26> Route exception: oh no in /home/jason/perl5/lib/perl5/Return/MultiLevel.pm l. 36
t/error.t .............................................. ok
t/factory.t ............................................ ok
t/file_utils.t ......................................... ok
t/forward.t ............................................ ok
t/forward_before_hook.t ................................ ok
t/forward_test_tcp.t ................................... ok
About to forward!
t/hooks.t .............................................. ok
t/http_methods.t ....................................... ok
t/http_status.t ........................................ ok
t/issues/gh-596.t ...................................... ok
t/issues/gh-634.t ...................................... ok
t/issues/gh-639/fails/issue.t .......................... ok
t/issues/gh-639/succeeds/issue.t ....................... ok
t/issues/gh-650/gh-650.t ............................... ok
t/issues/gh-723.t ...................................... ok
t/issues/gh-730.t ...................................... ok
t/issues/gh-762.t ...................................... ok
[App:29054] core @2015-05-04 10:46:32> Failed to deserialize the request: malformed JSON string, neither array, object, number, string or atom, at character offset 0 (before "invalid") at /home/jason/.cpanm/work/1430700355.28863/Dancer2-0.160000/blib/lib/Dancer2/Serializer/JSON.pm line 41. in (eval 180) l. 1
t/issues/gh-794.t ...................................... ok
[App:29055] core @2015-05-04 10:46:32> Failed to deserialize the request: 'false' expected, at character offset 0 (before "foo=bar") at /home/jason/.cpanm/work/1430700355.28863/Dancer2-0.160000/blib/lib/Dancer2/Serializer/JSON.pm line 41. in (eval 180) l. 1
t/issues/gh-797.t ...................................... ok
t/issues/gh-799.t ...................................... ok
t/issues/memleak/die_in_hooks.t ........................ ok
t/log_die_before_hook.t ................................ ok
t/log_levels.t ......................................... ok
t/logger.t ............................................. ok
t/logger_console.t ..................................... ok
t/memory_cycles.t ...................................... ok
t/mime.t ............................................... ok
t/multi_apps.t ......................................... ok
t/multi_apps_forward.t ................................. ok
t/multiapp_template_hooks.t ............................ ok
t/named_apps.t ......................................... ok
t/plugin_import.t ...................................... ok
t/plugin_multiple_apps.t ............................... ok
t/plugin_register.t .................................... ok
t/plugin_syntax.t ...................................... ok
t/psgi_app.t ........................................... ok
t/psgi_app_forward_and_pass.t .......................... ok
t/redirect.t ........................................... ok
t/release-distmeta.t ................................... skipped: these tests are for release candidate testing
t/release-pod-syntax.t ................................. skipped: these tests are for release candidate testing
# Run test with XS_URL_DECODE
# Run test with XS_PARSE_QUERY_STRING
# Run test without XS_PARSE_QUERY_STRING
# Run test without XS_URL_DECODE
t/request.t ............................................ ok
# Run test with XS_URL_DECODE
# Run test with XS_PARSE_QUERY_STRING
# Run test without XS_PARSE_QUERY_STRING
# Run test without XS_URL_DECODE
t/request_upload.t ..................................... ok
t/response.t ........................................... ok
t/roles/hook.t ......................................... ok
t/route-pod-coverage/route-pod-coverage.t .............. ok
[MyTestApp:29087] error @2015-05-04 10:46:42> Route exception: Hook error: 46653456 at t/scope_problems/with_return_dies.t line 19.
at /home/jason/.cpanm/work/1430700355.28863/Dancer2-0.160000/blib/lib/Dancer2/Core/Role/Hookable.pm line 114. in /home/jason/perl5/lib/perl5/Return/MultiLevel.pm l. 36
t/scope_problems/with_return_dies.t .................... ok
t/serializer.t ......................................... ok
t/serializer_json.t .................................... ok
# Format: yaml
# Format: json
# Format: dumper
t/serializer_mutable.t ................................. ok
t/session_config.t ..................................... ok
t/session_engines.t .................................... ok
t/session_forward.t .................................... ok
t/session_hooks.t ...................................... ok
t/session_in_template.t ................................ ok
t/session_lifecycle.t .................................. ok
# Crypto strength tokens
t/session_object.t ..................................... ok
t/shared_engines.t ..................................... ok
t/template.t ........................................... ok
t/template_default_tokens.t ............................ ok
t/template_ext.t ....................................... ok
t/template_name.t ...................................... ok
t/template_simple.t .................................... ok
t/template_tiny/01_compile.t ........................... ok
t/template_tiny/02_trivial.t ........................... ok
t/template_tiny/03_samples.t ........................... ok
t/template_tiny/04_compat.t ............................ ok
t/template_tiny/05_preparse.t .......................... ok
t/time.t ............................................... ok
t/types.t .............................................. ok
t/uri_for.t ............................................ ok
t/vars.t ............................................... ok
Test Summary Report
-------------------
t/deserialize.t (Wstat: 256 Tests: 15 Failed: 1)
Failed test: 5
Non-zero exit status: 1
Files=121, Tests=1487, 49 wallclock secs ( 1.02 usr 1.33 sys + 37.39 cusr 8.84 csys = 48.58 CPU)
Result: FAIL
Failed 1/121 test programs. 1/1487 subtests failed.
-> FAIL Installing Dancer2 failed. See /home/jason/.cpanm/work/1430700355.28863/build.log for details. Retry with --force to force install it.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment