Skip Menu |

This queue is for tickets about the Time-HiRes CPAN distribution.

Report information
The Basics
Id: 23694
Status: resolved
Priority: 0/
Queue: Time-HiRes

People
Owner: Nobody in particular
Requestors: ivor.williams [...] lchclearnet.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 1.94
Fixed in: (no value)



Subject: Time::HiRes fails tests on Solaris and Perl 5.6.1
williami@otcdv2:/home/williami/Time-HiRes$ perl Makefile.PL Configuring Time::HiRes... 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()... NOT found. Looking for clock()... found. 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 Writing Makefile for Time::HiRes Now you may issue 'make'. Do not forget also 'make test'. williami@otcdv2:/home/williami/Time-HiRes$ make cp HiRes.pm blib/lib/Time/HiRes.pm /usr/local/bin/perl /vobs/tools/3rd- party/CPAN/release/lib/ExtUtils/xsubpp - typemap /usr/local/lib/perl5/5.6.1/ExtUtils/typemap -typemap typemap HiRes.xs > HiRes.xsc && mv HiRes.xsc HiRes.c gcc -c -fno-strict-aliasing -I/usr/local/include - D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -DVERSION=\"1.94\" - DXS_VERSION=\"1.94\" -fPIC "-I/usr/local/lib/perl5/5.6.1/sun4- solaris/CORE" -DHAS_SETITIMER -DHAS_GETITIMER -DHAS_UALARM - DHAS_USLEEP -DTIME_HIRES_NANOSLEEP -DTIME_HIRES_CLOCK_GETTIME - DTIME_HIRES_CLOCK_GETRES -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 williami@otcdv2:/home/williami/Time-HiRes$ make test PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "- e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/HiRes....d_hires_stat is not a valid Time::HiRes macro at t/HiRes.t line 36. t/HiRes....dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 2-38 Failed 37/38 tests, 2.63% okay Failed Test Stat Wstat Total Fail Failed List of Failed ----------------------------------------------------------------------- -------- t/HiRes.t 255 65280 38 74 194.74% 2-38 Failed 1/1 test scripts, 0.00% okay. 37/38 subtests failed, 2.63% okay. *** Error code 11 make: Fatal error: Command failed for target `test_dynamic' williami@otcdv2:/home/williami/Time-HiRes$
From: IVORW [...] cpan.org
Further digging shows that the problem relates to autogenerated constants from ExtUtils::Constant. ExtUtils::Constant is absent from 5.6.1, and is core in 5.8.*. I haven't been able to find a standalone ExtUtils::Constant, only the one that is part of the core. I know that older Time::HiRes versions worked under 5.6.1, so I'm looking at picking up an earlier version.
Subject: Re: [rt.cpan.org #23694] Time::HiRes fails tests on Solaris and Perl 5.6.1
Date: Wed, 29 Nov 2006 12:23:18 -0500
To: bug-Time-HiRes [...] rt.cpan.org
From: Jarkko Hietaniemi <jhi [...] iki.fi>
via RT wrote: Show quoted text
> Queue: Time-HiRes > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=23694 > > > Further digging shows that the problem relates to autogenerated > constants from ExtUtils::Constant. ExtUtils::Constant is absent from > 5.6.1, and is core in 5.8.*. I haven't been able to find a standalone > ExtUtils::Constant, only the one that is part of the core. > > I know that older Time::HiRes versions worked under 5.6.1, so I'm > looking at picking up an earlier version. >
Time::HiRes 1.95 on its way through CPAN.
On Wed Nov 29 12:24:46 2006, jhi@iki.fi wrote: Show quoted text
> > Time::HiRes 1.95 on its way through CPAN. >
This is now building fine and passing all tests on Solaris with perl 5.6.1. However, your change may have intoduced a build problem which is affecting some platforms, see #23712. Up to you, but I am happy for you to close this ticket, but I will be watching the other one.
Subject: Re: [rt.cpan.org #23694] Time::HiRes fails tests on Solaris and Perl 5.6.1
Date: Thu, 30 Nov 2006 14:59:02 -0500
To: bug-Time-HiRes [...] rt.cpan.org
From: Jarkko Hietaniemi <jhi [...] iki.fi>
via RT wrote: Show quoted text
> Queue: Time-HiRes > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=23694 > > > On Wed Nov 29 12:24:46 2006, jhi@iki.fi wrote:
>> Time::HiRes 1.95 on its way through CPAN. >>
> This is now building fine and passing all tests on Solaris with perl > 5.6.1. However, your change may have intoduced a build problem which > is affecting some platforms, see #23712. > > Up to you, but I am happy for you to close this ticket, but I will be > watching the other one. >
Thanks. Fixed but PAUSE doesn't let me upload Time-HiRes 1.96.
Fixed in 1.9701.