Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 406641 - media-libs/mesa-8.0.1-r1 doesn't install GL/glu.h
Summary: media-libs/mesa-8.0.1-r1 doesn't install GL/glu.h
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-02 19:23 UTC by Account removed
Modified: 2016-05-21 11:37 UTC (History)
5 users (show)

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 Account removed 2012-03-02 19:23:22 UTC
media-libs/mesa-8.0.1-r1 doesn't install GL/glu.h where media-libs/mesa-8.0.1 does.
all sources needing the header of course fail to build (f.e. xbmc)
Probably related:
downgrading mesa to 8.0.1 fixes the issue but it is installed with a file collision warning:
 * Detected file collision(s):
 * 
 * 	/usr/lib/libGLU.so.1
 * 	/usr/lib/libGLU.so
without leading to mesa-8.0.1-r1 as "owner".
Comment 1 Chris Smith 2012-03-02 21:12:41 UTC
ditto
Comment 2 Sven Eden 2012-03-02 23:04:56 UTC
It does not install anything in /usr/include/GLES[2] or /usr/include/KHR either.

Unfortunately this leads to the xorg-server not being able to be merged.

I found this is the mesa ebuild:

------

-               for x in "${ED}"/usr/include/GL/{gl.h,glx.h,glext.h,glxext.h}; do
+               for x in "${ED}"/usr/include/*/*.h; do
                        if [ -f ${x} -o -L ${x} ]; then
                                mv -f "${x}" "${ED}"/usr/$(get_libdir)/opengl/${OPENGL_DIR}/include \
                                        || die "Failed to move ${x}"
------

This change seems to be the culprit, so I am asking whether this is really correct and just another step missing somewhere? Most include files include others with fixed paths!

Se gl.h for example which has an "#include <GLES/glplatform.h>" in it.
Comment 3 Kevin Parent 2012-03-03 02:00:41 UTC
Same thing here.
Comment 4 Francisco J. Vazquez 2012-03-03 10:27:18 UTC
With 8.0.1-r1 ati-drivers doesn't compile either. With all the headers in /usr/lib64/opengl/xorg-x11/include instead of /usr/include/GL and /usr/include/EGL, ati-drivers doesn't find glu.h.
Comment 5 Chí-Thanh Christopher Nguyễn gentoo-dev 2012-03-03 11:22:35 UTC
I have package.mask'ed the new mesa revision. Until a fix is committed, please downgrade to mesa-8.0.1.
Comment 6 Sven Eden 2012-03-05 09:17:25 UTC
I have just sync'ed and updated to mesa-8.0.1-r2.
xorg-server can be compiled again, no problems to report, everything seems to be fixed.
Comment 7 Chí-Thanh Christopher Nguyễn gentoo-dev 2012-03-05 13:28:46 UTC
Marking as FIXED.