Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

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

Report information
The Basics
Id:
15502
Status:
resolved
Priority:
Low/Low
Queue:

People
Owner:
Nobody in particular
Requestors:
jdhedden [...] 1979.usna.com
Cc:
AdminCc:

BugTracker
Severity:
Critical
Broken in:
1.77
Fixed in:
(no value)



Subject: Test Failure: ITIMER_VIRTUAL
'make test' failed with: /usr/local/bin/perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/HiRes....ok 11/31Your vendor has not defined Time::HiRes macro ITIMER_VIRTUAL, used at t/HiRes.t line 305. t/HiRes....dubious Test returned status 4 (wstat 1024, 0x400) DIED. FAILED tests 18-31 Failed 14/31 tests, 54.84% okay Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/HiRes.t 4 1024 31 28 90.32% 18-31 Failed 1/1 test scripts, 0.00% okay. 14/31 subtests failed, 54.84% okay. make: *** [test_dynamic] Error 14 My system: Summary of my perl5 (revision 5 version 8 subversion 7) configuration: Platform: osname=cygwin, osvers=1.5.18(0.13242), archname=cygwin-thread-multi-64int uname='cygwin_nt-5.0 pn100-01-1-123s 1.5.18(0.13242) 2005-07-02 20:30 i686 unknown unknown cygwin ' config_args='-de -Duse64bitint -Dusethreads -Uusemymalloc -A define:optimize=-O3 -pipe -frename-registers -fomit-frame-pointer -march=pentium4 -mfpmath=sse -mmmx -msse -msse2 -A define:ld=/usr/local/bin/ld2' hint=recommended, useposix=true, d_sigaction=define usethreads=define use5005threads=undef useithreads=define usemultiplicity=define useperlio=define d_sfio=undef uselargefiles=define usesocks=undef use64bitint=define use64bitall=undef uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='gcc', ccflags ='-DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include', optimize='-O3 -pipe -frename-registers -fomit-frame-pointer -march=pentium4 -mfpmath=sse -mmmx -msse -msse2', cppflags='-DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include' ccversion='', gccversion='3.4.4 (cygming special) (gdc 0.12, using dmd 0.125)', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=12345678 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12 ivtype='long long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=8, prototype=define Linker and Libraries: ld='/usr/local/bin/ld2', ldflags =' -s -L/usr/local/lib' libpth=/usr/local/lib /usr/lib /lib libs=-lgdbm -ldb -lcrypt -lgdbm_compat perllibs=-lcrypt -lgdbm_compat libc=/usr/lib/libc.a, so=dll, useshrplib=true, libperl=libperl.a gnulibc_version='' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' -s' cccdlflags=' ', lddlflags=' -s -L/usr/local/lib' Characteristics of this binary (from libperl): Compile-time options: MULTIPLICITY PERL_IMPLICIT_CONTEXT USE_64_BIT_INT USE_ITHREADS USE_LARGE_FILES USE_PERLIO USE_REENTRANT_API Locally applied patches: MAINT25817 25826 Built under cygwin Compiled at Oct 24 2005 08:08:44 %ENV: PERLIO="perlio" CYGWIN="server ntsec forkchunk:32768" @INC: /usr/local/lib/perl5/5.8/cygwin /usr/local/lib/perl5/5.8 /usr/local/lib/perl5/site_perl/5.8/cygwin /usr/local/lib/perl5/site_perl/5.8 /usr/local/lib/perl5/vendor_perl/5.8/cygwin /usr/local/lib/perl5/vendor_perl/5.8 .
Date: Thu, 03 Nov 2005 20:49:56 +0200
From: Jarkko Hietaniemi <jhietaniemi@gmail.com>
To: bug-Time-HiRes@rt.cpan.org
Subject: Re: [cpan #15502] Test Failure: ITIMER_VIRTUAL
RT-Send-Cc:
via RT wrote:
Show quoted text
> This message about Time-HiRes was sent to you by JDHEDDEN <JDHEDDEN@cpan.org> via rt.cpan.org > > Full context and any attached attachments can be found at: > <URL: https://rt.cpan.org/Ticket/Display.html?id=15502 > > > 'make test' failed with: > > /usr/local/bin/perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t > t/HiRes....ok 11/31Your vendor has not defined Time::HiRes macro ITIMER_VIRTUAL, used at t/HiRes.t line 305. > t/HiRes....dubious > Test returned status 4 (wstat 1024, 0x400) > DIED. FAILED tests 18-31 > Failed 14/31 tests, 54.84% okay > Failed Test Stat Wstat Total Fail Failed List of Failed > ------------------------------------------------------------------------------- > t/HiRes.t 4 1024 31 28 90.32% 18-31 > Failed 1/1 test scripts, 0.00% okay. 14/31 subtests failed, 54.84% okay. > make: *** [test_dynamic] Error 14
Hmm, no Time::HiRes version shown, but I assume it was the just released 1.77. Please retry with 1.78.
Show quoted text
>
From: jdhedden@1979.usna.com
Seems you fixed this, but now it is broken again in version 1.82: t/HiRes....ok 11/31Your vendor has not defined Time::HiRes macro ITIMER_VIRTUAL, used at t/HiRes.t line 316.
Date: Sun, 06 Nov 2005 18:33:21 +0200
From: Jarkko Hietaniemi <jhietaniemi@gmail.com>
To: bug-Time-HiRes@rt.cpan.org
CC: undisclosed-recipients:;
Subject: Re: [cpan #15502] Test Failure: ITIMER_VIRTUAL
RT-Send-Cc:
via RT wrote:
Show quoted text
> This message about Time-HiRes was sent to you by JDHEDDEN <JDHEDDEN@cpan.org> via rt.cpan.org > > Full context and any attached attachments can be found at: > <URL: https://rt.cpan.org/Ticket/Display.html?id=15502 > > > Seems you fixed this, but now it is broken again in version 1.82: > > t/HiRes....ok 11/31Your vendor has not defined Time::HiRes macro > ITIMER_VIRTUAL, used at t/HiRes.t line 316.
Oh, rats. I can't seem to be able to make anything work any more...
Date: Sun, 06 Nov 2005 18:36:52 +0200
From: Jarkko Hietaniemi <jhietaniemi@gmail.com>
To: bug-Time-HiRes@rt.cpan.org
Subject: Re: [cpan #15502] Test Failure: ITIMER_VIRTUAL
RT-Send-Cc:
via RT wrote:
Show quoted text
> This message about Time-HiRes was sent to you by JDHEDDEN <JDHEDDEN@cpan.org> via rt.cpan.org > > Full context and any attached attachments can be found at: > <URL: https://rt.cpan.org/Ticket/Display.html?id=15502 > > > Seems you fixed this, but now it is broken again in version 1.82: > > t/HiRes....ok 11/31Your vendor has not defined Time::HiRes macro > ITIMER_VIRTUAL, used at t/HiRes.t line 316.
I am sorry but I think I need for you to debug this for me a little bit because either the code got here through four tests unless ( defined &Time::HiRes::setitimer && defined &Time::HiRes::getitimer && has_symbol('ITIMER_VIRTUAL') && $Config{sig_name} =~ m/\bVTALRM\b/) { when it shouldn't have, or it errorneously didn't define ITIMER_VIRTUAL print "# setitimer: ", join(" ", setitimer(ITIMER_VIRTUAL, 0.5, 0.4)), "\n"\ when it should have.
I am assuming this been fixed by 1.83, I am marking this ticket as resolved.


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.