Math-LongDouble v0.26 Perl 5 v5.41.9 amd64-netbsd-thread-multi

Status
Fail
From
Carlos Guevara
Dist
Math-LongDouble v0.26
Platform
Perl 5 v5.41.9 amd64-netbsd-thread-multi
Date
2025-01-26 15:05:46
ID
051dab7c-dbf7-11ef-94b2-b1353e49a71e
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 Sisyphus,

This is a computer-generated report for Math-LongDouble-0.26
on perl 5.41.9, created by CPAN-Reporter-1.2020.

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':

"/home/cpan/bin/perl/bin/perl5.41.9" -MExtUtils::Command::MM -e 'cp_nonempty' -- LongDouble.bs blib/arch/auto/Math/LongDouble/LongDouble.bs 644
PERL_DL_NONLAZY=1 "/home/cpan/bin/perl/bin/perl5.41.9" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t


  No tests with this file. Instead, mainly for the benefit
  of the author, we (hopefully) see some diagnostics from some
  test executables that were run during the Makefile.PL stage.


CC = cc
OPTMIZE = -O
erfl & isnanl check (build): 
erfl & isnanl check (run): rop is set to a sane value
op is set to the correct value

build output (nanl check): 
execution output (nanl check): rop set as expected

build output (nan**0 check):

nan**0 check diagnostic: 1.0L
1.0L
1.0L
size of long double: 16

build output (signbitl check): 
execution output (signbitl check): ret set as expected

build output (sincosl check): 
execution output (sincosl check): output: 0.000000e+00 1.000000e+00


t/01config_xtra.t .......... ok

NAN_POW_BUG is NOT defined
NANL_IS_UNAVAILABLE is NOT defined
ISNANL_IS_UNAVAILABLE is NOT defined
SIGNBITL_IS_UNAVAILABLE is NOT defined
SINCOSL_IS_UNAVAILABLE is NOT defined
Actual nvsize == 8
Actual long double size = 10
t/aab_basic.t .............. ok

Math::LongDouble::_have_isnanl() returns 1
Math::LongDouble::_have_nanl() returns 1
Math::LongDouble::_have_signbitl() returns 1
t/abs.t .................... ok
t/arith.t .................. ok
t/base_conversion.t ........ ok
t/bool.t ................... ok
t/cmp.t .................... ok

LD_DBL_DENORM_MIN not implemented

LD_LDBL_DENORM_MIN not implemented
t/constants.t .............. ok
t/inc_dec.t ................ ok
t/int.t .................... ok

 Skipping all tests - nvtype ('double') is not 'long double'
t/ld_bytes.t ............... ok

$log: 6.93147180559945286227e-01
log(2.0): 0.693147180559945

$compare: 0
$exp_ld: 3.66929666761924444529e+00
$exp: 3.66929666761924
t/log_exp.t ................ 
Failed 2/19 subtests 

Math:LongDouble::_nan_pow_bug() returns 0
t/nan_pow.t ................ ok
t/new.t .................... ok
t/nnum.t ................... ok
t/overload.t ............... ok

12d: Expected 18446744073709551615 got 1.8446744073709551616e+19

$ok: abcefgh
t/overload_cmp_reversal.t .. 
Failed 1/13 subtests 
t/overload_switch.t ........ ok

Test::Pod version: 1.52

Pod::Simple version: 3.45
t/pod.t .................... ok

Ignoring small discrepancy (bug) between sqrt(2) and 2**0.5
t/pow.t .................... ok

FYI:
 DBL_DIG = 15
 LDBL_DIG = 18
 Default precison = 21
t/prec.t ................... ok
t/signbit.t ................ ok

Accepting that 9.21142280229109267076e-01 and 9.21142280229109253198e-01 are not exact complements
Most likely erfl and/or erfcl do not provide advertised precision
t/special.t ................ ok
t/stringification.t ........ ok

built with sincosl function

$sin_ldr: 9.09297426825681709417e-01
$sin_r: 0.909297426825682

$cos_ldr: -4.16146836547142406904e-01
$cos_r: -0.416146836547142

$atan2_ldr: 9.27295218001612187031e-01
$atan2_r: 0.927295218001612

Expected9.09297426825681709417e-01
Got 9.09297426825681695377e-01

Expected-4.16146836547142406904e-01
Got -4.16146836547142387008e-01
t/trig.t ................... 
Failed 5/20 subtests 

Test Summary Report
-------------------
t/log_exp.t              (Wstat: 0 Tests: 19 Failed: 2)
  Failed tests:  5, 7
t/overload_cmp_reversal.t (Wstat: 0 Tests: 13 Failed: 1)
  Failed test:  12
t/trig.t                 (Wstat: 0 Tests: 20 Failed: 5)
  Failed tests:  1-3, 7-8
Files=25, Tests=341,  1 wallclock secs ( 0.06 usr  0.04 sys +  0.43 cusr  0.18 csys =  0.71 CPU)
Result: FAIL
Failed 3/25 test programs. 8/341 subtests failed.
*** Error code 255

Stop.
make: stopped in /home/cpan/.cpan/build/Math-LongDouble-0.26-0

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

Prerequisite modules loaded:

build_requires:

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

configure_requires:

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


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

Environment variables:

    AUTOMATED_TESTING = 1
    DATE_MANIP_TEST_DM5 = 1
    LC_ALL = C
    NONINTERACTIVE_TESTING = 1
    NO_NETWORK_TESTING = 1
    PATH = /home/cpan/bin/perl/bin:/home/cpan/bin:/home/cpan/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R7/bin:/usr/pkg/bin:/usr/pkg/sbin:/usr/games:/usr/local/bin:/usr/local/sbin
    PERL5LIB = 
    PERL5OPT = 
    PERL5_CPANPLUS_IS_RUNNING = 15147
    PERL5_CPAN_IS_RUNNING = 15147
    PERL_MM_USE_DEFAULT = 1
    PERL_USE_UNSAFE_INC = 1
    SHELL = /usr/pkg/bin/bash
    TERM = screen
    TMPDIR = /home/cpan/tmp

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

    $^X = /home/cpan/bin/perl/bin/perl5.41.9
    $UID/$EUID = 1001 / 1001
    $GID = 100 100
    $EGID = 100 100

Perl module toolchain versions installed:

    Module              Have    
    ------------------- --------
    CPAN                2.38    
    CPAN::Meta          2.150010
    Cwd                 3.92    
    ExtUtils::CBuilder  0.280240
    ExtUtils::Command   7.70    
    ExtUtils::Install   2.22    
    ExtUtils::MakeMaker 7.70    
    ExtUtils::Manifest  1.75    
    ExtUtils::ParseXS   3.57    
    File::Spec          3.93    
    JSON                4.10    
    JSON::PP            4.16    
    Module::Build       0.4234  
    Module::Signature   0.89    
    Parse::CPAN::Meta   2.150010
    Test2               1.302209
    Test::Harness       3.50    
    Test::More          1.302209
    YAML                1.31    
    YAML::Syck          1.34    
    version             0.9933  


--

Summary of my perl5 (revision 5 version 41 subversion 9) configuration:
  Commit id: 48972dd0c765c295cf54ec12c645db080478546d
  Platform:
    osname=netbsd
    osvers=10.0
    archname=amd64-netbsd-thread-multi
    uname='netbsd cjg-netbsd10 10.0 netbsd 10.0 (generic) #0: thu mar 28 08:33:33 utc 2024 mkrepro@mkrepro.netbsd.org:usrsrcsysarchamd64compilegeneric amd64 '
    config_args='-des -Dprefix=/home/cpan/bin/perl -Dscriptdir=/home/cpan/bin/perl/bin -Dusedevel -Duse64bitall -Duseithreads'
    hint=recommended
    useposix=true
    d_sigaction=define
    useithreads=define
    usemultiplicity=define
    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/pkg/include -D_FORTIFY_SOURCE=2'
    optimize='-O'
    cppflags='-fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/pkg/include'
    ccversion=''
    gccversion='10.5.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 =' -Wl,-rpath,/usr/pkg/lib -Wl,-rpath,/usr/local/lib -fstack-protector-strong -L/usr/pkg/lib'
    libpth=/usr/lib /usr/pkg/lib /lib
    libs=-lpthread -lm -lcrypt -lutil -lc -lposix
    perllibs=-lpthread -lm -lcrypt -lutil -lc -lposix
    libc=/lib/libc.so
    so=so
    useshrplib=false
    libperl=libperl.a
    gnulibc_version=''
  Dynamic Linking:
    dlsrc=dl_dlopen.xs
    dlext=so
    d_dlsymun=undef
    ccdlflags='-Wl,-E '
    cccdlflags='-DPIC -fPIC '
    lddlflags='-shared  -L/usr/pkg/lib -fstack-protector-strong'


Characteristics of this binary (from libperl): 
  Compile-time options:
    HAS_LONG_DOUBLE
    HAS_STRTOLD
    HAS_TIMES
    MULTIPLICITY
    PERLIO_LAYERS
    PERL_COPY_ON_WRITE
    PERL_DONT_CREATE_GVSV
    PERL_HASH_FUNC_SIPHASH13
    PERL_HASH_USE_SBOX32
    PERL_MALLOC_WRAP
    PERL_OP_PARENT
    PERL_PRESERVE_IVUV
    PERL_USE_DEVEL
    PERL_USE_SAFE_PUTENV
    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
  Built under netbsd
  Compiled at Jan 25 2025 22:11:35
  %ENV:
    PERL5LIB=""
    PERL5OPT=""
    PERL5_CPANPLUS_IS_RUNNING="15147"
    PERL5_CPAN_IS_RUNNING="15147"
    PERL_MM_USE_DEFAULT="1"
    PERL_USE_UNSAFE_INC="1"
  @INC:
    /home/cpan/bin/perl/lib/site_perl/5.41.9/amd64-netbsd-thread-multi
    /home/cpan/bin/perl/lib/site_perl/5.41.9
    /home/cpan/bin/perl/lib/5.41.9/amd64-netbsd-thread-multi
    /home/cpan/bin/perl/lib/5.41.9
    .