Closed perfect7gentleman closed 4 years ago
Hmm... portage...
That seems odd. Can you please tell me which graphics driver are you using, and the version? It appears you must have a version without those variables in the /usr/include/EGL/eglmesaext.h
header.
1st PC: Mesa - git version xf86-video-intel - git version 2nd PC: Mesa - git version xf86-video-amdgpu - git version
~ $ cat /usr/include/EGL/eglmesaext.h
.......
#ifndef __eglmesaext_h_
#define __eglmesaext_h_
#ifdef __cplusplus
extern "C" {
#endif
#include <EGL/eglplatform.h>
/* remnant of EGL_NOK_swap_region kept for compatibility because of a non-standard type name */
typedef EGLBoolean (EGLAPIENTRYP PFNEGLSWAPBUFFERSREGIONNOK) (EGLDisplay dpy, EGLSurface surface, EGLint numRects, const EGLint* rects);
#ifndef EGL_MESA_configless_context
#define EGL_MESA_configless_context 1
#define EGL_NO_CONFIG_MESA EGL_CAST(EGLConfig,0)
#endif
#ifndef EGL_MESA_drm_image_formats
#define EGL_MESA_drm_image_formats 1
#define EGL_DRM_BUFFER_FORMAT_ARGB2101010_MESA 0x3290
#define EGL_DRM_BUFFER_FORMAT_ARGB1555_MESA 0x3291
#define EGL_DRM_BUFFER_FORMAT_RGB565_MESA 0x3292
#endif /* EGL_MESA_drm_image_formats */
#ifdef __cplusplus
}
#endif
#endif
Over here in Arch Linux land, I'm also getting the same error.
This is the commit causing the build failure:
https://gitlab.freedesktop.org/mesa/mesa/commit/9a74746bd1f3bd28d4c4c7cba75e3245e1d25530
Therefore, this commit should work, for now:
https://gitlab.freedesktop.org/mesa/mesa/commit/045267d1e6238e45eb98f286332ee233dec53312
Hmmmmmmm:
EGL_TEXTURE_Y_U_V_WL
is now defined in include/EGL/eglext.h
:
Commit 2c76cc4 contains a fix from upstream that addresses this issue, I think. Releasing 5.18.91.
No feedback and 5.19 will be out soon. Closing.
build.log - https://pastebin.com/xpHpUc5T