Bug 237886 - REGRESSION(r291270): [GTK] GBM dependency hard breaker
Summary: REGRESSION(r291270): [GTK] GBM dependency hard breaker
Status: RESOLVED DUPLICATE of bug 237908
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-03-15 05:42 PDT by Jim Mason
Modified: 2022-03-16 02:00 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***