---------- Forwarded message ----------
Date: Tue, 26 Aug 2003 04:11:36 -0400 (EDT)
From: "[EMAIL PROTECTED] via RT" <[EMAIL PROTECTED]>
To: AdminCc of cpan Ticket #3303:  ;
Subject: [Comment] Re: [cpan #3303] test t20infinite.t failed on Linux
    mandrake 9.0

This message about DateTime was sent to you by [EMAIL PROTECTED] via rt.cpan.org

Full context and any attached attachments can be found at:
<URL: https://rt.cpan.org/Ticket/Display.html?id=3303 >

This is a comment.  It is not sent to the Requestor(s):

Summary of my perl5 (revision 5.0 version 8 subversion 0) configuration:
  Platform:
    osname=linux, osvers=2.4.19-2mdkenterprise,
archname=i386-linux-thread-multi
    uname='linux no.mandrakesoft.com 2.4.19-2mdkenterprise #1 smp tue
aug 13 00:17:42 cest 2002 i686 unknown unknown gnulinux '
    config_args='-des -Darchname=i386-linux -Dcc=gcc -Doptimize=-O3
-fomit-frame-pointer -pipe -mcpu=pentiumpro -march=i586 -ffast-math
-fno-strength-reduce -Dprefix=/usr -Dvendorprefix=/usr -Dsiteprefix=/usr
-Dman3ext=3pm -Dcf_by=MandrakeSoft -Dmyhostname=localhost
[EMAIL PROTECTED] -Dd_dosuid -Ud_csh -Duseshrplib -Dusethreads'
    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=undef use64bitall=undef uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='gcc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm',
    optimize='-O3 -fomit-frame-pointer -pipe -mcpu=pentiumpro
-march=i586 -ffast-math -fno-strength-reduce',
    cppflags='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing
-I/usr/include/gdbm'
    ccversion='', gccversion='3.2 (Mandrake Linux 9.0 3.2-1mdk)',
gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
    alignbytes=4, prototype=define
  Linker and Libraries:
    ld='gcc', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib
    libs=-lnsl -lndbm -lgdbm -ldl -lm -lpthread -lc -lcrypt -lutil
    perllibs=-lnsl -ldl -lm -lpthread -lc -lcrypt -lutil
    libc=/lib/libc-2.2.5.so, so=so, useshrplib=true, libperl=libperl.so
    gnulibc_version='2.2.5'
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic
-Wl,-rpath,/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE'
    cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'


Characteristics of this binary (from libperl):
  Compile-time options: MULTIPLICITY USE_ITHREADS USE_LARGE_FILES
PERL_IMPLICIT_CONTEXT
  Built under linux
  Compiled at Sep  6 2002 23:24:44
  @INC:
    /usr/lib/perl5/5.8.0/i386-linux-thread-multi
    /usr/lib/perl5/5.8.0
    /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi
    /usr/lib/perl5/site_perl/5.8.0
    /usr/lib/perl5/site_perl
    /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi
    /usr/lib/perl5/vendor_perl/5.8.0
    /usr/lib/perl5/vendor_perl
    .



[EMAIL PROTECTED] via RT wrote:

>Full context and any attached attachments can be found at:
><URL: http://rt.cpan.org/NoAuth/Bug.html?id=3303 >
>
>[ moved onto the datetime list ]
>
>On Thu, 21 Aug 2003, Guest via RT wrote:
>
>
>
>>This message about DateTime was sent to you by guest <> via rt.cpan.org
>>
>>Full context and any attached attachments can be found at:
>><URL: https://rt.cpan.org/Ticket/Display.html?id=3303 >
>>
>>The test t/infinite20.t (DateTime-1601 with perl 5.8.0) failed at line 53 and then 
>>at line 61 (certainly because of the first failure). I added a debug line after line 
>>53:
>>    print STDERR 
>> "\nlong_ago=",$long_ago->ymd,"\nneg_dur=",$neg_dur->deltas,"\nneg2=",$neg2->ymd,"\nneg=",$neg->ymd,"\n\n";
>>
>>and I get the following output:
>>
>>t/20infinite............ok 8/40
>>long_ago=-100000-01-01
>>neg_dur=months0days-infminutes0secondsnannanoseconds-inf
>>neg2=-0001--01--01
>>neg=-2147483648--2147483648--2147483648
>>
>>
>>There is certainly a misinterpretation of -infinite time, is negative enough or 
>>should it be -inf--inf--inf ?
>>
>>
>
>It should ben -inf for all values.  Can you respond with the output of
>"perl -V"?
>
>
>-dave
>
>/*=======================
>House Absolute Consulting
>www.houseabsolute.com
>=======================*/
>
>
>

-- 

Ghislain Picard
Centre for Terrestrial Carbon Dynamics
Sheffield Centre for Earth Observation Science
University of Sheffield
Hicks Building
Hounsfield Road
Sheffield S3 7RH
UK
Tel:+44 114 222 3793
Fax: +44 114 222 3809





Reply via email to