develooper Front page | perl.perl5.porters | Postings from February 2018

[perl #132894] Blead Breaks CPAN:MAROS/DateTime-Format-CLDR-1.19.tar.gz

Thread Next
From:
slaven@rezic.de via RT
Date:
February 21, 2018 20:53
Subject:
[perl #132894] Blead Breaks CPAN:MAROS/DateTime-Format-CLDR-1.19.tar.gz
Message ID:
rt-4.0.24-767-1519246418-151.132894-15-0@perl.org
Dana Wed, 21 Feb 2018 12:47:12 -0800, slaven@rezic.de reče:
> 
> This is a bug report for perl from slaven@rezic.de,
> generated with the help of perlbug 1.41 running under perl 5.27.9.
> 
> 
> -----------------------------------------------------------------
> The t/011_nanosecond.t of DateTime-Format-CLDR-1.19 test started to
> fail at some point between 5.27.8 and 5.27.9. I can reproduce the
> failure on all my Linux smokers, but not on my FreeBSD smokers.
> 
> Test log:
> 
> #   Failed test 'Pattern: 'dd.MM.yyy HH:mm:ss.SSSSSSSSSSSSSS'
> # String: '01.01.2000 01:10:20.00000000999999'
> # Original: '2000-01-01T01:10:20.10 floating'
> # Computed: '2000-01-01T01:10:20.9 floating'
> # Locale: 'en-US''
> #   at t/lib/testlib.pm line 34.
> 
> #   Failed test 'Pattern: 'dd.MM.yyy HH:mm:ss.SSSSSSSSSSSSSS'
> # String: '01.01.2000 03:10:20.00000099999999'
> # Original: '2000-01-01T03:10:20.1000 floating'
> # Computed: '2000-01-01T03:10:20.999 floating'
> # Locale: 'en-US''
> #   at t/lib/testlib.pm line 34.
> 
> #   Failed test 'Pattern: 'dd.MM.yyy HH:mm:ss.SSSSSSSSSSSSSS'
> # String: '01.01.2000 04:10:20.00000999999999'
> # Original: '2000-01-01T04:10:20.10000 floating'
> # Computed: '2000-01-01T04:10:20.9999 floating'
> # Locale: 'en-US''
> #   at t/lib/testlib.pm line 34.
> # Looks like you failed 3 tests of 13.
>  t/011_nanosecond.t ....
> Dubious, test returned 3 (wstat 768, 0x300)
>  Failed 3/13 subtests
> 
> 
> -----------------------------------------------------------------
> ---
> Flags:
>     category=core
>     severity=low
> ---
> Site configuration information for perl 5.27.9:
> 
> Configured by eserte at Tue Feb 20 21:59:42 CET 2018.
> 
> Summary of my perl5 (revision 5 version 27 subversion 9)
> configuration:
> 
> Platform:
>   osname=linux
>   osvers=3.16.0-4-amd64
>   archname=x86_64-linux
>   uname='linux cabulja 3.16.0-4-amd64 #1 smp debian 3.16.51-3 (2017-
> 12-13) x86_64 gnulinux '
>   config_args='-ds -e -Dprefix=/opt/perl-5.27.9 -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
>   bincompat5005=undef
> 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='4.9.2'
>   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/4.9/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 -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc
> -lgdbm_compat
>   perllibs=-lpthread -lnsl -ldl -lm -lcrypt -lutil -lc
>   libc=libc-2.19.so
>   so=so
>   useshrplib=false
>   libperl=libperl.a
>   gnulibc_version='2.19'
> 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'
> 
> 
> ---
> @INC for perl 5.27.9:
>     /opt/perl-5.27.9/lib/site_perl/5.27.9/x86_64-linux
>     /opt/perl-5.27.9/lib/site_perl/5.27.9
>     /opt/perl-5.27.9/lib/5.27.9/x86_64-linux
>     /opt/perl-5.27.9/lib/5.27.9
> 
> ---
> Environment for perl 5.27.9:
>     HOME=/home/eserte
>     LANG=en_US.UTF-8
>     LANGUAGE (unset)
>     LD_LIBRARY_PATH (unset)
>     LOGDIR (unset)
>     PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/eserte/bin/linux-
> gnu:/home/eserte/bin/sh:/home/eserte/bin:/home/eserte/bin/pistachio-
> perl/bin:/usr/games:/home/eserte/devel
>     PERLDOC=-MPod::Perldoc::ToTextOverstrike
>     PERL_BADLANG (unset)
>     SHELL=/bin/zsh

Looked into my fail report list again, and it seems that the same error may happen also with older perl versions. And the author has already put a note in the test script:

    explain("This test might fail on some plattforms due to unknown reasons");


---
via perlbug:  queue: perl5 status: new
https://rt.perl.org/Ticket/Display.html?id=132894

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About