Skip Menu |

This queue is for tickets about the SQLite_File CPAN distribution.

Report information
The Basics
Id: 76418
Status: resolved
Priority: 0/
Queue: SQLite_File

People
Owner: maj.fortinbras [...] gmail.com
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in:
  • 0.02
  • 0.04
Fixed in: 0.050



Subject: Test failures on all BSD systems (locking problems?)
http://matrix.cpantesters.org/?dist=SQLite_File-0.02 shows that the test suite fails on all BSD systems. This is usually an indication that a temporary file generated by File::Temp was used for testing with SQLite. File::Temp turns on locking on *BSD system, which conflicts with SQLite's own locking. There's an option to turn off locking, please refer to the File::Temp documentation. Regards, Slaven
It's a locking issue around File::Temp. Here is a patch. https://gist.github.com/tokuhirom/5242866 This behavior is documented on File::Temp's pod. https://metacpan.org/module/File::Temp#FUNCTIONS On Sun Apr 08 16:55:18 2012, SREZIC wrote: Show quoted text
> http://matrix.cpantesters.org/?dist=SQLite_File-0.02 shows that the test > suite fails on all BSD systems. This is usually an indication that a > temporary file generated by File::Temp was used for testing with SQLite. > File::Temp turns on locking on *BSD system, which conflicts with > SQLite's own locking. There's an option to turn off locking, please > refer to the File::Temp documentation. > > Regards, > Slaven
Thanks for the ping -- I will get this updated- much appreciated! MAJ
On Mon Oct 12 09:49:09 2015, MAJENSEN wrote: Show quoted text
> Thanks for the ping -- I will get this updated- > much appreciated! MAJ
Patched at v0.041 (https://github.com/majensen/sqlite_file/tree/v0.041)