https://bugs.kde.org/show_bug.cgi?id=422131

            Bug ID: 422131
           Summary: kwin no longer compiles againt mesa master
           Product: kwin
           Version: 5.18.5
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: egl
          Assignee: kwin-bugs-n...@kde.org
          Reporter: m...@fireburn.co.uk
  Target Milestone: ---

The compile errors is:

FAILED:
platformsupport/scenes/opengl/CMakeFiles/SceneOpenGLBackend.dir/egl_dmabuf.cpp.o
 
/usr/bin/x86_64-pc-linux-gnu-g++ -DKCOREADDONS_LIB -DQT_CORE_LIB
-DQT_DISABLE_DEPRECATED_BEFORE=0 -DQT_GUI_LIB -DQT_NO_DEBUG
-DQT_NO_URL_CAST_FROM_STRING -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB
-D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Iplatformsupport/scenes/opengl
-I/var/tmp/portage/kde-plasma/kwin-5.18.5-r1/work/kwin-5.18.5/platformsupport/scenes/opengl
-Iplatformsupport/scenes/opengl/SceneOpenGLBackend_autogen/include
-I/var/tmp/portage/kde-plasma/kwin-5.18.5-r1/work/kwin-5.18.5/platformsupport
-I/var/tmp/portage/kde-plasma/kwin-5.18.5-r1/work/kwin-5.18.5/tabbox
-I/var/tmp/portage/kde-plasma/kwin-5.18.5-r1/work/kwin-5.18.5/effects
-I/var/tmp/portage/kde-plasma/kwin-5.18.5-r1/work/kwin-5.18.5/libkwineffects
-I. -Ilibkwineffects
-I/var/tmp/portage/kde-plasma/kwin-5.18.5-r1/work/kwin-5.18.5
-I/usr/include/qt5/QtGui/5.15.0 -I/usr/include/qt5/QtGui/5.15.0/QtGui
-I/usr/include/qt5/QtCore/5.15.0 -I/usr/include/qt5/QtCore/5.15.0/QtCore
-isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem
/usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtWidgets -isystem
/usr/include/qt5/QtGui -isystem /usr/include/KF5/KCoreAddons -isystem
/usr/include/KF5 -isystem /usr/include/KF5/KConfigCore -isystem
/usr/include/KF5/KWindowSystem -isystem /usr/include/KF5/KWayland/Server 
-DQT_NO_DEBUG -O3 -march=native -pipe -flto -fno-operator-names -fno-exceptions
-Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long
-Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual
-Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op
-fdiagnostics-color=always -fvisibility=hidden -fvisibility-inlines-hidden  
-fPIC -std=gnu++14 -MD -MT
platformsupport/scenes/opengl/CMakeFiles/SceneOpenGLBackend.dir/egl_dmabuf.cpp.o
-MF
platformsupport/scenes/opengl/CMakeFiles/SceneOpenGLBackend.dir/egl_dmabuf.cpp.o.d
-o
platformsupport/scenes/opengl/CMakeFiles/SceneOpenGLBackend.dir/egl_dmabuf.cpp.o
-c
/var/tmp/portage/kde-plasma/kwin-5.18.5-r1/work/kwin-5.18.5/platformsupport/scenes/opengl/egl_dmabuf.cpp
/var/tmp/portage/kde-plasma/kwin-5.18.5-r1/work/kwin-5.18.5/platformsupport/scenes/opengl/egl_dmabuf.cpp:97:9:
error: ‘EGL_TEXTURE_Y_XUXV_WL’ was not declared in this scope
   97 |         EGL_TEXTURE_Y_XUXV_WL,
      |         ^~~~~~~~~~~~~~~~~~~~~
/var/tmp/portage/kde-plasma/kwin-5.18.5-r1/work/kwin-5.18.5/platformsupport/scenes/opengl/egl_dmabuf.cpp:114:9:
error: ‘EGL_TEXTURE_Y_UV_WL’ was not declared in this scope; did you mean
‘GL_TEXTURE_VIEW’?
  114 |         EGL_TEXTURE_Y_UV_WL,
      |         ^~~~~~~~~~~~~~~~~~~
      |         GL_TEXTURE_VIEW
/var/tmp/portage/kde-plasma/kwin-5.18.5-r1/work/kwin-5.18.5/platformsupport/scenes/opengl/egl_dmabuf.cpp:131:9:
error: ‘EGL_TEXTURE_Y_U_V_WL’ was not declared in this scope
  131 |         EGL_TEXTURE_Y_U_V_WL,
      |         ^~~~~~~~~~~~~~~~~~~~
/var/tmp/portage/kde-plasma/kwin-5.18.5-r1/work/kwin-5.18.5/platformsupport/scenes/opengl/egl_dmabuf.cpp:153:9:
error: ‘EGL_TEXTURE_Y_U_V_WL’ was not declared in this scope
  153 |         EGL_TEXTURE_Y_U_V_WL,
      |         ^~~~~~~~~~~~~~~~~~~~


The change that caused this is
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4953

I still have issues compiling if I change to using the non-mesa include:

#include <EGL/eglext.h>

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to