When upgrading openldap (from 2.4.40), dev-db/lmdb is pulled but it fails to merge because lmdb binaries are embedded into openldap Reproducible: Always Steps to Reproduce: 1. emerge =net-dns/openldap-2.4.40 2. emerge =net-dns/openldap-2.4.40-r2 3. emerge -C openldap && emerge -1 openldap is a workaround
Oh, you were 5 minutes faster.
*** Bug 527150 has been marked as a duplicate of this bug. ***
* Detected file collision(s): * * /usr/include/lmdb.h * /usr/bin/mdb_dump * /usr/bin/mdb_copy * /usr/bin/mdb_load * /usr/bin/mdb_stat * /usr/share/man/man1/mdb_load.1.bz2 * /usr/share/man/man1/mdb_dump.1.bz2 * /usr/share/man/man1/mdb_copy.1.bz2 * /usr/share/man/man1/mdb_stat.1.bz2 * /usr/lib64/liblmdb.so * * Searching all installed packages for file collisions... * * Press Ctrl-C to Stop * * net-nds/openldap-2.4.40:0::gentoo * /usr/bin/mdb_copy * /usr/bin/mdb_dump * /usr/bin/mdb_load * /usr/bin/mdb_stat * /usr/include/lmdb.h * /usr/lib64/liblmdb.so * /usr/share/man/man1/mdb_copy.1.bz2 * /usr/share/man/man1/mdb_dump.1.bz2 * /usr/share/man/man1/mdb_load.1.bz2 * /usr/share/man/man1/mdb_stat.1.bz2 * * Package 'dev-db/lmdb-0.9.14' NOT merged due to file collisions. If * necessary, refer to your elog messages for the whole content of the * above message. * * The following 2 packages have failed to build or install: * * (dev-db/lmdb-0.9.14:0/0::gentoo, ebuild scheduled for merge), Log file: * '/var/tmp/portage/dev-db/lmdb-0.9.14/temp/build.log' * (net-nds/openldap-2.4.40-r2:0/0::gentoo, ebuild scheduled for merge) *
the workaround works.
This was supposed to have been fixed already, by the blocker I put in lmdb. Failing that, just unmerge the old one yourself, there isn't any other way to fix in the tree I can think of.