Skip Menu |
Report information
Id: 132707
Status: open
Priority: 0/
Queue: perl5

Owner: Nobody
Requestors: joshertester [at] gmail.com
Cc:
AdminCc:

Operating System: (no value)
PatchStatus: (no value)
Severity: low
Type: unknown
Perl Version: (no value)
Fixed In: (no value)



To: perlbug [...] perl.org
Subject: perl-5.26.1 fails self-test on osx if file system doesn’t support sub-second time resolution
Date: Thu, 11 Jan 2018 11:41:50 -0500
From: josher tester <joshertester [...] gmail.com>
Download (untitled) / with headers
text/plain 1.9k
Download (untitled) / with headers
text/html 23.8k

Message body is not shown because it is too large.

RT-Send-CC: perl5-porters [...] perl.org
Download (untitled) / with headers
text/plain 2.4k
On Thu, 11 Jan 2018 16:41:57 GMT, joshertester@gmail.com wrote: Show quoted text
> Hello, > > I have found that perl-5.26.1, will not pass self-tests on OS X. I get the > error: > > % make test > > .... > > > dist/Time-HiRes/t/usleep ....................................... ok > > dist/Time-HiRes/t/utime ........................................ # Failed > test 'atime set correctly' > > # at t/utime.t line 73. > > # got: '1' > > # expected: '1.111111111' > > # Failed test 'mtime set correctly' > > # at t/utime.t line 74. > > # got: '2' > > # expected: '2.222222222' > > # Failed test 'atime set correctly' > > # at t/utime.t line 82. > > # got: '1' > > # expected: '1.111111111' > > # Failed test 'mtime set correctly' > > # at t/utime.t line 83. > > # got: '2' > > # expected: '2.222222222' > > # Failed test 'File 1 atime set correctly' > > # at t/utime.t line 93. > > # got: '1' > > # expected: '1.111111111' > > # Failed test 'File 1 mtime set correctly' > > # at t/utime.t line 94. > > # got: '2' > > # expected: '2.222222222' > > # Failed test 'File 2 atime set correctly' > > # at t/utime.t line 98. > > # got: '1' > > # expected: '1.111111111' > > # Failed test 'File 2 mtime set correctly' > > # at t/utime.t line 99. > > # got: '2' > > # expected: '2.222222222' > > # Failed test 'File 1 atime set correctly' > > # at t/utime.t line 113. > > # '0.336687088012695' > > # < > > # '0.1' > > # Failed test 'File 1 mtime set correctly' > > # at t/utime.t line 114. > > # '0.336687088012695' > > # < > > # '0.1' > > # Failed test 'File 2 atime set correctly' > > # at t/utime.t line 118. > > # '0.336687088012695' > > # < > > # '0.1' > > # Failed test 'File 2 mtime set correctly' > > # at t/utime.t line 119. > > # '0.336687088012695' > > # < > > # '0.1' > > # Looks like you failed 12 tests of 18. > > FAILED at test 2 > > dist/Unicode-Normalize/t/fcdc .................................. ok > > dist/Unicode-Normalize/t/form .................................. ok > > > This is related: > > https://rt.cpan.org/Ticket/Display.html?id=116127
Can you please attach the output of './perl -Ilib -V' for the perl build where you subsequently got this test failure? Thank you very much. -- James E Keenan (jkeenan@cpan.org)
RT-Send-CC: perl5-porters [...] perl.org
Download (untitled) / with headers
text/plain 2.6k
On Thu, 11 Jan 2018 12:48:08 -0800, jkeenan wrote: Show quoted text
> On Thu, 11 Jan 2018 16:41:57 GMT, joshertester@gmail.com wrote:
> > Hello, > > > > I have found that perl-5.26.1, will not pass self-tests on OS X. I > > get the > > error: > > > > % make test > > > > .... > > > > > > dist/Time-HiRes/t/usleep ....................................... ok > > > > dist/Time-HiRes/t/utime ........................................ # > > Failed > > test 'atime set correctly' > > > > # at t/utime.t line 73. > > > > # got: '1' > > > > # expected: '1.111111111' > > > > # Failed test 'mtime set correctly' > > > > # at t/utime.t line 74. > > > > # got: '2' > > > > # expected: '2.222222222' > > > > # Failed test 'atime set correctly' > > > > # at t/utime.t line 82. > > > > # got: '1' > > > > # expected: '1.111111111' > > > > # Failed test 'mtime set correctly' > > > > # at t/utime.t line 83. > > > > # got: '2' > > > > # expected: '2.222222222' > > > > # Failed test 'File 1 atime set correctly' > > > > # at t/utime.t line 93. > > > > # got: '1' > > > > # expected: '1.111111111' > > > > # Failed test 'File 1 mtime set correctly' > > > > # at t/utime.t line 94. > > > > # got: '2' > > > > # expected: '2.222222222' > > > > # Failed test 'File 2 atime set correctly' > > > > # at t/utime.t line 98. > > > > # got: '1' > > > > # expected: '1.111111111' > > > > # Failed test 'File 2 mtime set correctly' > > > > # at t/utime.t line 99. > > > > # got: '2' > > > > # expected: '2.222222222' > > > > # Failed test 'File 1 atime set correctly' > > > > # at t/utime.t line 113. > > > > # '0.336687088012695' > > > > # < > > > > # '0.1' > > > > # Failed test 'File 1 mtime set correctly' > > > > # at t/utime.t line 114. > > > > # '0.336687088012695' > > > > # < > > > > # '0.1' > > > > # Failed test 'File 2 atime set correctly' > > > > # at t/utime.t line 118. > > > > # '0.336687088012695' > > > > # < > > > > # '0.1' > > > > # Failed test 'File 2 mtime set correctly' > > > > # at t/utime.t line 119. > > > > # '0.336687088012695' > > > > # < > > > > # '0.1' > > > > # Looks like you failed 12 tests of 18. > > > > FAILED at test 2 > > > > dist/Unicode-Normalize/t/fcdc .................................. ok > > > > dist/Unicode-Normalize/t/form .................................. ok > > > > > > This is related: > > > > https://rt.cpan.org/Ticket/Display.html?id=116127
> > Can you please attach the output of './perl -Ilib -V' for the perl > build where you subsequently got this test failure? > > Thank you very much.
Attached
Subject: PERL-V.txt
Download PERL-V.txt
text/plain 3k
Summary of my perl5 (revision 5 version 26 subversion 1) configuration: Platform: osname=darwin osvers=17.3.0 archname=darwin-2level uname='darwin macpro.joshr.com 17.3.0 darwin kernel version 17.3.0: thu nov 9 18:09:22 pst 2017; root:xnu-4570.31.3~1release_x86_64 x86_64 ' config_args='-des -Dprefix=/Users/joshr/localperl' 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 ='-fno-common -DPERL_DARWIN -mmacosx-version-min=10.13 -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=10.13 -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include' ccversion='' gccversion='4.2.1 Compatible Apple LLVM 9.0.0 (clang-900.0.39.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 =' -mmacosx-version-min=10.13 -fstack-protector-strong -L/usr/local/lib' libpth=/usr/local/lib /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/lib /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib /usr/lib libs=-lpthread -lgdbm -ldbm -ldl -lm -lutil -lc perllibs=-lpthread -ldl -lm -lutil -lc 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=10.13 -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 Jan 11 2018 11:19:27 %ENV: PERLBREW_MANPATH="/opt/perlbrew/perls/perl-5.18.4/man" PERLBREW_PATH="/opt/perlbrew/bin:/opt/perlbrew/perls/perl-5.18.4/bin" PERLBREW_PERL="perl-5.18.4" PERLBREW_ROOT="/opt/perlbrew" PERLBREW_SHELLRC_VERSION="0.82" PERLBREW_VERSION="0.82" @INC: lib /Users/joshr/localperl/lib/site_perl/5.26.1/darwin-2level /Users/joshr/localperl/lib/site_perl/5.26.1 /Users/joshr/localperl/lib/5.26.1/darwin-2level /Users/joshr/localperl/lib/5.26.1


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

For issues related to this RT instance (aka "perlbug"), please contact perlbug-admin at perl.org