[Pkg-openldap-devel] Bug#819282: wheezy-pu: package openldap/2.4.31-2+deb7u2

Ryan Tandy ryan at nardis.ca
Sun Apr 17 20:22:36 UTC 2016


On Wed, Apr 13, 2016 at 09:30:13PM +0100, Adam D. Barratt wrote:
>Does a significant portion of the testsuite fail, or only a small part?

Exactly one third of it: the same suite is run once for each of the backends built, namely bdb, hdb, and mdb. The page size issue renders mdb totally non-functional under the newer kernel.

>If the latter, is it possible to only disable the affected tests?

Actually, yes. Improved debdiff below; and sorry for not thinking of this myself.

(The diff doesn't have as much context as I'd like: the debian/rules addition is just appended to the end of the file.)

As before:
- built locally on amd64, verified all three test suites were run
- built on the powerpc porterbox (partch), verified bdb and hdb test suites were run but not mdb
- tested amd64 binaries in a clean wheezy chroot
- tested powerpc binaries in a qemu VM running wheezy (all backends)

thanks,
Ryan
-------------- next part --------------
diff -u openldap-2.4.31/debian/rules openldap-2.4.31/debian/rules
--- openldap-2.4.31/debian/rules
+++ openldap-2.4.31/debian/rules
@@ -174,0 +175,6 @@
+
+# Avoid running back-mdb tests on ppc64 builders
+ifeq ($(DEB_HOST_ARCH),powerpc)
+override_dh_auto_test:
+	dh_auto_test -- BUILD_MDB=no
+endif
diff -u openldap-2.4.31/debian/changelog openldap-2.4.31/debian/changelog
--- openldap-2.4.31/debian/changelog
+++ openldap-2.4.31/debian/changelog
@@ -1,3 +1,11 @@
+openldap (2.4.31-2+deb7u2) wheezy; urgency=medium
+
+  * Disable the back-mdb test suite on powerpc to work around back-mdb tests
+    failing on buildds running the jessie ppc64 kernel, which uses 64KB pages.
+    (ITS#7713)
+
+ -- Ryan Tandy <ryan at nardis.ca>  Thu, 14 Apr 2016 20:55:33 -0700
+
 openldap (2.4.31-2+deb7u1) wheezy-security; urgency=high
 
   * Non-maintainer upload by the Security Team.


More information about the Pkg-openldap-devel mailing list