[Webkit-unassigned] [Bug 232394] Fail build with -DENABLE_WEB_AUDIO=OFF -DENABLE_VIDEO=OFF in webkit2gtk 2.34.1 (gtk3)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Dec 30 07:36:30 PST 2021


https://bugs.webkit.org/show_bug.cgi?id=232394

--- Comment #4 from sL1pKn07 <sl1pkn07 at gmail.com> ---
fails again in 2.34.3


[ 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.3/Source/WebCore/platform/graphics/x11/XUniquePtr.h:31,
                 from /tmp/makepkg/webkit2gtk/src/webkitgtk-2.34.3/Source/WebCore/platform/graphics/glx/GLContextGLX.h:25,
                 from /tmp/makepkg/webkit2gtk/src/webkitgtk-2.34.3/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.3/Source/WebCore/platform/PlatformScreen.h:84:5: error: expected identifier before numeric constant
   84 |     None,
      |     ^~~~
/tmp/makepkg/webkit2gtk/src/webkitgtk-2.34.3/Source/WebCore/platform/PlatformScreen.h:84:5: error: expected '}' before numeric constant
In file included from /tmp/makepkg/webkit2gtk/src/webkitgtk-2.34.3/Source/WebCore/platform/graphics/DisplayRefreshMonitor.h:30,
                 from /tmp/makepkg/webkit2gtk/src/webkitgtk-2.34.3/Source/WebCore/platform/graphics/gtk/DisplayRefreshMonitorGtk.h:30,
                 from /tmp/makepkg/webkit2gtk/src/webkitgtk-2.34.3/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.3/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.3/Source/WebCore/platform/graphics/x11/XUniquePtr.h:31,
                 from /tmp/makepkg/webkit2gtk/src/webkitgtk-2.34.3/Source/WebCore/platform/graphics/glx/GLContextGLX.h:25,
                 from /tmp/makepkg/webkit2gtk/src/webkitgtk-2.34.3/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.3/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.3/Source/WebCore/platform/graphics/DisplayRefreshMonitor.h:30,
                 from /tmp/makepkg/webkit2gtk/src/webkitgtk-2.34.3/Source/WebCore/platform/graphics/gtk/DisplayRefreshMonitorGtk.h:30,
                 from /tmp/makepkg/webkit2gtk/src/webkitgtk-2.34.3/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.3/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.3/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.3/Source/WebCore/platform/PlatformScreen.h:56:7: note: 'WebCore::Widget' declared here
   56 | class Widget;
      |       ^~~~~~
/tmp/makepkg/webkit2gtk/src/webkitgtk-2.34.3/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.3/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.3/Source/WebCore/platform/PlatformScreen.h:58:7: note: 'WebCore::PlatformDisplayID' declared here
   58 | using PlatformDisplayID = uint32_t;
      |       ^~~~~~~~~~~~~~~~~
/tmp/makepkg/webkit2gtk/src/webkitgtk-2.34.3/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.3/Source/WebCore/platform/PlatformScreen.h:161:1: error: expected declaration before '}' token
  161 | } // namespace WebCore
      | ^
/tmp/makepkg/webkit2gtk/src/webkitgtk-2.34.3/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:

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20211230/53587dbf/attachment.htm>


More information about the webkit-unassigned mailing list