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

"make test" hangs indefinitely



Hi all,

 

Apologies if this has been asked and answered already.  I did a number of searches for this problem and found nothing.

 

When I build OpenLDAP it hangs on "make test".  This has happened on two separate hosts, one AMD64 running Gentoo and the other a CentOS 5 distribution running on Intel.  I am trying to build OpenLDAP 2.4.13 (have also tried 2.4.12) against BDB 4.7.25.

 

BDB is built with a specific prefix and that's all: /usr/local/db-4.7.25.  It builds without error or hiccup but unfortunately there is no test target. 

 

OpenLDAP is built with the following:

 

 CPPFLAGS="-I/usr/local/db-4.7.25/include"  LDFLAGS="-L/usr/local/db-4.7.25/lib -Wl,--rpath -Wl,/usr/local/db-4.7.25/lib" ./configure --enable-syslog --enable-slapd --enable-crypt --enable-bdb --with-tls --prefix=/usr/local/openldap-2.4.13 && make depend && make && make test

 

On the make test it gets to test001-slapadd and just sits there.  Here's how that looks:

 

[…]

>>>>> Test succeeded

>>>>> ./scripts/test000-rootdse completed OK.

 

>>>>> Starting test001-slapadd ...

running defines.sh

Running slapadd to build slapd database...

[…eventually I ctrl-c]

 

This will sit there indefinitely.  I changed the test script to use -d -1 for slapadd and the end of that output is below. 

 

On these systems I have another instance of BDB but I'm pretty clear to OpenLDAP about which to use.  Perhaps I am missing something.  Given this is happening to me on two different servers and I don't see anybody else having this problem I must be b0rking something myself, and consistently.  Can anybody point out to me what I'm doing wrong?

 

I am currently trying a build of BDB 4.6.21 and we'll see how that goes.

 

Thanks,

Drew.

 

>>> dnPrettyNormal: <ou=Groups,dc=example,dc=com>

<<< dnPrettyNormal: <ou=Groups,dc=example,dc=com>, <ou=groups,dc=example,dc=com>

<= str2entry(ou=Groups,dc=example,dc=com) -> 0x92e7f9c

oc_check_required entry (ou=Groups,dc=example,dc=com), objectClass "organizationalUnit"

oc_check_allowed type "objectClass"

oc_check_allowed type "ou"

oc_check_allowed type "structuralObjectClass"

=> bdb_tool_entry_put( -1, "ou=Groups,dc=example,dc=com" )

=> bdb_dn2id("ou=groups,dc=example,dc=com")

<= bdb_dn2id: get failed: DB_NOTFOUND: No matching key/data pair found (-30988)

=> bdb_dn2id_add 0x3: "ou=groups,dc=example,dc=com"

bdb_idl_insert_key: 3 %dc=example,dc=com

<= bdb_dn2id_add 0x3: 0

=> index_entry_add( 3, "ou=Groups,dc=example,dc=com" )

=> key_change(ADD,3)

bdb_idl_insert_key: 3 [9bee355f]

<= key_change 0

=> key_change(ADD,3)

bdb_idl_insert_key: 3 [0096defd]

<= key_change 0

<= index_entry_add( 3, "ou=Groups,dc=example,dc=com" ) success

=> entry_encode(0x00000003): ou=Groups,dc=example,dc=com

=> str2entry: "dn: ou=Alumni Association,ou=People,dc=example,dc=com

objectclass: organizationalUnit

ou: Alumni Association

"

>>> dnPrettyNormal: <ou=Alumni Association,ou=People,dc=example,dc=com>

<<< dnPrettyNormal: <ou=Alumni Association,ou=People,dc=example,dc=com>, <ou=alumni association,ou=people,dc=example,dc=com>

<= str2entry(ou=Alumni Association,ou=People,dc=example,dc=com) -> 0x92e7f9c

oc_check_required entry (ou=Alumni Association,ou=People,dc=example,dc=com), objectClass "organizationalUnit"

oc_check_allowed type "objectClass"

oc_check_allowed type "ou"

oc_check_allowed type "structuralObjectClass"

=> bdb_tool_entry_put( -1, "ou=Alumni Association,ou=People,dc=example,dc=com" )

=> bdb_dn2id("ou=people,dc=example,dc=com")

<= bdb_dn2id: got id=0x2

=> bdb_dn2id("ou=alumni association,ou=people,dc=example,dc=com")

make[2]: *** [bdb-yes] Interrupt

make[1]: *** [test] Interrupt

make: *** [test] Interrupt