Subject: | itimer test fails on Solaris 10/SPARC/perl 5.18.1 |
perl version: This is perl 5, version 18, subversion 1 (v5.18.1) built for sun4-solaris
Using hints hints/solaris.pl...
Extra libraries: -lrt...
Have syscall()... looking for syscall.h... found <sys/syscall.h>.
Looking for gettimeofday()... found.
Looking for setitimer()... found.
Looking for getitimer()... found.
You have interval timers (both setitimer and getitimer).
Looking for ualarm()... found.
Looking for usleep()... found.
Looking for nanosleep()... testing... found.
You can mix subsecond sleeps with signals, if you want to.
(It's still not portable, though.)
Looking for clock_gettime()... found.
Looking for clock_getres()... found.
Looking for clock_nanosleep()... found.
Looking for clock()... found.
Looking for stat() subsecond timestamps...
Trying struct stat st_atimespec.tv_nsec...NOT found.
Trying struct stat st_atimensec...NOT found.
Trying struct stat st_atime_n...NOT found.
Trying struct stat st_atim.tv_nsec...found.
Trying struct stat st_uatime...NOT found.
You seem to have stat() subsecond timestamps.
(Your struct stat has them, but the filesystems must help.)
Checking if your kit is complete...
Looks good
Processing hints file hints/solaris.pl
'EXPATINCPATH' is not a known MakeMaker parameter name.
'EXPATLIBPATH' is not a known MakeMaker parameter name.
Writing Makefile for Time::HiRes
Writing MYMETA.yml and MYMETA.json
Now you may issue 'make'. Do not forget also 'make test'.
cp HiRes.pm blib/lib/Time/HiRes.pm
/var/mercator/opt/perl/bin/perl /var/mercator/opt/perl/lib/5.18.1/ExtUtils/xsubpp -typemap /var/mercator/opt/perl/lib/5.18.1/ExtUtils/typemap -typemap typemap HiRes.xs > HiRes.xsc && mv HiRes.xsc HiRes.c
gcc -c -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV -O -DVERSION=\"1.9726\" -DXS_VERSION=\"1.9726\" -fPIC "-I/var/mercator/opt/perl/lib/5.18.1/sun4-solaris/CORE" -DTIME_HIRES_NANOSLEEP -DTIME_HIRES_CLOCK_GETTIME -DTIME_HIRES_CLOCK_GETRES -DTIME_HIRES_CLOCK_NANOSLEEP -DTIME_HIRES_CLOCK -DTIME_HIRES_STAT=4 -DATLEASTFIVEOHOHFIVE HiRes.c
Running Mkbootstrap for Time::HiRes ()
chmod 644 HiRes.bs
rm -f blib/arch/auto/Time/HiRes/HiRes.so
LD_RUN_PATH="/usr/lib" gcc -G -L/usr/local/lib HiRes.o -o blib/arch/auto/Time/HiRes/HiRes.so \
-lrt \
chmod 755 blib/arch/auto/Time/HiRes/HiRes.so
cp HiRes.bs blib/arch/auto/Time/HiRes/HiRes.bs
chmod 644 blib/arch/auto/Time/HiRes/HiRes.bs
Manifying blib/man3/Time::HiRes.3
PERL_DL_NONLAZY=1 /var/mercator/opt/perl/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/alarm.t ......... ok
t/clock.t ......... ok
t/gettimeofday.t .. ok
t/itimer.t ........ 2/2
# Failed test at t/itimer.t line 60.
# Looks like you failed 1 test of 2.
t/itimer.t ........ Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/2 subtests
t/nanosleep.t ..... ok
t/sleep.t ......... ok
t/stat.t .......... ok
t/time.t .......... ok
t/tv_interval.t ... ok
t/ualarm.t ........ ok
t/usleep.t ........ ok
Test Summary Report
-------------------
t/itimer.t (Wstat: 256 Tests: 2 Failed: 1)
Failed test: 2
Non-zero exit status: 1
Files=11, Tests=95, 27 wallclock secs ( 0.13 usr 0.12 sys + 14.57 cusr 0.24 csys = 15.06 CPU)
Result: FAIL
Failed 1/11 test programs. 1/95 subtests failed.