Back
From: metabase:user:322078bc-2aae-11df-837a-5e0a49663a4f
Subject: FAIL Mojolicious-Plugin-JSUrlFor-Angular-0.18 v5.10.1 NetBSD
Date: 2017-03-20T00:54:44Z
This distribution has been tested as part of the CPAN Testers
project, supporting the Perl programming language. See
http://wiki.cpantesters.org/ for more information or email
questions to cpan-testers-discuss@perl.org
--
Dear MCHE,
This is a computer-generated error report created automatically by
CPANPLUS, version 0.9162. Testers personal comments may appear
at the end of this report.
Thank you for uploading your work to CPAN. However, it appears that
there were some problems testing your distribution.
TEST RESULTS:
Below is the error stack from stage 'make test':
PERL_DL_NONLAZY=1 "/home/cpan/pit/thr/perl-5.10.1/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
# Failed test 'right route'
# at t/generate_command.t line 15.
Wide character in print at /home/cpan/pit/thr/perl-5.10.1/lib/5.10.1/Test2/Formatter/TAP.pm line 105.
# '(function () {
# 'use strict';
# /*
# ÃÂðÃÂÃÂÃÂÃÂÃÂÃÂ/Routes
#
# // method url_for
# appRoutes.url_for(route_name, captures, param)
# returns url string
# captures: either object, either array, either scalar
# param: either object, either scalar
#
# appRoutes.url_for('foo name', {id: 123}); // ÿõÃÂõôðÃÂð þñÃÂõúÃÂð ÿþôÃÂÃÂðýþòúø
# appRoutes.url_for('foo name', [123]); // ÿõÃÂõôðÃÂð üðÃÂÃÂøòð ÿþôÃÂÃÂðýþòúø
# appRoutes.url_for('foo name', 123); // ÿõÃÂõôðÃÂð ÃÂúðûÃÂÃÂð ÿþôÃÂÃÂðýþòúø
# appRoutes.url_for('foo name', ..., param); // ÿõÃÂõôðÃÂð ÿðÃÂðüõÃÂÃÂþò ÷ðÿÃÂþÃÂð (þñÃÂõúàøûø óþÃÂþòðàÃÂÃÂÃÂþúð)
#
# // url_for tests
# appRoutes.routes['foo bar'] = 'foo=:foo/bar=:bar';
# console.log(appRoutes.url_for('foo bar', []) == 'foo=/bar=');
# console.log(appRoutes.url_for('foo bar', [1,2]) == 'foo=1/bar=2');
# console.log(appRoutes.url_for('foo bar', [1]) == 'foo=1/bar=');
# console.log(appRoutes.url_for('foo bar') == 'foo=/bar=');
# console.log(appRoutes.url_for('foo bar', {}) == 'foo=/bar=');
# console.log(appRoutes.url_for('foo bar', {foo:'ok', baz:'0'}) == 'foo=ok/bar=');
# console.log(appRoutes.url_for('foo bar', {foo:'ok', bar:'0'}) == 'foo=ok/bar=0' );
# console.log(appRoutes.url_for('foo bar', 'ook') == 'foo=ook/bar=');
# console.log(appRoutes.url_for('foo bar', null, 'param1') == 'foo=/bar=?param1');
# console.log(appRoutes.url_for('foo bar', {foo:'ok', bar:'0'}, {p1:1,p2:2}) == 'foo=ok/bar=0?p1=1&p2=2' );
# console.log(appRoutes.url_for('foo bar', {foo:'ok', bar:'0'}, {p1:1,"ÿðÃÂðü2":[1,2]}) == 'foo=ok/bar=0?p1=1&ÿðÃÂðü2=2&ÿðÃÂðü2=2' );
#
# // method baseURL
# var base = appRoutes.baseURL();
# appRoutes.baseURL('http://host...');
#
# */
#
# var moduleName = "appRoutes";
#
# try {
# if (angular.module(moduleName)) return function () {};
# } catch(err) { /* failed to require */ }
#
# var routes = {
# "ÃÂõÃÂÃÂþòÃÂù üðÃÂÃÂÃÂÃÂÃÂ": "/test_route"
# }
#
# , arr_re = new RegExp('[:*]\\w+', 'g')
# , _baseURL = '';
#
# function baseURL (base) {// set/get base URL prefix
# if (base == undefined) return _baseURL;
# _baseURL = base;
# return base;
#
# }
#
#
# function url_for(route_name, captures, param) {
# var pattern = routes[route_name];
# if(!pattern) {
# console.log("[angular.appRoutes] Has none route for the name: "+route_name);
# return baseURL() + route_name;
# }
#
# if ( captures == undefined ) captures = [];
# if ( !angular.isObject(captures) ) captures = [captures];
# if ( angular.isArray(captures) ) {
# var replacer = function () {
# var c = captures.shift();
# if(c == undefined) c='';
# return c;
# };
# pattern = pattern.replace(arr_re, replacer);
# } else {
# angular.forEach(captures, function(value, placeholder) {
# var re = new RegExp('[:*]' + placeholder, 'g');
# pattern = pattern.replace(re, value);
# });
# pattern = pattern.replace(/[:*][^/.]+/g, ''); // Clean not replaces placeholders
# }
#
# if ( param == undefined ) return baseURL() + pattern;
# if ( !angular.isObject(param) ) return baseURL() + pattern + '?' + param;
# var query = [];
# angular.forEach(param, function(value, name) {
# if ( angular.isArray(value) ) { angular.forEach(value, function(val) {query.push(name+'='+val);}); }
# else { query.push(name+'='+value); }
# });
# if (!query.length) return baseURL() + pattern;
# return baseURL() + pattern + '?' + query.join('&');
# }
#
# var factory = {
# routes: routes,
# baseURL: baseURL,
# url_for: url_for
# };
#
# angular.module(moduleName, [])
#
# .run(function ($window) {
# $window['angular.'+moduleName] = factory;
# })
#
# .factory(moduleName, function () {
# return factory;
# })
# ;
#
# }());
#
# '
# doesn't match '(?-xism:ÑеÑÑовÑй маÑÑÑÑÑ)'
# Looks like you failed 1 test of 2.
t/generate_command.t ..
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/2 subtests
Test Summary Report
-------------------
t/generate_command.t (Wstat: 256 Tests: 2 Failed: 1)
Failed test: 1
Non-zero exit status: 1
Files=1, Tests=2, 0 wallclock secs ( 0.01 usr 0.01 sys + 0.27 cusr 0.08 csys = 0.37 CPU)
Result: FAIL
Failed 1/1 test programs. 1/2 subtests failed.
*** Error code 1
Stop.
make: stopped in /home/cpan/pit/thr/conf/perl-5.10.1/.cpanplus/5.10.1/build/oBH_EmQvdy/Mojolicious-Plugin-JSUrlFor-Angular-0.18
PREREQUISITES:
Here is a list of prerequisites you specified and versions we
managed to load:
Module Name Have Want
ExtUtils::MakeMaker 7.24 0
Mojolicious 7.29 7.00
Perl module toolchain versions installed:
Module Name Have
CPANPLUS 0.9162
CPANPLUS::Dist::Build 0.80
Cwd 3.62
ExtUtils::CBuilder 0.280224
ExtUtils::Command 7.24
ExtUtils::Install 2.04
ExtUtils::MakeMaker 7.24
ExtUtils::Manifest 1.70
ExtUtils::ParseXS 3.30
File::Spec 3.62
Module::Build 0.4220
Pod::Parser 1.37
Pod::Simple 3.35
Test2 1.302075
Test::Harness 3.36
Test::More 1.302075
version 0.9917
******************************** NOTE ********************************
The comments above are created mechanically, possibly without manual
checking by the sender. As there are many people performing automatic
tests on each upload to CPAN, it is likely that you will receive
identical messages about the same problem.
If you believe that the message is mistaken, please reply to the first
one with correction and/or additional informations, and do not take
it personally. We appreciate your patience. :)
**********************************************************************
Additional comments:
This report was machine-generated by CPANPLUS::Dist::YACSmoke 0.98.
Powered by minismokebox version 0.58
------------------------------
ENVIRONMENT AND OTHER CONTEXT
------------------------------
Environment variables:
AUTOMATED_TESTING = 1
NONINTERACTIVE_TESTING = 1
PATH = /home/cpan/pit/thr/conf/perl-5.10.1/.cpanplus/5.10.1/build/laT_Km1qip/Mojolicious-7.29/blib/script:/home/cpan/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R7/bin:/usr/X11R6/bin:/usr/pkg/bin:/usr/pkg/sbin:/usr/games:/usr/local/bin:/usr/local/sbin
PERL5LIB = :/home/cpan/pit/thr/conf/perl-5.10.1/.cpanplus/5.10.1/build/uMpX7ZAIsx/Socket-2.024/blib/lib:/home/cpan/pit/thr/conf/perl-5.10.1/.cpanplus/5.10.1/build/uMpX7ZAIsx/Socket-2.024/blib/arch:/home/cpan/pit/thr/conf/perl-5.10.1/.cpanplus/5.10.1/build/HrmmGi6m5o/IO-Socket-IP-0.39/blib/lib:/home/cpan/pit/thr/conf/perl-5.10.1/.cpanplus/5.10.1/build/HrmmGi6m5o/IO-Socket-IP-0.39/blib/arch:/home/cpan/pit/thr/conf/perl-5.10.1/.cpanplus/5.10.1/build/anSr4gqL4P/Pod-Simple-3.35/blib/lib:/home/cpan/pit/thr/conf/perl-5.10.1/.cpanplus/5.10.1/build/anSr4gqL4P/Pod-Simple-3.35/blib/arch:/home/cpan/pit/thr/conf/perl-5.10.1/.cpanplus/5.10.1/build/om0gqUBHRf/Time-Local-1.25/blib/lib:/home/cpan/pit/thr/conf/perl-5.10.1/.cpanplus/5.10.1/build/om0gqUBHRf/Time-Local-1.25/blib/arch:/home/cpan/pit/thr/conf/perl-5.10.1/.cpanplus/5.10.1/build/laT_Km1qip/Mojolicious-7.29/blib/lib:/home/cpan/pit/thr/conf/perl-5.10.1/.cpanplus/5.10.1/build/laT_Km1qip/Mojolicious-7.29/blib/arch:/home/cpan/pit/thr/conf/perl-5.10.1/.cpanplus/5.10.1/build/oBH_EmQvdy/Mojolicious-Plugin-JSUrlFor-Angular-0.18/blib/lib:/home/cpan/pit/thr/conf/perl-5.10.1/.cpanplus/5.10.1/build/oBH_EmQvdy/Mojolicious-Plugin-JSUrlFor-Angular-0.18/blib/arch
PERL5_CPANPLUS_IS_RUNNING = 11477
PERL5_CPANPLUS_IS_VERSION = 0.9162
PERL5_MINISMOKEBOX = 0.58
PERL5_YACSMOKE_BASE = /home/cpan/pit/thr/conf/perl-5.10.1
PERL_EXTUTILS_AUTOINSTALL = --defaultdeps
PERL_MM_USE_DEFAULT = 1
SHELL = /usr/pkg/bin/bash
TERM = screen
Perl special variables (and OS-specific diagnostics, for MSWin32):
Perl: $^X = /home/cpan/pit/thr/perl-5.10.1/bin/perl
UID: $< = 1002
EUID: $> = 1002
GID: $( = 100 100
EGID: $) = 100 100
-------------------------------
--
Summary of my perl5 (revision 5 version 10 subversion 1) configuration:
Platform:
osname=netbsd, osvers=7.0.1, archname=amd64-netbsd-thread-multi
uname='netbsd niwed.bingosnet.co.uk 7.0.1 netbsd 7.0.1 (generic.201605221355z) amd64 '
config_args='-des -Dprefix=/home/cpan/pit/thr/perl-5.10.1 -Dusethreads'
hint=recommended, useposix=true, d_sigaction=define
useithreads=define, usemultiplicity=define
useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
use64bitint=define, use64bitall=define, uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags ='-fno-strict-aliasing -pipe -fstack-protector -I/usr/pkg/include',
optimize='-O',
cppflags='-fno-strict-aliasing -pipe -fstack-protector -I/usr/pkg/include'
ccversion='', gccversion='4.8.4', gccosandvers=''
intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='cc', ldflags =' -Wl,-rpath,/usr/pkg/lib -Wl,-rpath,/usr/local/lib -fstack-protector -L/usr/pkg/lib'
libpth=/usr/pkg/lib /lib /usr/lib
libs=-lgdbm -lm -lcrypt -lutil -lc -lposix -lpthread
perllibs=-lm -lcrypt -lutil -lc -lposix -lpthread
libc=/lib/libc.so, so=so, useshrplib=false, libperl=libperl.a
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E '
cccdlflags='-DPIC -fPIC ', lddlflags='-shared -L/usr/pkg/lib -fstack-protector'
Characteristics of this binary (from libperl):
Compile-time options: MULTIPLICITY PERL_DONT_CREATE_GVSV
PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP USE_64_BIT_ALL
USE_64_BIT_INT USE_ITHREADS USE_LARGE_FILES
USE_PERLIO USE_REENTRANT_API
Locally applied patches:
Devel::PatchPerl 1.42
Built under netbsd
Compiled at Jun 2 2016 01:18:36
%ENV:
PERL5LIB=":/home/cpan/pit/thr/conf/perl-5.10.1/.cpanplus/5.10.1/build/uMpX7ZAIsx/Socket-2.024/blib/lib:/home/cpan/pit/thr/conf/perl-5.10.1/.cpanplus/5.10.1/build/uMpX7ZAIsx/Socket-2.024/blib/arch:/home/cpan/pit/thr/conf/perl-5.10.1/.cpanplus/5.10.1/build/HrmmGi6m5o/IO-Socket-IP-0.39/blib/lib:/home/cpan/pit/thr/conf/perl-5.10.1/.cpanplus/5.10.1/build/HrmmGi6m5o/IO-Socket-IP-0.39/blib/arch:/home/cpan/pit/thr/conf/perl-5.10.1/.cpanplus/5.10.1/build/anSr4gqL4P/Pod-Simple-3.35/blib/lib:/home/cpan/pit/thr/conf/perl-5.10.1/.cpanplus/5.10.1/build/anSr4gqL4P/Pod-Simple-3.35/blib/arch:/home/cpan/pit/thr/conf/perl-5.10.1/.cpanplus/5.10.1/build/om0gqUBHRf/Time-Local-1.25/blib/lib:/home/cpan/pit/thr/conf/perl-5.10.1/.cpanplus/5.10.1/build/om0gqUBHRf/Time-Local-1.25/blib/arch:/home/cpan/pit/thr/conf/perl-5.10.1/.cpanplus/5.10.1/build/laT_Km1qip/Mojolicious-7.29/blib/lib:/home/cpan/pit/thr/conf/perl-5.10.1/.cpanplus/5.10.1/build/laT_Km1qip/Mojolicious-7.29/blib/arch:/home/cpan/pit/thr/conf/perl-5.10.1/.cpanplus/5.10.1/build/oBH_EmQvdy/Mojolicious-Plugin-JSUrlFor-Angular-0.18/blib/lib:/home/cpan/pit/thr/conf/perl-5.10.1/.cpanplus/5.10.1/build/oBH_EmQvdy/Mojolicious-Plugin-JSUrlFor-Angular-0.18/blib/arch"
PERL5_CPANPLUS_IS_RUNNING="11477"
PERL5_CPANPLUS_IS_VERSION="0.9162"
PERL5_MINISMOKEBOX="0.58"
PERL5_YACSMOKE_BASE="/home/cpan/pit/thr/conf/perl-5.10.1"
PERL_EXTUTILS_AUTOINSTALL="--defaultdeps"
PERL_MM_USE_DEFAULT="1"
@INC:
/home/cpan/pit/thr/conf/perl-5.10.1/.cpanplus/5.10.1/build/uMpX7ZAIsx/Socket-2.024/blib/lib
/home/cpan/pit/thr/conf/perl-5.10.1/.cpanplus/5.10.1/build/uMpX7ZAIsx/Socket-2.024/blib/arch
/home/cpan/pit/thr/conf/perl-5.10.1/.cpanplus/5.10.1/build/HrmmGi6m5o/IO-Socket-IP-0.39/blib/lib
/home/cpan/pit/thr/conf/perl-5.10.1/.cpanplus/5.10.1/build/HrmmGi6m5o/IO-Socket-IP-0.39/blib/arch
/home/cpan/pit/thr/conf/perl-5.10.1/.cpanplus/5.10.1/build/anSr4gqL4P/Pod-Simple-3.35/blib/lib
/home/cpan/pit/thr/conf/perl-5.10.1/.cpanplus/5.10.1/build/anSr4gqL4P/Pod-Simple-3.35/blib/arch
/home/cpan/pit/thr/conf/perl-5.10.1/.cpanplus/5.10.1/build/om0gqUBHRf/Time-Local-1.25/blib/lib
/home/cpan/pit/thr/conf/perl-5.10.1/.cpanplus/5.10.1/build/om0gqUBHRf/Time-Local-1.25/blib/arch
/home/cpan/pit/thr/conf/perl-5.10.1/.cpanplus/5.10.1/build/laT_Km1qip/Mojolicious-7.29/blib/lib
/home/cpan/pit/thr/conf/perl-5.10.1/.cpanplus/5.10.1/build/laT_Km1qip/Mojolicious-7.29/blib/arch
/home/cpan/pit/thr/conf/perl-5.10.1/.cpanplus/5.10.1/build/oBH_EmQvdy/Mojolicious-Plugin-JSUrlFor-Angular-0.18/blib/lib
/home/cpan/pit/thr/conf/perl-5.10.1/.cpanplus/5.10.1/build/oBH_EmQvdy/Mojolicious-Plugin-JSUrlFor-Angular-0.18/blib/arch
/home/cpan/pit/thr/perl-5.10.1/lib/5.10.1/amd64-netbsd-thread-multi
/home/cpan/pit/thr/perl-5.10.1/lib/5.10.1
/home/cpan/pit/thr/perl-5.10.1/lib/site_perl/5.10.1/amd64-netbsd-thread-multi
/home/cpan/pit/thr/perl-5.10.1/lib/site_perl/5.10.1
.