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

Re: (ITS#8307) startup failed with DDS enabled



Hello Christian,

On Mon, Nov 16, 2015 at 07:46:31AM +0000, BÃ?SCH Christian wrote:
>The last lines of debug.log are:
>
>[â?¦]
>
>The build config is:
>[â?¦]

Thanks for that information, however I still need more details about 
your actual running config in order to reproduce the problem.

Could you please provide the output of

    slapcat -b 'cn=config'

(plus an appropriate -F setting)

either from a test setup that shows the problem, or from your actual 
config with passwords/sensitive information removed (note some are 
emitted in base64 form).

On Mon, Nov 16, 2015 at 02:06:17PM +0000, BÃ?SCH Christian wrote:
>on freebsd 10.2 build from source failed with the message:
>
>  cd back-mdb; make   all
>/bin/sh ../../../libtool --tag=disable-shared --mode=compile  cc -g -O2 -I../../../include -I../../../include -I.. -I./.. -I./../../../libraries/liblmdb     -c ./../../../libraries/liblmdb/mdb.c
> cc -g -O2 -I../../../include -I../../../include -I.. -I./.. -I./../../../libraries/liblmdb -c ./../../../libraries/liblmdb/mdb.c -o mdb.o
>./../../../libraries/liblmdb/mdb.c:4758:39: error: use of undeclared identifier 'O_DSYNC'
>                        env->me_mfd = open(dpath, oflags | MDB_DSYNC, mode);
>                                                           ^
>./../../../libraries/liblmdb/mdb.c:409:20: note: expanded from macro 'MDB_DSYNC'
># define MDB_DSYNC      O_DSYNC
>                        ^
>./../../../libraries/liblmdb/mdb.c:9681:46: warning: data argument not used by format string [-Wformat-extra-args]
>                                (int)mr[i].mr_pid, (size_t)mr[i].mr_tid, txnid);
>                                                                         ^
>1 warning and 1 error generated.
>*** Error code 1
>
>Stop.
>make[3]: stopped in /root/openldap/servers/slapd/back-mdb
>*** Error code 1

This is ITS#7209 <http://www.openldap.org/its/?findid=7209>. The patch 
linked at the top of that should allow it to build.

thanks,
Ryan