Config-JSON-Enhanced v0.10 Perl 5 v5.28.3 x86_64-linux-thread-multi

Status
Pass
From
Nigel Horne
Dist
Config-JSON-Enhanced v0.10
Platform
Perl 5 v5.28.3 x86_64-linux-thread-multi
Date
2025-05-04 06:27:53
ID
e8e0a868-28b0-11f0-a6db-f3e4ac3d812b
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 Andreas Hadjiprocopis,

This is a computer-generated report for Config-JSON-Enhanced-0.10
on perl 5.28.3, created by CPAN-Reporter-1.2018.

Thank you for uploading your work to CPAN.  Congratulations!
All tests were successful.

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/smoker/perl5/perlbrew/perls/perl-5.28.3-thread/bin/perl5.28.3" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
# Testing Config::JSON::Enhanced 0.10, Perl 5.028003, /home/smoker/perl5/perlbrew/perls/perl-5.28.3-thread/bin/perl5.28.3
t/000-load.t ........................................... ok
t/010-config2perl-simple.t ............................. ok
t/030-config2perl-simple-utf8.t ........................ ok
t/060-config2perl-complex.t ............................ ok
t/070-config2perl-complex-utf8.t ....................... ok
json2perl() :  error, call to json2perl() has failed with this exception: malformed JSON string, neither tag, array, object, number, string or atom, at character offset 51 (before "<%begin-verbatim-sec...") at /home/smoker/.cpan/build/Data-Roundtrip-0.29-0/blib/lib/Data/Roundtrip.pm line 253.
:
  {
    "long bash script" : ["/usr/bin/bash",
    <%begin-verbatim-section%>
    pushd . &> /dev/null
    echo "My 'appdir' is \"/home/smoker/.cpan/build/Config-JSON-Enhanced-0.10-0/t\""
    echo "My current dir: " $(echo $PWD) " and bye"
    popd &> /dev/null
    ],
    
    "expected result" : "42"
  }


Config::JSON::Enhanced::config2perl() (line 214) : error, call to Data::Roundtrip::json2perl() has failed for above json string and comments style 'C,CPP'. at /home/smoker/.cpan/build/Config-JSON-Enhanced-0.10-0/blib/lib/Config/JSON/Enhanced.pm line 214.
t/090-config2perl-failed-verbatim.t .................... ok
# $VAR1 = {
#   "b" => "i am a verbatim section:\nhehehe\n</* this must remain */>\nand goodbye from verbatim section.",
#   "a" => "hello ***"
# };
# $VAR1 = {
#   "a" => "hello hahaha",
#   "b" => "i am a verbatim section:\n***\n\\* this must remain *\\\nand goodbye from verbatim section."
# };
# $VAR1 = {
#   "a" => "hello hahaha",
#   "b" => "i am a verbatim section:\n+++\n/*/+/? this must remain ?/+/*/\nand goodbye from verbatim section."
# };
# $VAR1 = {
#   "b" => "i am a verbatim section:\n{\n--- this must remain +++\nand goodbye from verbatim section.",
#   "a" => "hello }"
# };
t/100-tags-for-comments-and-verbatim-and-variables.t ... ok
t/110-config2perl-dont-remove-comments-from-strings.t .. ok
t/130-config2perl-remove-comments-from-strings.t ....... ok
t/150-config2perl-comments-in-verbatim-section.t ....... ok
t/250-custom-tags.t .................................... ok
Config::JSON::Enhanced::configfile2perl() (line 80) : error, there is a clash (exact match) with verbatim/variable tags ('<:*' and '*:>') and comment tags ('<:*' and '*:>'). at /home/smoker/.cpan/build/Config-JSON-Enhanced-0.10-0/blib/lib/Config/JSON/Enhanced.pm line 80.
Config::JSON::Enhanced::configfile2perl() (line 80) : error, there is a clash (exact match) with verbatim/variable tags ('<:*' and '*:>!!') and comment tags ('<:*' and '!!*:>'). at /home/smoker/.cpan/build/Config-JSON-Enhanced-0.10-0/blib/lib/Config/JSON/Enhanced.pm line 80.
Config::JSON::Enhanced::configfile2perl() (line 80) : error, there is a clash (exact match) with verbatim/variable tags ('*:>' and 'xxx') and comment tags ('<:*' and '*:>'). at /home/smoker/.cpan/build/Config-JSON-Enhanced-0.10-0/blib/lib/Config/JSON/Enhanced.pm line 80.
Config::JSON::Enhanced::configfile2perl() (line 69) : error, input parameter 'tags' must be an ARRAYref of exactly 2 items and not a ''. at /home/smoker/.cpan/build/Config-JSON-Enhanced-0.10-0/blib/lib/Config/JSON/Enhanced.pm line 69.
Config::JSON::Enhanced::configfile2perl() (line 84) : error, there is a clash (one contains the other) with verbatim/variable tags ('<<<:*>>' and 'xxx') and comment tags ('<:*' and '*:>'). at /home/smoker/.cpan/build/Config-JSON-Enhanced-0.10-0/blib/lib/Config/JSON/Enhanced.pm line 84.
Config::JSON::Enhanced::configfile2perl() (line 84) : error, there is a clash (one contains the other) with verbatim/variable tags ('xxx' and '<<<*:>>>>') and comment tags ('<:*' and '*:>'). at /home/smoker/.cpan/build/Config-JSON-Enhanced-0.10-0/blib/lib/Config/JSON/Enhanced.pm line 84.
Config::JSON::Enhanced::configfile2perl() (line 84) : error, there is a clash (one contains the other) with verbatim/variable tags ('<<<:*>>' and 'xxx') and comment tags ('<:*' and '*:>'). at /home/smoker/.cpan/build/Config-JSON-Enhanced-0.10-0/blib/lib/Config/JSON/Enhanced.pm line 84.
Config::JSON::Enhanced::configfile2perl() (line 87) : error, there is a clash (one contains the other) with verbatim/variable tags ('<:*' and '*:>') and comment tags ('xxx' and '<<<*:>>>>'). at /home/smoker/.cpan/build/Config-JSON-Enhanced-0.10-0/blib/lib/Config/JSON/Enhanced.pm line 87.
t/300-tags-clashing.t .................................. ok
Use of uninitialized value $av in substitution iterator at /home/smoker/.cpan/build/Config-JSON-Enhanced-0.10-0/blib/lib/Config/JSON/Enhanced.pm line 110.
t/800-config2perl-pod-synopsis.t ....................... ok
# $VAR1 = {
#   "long bash script" => [
#     "/usr/bin/bash",
#     "# save current dir, this comment remains\npushd . &> /dev/null\n# following quotes will be escaped\necho \"My 'appdir' is \\\"/home/smoker/.cpan/build/Config-JSON-Enhanced-0.10-0/t\\\"\"\necho \"My current dir: \" \$(echo \$PWD) \" and bye\"\n# go back to initial dir, this comment remains\npopd &> /dev/null"
#   ],
#   "expected result" => 42
# };
t/810-config2perl-pod.t ................................ ok
t/manifest.t ........................................... skipped: Author tests not required for installation
t/200-commentstyle.t ................................... ok
t/pod.t ................................................ skipped: Author tests not required for installation
t/pod-coverage.t ....................................... skipped: Author tests not required for installation
All tests successful.
Files=18, Tests=7128, 10 wallclock secs ( 1.62 usr  0.15 sys + 13.34 cusr  3.61 csys = 18.72 CPU)
Result: PASS

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

Prerequisite modules loaded:

requires:

    Module              Need  Have    
    ------------------- ----- --------
    Data::Roundtrip     0.16  0.29    
    perl                5.006 5.028003

build_requires:

    Module              Need  Have    
    ------------------- ----- --------
    Cwd                 0     3.75    
    ExtUtils::MakeMaker 0     7.44    
    File::Spec          0     3.75    
    File::Temp          0     0.2309  
    FindBin             0     1.51    
    Test2::Plugin::UTF8 0     0.000130
    Test::More          0     1.302175

configure_requires:

    Module              Need  Have    
    ------------------- ----- --------
    ExtUtils::MakeMaker 6.64  7.44    


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

Environment variables:

    AUTOMATED_TESTING = 1
    HARNESS_OPTIONS = c:j2
    PATH = /home/smoker/perl5/perlbrew/bin:/home/smoker/perl5/perlbrew/perls/perl-5.28.3-thread/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:
    PERL5LIB = /home/smoker/.cpan/build/Data-Roundtrip-0.29-0/blib/arch:/home/smoker/.cpan/build/Data-Roundtrip-0.29-0/blib/lib:/home/smoker/.cpan/build/YAML-PP-v0.39.0-0/blib/arch:/home/smoker/.cpan/build/YAML-PP-v0.39.0-0/blib/lib:/home/smoker/.cpan/build/Unicode-Escape-0.0.2-0/blib/arch:/home/smoker/.cpan/build/Unicode-Escape-0.0.2-0/blib/lib:/home/smoker/.cpan/build/Unicode-String-2.10-0/blib/arch:/home/smoker/.cpan/build/Unicode-String-2.10-0/blib/lib:/home/smoker/.cpan/build/Test-Script-1.29-0/blib/arch:/home/smoker/.cpan/build/Test-Script-1.29-0/blib/lib:/home/smoker/.cpan/build/Data-Random-Structure-UTF8-0.06-0/blib/arch:/home/smoker/.cpan/build/Data-Random-Structure-UTF8-0.06-0/blib/lib:/home/smoker/.cpan/build/Data-Random-Structure-0.01-0/blib/arch:/home/smoker/.cpan/build/Data-Random-Structure-0.01-0/blib/lib:/home/smoker/.cpan/build/Data-Random-0.13-0/blib/arch:/home/smoker/.cpan/build/Data-Random-0.13-0/blib/lib:/home/smoker/.cpan/build/File-Fetch-1.08-0/blib/arch:/home/smoker/.cpan/build/File-Fetch-1.08-0/blib/lib:/home/smoker/.cpan/build/Devel-PatchPerl-2.12-0/blib/arch:/home/smoker/.cpan/build/Devel-PatchPerl-2.12-0/blib/lib
    PERL5OPT = 
    PERL5_CPANPLUS_IS_RUNNING = 30
    PERL5_CPAN_IS_RUNNING = 30
    PERL5_CPAN_IS_RUNNING_IN_RECURSION = 1,30
    PERLBREW_HOME = /home/smoker/.perlbrew
    PERLBREW_MANPATH = /home/smoker/perl5/perlbrew/perls/perl-5.28.3-thread/man
    PERLBREW_PATH = /home/smoker/perl5/perlbrew/bin:/home/smoker/perl5/perlbrew/perls/perl-5.28.3-thread/bin
    PERLBREW_PERL = perl-5.28.3-thread
    PERLBREW_ROOT = /home/smoker/perl5/perlbrew
    PERLBREW_SHELLRC_VERSION = 0.88
    PERLBREW_VERSION = 0.88
    PERL_USE_UNSAFE_INC = 1
    SHELL = /bin/bash
    TERM = xterm
    TMPDIR = /tmp/testwrapper.17

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

    $^X = /home/smoker/perl5/perlbrew/perls/perl-5.28.3-thread/bin/perl5.28.3
    $UID/$EUID = 1000 / 1000
    $GID = 1000 1000
    $EGID = 1000 1000

Perl module toolchain versions installed:

    Module              Have    
    ------------------- --------
    CPAN                2.20    
    CPAN::Meta          2.150010
    Cwd                 3.75    
    ExtUtils::CBuilder  0.280230
    ExtUtils::Command   7.44    
    ExtUtils::Install   2.14    
    ExtUtils::MakeMaker 7.44    
    ExtUtils::Manifest  1.70    
    ExtUtils::ParseXS   3.39    
    File::Spec          3.75    
    JSON                4.02    
    JSON::PP            2.97001 
    Module::Build       0.4231  
    Module::Signature   n/a     
    Parse::CPAN::Meta   2.150010
    Test::Harness       3.42    
    Test::More          1.302175
    YAML                1.30    
    YAML::Syck          1.32    
    version             0.9923  


--

Summary of my perl5 (revision 5 version 28 subversion 3) configuration:
   
  Platform:
    osname=linux
    osvers=5.3.0-1024-oracle
    archname=x86_64-linux-thread-multi
    uname='linux 3b45f4f551e0 5.3.0-1024-oracle #26~18.04.1-ubuntu smp sat jun 6 00:41:22 utc 2020 x86_64 gnulinux '
    config_args='-de -Dprefix=/home/smoker/perl5/perlbrew/perls/perl-5.28.3-thread -Dusedevel -Dusethreads -Accflags=-O2 -pipe -Wall -Wextra -mtune=native -march=native -Aeval:scriptdir=/home/smoker/perl5/perlbrew/perls/perl-5.28.3-thread/bin'
    hint=recommended
    useposix=true
    d_sigaction=define
    useithreads=define
    usemultiplicity=define
    use64bitint=define
    use64bitall=define
    uselongdouble=undef
    usemymalloc=n
    default_inc_excludes_dot=define
    bincompat5005=undef
  Compiler:
    cc='cc'
    ccflags ='-D_REENTRANT -D_GNU_SOURCE -O2 -pipe -Wall -Wextra -mtune=native -march=native -fwrapv -fno-strict-aliasing -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2'
    optimize='-O2'
    cppflags='-D_REENTRANT -D_GNU_SOURCE -O2 -pipe -Wall -Wextra -mtune=native -march=native -fwrapv -fno-strict-aliasing -fstack-protector-strong -I/usr/local/include'
    ccversion=''
    gccversion='8.3.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/8/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.28.so
    so=so
    useshrplib=false
    libperl=libperl.a
    gnulibc_version='2.28'
  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-strong'


Characteristics of this binary (from libperl): 
  Compile-time options:
    HAS_TIMES
    MULTIPLICITY
    PERLIO_LAYERS
    PERL_COPY_ON_WRITE
    PERL_DONT_CREATE_GVSV
    PERL_IMPLICIT_CONTEXT
    PERL_MALLOC_WRAP
    PERL_OP_PARENT
    PERL_PRESERVE_IVUV
    PERL_USE_DEVEL
    USE_64_BIT_ALL
    USE_64_BIT_INT
    USE_ITHREADS
    USE_LARGE_FILES
    USE_LOCALE
    USE_LOCALE_COLLATE
    USE_LOCALE_CTYPE
    USE_LOCALE_NUMERIC
    USE_LOCALE_TIME
    USE_PERLIO
    USE_PERL_ATOF
    USE_REENTRANT_API
  Locally applied patches:
    Devel::PatchPerl 2.00
  Built under linux
  Compiled at Jun 11 2020 17:46:52
  %ENV:
    PERL5LIB="/home/smoker/.cpan/build/Data-Roundtrip-0.29-0/blib/arch:/home/smoker/.cpan/build/Data-Roundtrip-0.29-0/blib/lib:/home/smoker/.cpan/build/YAML-PP-v0.39.0-0/blib/arch:/home/smoker/.cpan/build/YAML-PP-v0.39.0-0/blib/lib:/home/smoker/.cpan/build/Unicode-Escape-0.0.2-0/blib/arch:/home/smoker/.cpan/build/Unicode-Escape-0.0.2-0/blib/lib:/home/smoker/.cpan/build/Unicode-String-2.10-0/blib/arch:/home/smoker/.cpan/build/Unicode-String-2.10-0/blib/lib:/home/smoker/.cpan/build/Test-Script-1.29-0/blib/arch:/home/smoker/.cpan/build/Test-Script-1.29-0/blib/lib:/home/smoker/.cpan/build/Data-Random-Structure-UTF8-0.06-0/blib/arch:/home/smoker/.cpan/build/Data-Random-Structure-UTF8-0.06-0/blib/lib:/home/smoker/.cpan/build/Data-Random-Structure-0.01-0/blib/arch:/home/smoker/.cpan/build/Data-Random-Structure-0.01-0/blib/lib:/home/smoker/.cpan/build/Data-Random-0.13-0/blib/arch:/home/smoker/.cpan/build/Data-Random-0.13-0/blib/lib:/home/smoker/.cpan/build/File-Fetch-1.08-0/blib/arch:/home/smoker/.cpan/build/File-Fetch-1.08-0/blib/lib:/home/smoker/.cpan/build/Devel-PatchPerl-2.12-0/blib/arch:/home/smoker/.cpan/build/Devel-PatchPerl-2.12-0/blib/lib"
    PERL5OPT=""
    PERL5_CPANPLUS_IS_RUNNING="30"
    PERL5_CPAN_IS_RUNNING="30"
    PERL5_CPAN_IS_RUNNING_IN_RECURSION="1,30"
    PERLBREW_HOME="/home/smoker/.perlbrew"
    PERLBREW_MANPATH="/home/smoker/perl5/perlbrew/perls/perl-5.28.3-thread/man"
    PERLBREW_PATH="/home/smoker/perl5/perlbrew/bin:/home/smoker/perl5/perlbrew/perls/perl-5.28.3-thread/bin"
    PERLBREW_PERL="perl-5.28.3-thread"
    PERLBREW_ROOT="/home/smoker/perl5/perlbrew"
    PERLBREW_SHELLRC_VERSION="0.88"
    PERLBREW_VERSION="0.88"
    PERL_USE_UNSAFE_INC="1"
  @INC:
    /home/smoker/.cpan/build/Data-Roundtrip-0.29-0/blib/arch
    /home/smoker/.cpan/build/Data-Roundtrip-0.29-0/blib/lib
    /home/smoker/.cpan/build/YAML-PP-v0.39.0-0/blib/arch
    /home/smoker/.cpan/build/YAML-PP-v0.39.0-0/blib/lib
    /home/smoker/.cpan/build/Unicode-Escape-0.0.2-0/blib/arch
    /home/smoker/.cpan/build/Unicode-Escape-0.0.2-0/blib/lib
    /home/smoker/.cpan/build/Unicode-String-2.10-0/blib/arch
    /home/smoker/.cpan/build/Unicode-String-2.10-0/blib/lib
    /home/smoker/.cpan/build/Test-Script-1.29-0/blib/arch
    /home/smoker/.cpan/build/Test-Script-1.29-0/blib/lib
    /home/smoker/.cpan/build/Data-Random-Structure-UTF8-0.06-0/blib/arch
    /home/smoker/.cpan/build/Data-Random-Structure-UTF8-0.06-0/blib/lib
    /home/smoker/.cpan/build/Data-Random-Structure-0.01-0/blib/arch
    /home/smoker/.cpan/build/Data-Random-Structure-0.01-0/blib/lib
    /home/smoker/.cpan/build/Data-Random-0.13-0/blib/arch
    /home/smoker/.cpan/build/Data-Random-0.13-0/blib/lib
    /home/smoker/.cpan/build/File-Fetch-1.08-0/blib/arch
    /home/smoker/.cpan/build/File-Fetch-1.08-0/blib/lib
    /home/smoker/.cpan/build/Devel-PatchPerl-2.12-0/blib/arch
    /home/smoker/.cpan/build/Devel-PatchPerl-2.12-0/blib/lib
    /home/smoker/perl5/perlbrew/perls/perl-5.28.3-thread/lib/site_perl/5.28.3/x86_64-linux-thread-multi
    /home/smoker/perl5/perlbrew/perls/perl-5.28.3-thread/lib/site_perl/5.28.3
    /home/smoker/perl5/perlbrew/perls/perl-5.28.3-thread/lib/5.28.3/x86_64-linux-thread-multi
    /home/smoker/perl5/perlbrew/perls/perl-5.28.3-thread/lib/5.28.3
    .