Subject: | Test failures (Do you need to predeclare is?) |
Date: | Sun, 5 Sep 2010 17:50:41 -0700 |
To: | bug-CommitBit [...] rt.cpan.org |
From: | Father Chrysostomos <sprout [...] cpan.org> |
When I try to test CommitBit from the CPAN shell, without installing it, I get several reams of failures like this:
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/*.t
t/00-model-Project.t ........ WARN - String found where operator expected at /Users/sprout/.cpan/build/CommitBit-0.02-h2xEqh/blib/lib/CommitBit/Model/User.pm line 10, near "is 'distinct'"
WARN - (Do you need to predeclare is?)
WARN - String found where operator expected at /Users/sprout/.cpan/build/CommitBit-0.02-h2xEqh/blib/lib/CommitBit/Model/User.pm line 10, near "is 'immutable'"
WARN - (Do you need to predeclare is?)
WARN - String found where operator expected at /Users/sprout/.cpan/build/CommitBit-0.02-h2xEqh/blib/lib/CommitBit/Model/User.pm line 10, near "is 'mandatory'"
WARN - (Do you need to predeclare is?)
syntax error at /Users/sprout/.cpan/build/CommitBit-0.02-h2xEqh/blib/lib/CommitBit/Model/User.pm line 10, near "is 'distinct'"
BEGIN not safe after errors--compilation aborted at /Users/sprout/.cpan/build/CommitBit-0.02-h2xEqh/blib/lib/CommitBit/Model/User.pm line 16.
Compilation failed in require at /Users/sprout/.cpan/build/CommitBit-0.02-h2xEqh/blib/lib/CommitBit/Model/ProjectMember.pm line 8.
BEGIN failed--compilation aborted at /Users/sprout/.cpan/build/CommitBit-0.02-h2xEqh/blib/lib/CommitBit/Model/ProjectMember.pm line 8.
Compilation failed in require at /Users/sprout/.cpan/build/Jifty-0.91117-uXNZsJ/blib/lib/Jifty/Util.pm line 277.
BEGIN failed--compilation aborted at t/00-model-Project.t line 11.
Judging by Jifty::DBI::Schema’s docs, it should work. Is PERL5LIB being ignored somehow, perhaps?
(I’m just trying to run the tests to make sure that the latest DBM::Deep does not introduce regressions. CommitBit requires Jifty, which require IPC::PubSub, which requires DBM::Deep.)