The version of openldap as per the summary seeks to install slapd.service files in two directories which would be merged in the transition to a merged-usr system/profile. * Package 'net-nds/openldap-2.6.3-r3' has internal collisions between * non-identical files (located in separate directories in the * installation image (${D}) corresponding to merged directories in the * target filesystem (${ROOT})): * * /usr/lib/systemd/system/slapd.service * /lib/systemd/system/slapd.service * /usr/lib/systemd/system/slapd.service * Differences: size, content * * Package 'net-nds/openldap-2.6.3-r3' NOT merged due to internal * collisions between non-identical files. If necessary, refer to your * elog messages for the whole content of the above message. # diff /lib/systemd/system/slapd.service /usr/lib/systemd/system/slapd.service 3c3,6 < After=network.target --- > After=syslog.target network-online.target > Documentation=man:slapd > Documentation=man:slapd-config > Documentation=man:slapd-mdb 7,9c10,12 < PIDFile=/run/openldap/slapd.pid < ExecStartPre=/usr/sbin/slaptest -Q -u $SLAPD_OPTIONS < ExecStart=/usr/lib64/openldap/slapd -u ldap -h ${SLAPD_URLS} $SLAPD_OPTIONS --- > Environment="SLAPD_URLS=ldap:/// ldapi:///" "SLAPD_OPTIONS=" > EnvironmentFile=/etc/sysconfig/slapd > ExecStart=/usr/lib64/openldap/slapd -d 0 -h ${SLAPD_URLS} $SLAPD_OPTIONS On the system in question, openldap was pulled in by various samba USE flags which are not in fact germane to my use-case for that s/w so I was able to map those out and dispense with openldap altogether. But I thought it worth reporting in case it helps others... Reproducible: Always
(Thanks, please do keep these coming even if solved locally; we want to know about all of them for sure.)
*** Bug 885537 has been marked as a duplicate of this bug. ***
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=592058c8a5099184be492bcc897288de796123e3 commit 592058c8a5099184be492bcc897288de796123e3 Author: Sam James <sam@gentoo.org> AuthorDate: 2022-12-16 06:26:08 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-12-16 06:26:12 +0000 net-nds/openldap: fix merged-usr for systemd units I can't reproduce the failure but this seems good enough. Bug: https://bugs.gentoo.org/885457 Signed-off-by: Sam James <sam@gentoo.org> net-nds/openldap/openldap-2.6.3-r4.ebuild | 803 ++++++++++++++++++++++++++++++ 1 file changed, 803 insertions(+)
If someone can still hit this, I'll need a full build.log and emerge --info.