Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 79053 - Multiple ebuilds want to emerge /usr/share/man/man3/Carp::Clan.3pm.gz
Summary: Multiple ebuilds want to emerge /usr/share/man/man3/Carp::Clan.3pm.gz
Status: RESOLVED DUPLICATE of bug 71659
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-22 00:33 UTC by Jakub Moc (RETIRED)
Modified: 2005-07-17 13:06 UTC (History)
0 users

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 Jakub Moc (RETIRED) gentoo-dev 2005-01-22 00:33:07 UTC
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)
Comment 1 Michael Cummings (RETIRED) gentoo-dev 2005-01-24 07:23:01 UTC
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.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2005-01-25 03:34:20 UTC
Is it possible to query whether any of the other two packages is installed and omit the offending man page install only if it
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2005-01-25 03:34:20 UTC
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. :-)
Comment 4 Michael Cummings (RETIRED) gentoo-dev 2005-01-26 09:52:03 UTC

*** This bug has been marked as a duplicate of 71659 ***