Both of app-misc/pip-1.2 and dev-python/pip-1.0.1 want to install /usr/bin/pip, causing file collisions. Reproducible: Always Steps to Reproduce: 1. emerge dev-python/pip 2. emerge app-misc/pip Actual Results: >>> Installing (1 of 1) app-misc/pip-1.2 * checking 11 files for package collisions * This package will overwrite one or more files that may belong to other * packages (see list below). You can use a command such as `portageq * owners / <filename>` to identify the installed package that owns a * file. If portageq reports that only one package owns a file then do * NOT file a bug report. A bug report is only useful if it identifies at * least two or more packages that are known to install the same file(s). * If a collision occurs and you can not explain where the file came from * then you should simply ignore the collision since there is not enough * information to determine if a real problem exists. Please do NOT file * a bug report at http://bugs.gentoo.org unless you report exactly which * two packages install the same file(s). Once again, please do NOT file * a bug report unless you have completely understood the above message. * * Detected file collision(s): * * /usr/bin/pip * * Searching all installed packages for file collisions... * * Press Ctrl-C to Stop * * dev-python/pip-1.0.1 * /usr/bin/pip * * Package 'app-misc/pip-1.2' NOT merged due to file collisions. If * necessary, refer to your elog messages for the whole content of the * above message. Expected Results: A clean install.
Not sure what we should do here. Just block the other?
I suggest renaming the executable of app-misc/pip to gpip like we did to the ebuild file of sys-process/parallel. Originally, sys-process/parallel installs a file /usr/bin/parallel which conflicts with sys-apps/moreutils. See bug 349225 for their solution.
Rename is fine with me
Suggest this simple patch to solve this issue: --- pip-1.2.ebuild.orig 2011-01-05 19:26:31.000000000 +0300 +++ pip-1.2.ebuild 2012-10-26 11:52:34.594542768 +0400 @@ -12,3 +12,8 @@ SLOT="0" KEYWORDS="~amd64 x86 ppc" IUSE="" + +src_install() { + perl-module_src_install + mv "${D}"/usr/bin/{pip,gpip} || die 'rename failed' +} Not sure, but i think we should bump revision and also add apropriate informational message in pkg_postinst
+*pip-1.2-r1 (31 Oct 2012) + + 31 Oct 2012; Sergey Popov <pinkbyte@gentoo.org> +pip-1.2-r1.ebuild: + Revision bump: fix for bug #373783, bump to EAPI 4 Will close this after stabilizing new revision and dropping old one
More than 30 days in tree, no open bugs. Arches, please test and mark stable =app-misc/pip-1.2-r1 Target keywords: amd64 ppc x86
amd64 stable
ppc stable
x86 stable. Last arch, closing