Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 285983 - /usr/share/man.ecompress.dir: File collisions
Summary: /usr/share/man.ecompress.dir: File collisions
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
: 286024 287430 304559 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-09-22 16:49 UTC by Mark
Modified: 2016-12-29 08:34 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mark 2009-09-22 16:49:22 UTC
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
Comment 1 Rafał Mużyło 2009-09-22 18:26:53 UTC
/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.
Comment 2 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-09-22 21:23:28 UTC
*** Bug 286024 has been marked as a duplicate of this bug. ***
Comment 3 Rafał Mużyło 2009-10-03 00:00:59 UTC
*** Bug 287430 has been marked as a duplicate of this bug. ***
Comment 4 Rafał Mużyło 2009-10-14 14:06:14 UTC
*** Bug 289043 has been marked as a duplicate of this bug. ***
Comment 5 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2010-02-11 17:28:15 UTC
*** Bug 304559 has been marked as a duplicate of this bug. ***
Comment 6 Jaak Ristioja 2016-12-29 08:34:20 UTC
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.