tag 654824 patch kthxbye On Sat, Jan 14, 2012 at 10:58:16 +0100, Julien Cristau wrote:
> On Sun, Jan 8, 2012 at 10:13:54 +0100, Steve Langasek wrote: > > > Is this failure reproducible? This looks like the kind of intermittent > > error that sometimes affects openldap's test suite due to a buildd being too > > slow at starting slapd; obviously slapd runs well enough to get 45 tests > > in before failing to start, so I'm skeptical of this being an openldap bug. > > > The failure I reproduced on the porterboxes was in the first mdb test. > The slapd log contains: > 4f114f95 mdb_db_open: database "o=OpenLDAP Project,l=Internet" cannot be > opened, err 78. Restore from backup! > > After some help from printf, it turns out it's the call to > pthread_mutexattr_setpshared in libraries/libmdb/mdb.c that returns > ENOSYS. > I got the package to build with the patch below, which will hopefully be OK as a temporary measure. 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,10 @@ +openldap (2.4.28-1.1) unstable; urgency=low + + * Non-maintainer upload. + * Disable the mdb backend on non-linux. + + -- Julien Cristau <jcris...@asdfasdf.ethz.ch> Sat, 14 Jan 2012 10:28:58 +0000 + openldap (2.4.28-1) unstable; urgency=low * New upstream release. Cheers, Julien -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org