Subject: | Tests fail on fresh install of Ubuntu 8.10 |
I have a fresh install of Ubuntu 8.10, perl 5.10 and below is what
happened when I tried to install via CPAN.
Linux ubuntu 2.6.27-7-server #1 SMP Fri Oct 24 07:37:55 UTC 2008 i686
GNU/Linux
This is perl, v5.10.0 built for i486-linux-gnu-thread-multi
cpan[3]> install DateTime
Running install for module 'DateTime'
Running make for D/DR/DROLSKY/DateTime-0.44.tar.gz
Has already been unwrapped into directory
/root/.cpan/build/DateTime-0.44-JU9YsB
Has already been made
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00load................ok
t/01sanity..............ok
t/02last_day............ok
t/03components..........ok
t/04epoch...............1/37
# Failed test 'year should be 1870'
# at t/04epoch.t line 121.
# got: '1901'
# expected: '1870'
# Failed test 'month should be 1'
# at t/04epoch.t line 122.
# got: '12'
# expected: '1'
# Failed test 'day should be 1'
# at t/04epoch.t line 123.
# got: '13'
# expected: '1'
# Failed test 'year should be 2300'
# at t/04epoch.t line 132.
# got: '1969'
# expected: '2300'
# Failed test 'month should be 1'
# at t/04epoch.t line 133.
# got: '12'
# expected: '1'
# Failed test 'day should be 1'
# at t/04epoch.t line 134.
# got: '31'
# expected: '1'
# Looks like you failed 6 tests of 37.
t/04epoch............... Dubious, test returned 6 (wstat 1536, 0x600)
Failed 6/37 subtests
t/05set.................ok
t/06add.................ok
t/07compare.............ok
t/09greg................1/35 # this may take a minute...
t/09greg................ok
t/10subtract............ok
t/11duration............ok
t/12week................ok
t/13strftime............1/134 # New locale: de
# New locale: it
t/13strftime............ok
t/14locale..............ok
t/15jd..................ok
t/16truncate............ok
t/17set_return..........ok
t/18today...............ok
t/19leap_second.........ok
t/20infinite............ok
t/21bad_params..........ok
t/22from_doy............ok
t/23storable............ok
t/24from_object.........ok
t/25add_subtract........ok
t/26dt_leapsecond_pm....ok
t/27delta...............ok
t/28dow.................ok
t/29overload............ok
t/30future_tz...........ok
t/31formatter...........skipped: DateTime::Format::Strptime 1.0400+ not
installed
t/32leap_second2........ok
t/33seconds_offset......ok
t/34set_tz..............ok
t/35rd_values...........ok
t/36invalid_local.......ok
t/37local-add...........ok
t/38local-subtract......ok
t/39no-so...............ok
t/40leap-years..........ok
t/41cldr_format.........ok
t/pod-coverage..........ok
t/pod...................ok
Test Summary Report
-------------------
t/04epoch (Wstat: 1536 Tests: 37 Failed: 6)
Failed tests: 32-37
Non-zero exit status: 6
Files=43, Tests=3282, 12 wallclock secs ( 0.24 usr 0.29 sys + 9.94
cusr 1.79 csys = 12.26 CPU)
Result: FAIL
Failed 1/43 test programs. 6/3282 subtests failed.
make: *** [test_dynamic] Error 255
DROLSKY/DateTime-0.44.tar.gz
/usr/bin/make test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports DROLSKY/DateTime-0.44.tar.gz
Running make install
make test had returned bad status, won't install without force
Failed during this command:
DROLSKY/DateTime-0.44.tar.gz : make_test NO