Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 237564 - tkdiff should be blocked on <tkcvs-8.0.0
Summary: tkdiff should be blocked on <tkcvs-8.0.0
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: TCL/TK Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-13 11:32 UTC by Arvind Jayaprakash
Modified: 2009-04-16 18:32 UTC (History)
1 user (show)

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 Arvind Jayaprakash 2008-09-13 11:32:50 UTC
Older versions of tkcvs (prior to 8.x) used to provide tkdiff themselves. Newer versions of tkcvs has a depend on tkdiff.

So, tkdiff should refuse to install on systems that have say tkcvs-7.2.1

Not doing so results in file clobbering

Reproducible: Always

Steps to Reproduce:
1. Install tkcvs 7.x (no longer in portage tree)
2. Install tkdiff-1.4.3


Actual Results:  
(with collision protect on)

* checking 2 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-tcltk/tkdiff-4.1.3 NOT merged
 *
 * Detected file collision(s):
 *
 *      /usr/bin/tkdiff
 *
 * Searching all installed packages for file collisions...
 *
 * Press Ctrl-C to Stop
 *
 * dev-util/tkcvs-7.2.1
 *      /usr/bin/tkdiff
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2008-09-14 00:25:02 UTC
Seeing it done wrong so often: Please remember that packages need to block each other mutually.
Comment 2 Christoph Junghans (RETIRED) gentoo-dev 2009-04-02 07:53:15 UTC
Problems is solved in tkcvs-8*
-tkdiff is removed from tkcvs tarball
-tkcvs depend on tkdiff

Please close the bug.
Comment 3 Federico Ferri (RETIRED) gentoo-dev 2009-04-16 18:32:37 UTC
closing bug, as =tkcvs-7* doesn't exist anymore in portage