Skip to content

failed to install on ubuntu 14.04 #7

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
niconil opened this issue Sep 9, 2015 · 3 comments
Open

failed to install on ubuntu 14.04 #7

niconil opened this issue Sep 9, 2015 · 3 comments

Comments

@niconil
Copy link

niconil commented Sep 9, 2015

on a ubuntu 14.04
i have perl 5.18
Dancer2 install is ok
but problem with package Dancer2-Plugin-REST 0.25
i use cpan

where to report my issue ? here ?

@yanick
Copy link
Owner

yanick commented Sep 10, 2015

Yup. Here. :-)

@niconil
Copy link
Author

niconil commented Sep 10, 2015

below my output with cpan :
if you need other things ask me (i'm a newbie in module error reporting)

cpan[3]> test Dancer2::Plugin::REST
Running test for module 'Dancer2::Plugin::REST'
Checksum for /root/.cpan/sources/authors/id/Y/YA/YANICK/Dancer2-Plugin-REST-0.25.tar.gz ok
Scanning cache /root/.cpan/build for sizes
............................................................................DONE
Configuring Y/YA/YANICK/Dancer2-Plugin-REST-0.25.tar.gz with Build.PL
Created MYMETA.yml and MYMETA.json
Creating new 'Build' script for 'Dancer2-Plugin-REST' version '0.25'
  YANICK/Dancer2-Plugin-REST-0.25.tar.gz
  /usr/bin/perl Build.PL --installdirs site -- OK
Running Build for Y/YA/YANICK/Dancer2-Plugin-REST-0.25.tar.gz
Building Dancer2-Plugin-REST
  YANICK/Dancer2-Plugin-REST-0.25.tar.gz
  ./Build -- OK
Running Build test
t/00-compile.t ........................ ok
t/000-report-versions-tiny.t .......... #
#
# Generated by Dist::Zilla::Plugin::ReportVersions::Tiny v1.10
# perl: 5.018002 (wanted 5.006) on linux from /usr/bin/perl
#
# Carp                                          => 1.29       (want any version)
# Class::Load                                   => 0.23       (want any version)
# Dancer2                                       => 0.161000   (want 0.149000_01)
# Dancer2::Core::Request                        => 0.161000   (want any version)
# Dancer2::Plugin                               => 0.161000   (want any version)
# Data::Dumper                                  => 2.145      (want any version)
# File::Spec                                    => 3.40       (want any version)
# HTTP::Request::Common                         => 6.04       (want any version)
# IO::Handle                                    => 1.34       (want any version)
# IPC::Open3                                    => 1.13       (want any version)
# JSON                                          => 2.90       (want any version)
# Module::Build                                 => 0.4003     (want 0.28)
# Module::Runtime                               => 0.014      (want any version)
# Moo::Role                                     => 2.000002   (want any version)
# Plack::Test                                   =>     (want any version)
# Test::More                                    => 1.001014   (want 0.88)
# strict                                        => 1.07       (want any version)
# warnings                                      => 1.18       (want any version)
#
# Thanks for using my code.  I hope it works for you.
# If not, please try and include this output in the bug report.
# That will help me reproduce the issue and solve your problem.
#
t/000-report-versions-tiny.t .......... ok
t/02_prepare_serializer_for_format.t .. 5/10
#   Failed test 'headers have content_type set to (?^:text/html)'
#   at t/02_prepare_serializer_for_format.t line 69.
#                   'text/x-yaml'
#     doesn't match '(?^:text/html)'
#   Failed test '$data has been encoded'
#   at t/02_prepare_serializer_for_format.t line 73.
#          got: '--- root
# '
#     expected: 'root'
# Looks like you failed 2 tests of 10.
t/02_prepare_serializer_for_format.t .. Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/10 subtests
t/03_resource.t ....................... ok
t/04_helpers.t ........................ ok
t/04_plugin_settings.t ................ [Webservice:22390] core @2015-09-10 08:42:25> Failed to serialize the request: hash- or arrayref expected (not a simple scalar, use allow_nonref to allow this) at /usr/local/share/perl/5.18.2/Dancer2/Serializer/JSON.pm line 34. in (eval 255) l. 1
t/04_plugin_settings.t ................ 1/5
#   Failed test 'response looks good for 'GET /''
#   at t/04_plugin_settings.t line 67.
#          got: ''
#     expected: 'root'
#   Failed test 'response looks good for 'GET /''
#   at t/04_plugin_settings.t line 67.
#          got: '--- root
# '
#     expected: 'root'
# Looks like you failed 2 tests of 5.
t/04_plugin_settings.t ................ Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/5 subtests
t/05_named_captures.t ................. 1/8
#   Failed test 'headers have content_type set to (?^:text/html)'
#   at t/05_named_captures.t line 62.
#                   'text/x-yaml'
#     doesn't match '(?^:text/html)'
#   Failed test '$data has been encoded'
#   at t/05_named_captures.t line 66.
#          got: '--- root
# '
#     expected: 'root'
# Looks like you failed 2 tests of 8.
t/05_named_captures.t ................. Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/8 subtests
t/06_tcp_server.t ..................... ok
Test Summary Report
-------------------
t/02_prepare_serializer_for_format.t (Wstat: 512 Tests: 10 Failed: 2)
  Failed tests:  9-10
  Non-zero exit status: 2
t/04_plugin_settings.t              (Wstat: 512 Tests: 5 Failed: 2)
  Failed tests:  1, 5
  Non-zero exit status: 2
t/05_named_captures.t               (Wstat: 512 Tests: 8 Failed: 2)
  Failed tests:  7-8
  Non-zero exit status: 2
Files=8, Tests=50,  7 wallclock secs ( 0.07 usr  0.01 sys +  3.85 cusr  0.27 csys =  4.20 CPU)
Result: FAIL
Failed 3/8 test programs. 6/50 subtests failed.
  YANICK/Dancer2-Plugin-REST-0.25.tar.gz
  ./Build test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
  reports YANICK/Dancer2-Plugin-REST-0.25.tar.gz
Failed during this command:
 YANICK/Dancer2-Plugin-REST-0.25.tar.gz       : make_test NO
cpan[4]>

@niconil
Copy link
Author

niconil commented Sep 10, 2015

i've just seen this repo stop at v0.20
the release available in Cpan is v0.25
in another repo PerlDancer/Dancer2-Plugin-Rest, i will submit the same issue there

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants