Subject: | Fails to build on 5.15.0 |
Confirmed on 32- and 64-bit Linux and Darwin.
bandsman:/var/www/mirrors/CPAN/authors/id/Z/ZE/ZEFRAM/Time-HiRes-1.9724#
perl5.15.0 Makefile.PL
Configuring Time::HiRes...
Using hints hints/linux.pl...
Extra libraries: -lrt...
Have syscall()... looking for syscall.h... found <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/linux.pl
Writing Makefile for Time::HiRes
Writing MYMETA.yml and MYMETA.json
Now you may issue 'make'. Do not forget also 'make test'.
bandsman:/var/www/mirrors/CPAN/authors/id/Z/ZE/ZEFRAM/Time-HiRes-1.9724#
make
cp HiRes.pm blib/lib/Time/HiRes.pm
/usr/local/bin/perl5.15.0 /usr/local/lib/perl5/5.15.0/ExtUtils/xsubpp
-typemap /usr/local/lib/perl5/5.15.0/ExtUtils/typemap -typemap typemap
HiRes.xs > HiRes.xsc && mv HiRes.xsc HiRes.c
cc -c -D_REENTRANT -D_GNU_SOURCE -DDEBUGGING -O2 -W -Wformat=2 -Wall
-Wextra -pipe -mtune=native -march=native -fomit-frame-pointer -msse2
-msse -mmmx -mfpmath=sse -D_FORTIFY_SOURCE=2 -fstack-protector
-Wstack-protector -Wfloat-equal -fno-strict-aliasing
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2
-DVERSION=\"1.9724\" -DXS_VERSION=\"1.9724\" -fPIC
"-I/usr/local/lib/perl5/5.15.0/x86_64-linux-thread-multi/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
HiRes.c: In function ‘XS_Time__HiRes_constant’:
./const-xs.inc:38:11: warning: ‘iv’ may be used uninitialized in this
function [-Wuninitialized]
./const-xs.inc:11:6: note: ‘iv’ was declared here
Running Mkbootstrap for Time::HiRes ()
chmod 644 HiRes.bs
rm -f blib/arch/auto/Time/HiRes/HiRes.so
LD_RUN_PATH="/usr/lib/x86_64-linux-gnu" cc -shared -O2 -L/usr/local/lib
-fstack-protector 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
bandsman:/var/www/mirrors/CPAN/authors/id/Z/ZE/ZEFRAM/Time-HiRes-1.9724#
make test
PERL_DL_NONLAZY=1 /usr/local/bin/perl5.15.0 "-MExtUtils::Command::MM"
"-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
perl5.15.0: av.c:731: Perl_av_len: Assertion `((svtype)((av)->sv_flags &
0xff)) == SVt_PVAV' failed.
Aborted (core dumped)
make: *** [test_dynamic] Error 134
bandsman:/var/www/mirrors/CPAN/authors/id/Z/ZE/ZEFRAM/Time-HiRes-1.9724#