Your message dated Sat, 18 Jul 2009 21:36:17 +0000
with message-id <e1mshzp-00084x...@ries.debian.org>
and subject line Bug#529755: fixed in libdbd-sqlite3-perl 1.25-3
has caused the Debian Bug report #529755,
regarding uses bundled copy of sqlite
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 ow...@bugs.debian.org
immediately.)


-- 
529755: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=529755
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: libdbd-sqlite3-perl
Version: 1.25-1
Severity: important


Coin,

Unfortunately, sqlite3 does not select the right file locking mechanism for the Hurd, and every db opération fails miserably. I already filled a bug on sqlite3 (see #529734), but libdbd-sqlite3-perl ships embedded sqlite3.{c,h} files, which then must be fixed too. Waiting for the sqlite3 patch to be applied in Debian, then pushed upstream, updated by libdbd-sqlite3-perl's upstream, and then finaly uploaded in Debian, seems to be a long path which would take years, so i decided to work on both fronts.

I've attached the small patch i made with the minor modification to your debian/rules to use a patching system at run-time. Could you please introduce it in your next upload (and help push it upstream too) ?

Regards.

--
Marc Dequènes (Duck)
diff -Nur orig/libdbd-sqlite3-perl-1.25/debian/changelog libdbd-sqlite3-perl-1.25/debian/changelog
--- orig/libdbd-sqlite3-perl-1.25/debian/changelog	2009-05-21 10:18:51.000000000 +0200
+++ libdbd-sqlite3-perl-1.25/debian/changelog	2009-05-21 02:09:30.000000000 +0200
@@ -1,3 +1,10 @@
+libdbd-sqlite3-perl (1.25-1+hurdfr1) unreleased; urgency=low
+
+  * Added 'hurd-locking-style' patch to get a working locking method
+    on Hurd, as the default one (the POSIX advisory one) fails.
+
+ -- Marc Dequènes (Duck) <d...@hurdfr.org>  Thu, 21 May 2009 02:08:15 +0200
+
 libdbd-sqlite3-perl (1.25-1) unstable; urgency=low
 
   * New upstream release
diff -Nur orig/libdbd-sqlite3-perl-1.25/debian/patches/hurd-locking-style libdbd-sqlite3-perl-1.25/debian/patches/hurd-locking-style
--- orig/libdbd-sqlite3-perl-1.25/debian/patches/hurd-locking-style	1970-01-01 01:00:00.000000000 +0100
+++ libdbd-sqlite3-perl-1.25/debian/patches/hurd-locking-style	2009-05-21 02:03:36.000000000 +0200
@@ -0,0 +1,33 @@
+Index: libdbd-sqlite3-perl-1.25/sqlite3.c
+===================================================================
+--- libdbd-sqlite3-perl-1.25.orig/sqlite3.c	2009-05-21 02:02:39.000000000 +0200
++++ libdbd-sqlite3-perl-1.25/sqlite3.c	2009-05-21 02:03:31.000000000 +0200
+@@ -20590,7 +20590,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
+@@ -20653,7 +20653,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 */
+ 
+@@ -25846,6 +25848,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
diff -Nur orig/libdbd-sqlite3-perl-1.25/debian/patches/series libdbd-sqlite3-perl-1.25/debian/patches/series
--- orig/libdbd-sqlite3-perl-1.25/debian/patches/series	1970-01-01 01:00:00.000000000 +0100
+++ libdbd-sqlite3-perl-1.25/debian/patches/series	2009-05-21 02:00:02.000000000 +0200
@@ -0,0 +1 @@
+hurd-locking-style
diff -Nur orig/libdbd-sqlite3-perl-1.25/debian/rules libdbd-sqlite3-perl-1.25/debian/rules
--- orig/libdbd-sqlite3-perl-1.25/debian/rules	2009-05-21 10:18:51.000000000 +0200
+++ libdbd-sqlite3-perl-1.25/debian/rules	2009-05-21 01:59:06.000000000 +0200
@@ -1,12 +1,15 @@
 #!/usr/bin/make -f
 
+include /usr/share/quilt/quilt.make
+
 build: build-stamp
-build-stamp:
+build-stamp: $(QUILT_STAMPFN)
 	dh build
 	touch $@
 
-clean:
-	dh $@
+clean: clean1 unpatch
+clean1:
+	dh clean
 
 install: install-stamp
 install-stamp: build-stamp
@@ -20,4 +23,4 @@
 
 binary: binary-arch binary-indep
 
-.PHONY: binary binary-arch binary-indep install clean build
+.PHONY: binary binary-arch binary-indep install clean build patch unpatch clean1

Attachment: pgpCllSk9a4Rx.pgp
Description: PGP Digital Signature


--- End Message ---
--- Begin Message ---
Source: libdbd-sqlite3-perl
Source-Version: 1.25-3

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

libdbd-sqlite3-perl_1.25-3.diff.gz
  to pool/main/libd/libdbd-sqlite3-perl/libdbd-sqlite3-perl_1.25-3.diff.gz
libdbd-sqlite3-perl_1.25-3.dsc
  to pool/main/libd/libdbd-sqlite3-perl/libdbd-sqlite3-perl_1.25-3.dsc
libdbd-sqlite3-perl_1.25-3_i386.deb
  to pool/main/libd/libdbd-sqlite3-perl/libdbd-sqlite3-perl_1.25-3_i386.deb



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 529...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Gunnar Wolf <gw...@debian.org> (supplier of updated libdbd-sqlite3-perl 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 ftpmas...@debian.org)


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

Format: 1.8
Date: Sat, 18 Jul 2009 22:00:29 +0200
Source: libdbd-sqlite3-perl
Binary: libdbd-sqlite3-perl
Architecture: source i386
Version: 1.25-3
Distribution: unstable
Urgency: low
Maintainer: Debian Perl Group <pkg-perl-maintain...@lists.alioth.debian.org>
Changed-By: Gunnar Wolf <gw...@debian.org>
Description: 
 libdbd-sqlite3-perl - Perl DBI driver with a self-contained RDBMS
Closes: 529755
Changes: 
 libdbd-sqlite3-perl (1.25-3) unstable; urgency=low
 .
   [ Nathan Handler ]
   * debian/watch: Update to ignore development releases.
 .
   [ Maximilian Gass ]
   * Added use_system_sqlite patch to make it build against the sqlite3
     package (closes: #529755).
   * Removed hurd-locking.patch, included SQLite sources are no longer used.
   * Simplified debian/rules
   * Bumped Standards-Version to 3.8.2, no changes necessary.
 .
   [ Gunnar Wolf ]
   * Added myself as an uploader
Checksums-Sha1: 
 7465a0f9973cba538034c41a523a7d499c60bfee 1718 libdbd-sqlite3-perl_1.25-3.dsc
 799b7d4861235557e6ab46c78791af6a4fbc7b52 7019 
libdbd-sqlite3-perl_1.25-3.diff.gz
 98749824a3be1899f32ed093c01ee59a1e94e041 62772 
libdbd-sqlite3-perl_1.25-3_i386.deb
Checksums-Sha256: 
 8959e6bfc51ade6344225545461743055ff67f8eb3ebcbaef28ac9adddb6c5b4 1718 
libdbd-sqlite3-perl_1.25-3.dsc
 7c03f5b61f23c88cbfddc42f4987b4d7212f0fadf9130ff7a835f5febbd8c977 7019 
libdbd-sqlite3-perl_1.25-3.diff.gz
 1e68494b08798b078c195927ac10cfb2a99fffcdf6e8265ba60207c851bcace0 62772 
libdbd-sqlite3-perl_1.25-3_i386.deb
Files: 
 6a93285e1a314df4533e724e5436081a 1718 perl optional 
libdbd-sqlite3-perl_1.25-3.dsc
 92c4cf6e3c9b30fc0ab0ffdc0c369e8f 7019 perl optional 
libdbd-sqlite3-perl_1.25-3.diff.gz
 58c4c3c8005f3fc58a64a406459cb495 62772 perl optional 
libdbd-sqlite3-perl_1.25-3_i386.deb

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

iEYEARECAAYFAkpiK2MACgkQ2A7zWou1J68KvQCeMjDDeoSgHUhoD4KFdseV/4ym
VUQAn0IrPMA4NDa37+glZ7NDOyTrTK5V
=fHsl
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to