Bug 237886

Summary: REGRESSION(r291270): [GTK] GBM dependency hard breaker
Product: WebKit Reporter: Jim Mason <jmason>
Component: WebKitGTKAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: alex, bugs-noreply
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=237606
https://bugs.webkit.org/show_bug.cgi?id=237887

Description Jim Mason 2022-03-15 05:42:24 PDT
X11/nVIDIA, no libgbm

(This is similar to Bug 237606, but I can easily work around that one, as it is a build-only issue.  r291270 introduces architectural dependencies, so I am documenting it separately.)

Build fails with:

/build/rtutils/components/desktop/webkitgtk4-dev/webkit/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:31:10: fatal error: DMABufFormat.h: No such file or directory
   31 | #include "DMABufFormat.h"
      |          ^~~~~~~~~~~~~~~~

There are GBM dependencies throughout the file and several others in this patch, so commenting out the includes doesn't help.

Please note, gstreamer integration worked a-ok before this commit.  Now I cannot build at all, and it looks as if GBM is going to be required to get gstreamer functionality...

Is there a plan to continue supporting gstreamer integration in absence of GBM?
Comment 1 Alejandro G. Castro 2022-03-15 11:37:02 PDT
Thanks for reporting, we are discussing the solution for this and we are going to add a new define to allow the compilation without GBM support. Sorry for the inconvenience, we are working on it.
Comment 2 Alejandro G. Castro 2022-03-16 02:00:38 PDT

*** This bug has been marked as a duplicate of bug 237908 ***