OpenLDAP backend back-ldbm is now obsolete (since 2.4.x branch) and is not installed (is does not even have any options in the configure script). All the 2.4.x branch ebuilds in the tree have a line: chown ldap:ldap "${ROOT}"var/lib/openldap-{data,ldbm} Since back-ldbm is not installed, there is no directory var/lib/openldap-ldbm. This results in an error upon emerging openldap: chown: cannot access `/var/lib/openldap-ldbm': No such file or directory Reproducible: Always Steps to Reproduce: Emerge openldap 2.4.x and look at portage's output after installation. Actual Results: chown ldap:ldap "${ROOT}"var/lib/openldap-{data,ldbm} Expected Results: chown ldap:ldap "${ROOT}"var/lib/openldap-data
Created attachment 250569 [details, diff] patch for ebuild
Removed in 2.4.28-r1