Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 47282 - ati-drivers 3.7.6-r1 installs bad symlinks and breaks gl headers
Summary: ati-drivers 3.7.6-r1 installs bad symlinks and breaks gl headers
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-08 16:50 UTC by j.
Modified: 2004-04-08 23:21 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description j. 2004-04-08 16:50:38 UTC
the X11_IMPLEM variable in the ebuild is set wrong.
here is what i get from:
einfo "X11 implementation is ${X11_IMPLEM}."
 * X11 implementation is x11-base/xfree.

and later on in the ebuild we're doing things like this:

local ATI_ROOT="/usr/lib/opengl/ati"
exeinto ${ATI_ROOT}/
dosym ../${X11_IMPLEM}/include ${ATI_ROOT}/include
dosym ../${X11_IMPLEM}/extensions ${ATI_ROOT}/extensions

which in this case boils down to linking to stuff in:
/usr/lib/opengl/x11-base/xfree/

when it really needs to be:
/usr/lib/opengl/xfree/

the fix:
--- ati-drivers-3.7.6-r1.ebuild 2004-04-08 18:48:08.447178776 -0500
+++ ati-drivers-3.7.6-r2.ebuild 2004-04-08 18:31:28.810146704 -0500
@@ -37,6 +37,7 @@
        # Set up X11 implementation
        X11_IMPLEM_P="$(portageq best_version "${ROOT}" virtual/x11)"
        X11_IMPLEM="${X11_IMPLEM_P%-[0-9]*}"
+       X11_IMPLEM="${X11_IMPLEM#*\/}"
        einfo "X11 implementation is ${X11_IMPLEM}."
 }



Reproducible: Always
Steps to Reproduce:
Comment 1 Donnie Berkholz (RETIRED) gentoo-dev 2004-04-08 23:17:37 UTC
Thanks for catching my moron-ness, I'd swear I tested and it worked but I guess I must be hallucinating.
Comment 2 Donnie Berkholz (RETIRED) gentoo-dev 2004-04-08 23:21:34 UTC
Fixed, thanks.