Your message dated Sun, 31 May 2009 17:47:14 +0000
with message-id <[email protected]>
and subject line Bug#529734: fixed in sqlite3 3.6.14.2-1
has caused the Debian Bug report #529734,
regarding sqlite3: unusuable on Hurd due to locking problems
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
529734: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=529734
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: sqlite3
Version: 3.6.13-1
Severity: important


Coin,

sqlite3 is able to choose the file locking method properly according to the system on which it runs, but unfortunately doesn't have any knowledge about the Hurd, which is treated like Linux. The attached very small patch just modify the method selection on Hurd only; you can drop it in your debian/patches directory as-is.

Without this patch, any write attempt to the db file fails, so sqlite3 is completely unsusuable. With this patch it works very well, and the test suite from libdbd-sqlite3-perl gives no error. Would you please add this patch to your next upload (and help push it upstream too) ?

Regards.

--
Marc Dequènes (Duck)
--- z/src/os_unix.c	2009-04-09 20:41:18.000000000 +0200
+++ z/src/os_unix.c	2009-05-21 01:24:01.000000000 +0200
@@ -66,7 +66,7 @@
 ** where the database is located.  
 */
 #if !defined(SQLITE_ENABLE_LOCKING_STYLE)
-#  if defined(__APPLE__)
+#  if defined(__APPLE__) || defined(__GNU__)
 #    define SQLITE_ENABLE_LOCKING_STYLE 1
 #  else
 #    define SQLITE_ENABLE_LOCKING_STYLE 0
@@ -130,7 +130,9 @@
 # else
 #  include <sys/file.h>
 #  include <sys/param.h>
-#  include <sys/mount.h>
+#   if ! defined(__GNU__)
+#    include <sys/mount.h>
+#   endif
 # endif
 #endif /* SQLITE_ENABLE_LOCKING_STYLE */
 
@@ -5101,6 +5103,8 @@
   static sqlite3_vfs aVfs[] = {
 #if SQLITE_ENABLE_LOCKING_STYLE && (OS_VXWORKS || defined(__APPLE__))
     UNIXVFS("unix",          autolockIoFinder ),
+#elif SQLITE_ENABLE_LOCKING_STYLE && defined(__GNU__)
+    UNIXVFS("unix",          flockIoFinder ),
 #else
     UNIXVFS("unix",          posixIoFinder ),
 #endif

Attachment: pgpeRjBBGtkwt.pgp
Description: PGP Digital Signature


--- End Message ---
--- Begin Message ---
Source: sqlite3
Source-Version: 3.6.14.2-1

We believe that the bug you reported is fixed in the latest version of
sqlite3, which is due to be installed in the Debian FTP archive:

lemon_3.6.14.2-1_amd64.deb
  to pool/main/s/sqlite3/lemon_3.6.14.2-1_amd64.deb
libsqlite3-0-dbg_3.6.14.2-1_amd64.deb
  to pool/main/s/sqlite3/libsqlite3-0-dbg_3.6.14.2-1_amd64.deb
libsqlite3-0_3.6.14.2-1_amd64.deb
  to pool/main/s/sqlite3/libsqlite3-0_3.6.14.2-1_amd64.deb
libsqlite3-dev_3.6.14.2-1_amd64.deb
  to pool/main/s/sqlite3/libsqlite3-dev_3.6.14.2-1_amd64.deb
libsqlite3-tcl_3.6.14.2-1_amd64.deb
  to pool/main/s/sqlite3/libsqlite3-tcl_3.6.14.2-1_amd64.deb
sqlite3-doc_3.6.14.2-1_all.deb
  to pool/main/s/sqlite3/sqlite3-doc_3.6.14.2-1_all.deb
sqlite3_3.6.14.2-1.diff.gz
  to pool/main/s/sqlite3/sqlite3_3.6.14.2-1.diff.gz
sqlite3_3.6.14.2-1.dsc
  to pool/main/s/sqlite3/sqlite3_3.6.14.2-1.dsc
sqlite3_3.6.14.2-1_amd64.deb
  to pool/main/s/sqlite3/sqlite3_3.6.14.2-1_amd64.deb
sqlite3_3.6.14.2.orig.tar.gz
  to pool/main/s/sqlite3/sqlite3_3.6.14.2.orig.tar.gz



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Laszlo Boszormenyi (GCS) <[email protected]> (supplier of updated sqlite3 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Sun, 31 May 2009 16:28:06 +0000
Source: sqlite3
Binary: lemon sqlite3 sqlite3-doc libsqlite3-0-dbg libsqlite3-0 libsqlite3-dev 
libsqlite3-tcl
Architecture: source all amd64
Version: 3.6.14.2-1
Distribution: unstable
Urgency: low
Maintainer: Laszlo Boszormenyi (GCS) <[email protected]>
Changed-By: Laszlo Boszormenyi (GCS) <[email protected]>
Description: 
 lemon      - The Lemon Parser Generator
 libsqlite3-0 - SQLite 3 shared library
 libsqlite3-0-dbg - SQLite 3 debugging symbols
 libsqlite3-dev - SQLite 3 development files
 libsqlite3-tcl - SQLite 3 Tcl bindings
 sqlite3    - A command line interface for SQLite 3
 sqlite3-doc - SQLite 3 documentation
Closes: 529734
Changes: 
 sqlite3 (3.6.14.2-1) unstable; urgency=low
 .
   * New upstream release. Disable ICU support, it causes more trouble than
     good.
   * Add 20-hurd-locking-style.patch for proper locking on Hurd
     (closes: #529734).
Checksums-Sha1: 
 29e39306c95f8cfa1c038a167fe4071108bd531a 1181 sqlite3_3.6.14.2-1.dsc
 85ad0ad3513cac8d79886b3673f7c022098a40f9 4640607 sqlite3_3.6.14.2.orig.tar.gz
 55a670b93c6cb3ae9d9e8cf3f5b34cfee9784761 20413 sqlite3_3.6.14.2-1.diff.gz
 f6929a3ffce5e55613801444011e5b2744506ea8 1807696 sqlite3-doc_3.6.14.2-1_all.deb
 e0d07b2f07e65aeeba093116ad87c294f87cb75a 44914 lemon_3.6.14.2-1_amd64.deb
 6263aa471e39829b0572aa1fab15e8a9c3fba8af 30994 sqlite3_3.6.14.2-1_amd64.deb
 d8b5cb43e871c1a2d579add742a43ee0baecd078 294522 
libsqlite3-0_3.6.14.2-1_amd64.deb
 485cebca94b77499b1171972cfd3294c42e68598 616458 
libsqlite3-0-dbg_3.6.14.2-1_amd64.deb
 461064cbc9dadf5d7507b3a979935144ccd09eed 382268 
libsqlite3-dev_3.6.14.2-1_amd64.deb
 9b62fddff3668642d255e1b0c741a5ece21c3417 24582 
libsqlite3-tcl_3.6.14.2-1_amd64.deb
Checksums-Sha256: 
 54712503ba2a3d7ac5997df4562804f5291dbf1d334cff00f35ae788a1d6be93 1181 
sqlite3_3.6.14.2-1.dsc
 8692235cd7355790756c88aa0d2e7de54773d2afc2b3bf71aa0458b61704eea5 4640607 
sqlite3_3.6.14.2.orig.tar.gz
 27faa77fee8da257663443751f543c27b6ff898c53f97adb649a30ff7fd037d2 20413 
sqlite3_3.6.14.2-1.diff.gz
 8c73d2ca59fcc712398967116ba912adf861521e70eb1365940578054a71c373 1807696 
sqlite3-doc_3.6.14.2-1_all.deb
 917a213d74612f0259aed63fc4371c2ecbc03e898feb393840980f1a629b3fb3 44914 
lemon_3.6.14.2-1_amd64.deb
 0563fb9fc95c8da67d2817582702a5aaea0a1b3c54d1515264cdc80c0be14083 30994 
sqlite3_3.6.14.2-1_amd64.deb
 ee9c06ad45513a72c9a8ddda85843d7d394b4a9994d354c5e13e5c8db995eab6 294522 
libsqlite3-0_3.6.14.2-1_amd64.deb
 42662611e869de4909b15bbbfa85375b0661c224eecf2887c99199d5540188ce 616458 
libsqlite3-0-dbg_3.6.14.2-1_amd64.deb
 dee742a956ca296b6c694c16309e817aba8090503c013bfeb4186a790f64dc34 382268 
libsqlite3-dev_3.6.14.2-1_amd64.deb
 539a6992752ade498497aee6b9a8987e0e8344d24017596e8865eef9a0fb19e2 24582 
libsqlite3-tcl_3.6.14.2-1_amd64.deb
Files: 
 693081102820e252fbedbe613bab88e8 1181 devel optional sqlite3_3.6.14.2-1.dsc
 7bdc6e90dd8a304c897aeda998c5b755 4640607 devel optional 
sqlite3_3.6.14.2.orig.tar.gz
 9ba084600322883deac77bf452f12fd5 20413 devel optional 
sqlite3_3.6.14.2-1.diff.gz
 6e41e96248776003957fd8aefd270d3a 1807696 doc optional 
sqlite3-doc_3.6.14.2-1_all.deb
 306103b555dc7780821dede6894f9523 44914 devel optional 
lemon_3.6.14.2-1_amd64.deb
 a93d122af4ee5fad3677301c0a3d247d 30994 database optional 
sqlite3_3.6.14.2-1_amd64.deb
 3c229e46d0f85ea240d552af7c596ae5 294522 libs standard 
libsqlite3-0_3.6.14.2-1_amd64.deb
 2fc0ae084ded1f6f1926bfc6f3189102 616458 debug extra 
libsqlite3-0-dbg_3.6.14.2-1_amd64.deb
 53a7c8180db46d0f0d412319d64111f3 382268 libdevel optional 
libsqlite3-dev_3.6.14.2-1_amd64.deb
 3d29fc351daf2b067a95320a86063468 24582 interpreters optional 
libsqlite3-tcl_3.6.14.2-1_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkoiuW4ACgkQMDatjqUaT90TUwCghkEiPPX8kLTMp34qwbnKzv8B
U7cAn0fhH7fbjUzQ9UbVzlHbUk+2w8N0
=aDQ6
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to