Subject: | DateTime has a recursive dependency? |
A client of mine, installing DateTime from the CPAN shell onto a freshly minted Red Hat Enterprise 3 box, got the following.
Show quoted text
cpan> install DateTime
Running install for module DateTime
Running make for D/DR/DROLSKY/DateTime-0.20.tar.gz
Is already unwrapped into directory /root/.cpan/build/DateTime-0.20
Has already been processed within this session
Running make test
---- Unsatisfied dependencies detected during
[D/DR/DROLSKY/DateTime-0.20.tar.gz] -----
DateTime::TimeZone
Running make install
make had returned bad status, install seems impossible
Delayed until after prerequisites
Running install for module DateTime::TimeZone
Running make for D/DR/DROLSKY/DateTime-TimeZone-0.26.tar.gz
Is already unwrapped into directory /root/.cpan/build/DateTime-TimeZone-0.26
Has already been processed within this session
Running make test
/usr/bin/perl Build test
* WARNING: Configuration was initially created with '/usr/bin/perl',
but we are now using '/usr/bin/perl'.
t/01load...........skipped
all skipped: Cannot run tests before DateTime.pm 0.1501 is installed.
t/02basic..........skipped
all skipped: Cannot run tests before DateTime.pm 0.1501 is installed.
t/03link...........skipped
all skipped: Cannot run tests before DateTime.pm 0.1501 is installed.
t/04local..........skipped
all skipped: Cannot run tests before DateTime.pm 0.1501 is installed.
t/05offset.........ok
t/06no-dst.........skipped
all skipped: Cannot run tests before DateTime.pm 0.1501 is installed.
t/07offset-only....skipped
all skipped: Cannot run tests before DateTime.pm 0.1501 is installed.
t/08name...........skipped
all skipped: Cannot run tests before DateTime.pm 0.1501 is installed.
t/09changes........skipped
all skipped: Cannot run tests before DateTime.pm 0.1501 is installed.
t/10invalid........ok
t/11valid-name.....# Failed test (t/11valid-name.t at line 17)
t/11valid-name.....ok 9/11# Looks like you failed 1 tests of 11.
t/11valid-name.....dubious
Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 1
Failed 1/11 tests, 90.91% okay
t/12storable.......skipped
all skipped: Cannot run tests before DateTime.pm 0.1501 is installed.
t/99-pod...........ok
1/1 skipped: File::Find::Rule not installed
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/11valid-name.t 1 256 11 1 9.09% 1
9 tests and 1 subtest skipped.
Failed 1/13 test scripts, 92.31% okay. 1/41 subtests failed, 97.56% okay.
make: *** [test] Error 29
/usr/bin/make test -- NOT OK
Running make install
make test had returned bad status, won't install without force
Running make for D/DR/DROLSKY/DateTime-0.20.tar.gz
Is already unwrapped into directory /root/.cpan/build/DateTime-0.20
Has already been processed within this session
Running make test
Can't test without successful make
Running make install
make had returned bad status, install seems impossible
It appears DateTime requires DateTime::Timezone, which can't be installed because the DateTime::Timezone tests need DateTime?
Or something...?
Given Red Hat's fairly large market share I imagine quite a few people might start to get this problem