fail build when set -DENABLE_VIDEO=OFF \ -DENABLE_AUDIO=OFF \ -DUSE_GSTREAMER_FULL=OFF \ -DUSE_GSTREAMER_GL=OFF \ -DUSE_GSTREAMER_MPEGTS=OFF \ -DUSE_GSTREAMER_NATIVE_AUDIO=OFF \ -DUSE_GSTREAMER_NATIVE_VIDEO=OFF \ -DUSE_GSTREAMER_TEXT_SINK=OFF \ The CMake build type is: Release Enabling ccache: Couldn't find ccache program. Not enabling it. Found the following HarfBuzz libraries: HarfBuzz (required): /usr/lib/libharfbuzz.so ICU (required): /usr/lib/libharfbuzz-icu.so Found the following ICU libraries: data (required) i18n (required) uc (required) Found the following WebP libraries: WebP (required): /usr/lib/libwebp.so demux (required): /usr/lib/libwebpdemux.so Disabling ENABLE_MEDIA_CONTROLS_SCRIPT since ENABLE_VIDEO is disabled. Disabling ENABLE_MEDIA_SOURCE since ENABLE_VIDEO is disabled. Disabling ENABLE_VIDEO_USES_ELEMENT_FULLSCREEN since ENABLE_VIDEO is disabled. Found the following WOFF2 libraries: WOFF2 (required): /usr/lib/libwoff2common.so dec (required): /usr/lib/libwoff2dec.so Release logs will be sent to the Systemd journal Platform-specific CMakeLists not found: /tmp/makepkg/webkit2gtk/src/webkitgtk-2.34.4/Source/bmalloc/PlatformGTK.cmake Using platform-specific CMakeLists: /tmp/makepkg/webkit2gtk/src/webkitgtk-2.34.4/Source/WTF/wtf/PlatformGTK.cmake Copying generate-unified-source-bundles.rb to: /tmp/makepkg/webkit2gtk/src/build/WTF/Scripts Using platform-specific CMakeLists: /tmp/makepkg/webkit2gtk/src/webkitgtk-2.34.4/Source/JavaScriptCore/PlatformGTK.cmake Performing Test CXX_COMPILER_SUPPORTS_-ffp-contract=off Performing Test CXX_COMPILER_SUPPORTS_-ffp-contract=off - Success Using source list file: Sources.txt Using source list file: inspector/remote/SourcesGLib.txt Using platform-specific CMakeLists: /tmp/makepkg/webkit2gtk/src/webkitgtk-2.34.4/Source/JavaScriptCore/shell/PlatformGTK.cmake Using platform-specific CMakeLists: /tmp/makepkg/webkit2gtk/src/webkitgtk-2.34.4/Source/ThirdParty/ANGLE/PlatformGTK.cmake Performing Test CXX_COMPILER_SUPPORTS_-Wno-suggest-attribute=format Performing Test CXX_COMPILER_SUPPORTS_-Wno-suggest-attribute=format - Success Using platform-specific CMakeLists: /tmp/makepkg/webkit2gtk/src/webkitgtk-2.34.4/Source/WebInspectorUI/PlatformGTK.cmake Using platform-specific CMakeLists: /tmp/makepkg/webkit2gtk/src/webkitgtk-2.34.4/Source/WebCore/PAL/pal/PlatformGTK.cmake Using platform-specific CMakeLists: /tmp/makepkg/webkit2gtk/src/webkitgtk-2.34.4/Source/WebCore/PlatformGTK.cmake Using source list file: Sources.txt Using source list file: platform/SourcesCairo.txt Using source list file: platform/SourcesGCrypt.txt Using source list file: platform/SourcesSoup.txt Using source list file: SourcesGTK.txt Using source list file: platform/SourcesGLib.txt Using platform-specific CMakeLists: /tmp/makepkg/webkit2gtk/src/webkitgtk-2.34.4/Source/WebKit/PlatformGTK.cmake Using source list file: Sources.txt Using source list file: SourcesGTK.txt Using platform-specific CMakeLists: /tmp/makepkg/webkit2gtk/src/webkitgtk-2.34.4/Source/WebDriver/PlatformGTK.cmake Using platform-specific CMakeLists: /tmp/makepkg/webkit2gtk/src/webkitgtk-2.34.4/Source/PlatformGTK.cmake Using platform-specific CMakeLists: /tmp/makepkg/webkit2gtk/src/webkitgtk-2.34.4/Tools/PlatformGTK.cmake Enabled features: ENABLE_BUBBLEWRAP_SANDBOX ..................... ON ENABLE_DRAG_SUPPORT ON ENABLE_GAMEPAD ................................ ON ENABLE_GLES2 OFF ENABLE_GTKDOC ................................. ON ENABLE_INTROSPECTION ON ENABLE_MEDIA_SOURCE ........................... OFF ENABLE_MINIBROWSER ON ENABLE_QUARTZ_TARGET .......................... OFF ENABLE_SPELLCHECK ON ENABLE_TOUCH_EVENTS ........................... ON ENABLE_VIDEO OFF ENABLE_WAYLAND_TARGET ......................... ON ENABLE_WEBDRIVER ON ENABLE_WEB_AUDIO .............................. OFF ENABLE_WEB_CRYPTO ON ENABLE_X11_TARGET ............................. ON USE_AVIF OFF USE_GTK4 ...................................... OFF USE_LCMS ON USE_LIBHYPHEN ................................. ON USE_LIBNOTIFY ON USE_LIBSECRET ................................. ON USE_OPENGL_OR_ES ON USE_OPENJPEG .................................. ON USE_SOUP2 ON USE_SYSTEMD ................................... ON USE_WOFF2 ON USE_WPE_RENDERER .............................. ON Configuring done Generating done [ 38%] Building CXX object Source/WebCore/CMakeFiles/WebCore.dir/__/__/WebCore/DerivedSources/unified-sources/UnifiedSource-3c72abbe-38.cpp.o In file included from /usr/include/X11/Xlib.h:44, from /usr/include/X11/Xutil.h:53, from /tmp/makepkg/webkit2gtk/src/webkitgtk-2.34.4/Source/WebCore/platform/graphics/x11/XUniquePtr.h:31, from /tmp/makepkg/webkit2gtk/src/webkitgtk-2.34.4/Source/WebCore/platform/graphics/glx/GLContextGLX.h:25, from /tmp/makepkg/webkit2gtk/src/webkitgtk-2.34.4/Source/WebCore/platform/graphics/glx/GLContextGLX.cpp:20, from /tmp/makepkg/webkit2gtk/src/build/WebCore/DerivedSources/unified-sources/UnifiedSource-3c72abbe-38.cpp:1: /tmp/makepkg/webkit2gtk/src/webkitgtk-2.34.4/Source/WebCore/platform/PlatformScreen.h:84:5: error: expected identifier before numeric constant 84 | None, | ^~~~ /tmp/makepkg/webkit2gtk/src/webkitgtk-2.34.4/Source/WebCore/platform/PlatformScreen.h:84:5: error: expected '}' before numeric constant In file included from /tmp/makepkg/webkit2gtk/src/webkitgtk-2.34.4/Source/WebCore/platform/graphics/DisplayRefreshMonitor.h:30, from /tmp/makepkg/webkit2gtk/src/webkitgtk-2.34.4/Source/WebCore/platform/graphics/gtk/DisplayRefreshMonitorGtk.h:30, from /tmp/makepkg/webkit2gtk/src/webkitgtk-2.34.4/Source/WebCore/platform/graphics/gtk/DisplayRefreshMonitorGtk.cpp:27, from /tmp/makepkg/webkit2gtk/src/build/WebCore/DerivedSources/unified-sources/UnifiedSource-3c72abbe-38.cpp:4: /tmp/makepkg/webkit2gtk/src/webkitgtk-2.34.4/Source/WebCore/platform/PlatformScreen.h:83:39: note: to match this '{' 83 | enum class DynamicRangeMode : uint8_t { | ^ In file included from /usr/include/X11/Xlib.h:44, from /usr/include/X11/Xutil.h:53, from /tmp/makepkg/webkit2gtk/src/webkitgtk-2.34.4/Source/WebCore/platform/graphics/x11/XUniquePtr.h:31, from /tmp/makepkg/webkit2gtk/src/webkitgtk-2.34.4/Source/WebCore/platform/graphics/glx/GLContextGLX.h:25, from /tmp/makepkg/webkit2gtk/src/webkitgtk-2.34.4/Source/WebCore/platform/graphics/glx/GLContextGLX.cpp:20, from /tmp/makepkg/webkit2gtk/src/build/WebCore/DerivedSources/unified-sources/UnifiedSource-3c72abbe-38.cpp:1: /tmp/makepkg/webkit2gtk/src/webkitgtk-2.34.4/Source/WebCore/platform/PlatformScreen.h:84:5: error: expected unqualified-id before numeric constant 84 | None, | ^~~~ In file included from /tmp/makepkg/webkit2gtk/src/webkitgtk-2.34.4/Source/WebCore/platform/graphics/DisplayRefreshMonitor.h:30, from /tmp/makepkg/webkit2gtk/src/webkitgtk-2.34.4/Source/WebCore/platform/graphics/gtk/DisplayRefreshMonitorGtk.h:30, from /tmp/makepkg/webkit2gtk/src/webkitgtk-2.34.4/Source/WebCore/platform/graphics/gtk/DisplayRefreshMonitorGtk.cpp:27, from /tmp/makepkg/webkit2gtk/src/build/WebCore/DerivedSources/unified-sources/UnifiedSource-3c72abbe-38.cpp:4: /tmp/makepkg/webkit2gtk/src/webkitgtk-2.34.4/Source/WebCore/platform/PlatformScreen.h:93:11: error: 'DynamicRangeMode' does not name a type 93 | constexpr DynamicRangeMode preferredDynamicRangeMode(Widget* = nullptr) { return DynamicRangeMode::Standard; } | ^~~~~~~~~~~~~~~~ /tmp/makepkg/webkit2gtk/src/webkitgtk-2.34.4/Source/WebCore/platform/PlatformScreen.h:99:47: error: 'Widget' was not declared in this scope; did you mean 'WebCore::Widget'? 99 | constexpr bool screenSupportsHighDynamicRange(Widget* = nullptr) { return false; } | ^~~~~~ | WebCore::Widget /tmp/makepkg/webkit2gtk/src/webkitgtk-2.34.4/Source/WebCore/platform/PlatformScreen.h:56:7: note: 'WebCore::Widget' declared here 56 | class Widget; | ^~~~~~ /tmp/makepkg/webkit2gtk/src/webkitgtk-2.34.4/Source/WebCore/platform/PlatformScreen.h:99:55: error: expected primary-expression before '=' token 99 | constexpr bool screenSupportsHighDynamicRange(Widget* = nullptr) { return false; } | ^ /tmp/makepkg/webkit2gtk/src/webkitgtk-2.34.4/Source/WebCore/platform/PlatformScreen.h:108:30: error: 'PlatformDisplayID' was not declared in this scope; did you mean 'WebCore::PlatformDisplayID'? 108 | const ScreenData* screenData(PlatformDisplayID screendisplayID); | ^~~~~~~~~~~~~~~~~ | WebCore::PlatformDisplayID /tmp/makepkg/webkit2gtk/src/webkitgtk-2.34.4/Source/WebCore/platform/PlatformScreen.h:58:7: note: 'WebCore::PlatformDisplayID' declared here 58 | using PlatformDisplayID = uint32_t; | ^~~~~~~~~~~~~~~~~ /tmp/makepkg/webkit2gtk/src/webkitgtk-2.34.4/Source/WebCore/platform/PlatformScreen.h:109:16: error: 'PlatformDisplayID' does not name a type; did you mean 'PlatformDisplay_h'? 109 | WEBCORE_EXPORT PlatformDisplayID primaryScreenDisplayID(); | ^~~~~~~~~~~~~~~~~ | PlatformDisplay_h /tmp/makepkg/webkit2gtk/src/webkitgtk-2.34.4/Source/WebCore/platform/PlatformScreen.h:161:1: error: expected declaration before '}' token 161 | } // namespace WebCore | ^ /tmp/makepkg/webkit2gtk/src/webkitgtk-2.34.4/Source/WebCore/platform/PlatformScreen.h:173:5: error: template argument 2 is invalid 173 | >; | ^ make[2]: *** [Source/WebCore/CMakeFiles/WebCore.dir/build.make:9735: Source/WebCore/CMakeFiles/WebCore.dir/__/__/WebCore/DerivedSources/unified-sources/UnifiedSource-3c72abbe-38.cpp.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:1149: Source/WebCore/CMakeFiles/WebCore.dir/all] Error 2 make: *** [Makefile:156: all] Error 2 also fails in 2.34.3 as commented here https://bugs.webkit.org/show_bug.cgi?id=232394#c4 greetings