On some systems, /usr/lib64/dri is a symlink to /usr/lib64/xorg/modules/dri/ instead of a directory. eselect-mesa does not handle this well. Under which circumstances this occurs is presently unclear. Two approaches which solve this problem: 1. use absolute symlinks instead of relative ones 2. exit with an error message if /usr/lib64/dri is a symlink
Created attachment 426038 [details, diff] Handle SYMLINK_LIB=no
Hmm, I didn't properly read the description of this bug. My patch does fix a real issue, though I'd better create a new bug...
I've attached the patch to the correct bug, this one: https://bugs.gentoo.org/show_bug.cgi?id=486712
*** Bug 357857 has been marked as a duplicate of this bug. ***