Package: release.debian.org Severity: normal Tags: wheezy User: release.debian....@packages.debian.org Usertags: pu
Hi debian-release, The last update of openldap in wheezy-security has never built on powerpc. I got access to the porterbox and found that the ppc64 kernel in jessie (presumably the buildds run the same kernel) uses a 64KB page size, while the MDB backend in wheezy only works with 4KB pages. This limitation has been resolved [ITS#7713] in jessie, but the changes are not trivial to backport, and I'm very concerned about regressing all arches if I were to make a mistake. Therefore I'm proposing that we disable the test suite on powerpc so that the package can build. I have built the proposed package on wheezy under qemu-system-ppc and run the entire test suite to ensure it passes. I also built it on the powerpc porterbox, installed the binaries on the qemu VM, and performed some additional manual testing. Of course I've also done my usual pre-upload testing (on amd64, in a clean wheezy chroot). Would you consider allowing this change into wheezy? [ITS#7713]: http://www.openldap.org/its/?findid=7713 -- System Information: Debian Release: 8.3 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'proposed-updates'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 4.3.0-0.bpo.1-amd64 (SMP w/2 CPU cores) Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system)
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 @@ -7,6 +7,12 @@ export DEB_CFLAGS_MAINT_APPEND := -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE export DEB_BUILD_MAINT_OPTIONS := hardening=+pie,+bindnow +# Avoid running back-mdb tests on ppc64 builders +DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH) +ifeq ($(DEB_HOST_ARCH),powerpc) + export DEB_BUILD_OPTIONS += nocheck +endif + # Workaround for bad glibc behavior when resolving localhost export RESOLV_MULTI = off 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,10 @@ +openldap (2.4.31-2+deb7u2) wheezy; urgency=medium + + * Disable the 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 <r...@nardis.ca> Fri, 25 Mar 2016 11:45:18 -0700 + openldap (2.4.31-2+deb7u1) wheezy-security; urgency=high * Non-maintainer upload by the Security Team.