RESOLVED FIXED 271525
[GTK] Build broken with USE_GBM=OFF
https://bugs.webkit.org/show_bug.cgi?id=271525
Summary [GTK] Build broken with USE_GBM=OFF
Adrian Perez
Reported 2024-03-23 14:41:05 PDT
In order to reproduce the issue: ./Tools/Scripts/build-webkit --gtk --cmakeargs=-DUSE_GBM=OFF There are complaints about the <drm.h> header not found, plus the following: /app/webkit/Source/WebKit/WebProcess/WebPage/dmabuf/AcceleratedSurfaceDMABuf.cpp:458:13: error: enumeration value 'EGLImage' not handled in switch [-Werror,-Wswitch] switch (m_type) { ^~~~~~ /app/webkit/Source/WebKit/WebProcess/WebPage/dmabuf/AcceleratedSurfaceDMABuf.cpp:549:21: error: no member named 'setupBufferFormat' in 'WebKit::AcceleratedSurfaceDMABuf::SwapChain' m_swapChain.setupBufferFormat(m_webPage.preferredBufferFormats(), m_isOpaque); ~~~~~~~~~~~ ^ /app/webkit/Source/WebKit/WebProcess/WebPage/dmabuf/AcceleratedSurfaceDMABuf.cpp:549:49: error: no member named 'preferredBufferFormats' in 'WebKit::WebPage' m_swapChain.setupBufferFormat(m_webPage.preferredBufferFormats(), m_isOpaque); ~~~~~~~~~ ^ 3 errors generated.
Attachments
Adrian Perez
Comment 1 2024-03-23 14:41:45 PDT
This issue also affects the 2.44.0 release.
Adrian Perez
Comment 2 2024-03-23 15:59:02 PDT
EWS
Comment 3 2024-03-24 10:47:07 PDT
Committed 276612@main (6af38ff93284): <https://commits.webkit.org/276612@main> Reviewed commits have been landed. Closing PR #26379 and removing active labels.
Radar WebKit Bug Importer
Comment 4 2024-03-24 10:49:15 PDT
Adrian Perez
Comment 5 2024-03-24 13:28:16 PDT
(In reply to Adrian Perez from comment #1) > This issue also affects the 2.44.0 release. FWIW, I have backported the patch to the 2.44 branch and it will be part of the 2.44.1 release.
Note You need to log in before you can comment on or make changes to this bug.