Config-JSON-Enhanced v0.06 Perl 5 v5.18.4 x86_64-linux

Status
Fail
From
Chris Williams (BINGOS)
Dist
Config-JSON-Enhanced v0.06
Platform
Perl 5 v5.18.4 x86_64-linux
Date
2023-10-02 04:25:12
ID
ad8f8e4e-60db-11ee-98b0-b3c3213a625c
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 BLIAKO,

This is a computer-generated error report created automatically by
CPANPLUS, version 0.9914. 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/bare/perl-5.18.4/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
# Testing Config::JSON::Enhanced 0.06, Perl 5.018004, /home/cpan/pit/bare/perl-5.18.4/bin/perl
t/000-load.t ........................................... ok
t/010-config2perl-simple.t ............................. ok
t/020-config2perl-complex.t ............................ ok
t/030-config2perl-complex-utf8.t ....................... ok
--begin content:
  {
    ___EJSTRING(0)___ : [___EJSTRING(1)___,
    <%begin-verbatim-section%>
    pushd . &> /dev/null
    echo ___EJSTRING(2)___
    echo ___EJSTRING(3)___ $(echo $PWD) ___EJSTRING(4)___
    popd &> /dev/null
    ],
    
    ___EJSTRING(5)___ : ___EJSTRING(6)___
  }

--end content.
Config::JSON::Enhanced::config2perl() (line 173) : warning, there may still be remains of templated variables in the specified content, see above what remained after all verbatime sections were removed. at /home/cpan/pit/bare/conf/perl-5.18.4/.cpanplus/5.18.4/build/7NllD2peOW/Config-JSON-Enhanced-0.06/blib/lib/Config/JSON/Enhanced.pm line 173.
json2perl() :  error, call to json2perl() has failed with this exception: malformed JSON string, neither array, object, number, string or atom, at character offset 51 (before "<%begin-verbatim-sec...") at /home/cpan/pit/jail/Ma0tmxuhhz/lib/perl5/Data/Roundtrip.pm line 218.
  {
    "long bash script" : ["/usr/bin/bash",
    <%begin-verbatim-section%>
    pushd . &> /dev/null
    echo "My 'appdir' is \"/home/cpan/pit/bare/conf/perl-5.18.4/.cpanplus/5.18.4/build/7NllD2peOW/Config-JSON-Enhanced-0.06/t\""
    echo "My current dir: " $(echo $PWD) " and bye"
    popd &> /dev/null
    ],
    
    "expected result" : "42"
  }


Config::JSON::Enhanced::config2perl() (line 192) : error, call to Data::Roundtrip::json2perl() has failed for above json string and comments style 'C,CPP'. at /home/cpan/pit/bare/conf/perl-5.18.4/.cpanplus/5.18.4/build/7NllD2peOW/Config-JSON-Enhanced-0.06/blib/lib/Config/JSON/Enhanced.pm line 192.
t/040-config2perl-failed-verbatim.t .................... ok
t/050-config2perl-dont-remove-comments-from-strings.t .. ok
t/060-config2perl-remove-comments-from-strings.t ....... ok

#   Failed test 'config2perl() : called and got correct CPP program contents'
#   at t/070-config2perl-comments-in-verbatim-section.t line 69.
#          got: '# save current dir
# pushd . &> /dev/null
# echo "My 'appdir' is \"/home/cpan/pit/bare/conf/perl-5.18.4/.cpanplus/5.18.4/build/7NllD2peOW/Config-JSON-Enhanced-0.06/t\""
# echo "My current dir: " $(echo $PWD) " and bye"
# # restore current dir
# popd &> /dev/null'
#     expected: '# save current dir
# pushd . &> /dev/null
# echo "My 'appdir' is \"/home/andreas/PROJECTS/CPAN/SUBMITTED/Config-JSON-Enhanced/t\""
# echo "My current dir: " $(echo $PWD) " and bye"
# # restore current dir
# popd &> /dev/null'
Bailout called.  Further testing stopped:  $VAR1 = {
t/070-config2perl-comments-in-verbatim-section.t ....... 
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 1/9 subtests 
FAILED--Further testing stopped: $VAR1 = {
make: *** [Makefile:876: test_dynamic] Error 255


PREREQUISITES:

Here is a list of prerequisites you specified and versions we
managed to load:

	  Module Name                        Have     Want
	  Cwd                                3.75        0
	  Data::Roundtrip                    0.18        0
	  ExtUtils::MakeMaker                7.70        0
	  File::Temp                       0.2311        0
	  FindBin                            1.51        0
	  Test2::Plugin::UTF8            0.000156        0
	  Test::More                     1.302195        0

Perl module toolchain versions installed:
	Module Name                        Have
	CPANPLUS                         0.9914
	CPANPLUS::Dist::Build              0.90
	Cwd                                3.75
	ExtUtils::CBuilder             0.280236
	ExtUtils::Command                  7.70
	ExtUtils::Install                  2.22
	ExtUtils::MakeMaker                7.70
	ExtUtils::Manifest                 1.75
	ExtUtils::ParseXS                  3.44
	File::Spec                         3.75
	Module::Build                    0.4234
	Pod::Parser                        1.60
	Pod::Simple                        3.28
	Test2                          1.302195
	Test::Harness                      3.44
	Test::More                     1.302195
	version                          0.9929

******************************** 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 1.08.
Powered by minismokebox version 0.68

CPANPLUS is prefering Build.PL

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

Environment variables:

    AUTOMATED_TESTING = 1
    LANG = C.UTF-8
    LC_COLLATE = C
    NONINTERACTIVE_TESTING = 1
    PATH = /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
    PERL5LIB = /home/cpan/pit/jail/Ma0tmxuhhz/lib/perl5:/home/cpan/pit/bare/conf/perl-5.18.4/.cpanplus/5.18.4/build/7NllD2peOW/Config-JSON-Enhanced-0.06/blib/lib:/home/cpan/pit/bare/conf/perl-5.18.4/.cpanplus/5.18.4/build/7NllD2peOW/Config-JSON-Enhanced-0.06/blib/arch
    PERL5_CPANPLUS_IS_RUNNING = 2611
    PERL5_CPANPLUS_IS_VERSION = 0.9914
    PERL5_MINISMOKEBOX = 0.68
    PERL5_YACSMOKE_BASE = /home/cpan/pit/bare/conf/perl-5.18.4
    PERL_EXTUTILS_AUTOINSTALL = --defaultdeps
    PERL_LOCAL_LIB_ROOT = /home/cpan/pit/jail/Ma0tmxuhhz
    PERL_MB_OPT = --install_base "/home/cpan/pit/jail/Ma0tmxuhhz"
    PERL_MM_OPT = INSTALL_BASE=/home/cpan/pit/jail/Ma0tmxuhhz
    PERL_MM_USE_DEFAULT = 1
    SHELL = /bin/bash
    TERM = screen

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

    Perl: $^X = /home/cpan/pit/bare/perl-5.18.4/bin/perl
    UID:  $<  = 1001
    EUID: $>  = 1001
    GID:  $(  = 1001 1001
    EGID: $)  = 1001 1001


-------------------------------


--

Summary of my perl5 (revision 5 version 18 subversion 4) configuration:
   
  Platform:
    osname=linux, osvers=5.10.16-0-lts, archname=x86_64-linux
    uname='linux agaric 5.10.16-0-lts #1-alpine smp wed, 17 feb 2021 08:17:06 utc x86_64 linux '
    config_args='-des -Dprefix=/home/cpan/pit/bare/perl-5.18.4'
    hint=recommended, useposix=true, d_sigaction=define
    useithreads=undef, usemultiplicity=undef
    useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
    use64bitint=define, use64bitall=define, uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='cc', ccflags ='-D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
    optimize='-O2',
    cppflags='-D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector'
    ccversion='', gccversion='10.2.1 20201203', 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 =' -fstack-protector -L/usr/local/lib'
    libpth=/usr/local/lib /lib/../lib /usr/lib/../lib /lib /usr/lib
    libs=-lgdbm -ldl -lm -lcrypt -lutil -lc -lgdbm_compat
    perllibs=-ldl -lm -lcrypt -lutil -lc
    libc=/usr/lib/libc.a, so=so, useshrplib=false, libperl=libperl.a
    gnulibc_version=''
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
    cccdlflags='-fPIC', lddlflags='-shared -O2 -L/usr/local/lib -fstack-protector'


Characteristics of this binary (from libperl): 
  Compile-time options: HAS_TIMES PERLIO_LAYERS PERL_DONT_CREATE_GVSV
                        PERL_HASH_FUNC_ONE_AT_A_TIME_HARD PERL_MALLOC_WRAP
                        PERL_PRESERVE_IVUV PERL_SAWAMPERSAND USE_64_BIT_ALL
                        USE_64_BIT_INT USE_LARGE_FILES USE_LOCALE
                        USE_LOCALE_COLLATE USE_LOCALE_CTYPE
                        USE_LOCALE_NUMERIC USE_PERLIO USE_PERL_ATOF
  Locally applied patches:
	Devel::PatchPerl 2.08
  Built under linux
  Compiled at Mar 12 2021 01:16:14
  %ENV:
    PERL5LIB="/home/cpan/pit/jail/Ma0tmxuhhz/lib/perl5:/home/cpan/pit/bare/conf/perl-5.18.4/.cpanplus/5.18.4/build/7NllD2peOW/Config-JSON-Enhanced-0.06/blib/lib:/home/cpan/pit/bare/conf/perl-5.18.4/.cpanplus/5.18.4/build/7NllD2peOW/Config-JSON-Enhanced-0.06/blib/arch"
    PERL5_CPANPLUS_IS_RUNNING="2611"
    PERL5_CPANPLUS_IS_VERSION="0.9914"
    PERL5_MINISMOKEBOX="0.68"
    PERL5_YACSMOKE_BASE="/home/cpan/pit/bare/conf/perl-5.18.4"
    PERL_EXTUTILS_AUTOINSTALL="--defaultdeps"
    PERL_LOCAL_LIB_ROOT="/home/cpan/pit/jail/Ma0tmxuhhz"
    PERL_MB_OPT="--install_base "/home/cpan/pit/jail/Ma0tmxuhhz""
    PERL_MM_OPT="INSTALL_BASE=/home/cpan/pit/jail/Ma0tmxuhhz"
    PERL_MM_USE_DEFAULT="1"
  @INC:
    /home/cpan/pit/jail/Ma0tmxuhhz/lib/perl5/5.18.4/x86_64-linux
    /home/cpan/pit/jail/Ma0tmxuhhz/lib/perl5/5.18.4
    /home/cpan/pit/jail/Ma0tmxuhhz/lib/perl5/x86_64-linux
    /home/cpan/pit/jail/Ma0tmxuhhz/lib/perl5
    /home/cpan/pit/bare/conf/perl-5.18.4/.cpanplus/5.18.4/build/7NllD2peOW/Config-JSON-Enhanced-0.06/blib/lib
    /home/cpan/pit/bare/conf/perl-5.18.4/.cpanplus/5.18.4/build/7NllD2peOW/Config-JSON-Enhanced-0.06/blib/arch
    /home/cpan/pit/bare/perl-5.18.4/lib/site_perl/5.18.4/x86_64-linux
    /home/cpan/pit/bare/perl-5.18.4/lib/site_perl/5.18.4
    /home/cpan/pit/bare/perl-5.18.4/lib/5.18.4/x86_64-linux
    /home/cpan/pit/bare/perl-5.18.4/lib/5.18.4
    .