[Webkit-unassigned] [Bug 261637] New: [GTK] build breaks with -DUSE_GBM=OFF: WebCore/DMABufFormat.h: No such file or directory

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Sep 16 02:09:49 PDT 2023


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

            Bug ID: 261637
           Summary: [GTK] build breaks with -DUSE_GBM=OFF:
                    WebCore/DMABufFormat.h: No such file or directory
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKitGTK
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: jmason at ibinx.com
                CC: bugs-noreply at webkitgtk.org

building 2.42.0 (tarball)

-DUSE_GBM=OFF

Unguarded inclusion of a GBM-related header breaks compilation of two source files:

webkitgtk-2.42.0/Source/WebKit/UIProcess/gtk/AcceleratedBackingStoreDMABuf.cpp:36:10: fatal error: WebCore/DMABufFormat.h: No such file or directory
   36 | #include <WebCore/DMABufFormat.h>

webkitgtk-2.42.0/Source/WebKit/WebProcess/WebPage/gtk/AcceleratedSurfaceDMABuf.cpp:34:10: fatal error: WebCore/DMABufFormat.h: No such file or directory
   34 | #include <WebCore/DMABufFormat.h>

Both source files reference one constant from DMABufFormat.h, `WebCore::DMABufFormat::Modifier::Invalid`

Build completes normally when the header file and test involving the constant are removed from the source files.

-- 
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/20230916/ff93f4df/attachment.htm>


More information about the webkit-unassigned mailing list