JavaScript-Writer v0.3.1 Perl 5 v5.24.2 x86_64-linux

Status
Fail
From
Andreas J. König (ANDK)
Dist
JavaScript-Writer v0.3.1
Platform
Perl 5 v5.24.2 x86_64-linux
Date
2017-11-04 01:37:11
ID
ad61d296-c100-11e7-8e45-d4eb44a5f078
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 Liu Kang Min,

This is a computer-generated report for JavaScript-Writer-0.3.1
on perl 5.24.2, created by CPAN-Reporter-1.2018.

Thank you for uploading your work to CPAN.  However, there was a problem
testing your distribution.

If you think this report is invalid, please consult the CPAN Testers Wiki
for suggestions on how to avoid getting FAIL reports for missing library
or binary dependencies, unsupported operating systems, and so on:

http://wiki.cpantesters.org/wiki/CPANAuthorNotes

Sections of this report:

    * Tester comments
    * Program output
    * Prerequisites
    * Environment and other context

------------------------------
TESTER COMMENTS
------------------------------

Additional comments from tester:

this report is from an automated smoke testing program
and was not reviewed by a human for accuracy

------------------------------
PROGRAM OUTPUT
------------------------------

Output from '/usr/bin/make test':

PERL_DL_NONLAZY=1 "/home/sand/src/perl/repoperls/installed-perls/host/k93msid/v5.24.2/89ad/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/*.t
# Testing JavaScript::Writer 0.3.1
t/00.load.t ............. ok
t/01.simple.t ........... ok
t/02.overload.t ......... ok
t/03.autoload.t ......... ok
t/04.tie.t .............. ok
t/05.object.t ........... ok
t/06.call_chain.t ....... ok
t/07.function_writer.t .. ok
t/08.var_writer.t ....... ok
t/09.while.t ............ ok
t/10.helper.t ........... ok
t/100.jquery.t .......... ok
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/<script id="(javascript-writer-\d+-\d+)" type="text/javascript">;\(function\(\){ <-- HERE alert\(42\)\;setTimeout\(function\(\)\{alert\(\"Hi\"\)\;\}\,42\)\;}\).call\(document.getElementById\('\1'\)\);</script>/ at t/11.closure.t line 19.
t/11.closure.t .......... ok
t/12.var.t .............. ok
t/13.obj_as_string.t .... ok

#   Failed test at t/200.new_wave.t line 93.
#          got: 'var b = 3;var a = "foo";'
#     expected: 'var a = "foo";var b = 3;'
# Looks like you failed 1 test of 11.
t/200.new_wave.t ........ 
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/11 subtests 
t/50.function.t ......... ok
Variable "$self" is not imported at t/lib/Test/WithJE.pm line 13.
	(Did you mean &self instead?)
Variable "$self" is not imported at t/lib/Test/WithJE.pm line 14.
	(Did you mean &self instead?)
Variable "$self" is not imported at t/lib/Test/WithJE.pm line 15.
	(Did you mean &self instead?)
Variable "$self" is not imported at t/lib/Test/WithJE.pm line 17.
	(Did you mean &self instead?)
Variable "$self" is not imported at t/lib/Test/WithJE.pm line 31.
	(Did you mean &self instead?)
Variable "$self" is not imported at t/lib/Test/WithJE.pm line 37.
	(Did you mean &self instead?)
Global symbol "$self" requires explicit package name (did you forget to declare "my $self"?) at t/lib/Test/WithJE.pm line 13.
Global symbol "$self" requires explicit package name (did you forget to declare "my $self"?) at t/lib/Test/WithJE.pm line 14.
Global symbol "$self" requires explicit package name (did you forget to declare "my $self"?) at t/lib/Test/WithJE.pm line 15.
Global symbol "$self" requires explicit package name (did you forget to declare "my $self"?) at t/lib/Test/WithJE.pm line 17.
Global symbol "$self" requires explicit package name (did you forget to declare "my $self"?) at t/lib/Test/WithJE.pm line 31.
Global symbol "$self" requires explicit package name (did you forget to declare "my $self"?) at t/lib/Test/WithJE.pm line 37.
Compilation failed in require at t/500.je.t line 8.
BEGIN failed--compilation aborted at t/500.je.t line 8.
t/500.je.t .............. 
Dubious, test returned 255 (wstat 65280, 0xff00)
No subtests run 
t/51.control.t .......... ok

Test Summary Report
-------------------
t/200.new_wave.t      (Wstat: 256 Tests: 11 Failed: 1)
  Failed test:  9
  Non-zero exit status: 1
t/500.je.t            (Wstat: 65280 Tests: 0 Failed: 0)
  Non-zero exit status: 255
  Parse errors: No plan found in TAP output
Files=19, Tests=72,  6 wallclock secs ( 0.05 usr  0.11 sys +  1.92 cusr  0.55 csys =  2.63 CPU)
Result: FAIL
Failed 2/19 test programs. 1/72 subtests failed.
Makefile:800: recipe for target 'test_dynamic' failed
make: *** [test_dynamic] Error 255

------------------------------
PREREQUISITES
------------------------------

Prerequisite modules loaded:

requires:

    Module                Need  Have    
    --------------------- ----- --------
    Class::Accessor::Fast 0     0.34    
    JSON::Syck            0     1.30    
    perl                  5.008 5.024002
    self                  0.32  0.35    

build_requires:

    Module                Need  Have    
    --------------------- ----- --------
    ExtUtils::MakeMaker   6.42  7.31_04 
    JE                    0.021 0.066   
    Test::Class           0     0.50    
    Test::More            0.42  1.302106

configure_requires:

    Module                Need  Have    
    --------------------- ----- --------
    ExtUtils::MakeMaker   6.42  7.31_04 


------------------------------
ENVIRONMENT AND OTHER CONTEXT
------------------------------

Environment variables:

    AUTOMATED_TESTING = 1
    LANG = en_US.UTF-8
    PATH = /home/sand/bin:/usr/local/bin:/usr/bin:/bin:/usr/games:/usr/local/perl/bin:/usr/X11/bin:/sbin:/usr/sbin
    PERL5LIB = /tmp/loop_over_bdir-7384-EPfqRl/self-0.35-0/blib/arch:/tmp/loop_over_bdir-7384-EPfqRl/self-0.35-0/blib/lib:/tmp/loop_over_bdir-7384-EPfqRl/B-OPCheck-0.32-0/blib/arch:/tmp/loop_over_bdir-7384-EPfqRl/B-OPCheck-0.32-0/blib/lib:/tmp/loop_over_bdir-7384-EPfqRl/B-Hooks-Parser-0.19-0/blib/arch:/tmp/loop_over_bdir-7384-EPfqRl/B-Hooks-Parser-0.19-0/blib/lib:/tmp/loop_over_bdir-7384-EPfqRl/JE-0.066-0/blib/arch:/tmp/loop_over_bdir-7384-EPfqRl/JE-0.066-0/blib/lib
    PERL5OPT = 
    PERL5_CPANPLUS_IS_RUNNING = 7399
    PERL5_CPAN_IS_RUNNING = 7399
    PERL5_CPAN_IS_RUNNING_IN_RECURSION = 16107,7399
    PERL_CANARY_STABILITY_NOPROMPT = 1
    PERL_MM_USE_DEFAULT = 1
    PERL_USE_UNSAFE_INC = 1
    SHELL = /usr/bin/zsh
    TERM = screen

Perl special variables (and OS-specific diagnostics, for MSWin32):

    $^X = /home/sand/src/perl/repoperls/installed-perls/host/k93msid/v5.24.2/89ad/bin/perl
    $UID/$EUID = 1005 / 1005
    $GID = 1005 1005
    $EGID = 1005 1005

Perl module toolchain versions installed:

    Module              Have    
    ------------------- --------
    CPAN                2.18    
    CPAN::Meta          2.150010
    Cwd                 3.63_01 
    ExtUtils::CBuilder  0.280226
    ExtUtils::Command   7.31_04 
    ExtUtils::Install   2.06    
    ExtUtils::MakeMaker 7.31_04 
    ExtUtils::Manifest  1.70    
    ExtUtils::ParseXS   3.31    
    File::Spec          3.63_01 
    JSON                2.94    
    JSON::PP            2.94    
    Module::Build       0.4224  
    Module::Signature   0.81    
    Parse::CPAN::Meta   2.150010
    Test::Harness       3.39    
    Test::More          1.302106
    YAML                1.23    
    YAML::Syck          1.30    
    version             0.9916  


--

Summary of my perl5 (revision 5 version 24 subversion 2) configuration:
  Derived from: eb3b805818a89c08b5564d383beddf70f69af1a3
  Platform:
    osname=linux, osvers=4.12.0-2-amd64, archname=x86_64-linux
    uname='linux k93msid 4.12.0-2-amd64 #1 smp debian 4.12.13-1 (2017-09-19) x86_64 gnulinux '
    config_args='-Dprefix=/home/sand/src/perl/repoperls/installed-perls/host/k93msid/v5.24.2/89ad -Dmyhostname=k93msid -Dinstallusrbinperl=n -Uversiononly -Dusedevel -des -Ui_db -Dlibswanted=cl pthread socket inet nsl gdbm dbm malloc dl ld sun m crypt sec util c cposix posix ucb BSD gdbm_compat -Uuseithreads -Uuselongdouble -DDEBUGGING=-g'
    hint=recommended, useposix=true, d_sigaction=define
    useithreads=undef, usemultiplicity=undef
    use64bitint=define, use64bitall=define, uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='cc', ccflags ='-fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
    optimize='-O2 -g',
    cppflags='-fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include'
    ccversion='', gccversion='7.2.0', gccosandvers=''
    intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678, doublekind=3
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16, longdblkind=3
    ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
    alignbytes=8, prototype=define
  Linker and Libraries:
    ld='cc', ldflags =' -fstack-protector-strong -L/usr/local/lib'
    libpth=/usr/local/lib /usr/lib/gcc/x86_64-linux-gnu/7/include-fixed /usr/include/x86_64-linux-gnu /usr/lib /lib/x86_64-linux-gnu /lib/../lib /usr/lib/x86_64-linux-gnu /usr/lib/../lib /lib
    libs=-lpthread -lnsl -ldl -lm -lcrypt -lutil -lc
    perllibs=-lpthread -lnsl -ldl -lm -lcrypt -lutil -lc
    libc=libc-2.24.so, so=so, useshrplib=false, libperl=libperl.a
    gnulibc_version='2.24'
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
    cccdlflags='-fPIC', lddlflags='-shared -O2 -g -L/usr/local/lib -fstack-protector-strong'


Characteristics of this binary (from libperl): 
  Compile-time options: HAS_TIMES PERLIO_LAYERS PERL_COPY_ON_WRITE
                        PERL_DONT_CREATE_GVSV
                        PERL_HASH_FUNC_ONE_AT_A_TIME_HARD PERL_MALLOC_WRAP
                        PERL_PRESERVE_IVUV PERL_USE_DEVEL USE_64_BIT_ALL
                        USE_64_BIT_INT USE_LARGE_FILES USE_LOCALE
                        USE_LOCALE_COLLATE USE_LOCALE_CTYPE
                        USE_LOCALE_NUMERIC USE_LOCALE_TIME USE_PERLIO
                        USE_PERL_ATOF
  Locally applied patches:
	uncommitted-changes
  Built under linux
  Compiled at Oct  2 2017 07:43:57
  %ENV:
    PERL5LIB="/tmp/loop_over_bdir-7384-EPfqRl/self-0.35-0/blib/arch:/tmp/loop_over_bdir-7384-EPfqRl/self-0.35-0/blib/lib:/tmp/loop_over_bdir-7384-EPfqRl/B-OPCheck-0.32-0/blib/arch:/tmp/loop_over_bdir-7384-EPfqRl/B-OPCheck-0.32-0/blib/lib:/tmp/loop_over_bdir-7384-EPfqRl/B-Hooks-Parser-0.19-0/blib/arch:/tmp/loop_over_bdir-7384-EPfqRl/B-Hooks-Parser-0.19-0/blib/lib:/tmp/loop_over_bdir-7384-EPfqRl/JE-0.066-0/blib/arch:/tmp/loop_over_bdir-7384-EPfqRl/JE-0.066-0/blib/lib"
    PERL5OPT=""
    PERL5_CPANPLUS_IS_RUNNING="7399"
    PERL5_CPAN_IS_RUNNING="7399"
    PERL5_CPAN_IS_RUNNING_IN_RECURSION="16107,7399"
    PERL_CANARY_STABILITY_NOPROMPT="1"
    PERL_MM_USE_DEFAULT="1"
    PERL_USE_UNSAFE_INC="1"
  @INC:
    /tmp/loop_over_bdir-7384-EPfqRl/self-0.35-0/blib/arch
    /tmp/loop_over_bdir-7384-EPfqRl/self-0.35-0/blib/lib
    /tmp/loop_over_bdir-7384-EPfqRl/B-OPCheck-0.32-0/blib/arch
    /tmp/loop_over_bdir-7384-EPfqRl/B-OPCheck-0.32-0/blib/lib
    /tmp/loop_over_bdir-7384-EPfqRl/B-Hooks-Parser-0.19-0/blib/arch
    /tmp/loop_over_bdir-7384-EPfqRl/B-Hooks-Parser-0.19-0/blib/lib
    /tmp/loop_over_bdir-7384-EPfqRl/JE-0.066-0/blib/arch
    /tmp/loop_over_bdir-7384-EPfqRl/JE-0.066-0/blib/lib
    /home/sand/src/perl/repoperls/installed-perls/host/k93msid/v5.24.2/89ad/lib/site_perl/5.24.2/x86_64-linux
    /home/sand/src/perl/repoperls/installed-perls/host/k93msid/v5.24.2/89ad/lib/site_perl/5.24.2
    /home/sand/src/perl/repoperls/installed-perls/host/k93msid/v5.24.2/89ad/lib/5.24.2/x86_64-linux
    /home/sand/src/perl/repoperls/installed-perls/host/k93msid/v5.24.2/89ad/lib/5.24.2
    .