Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 567238 - x11-proto/glproto: "Detected file collision" updating
Summary: x11-proto/glproto: "Detected file collision" updating
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-01 10:25 UTC by Juan Simón
Modified: 2015-12-07 11:29 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 Juan Simón 2015-12-01 10:25:39 UTC
I have upgrade Gentoo today (I'm doing a new installation). 
When Gentoo tries to update x11-proto/glproto from 1.4.17 (yesterday) to 1.4.17-r1 (today) it fails due to file collision:

 * package x11-proto/glproto-1.4.17-r1 NOT merged
 * Detected file collision(s):
 * 	/usr/include/GL/glxproto.h
 * 	/usr/include/GL/glxtokens.h
 * 	/usr/include/GL/glxmd.h

Those files were installed by previous version in another path:

# portageq owners / glxmd.h glxproto.h glxtokens.h
x11-proto/glproto-1.4.17
	/usr/lib64/opengl/xorg-x11/include/GL/glxmd.h
	/usr/lib64/opengl/xorg-x11/include/GL/glxproto.h
	/usr/lib64/opengl/xorg-x11/include/GL/glxtokens.h

Why doesn't it delete that files?

Reproducible: Always
Comment 1 Juan Simón 2015-12-01 10:32:54 UTC
I have solved it changing "FEATURES=-collision-protect" in make.conf before update this package.
Comment 2 Juan Simón 2015-12-01 10:35:55 UTC
In any case, FEATURE="collision-protect" shouldn't have failed in this case because they are files of the same package.
Comment 3 Juan Simón 2015-12-01 11:11:46 UTC
Same problem upgrading media-libs/mesa from 10.3.7-r1 to 11.0.6.
Comment 4 Chí-Thanh Christopher Nguyễn gentoo-dev 2015-12-07 11:29:52 UTC
These are files which were previously managed by eselect-opengl.

FEATURE="collision-protect" is not enabled by default for good reason, and if you set it (because you are concerned that portage might overwrite your files) you have to handle the fallout.

See this forum post for more details:
https://forums.gentoo.org/viewtopic-p-7850500.html#7850500