if openldap is installed but not configured/running, then the upgrade process shouldnt crap the bed. for example, building it on packaging systems which never actually run openldap fails with this: .... * Your existing version of OpenLDAP was built against * sys-libs/db:4.5, but the new one will build against * 4.6 and your database would be inaccessible. .... * die "You need to upgrade your database first"; .... i dont have a db that needs upgrading, nor is slurp/slap even running: # ls -a /var/lib/openldap-data/ . .. DB_CONFIG.example .keep_net-nds_openldap-0 .version-tag this is stuff that openldap itself installed
Please retest openldap-2.4.19-r1.ebuild r1.10 on your system.