[Dbix-class] Weird build/test failures on CentOS 3, DBIx::Class .06001
Peter Edwards
peterdragon at users.sourceforge.net
Mon Apr 17 10:51:02 CEST 2006
Hi Gavin, try upgrading to perl to 5.8.5 or later.
I have Catalyst/DBIx::Class running on Redhat Linux 9 under a compiled
version of perl 5.8.6 and on RHEL4/Centos4 using apt package
perl-5.8.5-24.RHEL4.
Regards, Peter
-----Original Message-----
From: dbix-class-bounces at lists.rawmode.org
[mailto:dbix-class-bounces at lists.rawmode.org] On Behalf Of Gavin Carr
Sent: 17 April 2006 03:54
To: DBIx::Class
Subject: Re: [Dbix-class] Weird build/test failures on CentOS 3,DBIx::Class
.06001
On Thu, Apr 13, 2006 at 01:04:33PM +1000, Gavin Carr wrote:
> I'm trying to install DBIx::Class 0.06001 on two CentOS3 (RHEL3) boxes and
getting
> some pretty weird test failures. 'perl Makefile.PL' and 'make' both look
fine, and
> then 'make test' fails as follows:
No one got any ideas on this? Anyone out there who has successfully
built on CentOS3/RHEL3, or even perl 5.8.0 in general?
Cheers,
Gavin
> calix:~/.cpan/build/DBIx-Class-0.06001$ make test
> /usr/bin/perl Build --makefile_env_macros 1 test
> t/02pod.............................ok
> t/04dont_break_c3...................ok
> t/05components......................ok
> t/18inserterror.....................NOK 1
> # Failed test 'use DBICTest;'
> # in t/18inserterror.t at line 15.
> # Tried to use 'DBICTest'.
> # Error: Can't locate object method "new" via package
"DBIx::Class::ResultSource::Table" at
/export/home/gavin/.cpan/build/DBIx-Class-0.06001/blib/lib/DBIx/Class/Result
SourceProxy/Table.pm line 50.
> # Compilation failed in require at (eval 14) line 2.
> # BEGIN failed--compilation aborted at t/18inserterror.t line 15.
> # Compilation failed in require at t/lib/DBICTest.pm line 6.
> # BEGIN failed--compilation aborted at t/lib/DBICTest.pm line 6.
> # Compilation failed in require at (eval 8) line 2.
> # BEGIN failed--compilation aborted at (eval 8) line 2.
> t/18inserterror.....................ok 3/3# Looks like you failed 1 test
of 3.
> t/18inserterror.....................dubious
> Test returned status 1 (wstat 256, 0x100)
> DIED. FAILED test 1
> Failed 1/3 tests, 66.67% okay
> t/19quotes..........................NOK 1
> # Failed test 'use DBICTest;'
> # in t/19quotes.t at line 14.
> # Tried to use 'DBICTest'.
> # Error: Can't locate object method "new" via package
"DBIx::Class::ResultSource::Table" at
/export/home/gavin/.cpan/build/DBIx-Class-0.06001/blib/lib/DBIx/Class/Result
SourceProxy/Table.pm line 50.
> # Compilation failed in require at (eval 17) line 2.
> # BEGIN failed--compilation aborted at t/19quotes.t line 14.
> # Compilation failed in require at t/lib/DBICTest.pm line 6.
> # BEGIN failed--compilation aborted at t/lib/DBICTest.pm line 6.
> # Compilation failed in require at (eval 7) line 2.
> # BEGIN failed--compilation aborted at (eval 7) line 2.
> t/19quotes..........................NOK 2
> # Failed test 'use DBICTest::HelperRels;'
> # in t/19quotes.t at line 16.
> # Tried to use 'DBICTest::HelperRels'.
> # Error: Can't locate object method "result_source_instance" via
package "DBICTest::Schema::Artist" at
/export/home/gavin/.cpan/build/DBIx-Class-0.06001/blib/lib/DBIx/Class/Result
SourceProxy.pm line 45.
> # Compilation failed in require at t/lib/DBICTest/HelperRels.pm line 5.
> # BEGIN failed--compilation aborted at t/19quotes.t line 16.
> # Compilation failed in require at (eval 53) line 2.
> # BEGIN failed--compilation aborted at (eval 53) line 2.
> Can't locate object method "schema" via package "DBICTest" at
t/19quotes.t line 18.
> # Looks like you planned 7 tests but only ran 2.
> # Looks like you failed 2 tests of 2 run.
> # Looks like your test died just after 2.
> t/19quotes..........................dubious
> Test returned status 255 (wstat 65280, 0xff00)
> DIED. FAILED tests 1-7
> Failed 7/7 tests, 0.00% okay
> <snip>
>
> with lots more similar failures following, ending with:
>
> 21 tests skipped.
> Failed 58/84 test scripts, 30.95% okay. 13/110 subtests failed, 88.18%
okay.
>
> Same failures on both CentOS 3 machines, which are both running the stock
perl:
>
> calix:~/.cpan/build/DBIx-Class-0.06001$ perl -v
>
> This is perl, v5.8.0 built for i386-linux-thread-multi
> (with 1 registered patch, see perl -V for more detail)
>
> I've checked the cited packages (DBIx::Class::ResultSource::Table,
DBICTest::Schema::Artist, etc.)
> and various base classes in blib/lib, and everything looks completely
normal. I've got no idea
> what's going on.
>
> Anyone got any ideas where to look next? Anyone out there with a CentOS3 /
RHEL3 who's had success
> installing DBIx::Class 0.06xxx?
>
> For the record, I get similar failures with .06000, but .05001 built just
fine.
>
> Thanks much,
> Gavin
>
>
> _______________________________________________
> List: http://lists.rawmode.org/cgi-bin/mailman/listinfo/dbix-class
> Wiki: http://dbix-class.shadowcatsystems.co.uk/
> IRC: irc.perl.org#dbix-class
> SVN: http://dev.catalyst.perl.org/repos/bast/trunk/DBIx-Class/
>
--
Cheers,
Gavin
--
Open Fusion - Open Source Business Solutions [ Linux - Perl - Apache ]
http://www.openfusion.com.au
http://www.sharebot.net
- Fashion is a variable, but style is a constant - Programming Perl
_______________________________________________
List: http://lists.rawmode.org/cgi-bin/mailman/listinfo/dbix-class
Wiki: http://dbix-class.shadowcatsystems.co.uk/
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/trunk/DBIx-Class/
More information about the Dbix-class
mailing list