Tried to install rails3, which requires rack 1.2, but got this: >>> Installing (4 of 26) dev-ruby/rack-1.2.1 * checking 59 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. * * package dev-ruby/rack-1.2.1 NOT merged * * Detected file collision(s): * * /usr/bin/rackup * * Searching all installed packages for file collisions... * * Press Ctrl-C to Stop * * dev-ruby/rack-1.0.1 * /usr/bin/rackup * * Package 'dev-ruby/rack-1.2.1' NOT merged due to file collisions. If * necessary, refer to your elog messages for the whole content of the * above message.
There is a 'ruby_add_rdepend "!<dev-ruby/rack-1.1.0-r1"' string in the ebuild, but I didn't get a warning about package blocks when installing it.
(In reply to comment #1) > There is a 'ruby_add_rdepend "!<dev-ruby/rack-1.1.0-r1"' string in the ebuild, > but I didn't get a warning about package blocks when installing it. That is most likely because of all the conditional magic going on behind the scenes. I've now added the blocker as a normal RDEPEND, which should fix it.