>>> Test phase [enabled]: net-nds/openldap-2.2.28-r3 * Doing tests make[1]: Entering directory `/var/tmp/portage/portage/openldap-2.2.28-r3/work/openldap-2.2.28/tests' Initiating LDAP tests for BDB... Running ./scripts/all... >>>>> Executing all LDAP tests for bdb >>>>> Starting test000-rootdse ... running defines.sh Starting slapd on TCP/IP port 9011... Using ldapsearch to retrieve the root DSE... Waiting 5 seconds for slapd to start... Waiting 5 seconds for slapd to start... Waiting 5 seconds for slapd to start... Waiting 5 seconds for slapd to start... Waiting 5 seconds for slapd to start... Waiting 5 seconds for slapd to start... ./scripts/test000-rootdse: line 48: kill: (28779) - No such process /var/tmp/portage/portage/openldap-2.2.28-r3/work/openldap-2.2.28/clients/tools/.libs/lt-ldapsearch: error while loading shared libraries: libldap-2.2.so.7: cannot open shared object file: No such file or directory >>>>> Test failed >>>>> ./scripts/test000-rootdse failed (exit 127) make[1]: *** [bdb-yes] Error 127 make[1]: Leaving directory `/var/tmp/portage/portage/openldap-2.2.28-r3/work/openldap-2.2.28/tests' make: *** [tests] Error 2 !!! ERROR: net-nds/openldap-2.2.28-r3 failed. !!! Function src_test, Line 292, Exitcode 2 !!! make tests failed !!! If you need support, post the topmost build error, NOT this status message. root@cube:/usr/portage/distfiles# Since I'm not (yet) using LDAP, I cannot test whether it's only the tests failing or the to-be-installed package also refuses to work.
This is solved in -r4. If you run a stable system, please add =net-nds/openldap-2.2.28-r4 to your package.keywords and give it a try. Feel free to reopen this bug if the error persists