Skip Menu |

This queue is for tickets about the DBIx-Class-TimeStamp CPAN distribution.

Report information
The Basics
Id: 48517
Status: open
Priority: 0/
Queue: DBIx-Class-TimeStamp

People
Owner: Nobody in particular
Requestors: daxim [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.12
Fixed in: (no value)



Subject: test failures for t/0[5678]*.t on 64bit
Cf http://www.nntp.perl.org/group/perl.cpan.testers/2009/06/msg4374686.html http://www.nntp.perl.org/group/perl.cpan.testers/2009/06/msg4374687.html http://www.nntp.perl.org/group/perl.cpan.testers/2009/07/msg4704230.html Also happens on my machine, see attached detail log (output of prove with verbose flag set). Show quoted text
> perl -E'use DateTime; say DateTime->VERSION'
0.50 Show quoted text
> uname -a
Linux galahad 2.6.27.25-0.1-default #1 SMP 2009-07-01 15:37:09 +0200 x86_64 x86_64 x86_64 GNU/Linux Show quoted text
> perl -V
Summary of my perl5 (revision 5 version 10 subversion 0) configuration: Platform: osname=linux, osvers=2.6.27.21-0.1-default, archname=x86_64-linux- thread-multi-ld uname='linux galahad 2.6.27.21-0.1-default #1 smp 2009-03-31 14:50:44 +0200 x86_64 x86_64 x86_64 gnulinux ' config_args='-Accflags=-fPIC -DDEBUGGING -DPERL_USE_SAFE_PUTENV - Dcf_email=daxim@cpan.org -Dhtml1dir=/home/daxim/local/share/doc/perl5 - Dhtml3dir=/home/daxim/local/share/doc/perl5 -Dnoextensions=ODBM_File - Dperladmin=daxim@cpan.org -Dprefix=/home/daxim/local -Dusemorebits - Dusethreads -des' hint=recommended, useposix=true, d_sigaction=define useithreads=define, usemultiplicity=define useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef use64bitint=define, use64bitall=define, uselongdouble=define usemymalloc=n, bincompat5005=undef Compiler: cc='cc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -fPIC -DDEBUGGING - fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE - D_FILE_OFFSET_BITS=64', optimize='-O2 -g', cppflags='-D_REENTRANT -D_GNU_SOURCE -fPIC -DDEBUGGING -fno-strict- aliasing -pipe -I/usr/local/include' ccversion='', gccversion='4.3.2 [gcc-4_3-branch revision 141291]', gccosandvers='' intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16 ivtype='long', ivsize=8, nvtype='long double', nvsize=16, Off_t='off_t', lseeksize=8 alignbytes=16, prototype=define Linker and Libraries: ld='cc', ldflags =' -L/usr/local/lib' libpth=/usr/local/lib /lib /usr/lib /lib64 /usr/lib64 /usr/local/ lib64 libs=-lnsl -lndbm -lgdbm -ldl -lm -lcrypt -lutil -lpthread -lc perllibs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc libc=/lib/libc-2.9.so, so=so, useshrplib=false, libperl=libperl.a gnulibc_version='2.9' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E' cccdlflags='-fPIC', lddlflags='-shared -O2 -g -L/usr/local/lib' Characteristics of this binary (from libperl): Compile-time options: DEBUGGING MULTIPLICITY PERL_DONT_CREATE_GVSV PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP PERL_TRACK_MEMPOOL USE_64_BIT_ALL USE_64_BIT_INT USE_ITHREADS USE_LARGE_FILES USE_LONG_DOUBLE USE_PERLIO USE_REENTRANT_API Locally applied patches: RT #49472: Attributes + Unknown Error Built under linux Compiled at May 11 2009 15:07:01 %ENV: PERL_EXTUTILS_AUTOINSTALL="--default-deps" @INC: /home/daxim/local/lib/perl5/5.10.0/x86_64-linux-thread-multi-ld /home/daxim/local/lib/perl5/5.10.0 /home/daxim/local/lib/perl5/site_perl/5.10.0/x86_64-linux-thread- multi-ld /home/daxim/local/lib/perl5/site_perl/5.10.0 .
Subject: prove.log
Download prove.log
application/octet-stream 4.7k

Message body not shown because it is not plain text.

Subject: Re: [rt.cpan.org #48517] test failures for t/0[5678]*.t on 64bit
Date: Sun, 9 Aug 2009 02:49:26 +0200
To: Lars Dieckow via RT <bug-DBIx-Class-TimeStamp [...] rt.cpan.org>
From: Florian Ragwitz <rafl [...] debian.org>
So apparently a couple of tests monkey patch DateTime::new to make it play well with Time::Warp, which doesn't seem to do what we want on your machine. Can you reproduce Time::Warp::time returning something that's not an epoch in scalar context? -- BOFH excuse #220: Someone thought The Big Red Button was a light switch.
Download signature.asc
application/pgp-signature 189b

Message body not shown because it is not plain text.

Return value is a fractional number between 0 and 1. Show quoted text
> re.pl
$ use Time::HiRes; use Time::Warp; use Devel::Peek $ say Dump Time::Warp::time for 1..10 SV = NV(0x641030) at 0x233b060 REFCNT = 1 FLAGS = (TEMP,NOK,pNOK) NV = 0.970184000000000046 SV = NV(0x641030) at 0x233b060 REFCNT = 1 FLAGS = (TEMP,NOK,pNOK) NV = 0.970388999999999946 SV = NV(0x641030) at 0x233b060 REFCNT = 1 FLAGS = (TEMP,NOK,pNOK) NV = 0.970439000000000052 SV = NV(0x641030) at 0x233b060 REFCNT = 1 FLAGS = (TEMP,NOK,pNOK) NV = 0.970482999999999985 SV = NV(0x641030) at 0x233b060 REFCNT = 1 FLAGS = (TEMP,NOK,pNOK) NV = 0.970527000000000029 SV = NV(0x641030) at 0x233b060 REFCNT = 1 FLAGS = (TEMP,NOK,pNOK) NV = 0.970569000000000015 SV = NV(0x641030) at 0x233b060 REFCNT = 1 FLAGS = (TEMP,NOK,pNOK) NV = 0.97061200000000003 SV = NV(0x641030) at 0x233b060 REFCNT = 1 FLAGS = (TEMP,NOK,pNOK) NV = 0.970655000000000046 SV = NV(0x641030) at 0x233b060 REFCNT = 1 FLAGS = (TEMP,NOK,pNOK) NV = 0.970698999999999979 SV = NV(0x641030) at 0x233b060 REFCNT = 1 FLAGS = (TEMP,NOK,pNOK) NV = 0.970741999999999994