Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 246184 - File collision between sys-devel/bison-2.4 and dev-util/yacc
Summary: File collision between sys-devel/bison-2.4 and dev-util/yacc
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2008-11-09 17:15 UTC by Alexandre Rostovtsev (RETIRED)
Modified: 2008-11-09 19:07 UTC (History)
2 users (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 Alexandre Rostovtsev (RETIRED) gentoo-dev 2008-11-09 17:15:04 UTC
The new sys-devel/bison-2.4 ebuild for unknown reasons installs /usr/share/man/man1/yacc.1.bz2 - which obviously results in a file collision with all versions of dev-util/yacc in portage.

>>> Installing sys-devel/bison-2.4
 * 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/share/man/man1/yacc.1.bz2
 * 
 * Searching all installed packages for file collisions...
 * 
 * Press Ctrl-C to Stop
 * 
 * dev-util/yacc-1.9.1-r3
 * 	/usr/share/man/man1/yacc.1.bz2
 * 
 * Package 'sys-devel/bison-2.4' NOT merged due to file collisions. If
 * necessary, refer to your elog messages for the whole content of the
 * above message.
Comment 1 Zac Medico gentoo-dev 2008-11-09 19:06:34 UTC
This is fixed in CVS:

--- bison-2.4.ebuild	9 Nov 2008 07:31:15 -0000	1.1
+++ bison-2.4.ebuild	9 Nov 2008 19:01:49 -0000
@@ -28,6 +28,7 @@
 
 	# This one is installed by dev-util/yacc
 	mv "${D}"/usr/bin/yacc{,.bison} || die
+	mv "${D}"/usr/share/man/man1/yacc{,.bison}.1 || die
 
 	# We do not need this.
 	rm -r "${D}"/usr/lib* || die