``` [ 81%] Building CXX object CMakeFiles/kwin.dir/events.cpp.o /usr/bin/x86_64-pc-linux-gnu-g++ -DKCOREADDONS_LIB -DQT_CONCURRENT_LIB -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_DISABLE_DEPRECATED_BEFORE=0 -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_QML_LIB -DQT_QUICK_LIB -DQT_SCRIPT_LIB -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_XML_LIB -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Dkwin_EXPORTS -I/tmp/portage/kde-plasma/kwin-5.10.3.1/work/kwin-5.10.3.1_build -I/tmp/portage/kde-plasma/kwin-5.10.3.1/work/kwin-5.10.3.1 -I/tmp/portage/kde-plasma/kwin-5.10.3.1/work/kwin-5.10.3.1_build/kwin_autogen/include -I/tmp/portage/kde-plasma/kwin-5.10.3.1/work/kwin-5.10.3.1/tabbox -I/tmp/portage/kde-plasma/kwin-5.10.3.1/work/kwin-5.10.3.1/effects -I/tmp/portage/kde-plasma/kwin-5.10.3.1/work/kwin-5.10.3.1/libkwineffects -I/tmp/portage/kde-plasma/kwin-5.10.3.1/work/kwin-5.10.3.1_build/libkwineffects -I/tmp/portage/kde-plasma/kwin-5.10.3.1/work/kwin-5.10.3.1_build/effects -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtDBus -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/KConfigCore -isystem /usr/include/KF5 -isystem /usr/include/KF5/KCoreAddons -isystem /usr/include/KF5/KWindowSystem -isystem /usr/include/KF5/KWayland/Ser ver -isystem /usr/include/qt5/QtConcurrent -isystem /usr/include/qt5/QtQuick -isystem /usr/include/qt5/QtQml -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtScript -isystem /usr/include/qt5/QtX11Extras -isystem /usr/include/KF5/KConfigWidgets -isystem /usr/include/KF5/KCodecs -isystem /usr/include/KF5/KWidgetsAddons -isystem /usr/include/KF5/KConfigGui -isystem /usr/include/qt5/QtXml -isystem /usr/include/KF5/KAuth -isystem /usr/include/KF5/KGlobalAccel -isystem /usr/include/KF5/KI18n -isystem /usr/include/KF5/KNotifications -isystem /usr/include/KF5/KPackage -isystem /usr/include/KF5/Plasma -isystem /usr/include/KF5/KService -isystem /usr/include/KDecoration2 -isystem /usr/include/KScreenLocker -isystem /usr/include/KF5/KActivities -isystem /usr/include/KF5/KWayland/Client -DQT_NO_DEBUG -DNDEBUG -pipe -O1 ... -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-d tor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -o CMakeFiles/kwin.dir/events.cpp.o -c /tmp/portage/kde-plasma/kwin-5.10.3.1/work/kwin-5.10.3.1/events.cpp In file included from /usr/include/epoxy/egl.h:46:0, from /tmp/portage/kde-plasma/kwin-5.10.3.1/work/kwin-5.10.3.1/abstract_egl_backend.h:24, from /tmp/portage/kde-plasma/kwin-5.10.3.1/work/kwin-5.10.3.1/composite.cpp:22: /tmp/portage/kde-plasma/kwin-5.10.3.1/work/kwin-5.10.3.1/abstract_egl_backend.h:76:28: error: expected primary-expression before ',' token EGLDisplay m_display = EGL_NO_DISPLAY; ^ /tmp/portage/kde-plasma/kwin-5.10.3.1/work/kwin-5.10.3.1/abstract_egl_backend.h:76:28: error: 'EGL_CAST' was not declared in this scope EGLDisplay m_display = EGL_NO_DISPLAY; ^ /tmp/portage/kde-plasma/kwin-5.10.3.1/work/kwin-5.10.3.1/abstract_egl_backend.h:77:28: error: expected primary-expression before ',' token EGLSurface m_surface = EGL_NO_SURFACE; ^ /tmp/portage/kde-plasma/kwin-5.10.3.1/work/kwin-5.10.3.1/abstract_egl_backend.h:77:28: error: 'EGL_CAST' was not declared in this scope EGLSurface m_surface = EGL_NO_SURFACE; ^ /tmp/portage/kde-plasma/kwin-5.10.3.1/work/kwin-5.10.3.1/abstract_egl_backend.h:78:28: error: expected primary-expression before ',' token EGLContext m_context = EGL_NO_CONTEXT; ^ /tmp/portage/kde-plasma/kwin-5.10.3.1/work/kwin-5.10.3.1/abstract_egl_backend.h:78:28: error: 'EGL_CAST' was not declared in this scope EGLContext m_context = EGL_NO_CONTEXT; ^ ``` https://github.com/mesa3d/mesa/commit/a98b3a0872f9c542e6db75d17b7875a3f0374a14
> >=5.10 requires media-libs/mesa >=17.1 I can't confirm that at all, works fine here. Need emerge --info and full build.log.
Please re-open with the required information. FYI, mesa minimum version req was just recently bumped - to 10.0.