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)
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.