Bug#591111: libdbd-sqlite3-perl: FTBFS: failed tests

Niko Tyni ntyni at debian.org
Mon Aug 23 05:28:30 UTC 2010


tag 591111 patch
thanks

On Thu, Aug 05, 2010 at 11:43:07AM +0900, Ansgar Burchardt wrote:
> Lucas Nussbaum <lucas at lucas-nussbaum.net> writes:
> 
> > Source: libdbd-sqlite3-perl
> > Version: 1.29-2
> 
> >> t/07_error.t ............................. ok
> >> 
> >> #   Failed test at t/08_busy.t line 101.
> >> # Your testing environment might be too slow to pass this test: DBD::SQLite::db do failed: disk I/O error at t/08_busy.t line 100, <READER> line 1.

> This only happens with libsqlite3-dev 3.7.0-1, the test suite passes
> with the older 3.6.23.1-4.  Should we reassign this to libsqlite3?

No, I don't think so. I think it's just a libdbd-sqlite3-perl test suite
problem. Its child processes clean up database files while the parent
keeps them open. This used to work with earlier sqlite3 versions but
write locks now seem to do a stat() on the file and fail if it's missing.

I don't think writing to a deleted database file is useful in the real
world, so it should be enough to change the test suite. Patch attached.
-- 
Niko Tyni   ntyni at debian.org


More information about the pkg-perl-maintainers mailing list