Subject: | does not work with Mojo 6.x |
I think it has been broken before 6.x. It is probably related to the huge number of removals from 6.x, but who knows.
twin% cpanm Mojolicious::Plugin::RenderFile -v
cpanm (App::cpanminus) 1.7027 on perl 5.020002 built for x86_64-linux
Work directory is /home/ollisg/.cpanm/work/1425138305.30470
You have make /usr/bin/make
You have LWP 6.13
You have /bin/tar: tar (GNU tar) 1.26
Copyright (C) 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
Checking if you have ExtUtils::MakeMaker 6.58 ... Yes (7.04)
Checking if you have ExtUtils::Install 1.46 ... Yes (2.04)
Searching Mojolicious::Plugin::RenderFile on mirror http://mirror.sydney.wdlabs.com/cpan ...
Downloading index file http://mirror.sydney.wdlabs.com/cpan/modules/02packages.details.txt.gz ...
--> Working on Mojolicious::Plugin::RenderFile
Fetching http://mirror.sydney.wdlabs.com/cpan/authors/id/K/KO/KOORCHIK/Mojolicious-Plugin-RenderFile-0.08.tar.gz ... OK
Unpacking Mojolicious-Plugin-RenderFile-0.08.tar.gz
/bin/tar: Ignoring unknown extended header keyword `SCHILY.dev'
/bin/tar: Ignoring unknown extended header keyword `SCHILY.ino'
/bin/tar: Ignoring unknown extended header keyword `SCHILY.nlink'
Mojolicious-Plugin-RenderFile-0.08/
Mojolicious-Plugin-RenderFile-0.08/Changes
Mojolicious-Plugin-RenderFile-0.08/lib/
Mojolicious-Plugin-RenderFile-0.08/Makefile.PL
Mojolicious-Plugin-RenderFile-0.08/MANIFEST
Mojolicious-Plugin-RenderFile-0.08/META.json
Mojolicious-Plugin-RenderFile-0.08/META.yml
Mojolicious-Plugin-RenderFile-0.08/README.pod
Mojolicious-Plugin-RenderFile-0.08/t/
Mojolicious-Plugin-RenderFile-0.08/t/basic.t
Mojolicious-Plugin-RenderFile-0.08/t/multibyte_filename.t
Mojolicious-Plugin-RenderFile-0.08/t/sample.txt
/bin/tar: Ignoring unknown extended header keyword `SCHILY.dev'
/bin/tar: Ignoring unknown extended header keyword `SCHILY.ino'
/bin/tar: Ignoring unknown extended header keyword `SCHILY.nlink'
Mojolicious-Plugin-RenderFile-0.08/t/漢字.txt
Mojolicious-Plugin-RenderFile-0.08/lib/Mojolicious/
Mojolicious-Plugin-RenderFile-0.08/lib/Mojolicious/Plugin/
Mojolicious-Plugin-RenderFile-0.08/lib/Mojolicious/Plugin/RenderFile.pm
Entering Mojolicious-Plugin-RenderFile-0.08
Checking configure dependencies from META.json
Checking if you have ExtUtils::MakeMaker 0 ... Yes (7.04)
Running Makefile.PL
Configuring Mojolicious-Plugin-RenderFile-0.08 ... Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for Mojolicious::Plugin::RenderFile
Writing MYMETA.yml and MYMETA.json
OK
Checking dependencies from MYMETA.json ...
Checking if you have Mojolicious 3.90 ... Yes (6.0)
Checking if you have ExtUtils::MakeMaker 0 ... Yes (7.04)
Building and testing Mojolicious-Plugin-RenderFile-0.08 ... cp README.pod blib/lib/Mojolicious/Plugin/README.pod
cp lib/Mojolicious/Plugin/RenderFile.pm blib/lib/Mojolicious/Plugin/RenderFile.pm
Manifying 2 pod documents
PERL_DL_NONLAZY=1 "/home/ollisg/perl5/perlbrew/perls/perl-5.20.2/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/basic.t ............... ok
t/multibyte_filename.t .. 1/?
# Failed test 'exact match for content'
# at t/multibyte_filename.t line 52.
Wide character in print at /home/ollisg/.perlbrew/libs/perl-5.20.2@dev/lib/perl5/Test/Builder.pm line 1826.
# got: '漢字(かんじ)は、古代中国に発祥を持つ文字。'
# expected: 'æ¼¢å�ï¼�ã��ã��ã��ï¼�ã�¯ã��å�¤ä»£ä¸å�½ã�«ç�ºç¥¥ã��æ��ã�¤æ��å�ã��'
# Looks like you failed 1 test of 13.
t/multibyte_filename.t .. Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/13 subtests
Test Summary Report
-------------------
t/multibyte_filename.t (Wstat: 256 Tests: 13 Failed: 1)
Failed test: 3
Non-zero exit status: 1
Files=2, Tests=55, 1 wallclock secs ( 0.03 usr 0.00 sys + 0.54 cusr 0.06 csys = 0.63 CPU)
Result: FAIL
Failed 1/2 test programs. 1/55 subtests failed.
make: *** [test_dynamic] Error 1
FAIL
! Installing Mojolicious::Plugin::RenderFile failed. See /home/ollisg/.cpanm/work/1425138305.30470/build.log for details. Retry with --force to force install it.