Re: Bug#654824: [Pkg-openldap-devel] Bug#654824: openldap: FTBFS(!linux): testsuite failures
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 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 jcris...@debian.org Mon, 16 Jan 2012 19:45:42 +0100 + openldap (2.4.28-1) unstable; urgency=low * New upstream release. signature.asc Description: Digital signature
Re: Bug#654824: [Pkg-openldap-devel] Bug#654824: openldap: FTBFS(!linux): testsuite failures
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. Cheers, Julien signature.asc Description: Digital signature
Re: Bug#654824: [Pkg-openldap-devel] Bug#654824: openldap: FTBFS(!linux): testsuite failures
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 + + openldap (2.4.28-1) unstable; urgency=low * New upstream release. Cheers, Julien -- To UNSUBSCRIBE, email to debian-bsd-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20120114145937.gb9...@radis.cristau.org