Summary: | x11-apps/mesa-progs-8.2.0 can't build with media-libs/mesa-10.6.2: "error: ‘EGL_SCREEN_BIT_MESA’ undeclared" | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Paolo Pedroni <paolo.pedroni> |
Component: | Current packages | Assignee: | Matt Turner <mattst88> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | 1i5t5.duncan, alexander, chutzpah, dschridde+gentoobugs, leonchik1976, mail, ncosmin, rhill, rose, timo, vityokster, x11 |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.freedesktop.org/show_bug.cgi?id=91020 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
mesa-progs-8.2.0:20150717-105142.log.gz
[untested][upstream bug report patch]Fix build against EGL implementations that don't support the EGL_MESA_screen_surface extension |
Description
Paolo Pedroni
2015-07-17 10:59:29 UTC
I can confirm this too. The only way I can get mesa-progs-8.2.0 to build now is with USE="-egl". (In reply to Scott Jones from comment #1) > I can confirm this too. The only way I can get mesa-progs-8.2.0 to build > now is with USE="-egl". Yep, and that means losing some functionality. I can confirm the bug. Same here on a AMD Athlon 5350 (Kabini) with Radeon 8400. Seeing it here, too. =:^( CCing. The same for me. Same result with mesa-progs-9999 Created attachment 407492 [details, diff] [untested][upstream bug report patch]Fix build against EGL implementations that don't support the EGL_MESA_screen_surface extension This is a link to the upstream bug report: https://bugs.freedesktop.org/attachment.cgi?id=117106 Apparently this `EGL_MESA_screen_surface` stuff was never actually implemented, so it was finally removed in May. I am attaching the patch from the upstream bug report, I can't test it myself as I'm sitting on stable mesa-10.3.7. Wrong link, here is the bug report: https://bugs.freedesktop.org/show_bug.cgi?id=91020 (In reply to Jeremi Piotrowski from comment #7) > Created attachment 407492 [details, diff] [details, diff] > [untested][upstream bug report patch]Fix build against EGL implementations > that don't support the EGL_MESA_screen_surface extension > > This is a link to the upstream bug report: > > https://bugs.freedesktop.org/attachment.cgi?id=117106 > > Apparently this `EGL_MESA_screen_surface` stuff was never actually > implemented, so it was finally removed in May. > > I am attaching the patch from the upstream bug report, I can't test it > myself as I'm sitting on stable mesa-10.3.7. Thanks. The patch works, except that file src/egl/opengl/eglscreen.c did not exist so I skipped it, and the package compiled successfully. Turns out the programs that these compile failures were coming from weren't useful anyway, so I removed them. Nope, still failing. Can't post log ATM, but it'still failing if patch is not applied. :( Indeed, you're right. There's more that I didn't spot. I've added a patch now. Hopefully all fixed this time. :) commit ae997dc2325c0b74ad1c9b6ee8542d44354c60b4 Author: Matt Turner <mattst88@gentoo.org> Date: Sat Aug 29 10:49:52 2015 -0700 x11-apps/mesa-progs: Patch out more of EGL_MESA_screen_surface. Bug: https://bugs.gentoo.org/555186 (In reply to Matt Turner from comment #12) > Indeed, you're right. There's more that I didn't spot. > > I've added a patch now. Hopefully all fixed this time. :) Where is the patch? (In reply to Juergen Rose from comment #14) > (In reply to Matt Turner from comment #12) > > Indeed, you're right. There's more that I didn't spot. > > > > I've added a patch now. Hopefully all fixed this time. :) > > Where is the patch? That's a strange question. I provided the SHA1 of the commit. In any case, here's a URL to it: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ae997dc2325c0b74ad1c9b6ee8542d44354c60b4 *** Bug 559126 has been marked as a duplicate of this bug. *** |