Skip Menu |

This queue is for tickets about the Mojolicious-Plugin-UnicodeNormalize CPAN distribution.

Report information
The Basics
Id: 93060
Status: resolved
Priority: 0/
Queue: Mojolicious-Plugin-UnicodeNormalize

People
Owner: chromatic [...] cpan.org
Requestors: alex.karelas [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Installation Tests fail (tried on two machines)
Date: Sun, 16 Feb 2014 13:58:37 +0200
To: bug-Mojolicious-Plugin-UnicodeNormalize [...] rt.cpan.org
From: Alexander Karelas <alex.karelas [...] gmail.com>
Tried to install with |cpanm| on two Ubuntu VMs, one of them very fresh, and tests fail for the same reason. Here's the output I got on the fresh one (with Mojolicious 4.81, and Perl 5.18.2 with perlbrew): |cpanm (App::cpanminus) 1.7001 on perl 5.018002 built for x86_64-linux Work directory is /home/karjala/.cpanm/work/1392506865.23219 You have make /usr/bin/make You have /usr/bin/wget 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.31 ... Yes (6.66) Checking if you have ExtUtils::Install 1.46 ... Yes (1.59) Searching Mojolicious::Plugin::UnicodeNormalize on cpanmetadb ... --> Working on Mojolicious::Plugin::UnicodeNormalize Fetching http://www.cpan.org/authors/id/C/CH/CHROMATIC/Mojolicious-Plugin-UnicodeNormalize-1.20131107.tar.gz -> OK Unpacking Mojolicious-Plugin-UnicodeNormalize-1.20131107.tar.gz Entering Mojolicious-Plugin-UnicodeNormalize-1.20131107 Checking configure dependencies from META.yml Checking if you have ExtUtils::MakeMaker 6.30 ... Yes (6.66) Configuring Mojolicious-Plugin-UnicodeNormalize-1.20131107 Running Makefile.PL Checking if your kit is complete... Looks good Writing Makefile for Mojolicious::Plugin::UnicodeNormalize Writing MYMETA.yml and MYMETA.json -> OK Checking dependencies from MYMETA.json ... Checking if you have Mojolicious 4.55 ... Yes (4.81) Checking if you have Test::More 0 ... Yes (0.98) Checking if you have strict 0 ... Yes (1.07) Checking if you have Test::Mojo 0 ... Yes (undef) Checking if you have Mojolicious::Lite 0 ... Yes (undef) Checking if you have Unicode::Normalize 0 ... Yes (1.16) Checking if you have Carp 0 ... Yes (1.29) Checking if you have Mojo::Base 0 ... Yes (undef) Checking if you have utf8 0 ... Yes (1.10) Checking if you have warnings 0 ... Yes (1.18) Checking if you have open 0 ... Yes (1.10) Building and testing Mojolicious-Plugin-UnicodeNormalize-1.20131107 cp lib/Mojolicious/Plugin/UnicodeNormalize.pm blib/lib/Mojolicious/Plugin/UnicodeNormalize.pm Manifying blib/man3/Mojolicious::Plugin::UnicodeNormalize.3 PERL_DL_NONLAZY=1 /home/karjala/perl5/perlbrew/perls/perl-5.18.2/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/00-load.t .............. ok # Failed test 'Naïve;desc=single \x{} matches Naïve' # at /home/karjala/.perlbrew/libs/perl-5.18.2@mojo/lib/perl5/Mojolicious/Plugins.pm line 20. # got: 'Naïve;desc=single \x{}' # expected: 'Naïve' # Failed test 'Naïve;desc=single \N{} matches Naïve' # at /home/karjala/.perlbrew/libs/perl-5.18.2@mojo/lib/perl5/Mojolicious/Plugins.pm line 20. # got: 'Naïve;desc=single \N{}' # expected: 'Naïve' # Looks like you failed 2 tests of 15. t/01-unicodenormalize.t .. Dubious, test returned 2 (wstat 512, 0x200) Failed 2/15 subtests Test Summary Report ------------------- t/01-unicodenormalize.t (Wstat: 512 Tests: 15 Failed: 2) Failed tests: 4, 6 Non-zero exit status: 2 Files=2, Tests=16, 1 wallclock secs ( 0.03 usr 0.00 sys + 0.44 cusr 0.09 csys = 0.56 CPU) Result: FAIL Failed 1/2 test programs. 2/16 subtests failed. make: *** [test_dynamic] Error 2 -> FAIL Installing Mojolicious::Plugin::UnicodeNormalize failed. See /home/karjala/.cpanm/work/1392506865.23219/build.log for details. Retry with --force to force install it.|
Same here, and I have another user right now on IRC, who's experiencing the same test failure ====================== zoffix@ZofMain:~$ cpan Mojolicious::Plugin::UnicodeNormalize CPAN: Storable loaded ok (v2.45) Reading '/home/zoffix/.local/share/.cpan/Metadata' Database was generated on Sat, 15 Feb 2014 06:53:02 GMT CPAN: LWP::UserAgent loaded ok (v6.05) Fetching with LWP: http://mirror.its.dal.ca/cpan/authors/01mailrc.txt.gz CPAN: YAML loaded ok (v0.88) Reading '/home/zoffix/.local/share/.cpan/sources/authors/01mailrc.txt.gz' CPAN: Compress::Zlib loaded ok (v2.058) ............................................................................DONE Fetching with LWP: http://mirror.its.dal.ca/cpan/modules/02packages.details.txt.gz Reading '/home/zoffix/.local/share/.cpan/sources/modules/02packages.details.txt.gz' Database was generated on Wed, 05 Mar 2014 10:06:16 GMT ............................................................................DONE Fetching with LWP: http://mirror.its.dal.ca/cpan/modules/03modlist.data.gz Reading '/home/zoffix/.local/share/.cpan/sources/modules/03modlist.data.gz' ............................................................................DONE Writing /home/zoffix/.local/share/.cpan/Metadata Running install for module 'Mojolicious::Plugin::UnicodeNormalize' Running make for C/CH/CHROMATIC/Mojolicious-Plugin-UnicodeNormalize-1.20131107.tar.gz Fetching with LWP: http://mirror.its.dal.ca/cpan/authors/id/C/CH/CHROMATIC/Mojolicious-Plugin-UnicodeNormalize-1.20131107.tar.gz CPAN: Digest::SHA loaded ok (v5.86) Checksum for /home/zoffix/.local/share/.cpan/sources/authors/id/C/CH/CHROMATIC/Mojolicious-Plugin-UnicodeNormalize-1.20131107.tar.gz ok CPAN: File::Temp loaded ok (v0.2304) CPAN: Parse::CPAN::Meta loaded ok (v1.4405) CPAN: CPAN::Meta loaded ok (v2.132830) CPAN: Module::CoreList loaded ok (v3.03) CPAN.pm: Building C/CH/CHROMATIC/Mojolicious-Plugin-UnicodeNormalize-1.20131107.tar.gz Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for Mojolicious::Plugin::UnicodeNormalize Writing MYMETA.yml and MYMETA.json cp lib/Mojolicious/Plugin/UnicodeNormalize.pm blib/lib/Mojolicious/Plugin/UnicodeNormalize.pm Manifying blib/man3/Mojolicious::Plugin::UnicodeNormalize.3pm CHROMATIC/Mojolicious-Plugin-UnicodeNormalize-1.20131107.tar.gz /usr/bin/make -- OK Running make test 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/00-load.t .............. ok t/01-unicodenormalize.t .. 1/? # Failed test 'Naïve;desc=single \x{} matches Naïve' # at /home/zoffix/perl5/lib/perl5/Mojolicious/Plugins.pm line 20. # got: 'Naïve;desc=single \x{}' # expected: 'Naïve' # Failed test 'Naïve;desc=single \N{} matches Naïve' # at /home/zoffix/perl5/lib/perl5/Mojolicious/Plugins.pm line 20. # got: 'Naïve;desc=single \N{}' # expected: 'Naïve' # Looks like you failed 2 tests of 15. t/01-unicodenormalize.t .. Dubious, test returned 2 (wstat 512, 0x200) Failed 2/15 subtests Test Summary Report ------------------- t/01-unicodenormalize.t (Wstat: 512 Tests: 15 Failed: 2) Failed tests: 4, 6 Non-zero exit status: 2 Files=2, Tests=16, 2 wallclock secs ( 0.01 usr 0.01 sys + 0.32 cusr 0.03 csys = 0.37 CPU) Result: FAIL Failed 1/2 test programs. 2/16 subtests failed. make: *** [test_dynamic] Error 2 CHROMATIC/Mojolicious-Plugin-UnicodeNormalize-1.20131107.tar.gz /usr/bin/make test -- NOT OK //hint// to see the cpan-testers results for installing this module, try: reports CHROMATIC/Mojolicious-Plugin-UnicodeNormalize-1.20131107.tar.gz Running make install make test had returned bad status, won't install without force zoffix@ZofMain:~$
haven't tested it myself, but here's the response from that "other user" I mentioned: ----- [20:43:44] <punter> Zoffix, Found the reason of the bug. Apparently Mojolicious doesn't like semi-colons as separators of GET parameters anymore [20:44:21] <punter> Maybe semicolons were accepted in the past, and the test passed then. But now it doesn't. I replaced ; with & and the tests ran smoothly.
Mojolicious 4.78 disallowed the semicolon as query parameter separator. Changing the tests fixed it. Resolved in 1.20140306.