[Webkit-unassigned] [Bug 270979] New: [WPE] Build broken when building with libdrm disabled

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Mar 14 08:12:13 PDT 2024


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

            Bug ID: 270979
           Summary: [WPE] Build broken when building with libdrm disabled
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WPE WebKit
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: magomez at igalia.com
                CC: bugs-noreply at webkitgtk.org

This is the error:

Source/WebCore/platform/graphics/PlatformDisplay.cpp: In static member function 'static std::unique_ptr<WebCore::PlatformDisplay> WebCore::PlatformDisplay::createPlatformDisplay()':
Source/WebCore/platform/graphics/PlatformDisplay.cpp:166:13: error: 'GBMDevice' has not been declared
  166 |         if (GBMDevice::singleton().isInitialized()) {
      |             ^~~~~~~~~
Source/WebCore/platform/graphics/PlatformDisplay.cpp:167:32: error: 'GBMDevice' has not been declared
  167 |             if (auto* device = GBMDevice::singleton().device(GBMDevice::Type::Render))
      |                                ^~~~~~~~~
Source/WebCore/platform/graphics/PlatformDisplay.cpp:167:62: error: 'GBMDevice' has not been declared
  167 |             if (auto* device = GBMDevice::singleton().device(GBMDevice::Type::Render))
      |                                                              ^~~~~~~~~
Source/WebCore/platform/graphics/PlatformDisplay.cpp:168:24: error: 'PlatformDisplayGBM' has not been declared
  168 |                 return PlatformDisplayGBM::create(device);
      |                        ^~~~~~~~~~~~~~~~~~

GBMDevice is only compiled if USE_GBM, which is set to off when USE_LIBDRM is off. There's a probably an #if USE(GBM) missigng somewhere.

-- 
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/20240314/3e226acc/attachment.htm>


More information about the webkit-unassigned mailing list