[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: bdb 4.6 issue with 2.4.12



On Monday 03 November 2008 11:48:25 Howard Chu wrote:
> Buchan Milne wrote:
> > I built on RHEL5 with 4.6.21.3 with the db4internal option on my package,
> > which builds db4 as follows:
> > ../dist/configure --build=x86_64-redhat-linux --prefix=/usr \
> >    --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin
> > --sysconfdir=/etc \ --datadir=/usr/share --includedir=/usr/include
> > --libdir=/usr/lib64 \ --libexecdir=/usr/sbin --localstatedir=/var
> > --sharedstatedir=/usr/com \ --mandir=/usr/share/man
> > --infodir=/usr/share/info --enable-shared \ --disable-static
> > --with-uniquename=_openldap_slapd24_mdv \
> >    --program-prefix=slapd2.4_  \
> >    --with-mutex=POSIX/pthreads/library
> >
> >
> > Exactly the same behaviour.
> >
> > Will post the entire build log tomorrow, and maybe test on 4.7 as well.
>
> I just built 4.6.21 with --with-mutex=POSIX/pthreads on Ubuntu amd64 and it
> works fine here.

Here is a log of the entire build:

http://staff.telkomsa.net/~bgmilne/openldap-2.4.12-db46-build-log.txt

I modified test001-slapadd with the attached patch, which as you can see from 
the log, fails. Without that slapcat test added there, all tests pass ....

> Likewise works fine with 4.7.25.

Will try with 4.7.25 as well.
--- openldap-2.4.12/tests/scripts/orig.test001-slapadd	2008-02-12 01:26:50.000000000 +0200
+++ openldap-2.4.12/tests/scripts/test001-slapadd	2008-11-04 10:13:54.000000000 +0200
@@ -71,6 +71,15 @@
 	exit 1
 fi
 
+echo "Testing database export with slapcat..."
+$SLAPCAT -f $CONF1 > $SEARCHOUT
+$SLAPCAT -f $CONF1 > $SEARCHOUT
+if [ "`wc -l < $SEARCHOUT`" == 0 ]
+then
+	echo "slapcat failed"
+	exit 1
+fi
+
 echo ">>>>> Test succeeded"
 
 test $KILLSERVERS != no && wait