Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 330769 - app-eselect/eselect-mesa does not like if /usr/lib{,64}/dri is a symlink
Summary: app-eselect/eselect-mesa does not like if /usr/lib{,64}/dri is a symlink
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Chí-Thanh Christopher Nguyễn
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-01 22:17 UTC by Chí-Thanh Christopher Nguyễn
Modified: 2018-06-08 05:43 UTC (History)
4 users (show)

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


Attachments
Handle SYMLINK_LIB=no (no-symlink.patch,3.15 KB, patch)
2016-02-20 23:33 UTC, Steven Newbury
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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. ***