[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: help for test error on pbuilder but ok on dpkg-buildpackage (DBI/SQLite)




Le 11/7/11 11:02 AM, Olivier Sallou a écrit :
> Hi,
> I have an error on test step for a package with SQLite using pbuilder.
> Works fine when using dpkg-buildpackage, so it should be a dependency
> issue but I cannot find it. Message is not explicit on missing data...
Issue seem to be related to a recent package update.
I updated my computer, and now tests fail on my computer too.

To be sure I tested on an other server (not recently updated), and tests
work fine (but pbuilder fails too as it has been updated too to get a
recent dependency).

>
> If someone with experience on perl/sqlite had an idea.... or can give me
> some hints to find the issue (how to get the require failure content in
> eval)
>
> Here is the error:
>
> t/Stock/010_stock.t ....... DBIx::Class::Schema::deploy(): DBI
> Connection failed: install_driver(SQLite) failed: Attempt to reload
> DBD/SQLite.pm aborted.
> Compilation failed in require at (eval 479) line 3.
>
>  at /usr/share/perl5/DBIx/Class/Storage/DBI.pm line 1248 at
> /tmp/buildd/libbio-chado-schema-perl-0.09040/blib/lib/Bio/Chado/Schema/Test.pm
> line 139
>
> In DBI.pm it fails on:
>       require DBI;
>       $dbh = DBI->connect(@info);
>
>
> Here are my build-depends:
>  libcarp-clan-perl,
>  libdbd-sqlite3-perl,
>  libdbix-class-perl,
>  libdbix-class-tree-nestedset-perl,
>  libsql-translator-perl,
>  libtest-exception-perl,
>  libtest-warn-perl,
>
> Thanks
>
> Olivier
>
>

-- 
Olivier Sallou
IRISA / University of Rennes 1
Campus de Beaulieu, 35000 RENNES - FRANCE
Tel: 02.99.84.71.95

gpg key id: 4096R/326D8438  (pgp.mit.edu)
Key fingerprint = 5FB4 6F83 D3B9 5204 6335  D26D 78DC 68DB 326D 8438



Reply to: