<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>271525</bug_id>
          
          <creation_ts>2024-03-23 14:41:05 -0700</creation_ts>
          <short_desc>[GTK] Build broken with USE_GBM=OFF</short_desc>
          <delta_ts>2024-03-24 13:28:16 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Tools / Tests</component>
          <version>WebKit Local Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=270979</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Adrian Perez">aperez</reporter>
          <assigned_to name="Adrian Perez">aperez</assigned_to>
          <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2023394</commentid>
    <comment_count>0</comment_count>
    <who name="Adrian Perez">aperez</who>
    <bug_when>2024-03-23 14:41:05 -0700</bug_when>
    <thetext>In order to reproduce the issue:

   ./Tools/Scripts/build-webkit --gtk --cmakeargs=-DUSE_GBM=OFF

There are complaints about the &lt;drm.h&gt; header not found, plus the following:

/app/webkit/Source/WebKit/WebProcess/WebPage/dmabuf/AcceleratedSurfaceDMABuf.cpp:458:13: error: enumeration value &apos;EGLImage&apos; not handled in switch [-Werror,-Wswitch]
    switch (m_type) {
            ^~~~~~
/app/webkit/Source/WebKit/WebProcess/WebPage/dmabuf/AcceleratedSurfaceDMABuf.cpp:549:21: error: no member named &apos;setupBufferFormat&apos; in &apos;WebKit::AcceleratedSurfaceDMABuf::SwapChain&apos;
        m_swapChain.setupBufferFormat(m_webPage.preferredBufferFormats(), m_isOpaque);
        ~~~~~~~~~~~ ^
/app/webkit/Source/WebKit/WebProcess/WebPage/dmabuf/AcceleratedSurfaceDMABuf.cpp:549:49: error: no member named &apos;preferredBufferFormats&apos; in &apos;WebKit::WebPage&apos;
        m_swapChain.setupBufferFormat(m_webPage.preferredBufferFormats(), m_isOpaque);
                                      ~~~~~~~~~ ^
3 errors generated.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2023395</commentid>
    <comment_count>1</comment_count>
    <who name="Adrian Perez">aperez</who>
    <bug_when>2024-03-23 14:41:45 -0700</bug_when>
    <thetext>This issue also affects the 2.44.0 release.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2023402</commentid>
    <comment_count>2</comment_count>
    <who name="Adrian Perez">aperez</who>
    <bug_when>2024-03-23 15:59:02 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/26379</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2023519</commentid>
    <comment_count>3</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2024-03-24 10:47:07 -0700</bug_when>
    <thetext>Committed 276612@main (6af38ff93284): &lt;https://commits.webkit.org/276612@main&gt;

Reviewed commits have been landed. Closing PR #26379 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2023520</commentid>
    <comment_count>4</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2024-03-24 10:49:15 -0700</bug_when>
    <thetext>&lt;rdar://problem/125319499&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2023531</commentid>
    <comment_count>5</comment_count>
    <who name="Adrian Perez">aperez</who>
    <bug_when>2024-03-24 13:28:16 -0700</bug_when>
    <thetext>(In reply to Adrian Perez from comment #1)
&gt; 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.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>