Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 330769

Summary: app-eselect/eselect-mesa does not like if /usr/lib{,64}/dri is a symlink
Product: Gentoo Linux Reporter: Chí-Thanh Christopher Nguyễn <chithanh>
Component: Current packagesAssignee: Chí-Thanh Christopher Nguyễn <chithanh>
Status: RESOLVED WONTFIX    
Severity: normal CC: andreasplesch, binki, tsmksubc, x11
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=576334
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Handle SYMLINK_LIB=no

Description Chí-Thanh Christopher Nguyễn gentoo-dev 2010-08-01 22:17:48 UTC
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
Comment 1 Steven Newbury 2016-02-20 23:33:04 UTC
Created attachment 426038 [details, diff]
Handle SYMLINK_LIB=no
Comment 2 Steven Newbury 2016-02-20 23:34:45 UTC
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...
Comment 3 Steven Newbury 2016-02-20 23:39:24 UTC
I've attached the patch to the correct bug, this one: https://bugs.gentoo.org/show_bug.cgi?id=486712
Comment 4 Matt Turner gentoo-dev 2017-01-29 18:29:55 UTC
*** Bug 357857 has been marked as a duplicate of this bug. ***