I had this and used features = to get both to install: portageq owners / /usr/share/man.ecompress.dir sys-fs/udev-146 /usr/share/man.ecompress.dir sys-auth/consolekit-0.3.0-r2 /usr/share/man.ecompress.dir Now, I try to emerge dev-perl/libwww-perl 5.832 and get another file collision warning for /usr/share/man.ecompress.dir. So, it looks like more than two packages have this collision, should this be fixed? Reproducible: Always Steps to Reproduce: 1. Emerge libwww-perl 2. 3. Actual Results: Package will not install Expected Results: Install
/usr/share/man.ecompress.dir not only should not belong to any package, but it shouldn't even exist. It's existence was caused by a bug in findutils after glibc upgrade. If you already have working findutils (no xargs warnings during emerge), remove that file and reemerge all packages that claim to own it to clean up that mess.
*** Bug 286024 has been marked as a duplicate of this bug. ***
*** Bug 287430 has been marked as a duplicate of this bug. ***
*** Bug 289043 has been marked as a duplicate of this bug. ***
*** Bug 304559 has been marked as a duplicate of this bug. ***
I'm still getting this on an RPi2 running Hardened Gentoo: [97111.592084] grsec: From 10.7.0.2: Illegal instruction occurred at 0cf4bae8 in /usr/lib/portage/python3.4/ebuild-helpers/ecompressdir[ecompressdir:11614] uid/euid:0/0 gid/egid:0/0, parent /usr/bin/xargs[xargs:11613] uid/euid:0/0 gid/egid:0/0 * Final size of build directory: 4352 KiB * Final size of installed tree: 676 KiB xargs: ecompressdir: terminated by signal 4 * This package will overwrite one or more files that may belong to other * packages (see list below). * * package sys-fs/f2fs-tools-1.6.1 NOT merged * * Detected file collision(s): * * /usr/share/man.ecompress.dir ... IMHO, it were nice if it would terminate earlier with a different, more descriptive error. Judging by the error message and the comments here, it looks like the real check on whether the xargs/ecompressdir command actually succeeds is missing. I guess this is what leads to /usr/share/man.ecompress.dir being installed on the real system in the first place. I suggest this be reopened.