[Pkg-openldap-devel] Bug#654824: Bug#654824: openldap: FTBFS(!linux): testsuite failures

Julien Cristau jcristau at debian.org
Mon Jan 16 20:33:03 UTC 2012


On Sat, Jan 14, 2012 at 15:59:37 +0100, Julien Cristau wrote:

> I got the package to build with the patch below, which will hopefully be
> OK as a temporary measure.
> 
I'll upload a NMU with the attached patch to delayed/2.  Please let me
know if I should delay it longer or cancel it.

Cheers,
Julien
-------------- next part --------------
diff -u openldap-2.4.28/debian/rules openldap-2.4.28/debian/rules
--- openldap-2.4.28/debian/rules
+++ openldap-2.4.28/debian/rules
@@ -11,8 +11,12 @@
 export RESOLV_MULTI = off
 
 DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
+DEB_HOST_ARCH_OS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
 
 CONFIG		= $(shell grep -v "^\#" debian/configure.options)
+ifneq ($(DEB_HOST_ARCH_OS),linux)
+	CONFIG += --disable-mdb
+endif
 
 installdir	:= $(CURDIR)/debian/tmp
 builddir	:= $(CURDIR)/debian/build
diff -u openldap-2.4.28/debian/changelog openldap-2.4.28/debian/changelog
--- openldap-2.4.28/debian/changelog
+++ openldap-2.4.28/debian/changelog
@@ -1,3 +1,11 @@
+openldap (2.4.28-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Disable the mdb backend on non-Linux, it looks like it doesn't work with
+    linuxthreads (closes: #654824).
+
+ -- Julien Cristau <jcristau at debian.org>  Mon, 16 Jan 2012 19:45:42 +0100
+
 openldap (2.4.28-1) unstable; urgency=low
 
   * New upstream release.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-openldap-devel/attachments/20120116/184a5cc3/attachment.pgp>


More information about the Pkg-openldap-devel mailing list