Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 351192 - dev-ruby/rack:1.2 file collision with dev-ruby/rack:0
Summary: dev-ruby/rack:1.2 file collision with dev-ruby/rack:0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-09 10:23 UTC by Denis Misiurca
Modified: 2011-01-09 16:44 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 Denis Misiurca 2011-01-09 10:23:52 UTC
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.
Comment 1 Denis Misiurca 2011-01-09 11:20:50 UTC
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.
Comment 2 Hans de Graaff gentoo-dev Security 2011-01-09 16:44:04 UTC
(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.