Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 624304 - kde-plasma/kwin-5.10.3.1: error: 'EGL_CAST' was not declared in this scope
Summary: kde-plasma/kwin-5.10.3.1: error: 'EGL_CAST' was not declared in this scope
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-07-08 22:39 UTC by .
Modified: 2017-07-09 15:13 UTC (History)
0 users

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 . 2017-07-08 22:39:43 UTC
```
[ 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
Comment 1 Andreas Sturmlechner gentoo-dev 2017-07-08 22:45:11 UTC
> >=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.
Comment 2 Andreas Sturmlechner gentoo-dev 2017-07-09 15:13:04 UTC
Please re-open with the required information.

FYI, mesa minimum version req was just recently bumped - to 10.0.