[Dbix-class] DBIC test fails on solaris

Peter Rabbitson rabbit+dbic at rabbit.us
Tue Feb 10 17:28:10 GMT 2009


Dermot wrote:
> Hi,
> 
> I am getting the following test errors when I try to install on OpenSolaris
> 
> t/32connect_code_ref.......................DBI::db=HASH(0x88d5a80)->disconnect
> invalidates 22 active statement handles (either destroy statement
> handles or call finish on them before disconnecting) at
> /root/.cpan/build/DBIx-Class-0.08010/blib/lib/DBIx/Class/Storage/DBI.pm
> line 691.
> closing dbh with active statement handles at
> /root/.cpan/build/DBIx-Class-0.08010/blib/lib/DBIx/Class/Storage/DBI.pm
> line 691.
> t/32connect_code_ref.......................ok
> t/33storage_reconnect......................1/5
> DBI::db=HASH(0x88dfa78)->disconnect invalidates 22 active statement
> handles (either destroy statement handles or call finish on them
> before disconnecting) at t/33storage_reconnect.t line 23.
> closing dbh with active statement handles at t/33storage_reconnect.t line 23.
> t/33storage_reconnect...................... Failed 3/5 subtests
> 
> It probably not a co-incidence that these followed errors I got when
> installing DBD::SQLite.
> 
> t/05tran................ok
> t/06error...............ok
> t/07busy................ Failed 4/8 subtests
> t/08create_function.....1/18 Assertion failed: p, file sqlite3.c, line 10659
> t/08create_function..... Failed 13/18 subtests
> t/09create_aggregate....ok
> t/10dsnlist.............ok
> 
> 
> But I force installed DBD::SQLite anyway. I can continue to force
> install and see if my schema will load but I'd appreciate it if anyone
> can give me some advice on the nature of these errors and any possible
> solution.
> 

Your DBD::SQLite is buggy. If you try to install the upcoming version[1] (which
should be on CPAN in about 2 days) - it will give you a much better description
of what is broken and why. In any case - you need to reinstall DBD::SQLite.
Make sure you uninstall any local sqlite3-dev libraries before you do that.

[1] http://rabbit.us/diff/DBIx-Class-0.08011.tar.gz



More information about the DBIx-Class mailing list