preaction / Log-Any

Simple, fast Perl logging API compatible with any logging system
Other
13 stars 19 forks source link

Test failure in 1.715 on Mac OS #98

Open 1nickt opened 1 year ago

1nickt commented 1 year ago
#   Failed test 'Log::Any trace maps to the right syslog priority'
#   at t/syslog.t line 41.
#          got: 'notice'
#     expected: 'debug'

#   Failed test 'Log::Any passed through the right message'
#   at t/syslog.t line 42.
#          got: 'notice level log'
#     expected: 'trace level log'
# Looks like you failed 2 tests of 33.
t/syslog.t ..................
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/33 subtests
t/util.t .................... ok
t/valid-methods.t ........... ok

Test Summary Report
-------------------
t/syslog.t                (Wstat: 512 (exited 2) Tests: 33 Failed: 2)
  Failed tests:  15-16
  Non-zero exit status: 2
Summary of my perl5 (revision 5 version 36 subversion 1) configuration:

  Platform:
    osname=darwin
    osvers=22.1.0
    archname=darwin-2level
    uname='darwin c02f711bmd6p-m 22.1.0 darwin kernel version 22.1.0: sun oct 9 20:14:54 pdt 2022; root:xnu-8792.41.9~2release_x86_64 x86_64 '
    config_args='-de -Dprefix=/Users/ntonkin/perl5/perlbrew/perls/perl-5.36.1 -Aeval:scriptdir=/Users/ntonkin/perl5/perlbrew/perls/perl-5.36.1/bin'
    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 ='-fno-common -DPERL_DARWIN -mmacosx-version-min=13.0 -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -DPERL_USE_SAFE_PUTENV'
    optimize='-O3'
    cppflags='-fno-common -DPERL_DARWIN -mmacosx-version-min=13.0 -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include'
    ccversion=''
    gccversion='Apple LLVM 12.0.0 (clang-1200.0.32.29)'
    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 =' -mmacosx-version-min=13.0 -fstack-protector-strong -L/usr/local/lib'
    libpth=/usr/local/lib /Library/Developer/CommandLineTools/usr/lib/clang/12.0.0/lib /Library/Developer/CommandLineTools/SDKs/MacOSX11.1.sdk/usr/lib /Library/Developer/CommandLineTools/usr/lib /usr/lib
    libs=-lgdbm
    perllibs=
    libc=
    so=dylib
    useshrplib=false
    libperl=libperl.a
    gnulibc_version=''
  Dynamic Linking:
    dlsrc=dl_dlopen.xs
    dlext=bundle
    d_dlsymun=undef
    ccdlflags=' '
    cccdlflags=' '
    lddlflags=' -mmacosx-version-min=13.0 -bundle -undefined dynamic_lookup -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_MALLOC_WRAP
    PERL_OP_PARENT
    PERL_PRESERVE_IVUV
    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 darwin
  Compiled at Apr 25 2023 11:16:32
  %ENV:
    PERL5LIB="/Users/ntonkin/.perlbrew/libs/perl-5.36.1@rosetta/lib/perl5"
    PERLBREW_HOME="/Users/ntonkin/.perlbrew"
    PERLBREW_LIB="rosetta"
    PERLBREW_MANPATH="/Users/ntonkin/.perlbrew/libs/perl-5.36.1@rosetta/man:/Users/ntonkin/perl5/perlbrew/perls/perl-5.36.1/man"
    PERLBREW_PATH="/Users/ntonkin/.perlbrew/libs/perl-5.36.1@rosetta/bin:/Users/ntonkin/perl5/perlbrew/bin:/Users/ntonkin/perl5/perlbrew/perls/perl-5.36.1/bin"
    PERLBREW_PERL="perl-5.36.1"
    PERLBREW_ROOT="/Users/ntonkin/perl5/perlbrew"
    PERLBREW_SHELLRC_VERSION="0.92"
    PERLBREW_VERSION="0.92"
    PERL_CPANM_OPT="--mirror cpan.metacpan.org --mirror cpan.metacpan.com --mirror cpan.mirror.constant.com --mirror cpan.hoovism-http.com --mirror http://ftp.wayne.edu/cpan/ --mirror ftp://mirror.cogentco.com/pub/CPAN/ --mirror ftp://mirror.cc.columbia.edu/pub/software/cpan/ --mirror http://develooper.com --mirror http://cpan.cse.msu.edu/ --mirror http://mirror.cc.columbia.edu/pub/software/cpan/ --mirror http://www.cpan.org/ --mirror http://cpan.perlnow.com/ --mirror http://cpan.mirror.facebook.net/ --mirror http://www.perl.com/CPAN/ --mirror http://cpan.pair.com/ --mirror http://mirror.uta.edu/CPAN/ --mirror http://cpan.cs.utah.edu/ --mirror-only --cascade-search"
    PERL_LOCAL_LIB_ROOT="/Users/ntonkin/.perlbrew/libs/perl-5.36.1@rosetta"
    PERL_MB_OPT="--install_base /Users/ntonkin/.perlbrew/libs/perl-5.36.1@rosetta"
    PERL_MM_OPT="INSTALL_BASE=/Users/ntonkin/.perlbrew/libs/perl-5.36.1@rosetta"
  @INC:
    /Users/ntonkin/.perlbrew/libs/perl-5.36.1@rosetta/lib/perl5/darwin-2level
    /Users/ntonkin/.perlbrew/libs/perl-5.36.1@rosetta/lib/perl5
    /Users/ntonkin/perl5/perlbrew/perls/perl-5.36.1/lib/site_perl/5.36.1/darwin-2level
    /Users/ntonkin/perl5/perlbrew/perls/perl-5.36.1/lib/site_perl/5.36.1
    /Users/ntonkin/perl5/perlbrew/perls/perl-5.36.1/lib/5.36.1/darwin-2level
    /Users/ntonkin/perl5/perlbrew/perls/perl-5.36.1/lib/5.36.1

Thanks Doug!