Skip Menu |

This queue is for tickets about the Date-Simple CPAN distribution.

Report information
The Basics
Id: 11671
Status: new
Priority: 0/
Queue: Date-Simple

People
Owner: Nobody in particular
Requestors: rafan [...] infor.org
Cc:
AdminCc:

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



Subject: wrong month and wrong date
I got wrong month and wrong date on 3.02 and 2.04 and perl 5.8.6. I'm not sure if it is 5.8.6's fault. I remembered that I saw similar things on 5.8.5 before. from test result, seems the month -> date, and month -> 00. $ make test PERL_DL_NONLAZY=1 /usr/local/bin/perl5.8.6 "-MExtUtils::Command::MM" "-e" "test_ harness(0, 'blib/lib', 'blib/arch')" t/*.t t/date....ok 2/227# Failed test (t/date.t at line 48) t/date....ok 4/227# Failed test (t/date.t at line 55) # got: '2000-00-03' # expected: '2000-03-06' # Failed test (t/date.t at line 58) t/date....ok 6/227# got: '2000-00-02' # expected: '2000-02-21' t/date....ok 10/227# Failed test (t/date.t at line 64) # got: '2000-00-02' # expected: '2000-02-28' # Failed test (t/date.t at line 87) # got: '1998-00-03' # expected: '1998-03-07' t/date....ok 12/227# Failed test (t/date.t at line 90) # got: '1998-00-02' # expected: '1998-02-21' # Failed test (t/date.t at line 93) # got: '1998-00-02' # expected: '1998-02-28' t/date....ok 14/227# Failed test (t/date.t at line 120) # got: '20000003' # expected: '20000301' t/date....ok 17/227# Failed test (t/date.t at line 214) # got: '1972-00-04' # expected: '1972-04-28' # Failed test (t/date.t at line 215) t/date....ok 19/227# got: '19720004' # expected: '19720428' t/date....ok 21/227# Failed test (t/date.t at line 216) # got: '1972-00-04' # expected: '1972-04-28' # Failed test (t/date.t at line 224) # got: '19720004' # expected: '19720428' t/date....ok 23/227# Failed test (t/date.t at line 225) # got: '19720004' # expected: '19720428' # Failed test (t/date.t at line 226) # got: '19720004' # expected: '19720428' t/date....ok 25/227# Failed test (t/date.t at line 227) # got: '19720004' # expected: '19720428' # Failed test (t/date.t at line 229) t/date....ok 27/227# got: '1972-00-04' # expected: '1972-04-28' # Failed test (t/date.t at line 230) # got: '1972-00-04' # expected: '1972-04-28' # Failed test (t/date.t at line 231) t/date....ok 29/227# got: '1972-00-04' # expected: '1972-04-28' t/date....ok 31/227# Failed test (t/date.t at line 232) # got: '1972-00-04' # expected: '1972-04-28' t/date....ok 32/227# Failed test (t/date.t at line 254) # got: '2005-00-02' # expected: '2005-02-27' # Failed test (t/date.t at line 255) t/date....ok 34/227# got: '20050002' # expected: '20050227' t/date....ok 36/227# Failed test (t/date.t at line 256) # got: '2005-00-02' # expected: '2005-02-27' # Looks like you failed 22 tests of 227. t/date....dubious Test returned status 22 (wstat 5632, 0x1600) DIED. FAILED tests 22, 24, 26, 30, 42, 44, 46, 63, 200-202, 208-215, 224-226 Failed 22/227 tests, 90.31% okay Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/date.t 22 5632 227 22 9.69% 22 24 26 30 42 44 46 63 200-202 208- 215 224-226 Failed 1/1 test scripts, 0.00% okay. 22/227 subtests failed, 90.31% okay. *** Error code 2 Summary of my perl5 (revision 5 version 8 subversion 6) configuration: Platform: osname=freebsd, osvers=5.3-stable, archname=i386-freebsd-64int uname='freebsd svm.csie.ntu.edu.tw 5.3-stable freebsd 5.3-stable #0: sat jan 8 21:21:15 cst 2005 root@svm.csie.ntu.edu.tw:homeadminobjhomeadminsrcsyssvm i38 6 ' config_args='-sde -Dprefix=/usr/local -Darchlib=/usr/local/lib/perl5/5.8.6/m ach -Dprivlib=/usr/local/lib/perl5/5.8.6 -Dman3dir=/usr/local/lib/perl5/5.8.6/pe rl/man/man3 -Dman1dir=/usr/local/man/man1 -Dsitearch=/usr/local/lib/perl5/site_p erl/5.8.6/mach -Dsitelib=/usr/local/lib/perl5/site_perl/5.8.6 -Dscriptdir=/usr/l ocal/bin -Dsiteman3dir=/usr/local/lib/perl5/5.8.6/man/man3 -Dsiteman1dir=/usr/lo cal/man/man1 -Ui_malloc -Ui_iconv -Uinstallusrbinperl -Dcc=cc -Doptimize=-O -pip e -march=pentium4 -Duseshrplib -Dccflags=-DAPPLLIB_EXP="/usr/local/lib/perl5/5.8 .6/BSDPAN" -Ud_dosuid -Ui_gdbm -Dusethreads=n -Dusemymalloc=y -Duse64bitint' hint=recommended, useposix=true, d_sigaction=define usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=unde f useperlio=define d_sfio=undef uselargefiles=define usesocks=undef use64bitint=define use64bitall=undef uselongdouble=undef usemymalloc=y, bincompat5005=undef Compiler: cc='cc', ccflags ='-DAPPLLIB_EXP="/usr/local/lib/perl5/5.8.6/BSDPAN" -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -I/usr/local/include', optimize='-O -pipe -march=pentium4', cppflags='-DAPPLLIB_EXP="/usr/local/lib/perl5/5.8.6/BSDPAN" -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -I/usr/local/include' ccversion='', gccversion='3.4.2 [FreeBSD] 20040728', 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=4, prototype=define Linker and Libraries: ld='cc', ldflags =' -Wl,-E -L/usr/local/lib' libpth=/usr/lib /usr/local/lib libs=-lgdbm -lm -lcrypt -lutil perllibs=-lm -lcrypt -lutil libc=, so=so, useshrplib=true, libperl=libperl.so gnulibc_version='' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' -Wl,-R/usr/local/lib/perl5/5.8.6/mach/CORE' cccdlflags='-DPIC -fPIC', lddlflags='-shared -L/usr/local/lib' Characteristics of this binary (from libperl): Compile-time options: USE_64_BIT_INT USE_LARGE_FILES Locally applied patches: SUIDPERLIO0 - fix PERLIO_DEBUG local root exploit (CAN-2005-0155) SUIDPERLIO1 - fix PERLIO_DEBUG buffer overflow (CAN-2005-0156) Built under freebsd Compiled at Feb 8 2005 23:07:27 @INC: /usr/local/lib/perl5/site_perl/5.8.6/mach /usr/local/lib/perl5/site_perl/5.8.6 /usr/local/lib/perl5/site_perl/5.8.5 /usr/local/lib/perl5/site_perl/5.005 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.8.6/BSDPAN /usr/local/lib/perl5/5.8.6/mach /usr/local/lib/perl5/5.8.6 .
From: uusge [...] yahoo.com
I have similar error on similar configuration (FreeBSD)