Config-JSON-Enhanced v0.09 Perl 5 v5.39.2 x86_64-linux

Status
Pass
From
Slaven Rezić
Dist
Config-JSON-Enhanced v0.09
Platform
Perl 5 v5.39.2 x86_64-linux
Date
2023-10-06 21:32:10
ID
ce6e6a06-648f-11ee-a8a6-d4f96d8775ea
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.09
on perl 5.39.2, created by CPAN-Reporter-1.2019.

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:

none provided

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

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

PERL_DL_NONLAZY=1 "/opt/perl-5.39.2/bin/perl5.39.2" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
# Testing Config::JSON::Enhanced 0.09, Perl 5.039002, /opt/perl-5.39.2/bin/perl5.39.2
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
--begin content:
  {
    ___my___EJSTRING(0)___my___ : [___my___EJSTRING(1)___my___,
    <%begin-verbatim-section%>
    pushd . &> /dev/null
    echo ___my___EJSTRING(2)___my___
    echo ___my___EJSTRING(3)___my___ $(echo $PWD) ___my___EJSTRING(4)___my___
    popd &> /dev/null
    ],
    
    ___my___EJSTRING(5)___my___ : ___my___EJSTRING(6)___my___
  }

--end content.
Config::JSON::Enhanced::config2perl() (line 196) : 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/cpansand/.cpan/build/2023100621/Config-JSON-Enhanced-0.09-2/blib/lib/Config/JSON/Enhanced.pm line 196.
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 /opt/perl-5.39.2/lib/site_perl/5.39.2/Data/Roundtrip.pm line 231.
  {
    "long bash script" : ["/usr/bin/bash",
    <%begin-verbatim-section%>
    pushd . &> /dev/null
    echo "My 'appdir' is \"/home/cpansand/.cpan/build/2023100621/Config-JSON-Enhanced-0.09-2/t\""
    echo "My current dir: " $(echo $PWD) " and bye"
    popd &> /dev/null
    ],
    
    "expected result" : "42"
  }


Config::JSON::Enhanced::config2perl() (line 215) : error, call to Data::Roundtrip::json2perl() has failed for above json string and comments style 'C,CPP'. at /home/cpansand/.cpan/build/2023100621/Config-JSON-Enhanced-0.09-2/blib/lib/Config/JSON/Enhanced.pm line 215.
t/090-config2perl-failed-verbatim.t .................... ok
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/200-commentstyle.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/cpansand/.cpan/build/2023100621/Config-JSON-Enhanced-0.09-2/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/cpansand/.cpan/build/2023100621/Config-JSON-Enhanced-0.09-2/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/cpansand/.cpan/build/2023100621/Config-JSON-Enhanced-0.09-2/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/cpansand/.cpan/build/2023100621/Config-JSON-Enhanced-0.09-2/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/cpansand/.cpan/build/2023100621/Config-JSON-Enhanced-0.09-2/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/cpansand/.cpan/build/2023100621/Config-JSON-Enhanced-0.09-2/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/cpansand/.cpan/build/2023100621/Config-JSON-Enhanced-0.09-2/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/cpansand/.cpan/build/2023100621/Config-JSON-Enhanced-0.09-2/blib/lib/Config/JSON/Enhanced.pm line 87.
t/300-tags-clashing.t .................................. ok
# $VAR1 = {"a" => "abc","c" => 12,"b" => [1,2,3]};
# $VAR1 = {"b" => 123,"a" => "This is a multiline\nstring\n\"quoted text\" and 'quoted like this also'\nwill be retained in the string escaped.\nComments like /* this */ or # this comment\nwill be removed.\nWhite space from beginning and end will be chomped."};
# $VAR1 = {"d" => [1,2,42],"username" => "eserte","configfile" => "/home/cpansand/.cpan/build/2023100621/Config-JSON-Enhanced-0.09-2/t/config/myapp.conf"};
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/cpansand/.cpan/build/2023100621/Config-JSON-Enhanced-0.09-2/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/pod-coverage.t ....................................... skipped: Author tests not required for installation
t/pod.t ................................................ skipped: Author tests not required for installation
All tests successful.
Files=18, Tests=7458,  3 wallclock secs ( 0.50 usr  0.08 sys +  2.60 cusr  0.41 csys =  3.59 CPU)
Result: PASS

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

Prerequisite modules loaded:

requires:

    Module              Need  Have    
    ------------------- ----- --------
    Data::Roundtrip     0     0.22    
    perl                5.006 5.039002

build_requires:

    Module              Need  Have    
    ------------------- ----- --------
    Cwd                 0     3.90    
    ExtUtils::MakeMaker 0     7.70    
    File::Spec          0     3.90    
    File::Temp          0     0.2311  
    FindBin             0     1.53    
    Test2::Plugin::UTF8 0     0.000156
    Test::More          0     1.302195

configure_requires:

    Module              Need  Have    
    ------------------- ----- --------
    ExtUtils::MakeMaker 0     7.70    


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

Environment variables:

    LANG = en_US.UTF-8
    PATH = /usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/cpansand/bin/linux-gnu:/home/cpansand/bin/sh:/home/cpansand/bin:/usr/games:/home/cpansand/devel:/home/eserte/src/srezic-misc/scripts
    PERL5LIB = 
    PERL5OPT = 
    PERL5_CPANPLUS_IS_RUNNING = 846364
    PERL5_CPAN_IS_RUNNING = 846364
    PERL5_CPAN_IS_RUNNING_IN_RECURSION = 839872,846364
    PERLDOC = -MPod::Perldoc::ToTextOverstrike
    PERL_BATCH = yes
    PERL_CANARY_STABILITY_NOPROMPT = 1
    PERL_CPAN_REPORTER_CONFIG = /var/tmp/cpansmoker-1023/2023100621/cpanreporter_000_config.ini
    PERL_EXTUTILS_AUTOINSTALL = --defaultdeps
    PERL_USE_UNSAFE_INC = 1
    SHELL = /usr/bin/zsh
    TERM = screen
    TMPDIR = /var/tmp/cpansmoker-1023/2023100621

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

    $^X = /opt/perl-5.39.2/bin/perl5.39.2
    $UID/$EUID = 1023 / 1023
    $GID = 1023 1023
    $EGID = 1023 1023

Perl module toolchain versions installed:

    Module              Have    
    ------------------- --------
    CPAN                2.36    
    CPAN::Meta          2.150010
    Cwd                 3.90    
    ExtUtils::CBuilder  0.280239
    ExtUtils::Command   7.70    
    ExtUtils::Install   2.22    
    ExtUtils::MakeMaker 7.70    
    ExtUtils::Manifest  1.75    
    ExtUtils::ParseXS   3.51    
    File::Spec          3.90    
    JSON                4.10    
    JSON::PP            4.16    
    Module::Build       0.4234  
    Module::Signature   0.88    
    Parse::CPAN::Meta   2.150010
    Test2               1.302195
    Test::Harness       3.48    
    Test::More          1.302195
    YAML                1.30    
    YAML::Syck          1.34    
    version             0.9930  


--

Summary of my perl5 (revision 5 version 39 subversion 2) configuration:
   
  Platform:
    osname=linux
    osvers=5.10.0-24-amd64
    archname=x86_64-linux
    uname='linux cloud7.bbbike.org 5.10.0-24-amd64 #1 smp debian 5.10.179-5 (2023-08-08) x86_64 gnulinux '
    config_args='-ds -e -Dprefix=/opt/perl-5.39.2 -Dusedevel -Dusemallocwrap=no -Dcf_email=srezic@cpan.org'
    hint=recommended
    useposix=true
    d_sigaction=define
    useithreads=undef
    usemultiplicity=undef
    use64bitint=define
    use64bitall=define
    uselongdouble=undef
    usemymalloc=n
    default_inc_excludes_dot=define
  Compiler:
    cc='cc'
    ccflags ='-fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2'
    optimize='-O2'
    cppflags='-fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include'
    ccversion=''
    gccversion='10.2.1 20210110'
    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/x86_64-linux-gnu /usr/lib /usr/lib64
    libs=-lpthread -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc
    perllibs=-lpthread -ldl -lm -lcrypt -lutil -lc
    libc=libc-2.31.so
    so=so
    useshrplib=false
    libperl=libperl.a
    gnulibc_version='2.31'
  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_LONG_DOUBLE
    HAS_STRTOLD
    HAS_TIMES
    PERLIO_LAYERS
    PERL_COPY_ON_WRITE
    PERL_DONT_CREATE_GVSV
    PERL_HASH_FUNC_SIPHASH13
    PERL_HASH_USE_SBOX32
    PERL_OP_PARENT
    PERL_PRESERVE_IVUV
    PERL_USE_DEVEL
    PERL_USE_SAFE_PUTENV
    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
  Built under linux
  Compiled at Aug 22 2023 19:24:06
  %ENV:
    PERL5LIB=""
    PERL5OPT=""
    PERL5_CPANPLUS_IS_RUNNING="846364"
    PERL5_CPAN_IS_RUNNING="846364"
    PERL5_CPAN_IS_RUNNING_IN_RECURSION="839872,846364"
    PERLDOC="-MPod::Perldoc::ToTextOverstrike"
    PERL_BATCH="yes"
    PERL_CANARY_STABILITY_NOPROMPT="1"
    PERL_CPAN_REPORTER_CONFIG="/var/tmp/cpansmoker-1023/2023100621/cpanreporter_000_config.ini"
    PERL_EXTUTILS_AUTOINSTALL="--defaultdeps"
    PERL_USE_UNSAFE_INC="1"
  @INC:
    /opt/perl-5.39.2/lib/site_perl/5.39.2/x86_64-linux
    /opt/perl-5.39.2/lib/site_perl/5.39.2
    /opt/perl-5.39.2/lib/5.39.2/x86_64-linux
    /opt/perl-5.39.2/lib/5.39.2
    .