Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 664146 - media-libs/mesa-18.1.6 fails to install due to file collisions
Summary: media-libs/mesa-18.1.6 fails to install due to file collisions
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-08-20 19:53 UTC by Nick Soveiko
Modified: 2018-08-20 20:00 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge-info.txt,6.75 KB, text/plain)
2018-08-20 19:53 UTC, Nick Soveiko
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nick Soveiko 2018-08-20 19:53:17 UTC
Created attachment 544206 [details]
emerge --info

* Messages for package media-libs/mesa-18.1.6:
 * Log file: /var/log/portage/build/media-libs/mesa-18.1.6:20180820-193313.log

 * 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 https://bugs.gentoo.org/ unless you report exactly
 * which two packages install the same file(s). See
 * https://wiki.gentoo.org/wiki/Knowledge_Base:Blockers for tips on how
 * to solve the problem. And once again, please do NOT file a bug report
 * unless you have completely understood the above message.
 * 
 * package media-libs/mesa-18.1.6 NOT merged
 * 
 * Detected file collision(s):
 * 
 * 	/usr/lib/dri/swrast_dri.so
 * 
 * Searching all installed packages for file collisions...
 * 
 * Press Ctrl-C to Stop
 * 
 * None of the installed packages claim the file(s).
 * 
 * Package 'media-libs/mesa-18.1.6' NOT merged due to file collisions. If
 * necessary, refer to your elog messages for the whole content of the
 * above message.

$ portageq owners / /usr/lib/dri/swrast_dri.so
None of the installed packages claim these files:
	/usr/lib/dri/swrast_dri.so

interestingly, equery reports differently:

$ equery b /usr/lib/dri/swrast_dri.so
 * Searching for /usr/lib/dri/swrast_dri.so ... 
media-libs/mesa-17.3.9 (/usr/lib/mesa/swrastg_dri.so)
Comment 1 Ben Kohler gentoo-dev 2018-08-20 20:00:52 UTC
Turn off collision-protect and this will be non-fatal.  The default is protect-owned which allows collisions on non-owned files.

What happened is that this used to be a symlink created by eselect-mesa, now the file is owned by mesa itself.

This only becomes a problem if you specifically ask for the stricter colllision-protect setting.