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

Bug 441666

Summary: media-libs/mesa: Install symlinks with splitdebug
Product: Gentoo Linux Reporter: Alex Xu (Hello71) <alex_y_xu>
Component: [OLD] UnspecifiedAssignee: Gentoo X packagers <x11>
Severity: minor    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---

Description Alex Xu (Hello71) 2012-11-04 00:01:58 UTC
media-libs/mesa (tested on 8.0.4-r1) installs symbolic links in ${libdir}/dri/ (etc), ostensibly "for dynamic switching". If FEATURES=splitdebug is set, similar symbolic links are not installed in ${libdir}/debug/${libdir}/dri/ (etc), leading gdb to be unable to locate the debug files. Manually installing symbolic links in the appropriate locations remedies the issue.
Comment 1 Chí-Thanh Christopher Nguyễn gentoo-dev 2012-11-04 00:04:48 UTC
I think there was a bug already filed about this, but I can't find it right now.
Comment 2 Alex Xu (Hello71) 2012-11-04 00:11:54 UTC
All I can find is #330769, which is not the same bug.

Should I get on a patch that just tests FEATURES for splitdebug, or is there a better way to go about this?
Comment 3 Alex Xu (Hello71) 2012-11-04 00:12:13 UTC
Whoops, wrong field.
Comment 4 Alex Xu (Hello71) 2013-10-01 11:36:52 UTC
I wouldn't really call this an "enhancement", since without the workaround, it prevents debugging of mesa.

    ln -s mesa /usr/lib/debug/usr/lib32/dri
    ln -s mesa /usr/lib/debug/usr/lib64/dri
Comment 5 Alex Xu (Hello71) 2014-02-22 12:55:26 UTC
I don't know if this is an issue anymore.

If anyone else can repro, please reopen.