Multiple packages want to emerge Carp::Clan.3pm.gz - emerge fails with FEATURES="collision-protect" Reproducible: Always Steps to Reproduce: 1. FEATURES="collision-protect" emerge Date-Calc Carp-Clan Bit-Vector Actual Results: >>> Install Carp-Clan-5.3 into /var/tmp/portage/Carp-Clan-5.3/image/ category dev-perl Installing /var/tmp/portage/Carp-Clan-5.3/image/usr/lib/perl5/vendor_perl/5.8.5/Carp/Clan.pm Installing /var/tmp/portage/Carp-Clan-5.3/image/usr/lib/perl5/vendor_perl/5.8.5/Carp/Clan.pod Installing /var/tmp/portage/Carp-Clan-5.3/image/usr/share/man/man3/Carp::Clan.3pm Writing /var/tmp/portage/Carp-Clan-5.3/image//usr/lib/perl5/vendor_perl/5.8.5/i686-linux/auto/Carp/Clan/.packlist Appending installation info to /var/tmp/portage/Carp-Clan-5.3/image//usr/lib/perl5/5.8.5/i686-linux/perllocal.pod man: gzipping man page: Carp::Clan.3pm prepallstrip: strip: strip --strip-unneeded >>> Completed installing Carp-Clan-5.3 into /var/tmp/portage/Carp-Clan-5.3/image/ * checking 8 files for package collisions existing file /usr/share/man/man3/Carp::Clan.3pm.gz is not owned by this package * spent 0.000822067260742 seconds checking for file collisions * This package is blocked because it wants to overwrite * files belonging to other packages (see messages above). * If you have no clue what this is all about report it * as a bug for this package on http://bugs.gentoo.org package dev-perl/Carp-Clan-5.3 NOT merged Expected Results: Emerging this man page once should be enough. ;-) # equery belongs Carp::Clan.3pm.gz [ Searching for file(s) Carp::Clan.3pm.gz in *... ] dev-perl/Date-Calc-5.3 (/usr/share/man/man3/Carp::Clan.3pm.gz) dev-perl/Bit-Vector-6.3-r1 (/usr/share/man/man3/Carp::Clan.3pm.gz) dev-perl/Carp-Clan-5.3 (/usr/share/man/man3/Carp::Clan.3pm.gz)
The problem is that the author of these three modules (same author for all three) includes a stub of Carp-Clan in all of his modules. Not sure how to address this - don't want to remove that stub, if you aren't installing Carp-Clan outright you still need the stub around for the individual modules to function. Don't want to suggest you modify your FEATURES at this point. Bit of a quandry really.
Is it possible to query whether any of the other two packages is installed and omit the offending man page install only if it
Is it possible to query whether any of the other two packages is installed and omit the offending man page install only if it´s already there? Just an idea, I´m no expert in writing ebuilds, so ignore the above if it´s a complete nonsense. :-)
*** This bug has been marked as a duplicate of 71659 ***