Subject: | Time::y2038 fails pre-install tests |
Date: | Thu, 6 Nov 2008 10:00:09 -0500 |
To: | bug-Time-y2038 [...] rt.cpan.org |
From: | Rich McDonough <rich.mcdonough [...] worldgaming.com> |
I'm trying to install the Time::y2038 module through CPAN and am
running into what I believe is a bug. Here is the complete output from
the attempted install:
***
cpan[6]> install Time::y2038
Running install for module 'Time::y2038'
Running Build for M/MS/MSCHWERN/Time-y2038-20081020.tar.gz
Has already been unwrapped into directory /root/.cpan/build/Time-
y2038-20081020-VuvPwU
CPAN.pm: Going to build M/MS/MSCHWERN/Time-y2038-20081020.tar.gz
Checking whether your kit is complete...
Looks good
Checking prerequisites...
Looks good
Deleting Build
Removed previous script 'Build'
Creating new 'Build' script for 'Time-y2038' version '20081020'
/usr/bin/perl munge_config y2038/time64_config.h
gcc -Iy2038 -Iy2038 -I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/
CORE -fPIC -c -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -
Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -
D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -Wall -Wp,-
D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-
size=4 -m64 -mtune=generic -o y2038/time64.o y2038/time64.c
Copying lib/Time/y2038.pm -> blib/lib/Time/y2038.pm
Copying lib/Time/y2038/Everywhere.pm -> blib/lib/Time/y2038/
Everywhere.pm
lib/Time/y2038.xs -> lib/Time/y2038.c
/usr/bin/perl -I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi -I/
usr/lib/perl5/5.8.8 /usr/lib/perl5/5.8.8/ExtUtils/xsubpp -noprototypes
-typemap /usr/lib/perl5/5.8.8/ExtUtils/typemap lib/Time/y2038.xs
gcc -Iy2038 -Iy2038 -I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/
CORE -DXS_VERSION="20081020" -DVERSION="20081020" -fPIC -c -
D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-
after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -
D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -Wall -Wp,-
D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-
size=4 -m64 -mtune=generic -o lib/Time/y2038.o lib/Time/y2038.c
ExtUtils::Mkbootstrap::Mkbootstrap('blib/arch/auto/Time/y2038/y2038.bs')
gcc -shared -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -
fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -o blib/
arch/auto/Time/y2038/y2038.so lib/Time/y2038.o y2038/time64.o
Manifying blib/lib/Time/y2038.pm -> blib/libdoc/Time::y2038.3pm
Manifying blib/lib/Time/y2038/Everywhere.pm -> blib/libdoc/
Time::y2038::Everywhere.3pm
MSCHWERN/Time-y2038-20081020.tar.gz
./Build -- OK
Running Build test
t/everywhere....ok
t/time..........ok
t/timegm........1/?
# Failed test 'timegm(-4503599627370496)'
# at t/timegm.t line 14.
# got: '-4.5035996273705e+15'
# expected: '-4503599627370496'
t/timegm........3/?
# Failed test 'timelocal(-4503599627370496)'
# at t/timegm.t line 15.
# got: '-4.5035996273705e+15'
# expected: '-4503599627370496'
# Failed test 'timegm(4503599627370496)'
# at t/timegm.t line 14.
# got: '4.5035996273705e+15'
# expected: '4503599627370496'
# Failed test 'timelocal(4503599627370496)'
# at t/timegm.t line 15.
# got: '4.5035996273705e+15'
# expected: '4503599627370496'
# Looks like you failed 4 tests of 13.
t/timegm........ Dubious, test returned 4 (wstat 1024, 0x400)
Failed 4/13 subtests
Test Summary Report
-------------------
t/timegm (Wstat: 1024 Tests: 13 Failed: 4)
Failed tests: 2-3, 10-11
Non-zero exit status: 4
Files=3, Tests=48, 2 wallclock secs ( 0.05 usr 0.00 sys + 2.39
cusr 0.03 csys = 2.47 CPU)
Result: FAIL
Failed 1/3 test programs. 4/48 subtests failed.
MSCHWERN/Time-y2038-20081020.tar.gz
./Build test -- NOT OK
//hint// to see the cpan-testers results for installing this module,
try:
reports MSCHWERN/Time-y2038-20081020.tar.gz
Running Build install
make test had returned bad status, won't install without force
Failed during this command:
MSCHWERN/Time-y2038-20081020.tar.gz : make_test NO
***
This is being attempted on a CentOS 5.2 Xen guest, x64. Any assistance
would be greatly appreciated!
Rich McDonough
System Adminstrator
Worldgaming
rich.mcdonough@worldgaming.com