<?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>255460</bug_id>
          
          <creation_ts>2023-04-14 09:56:17 -0700</creation_ts>
          <short_desc>2.41.2 fails to build on i386</short_desc>
          <delta_ts>2023-04-14 11:30:59 -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>WebKitGTK</component>
          <version>WebKit Nightly 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=254828</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Michael Catanzaro">mcatanzaro</reporter>
          <assigned_to name="Michael Catanzaro">mcatanzaro</assigned_to>
          <cc>bugs-noreply</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1948814</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2023-04-14 09:56:17 -0700</bug_when>
    <thetext>We are once again intentionally narrowing from uint32_t to EGLAttrib (int), as in bug #254828, but are missing casts:

        /buildstream/gnome/sdk/webkitgtk-6.0.bst/Source/WebKit/UIProcess/gtk/AcceleratedBackingStoreDMABuf.cpp:124:39: error: non-constant-expression cannot be narrowed from type &apos;uint32_t&apos; (aka &apos;unsigned int&apos;) to &apos;int&apos; in initializer list [-Wc++11-narrowing]
                    EGL_LINUX_DRM_FOURCC_EXT, format,
                                              ^~~~~~
        /buildstream/gnome/sdk/webkitgtk-6.0.bst/Source/WebKit/UIProcess/gtk/AcceleratedBackingStoreDMABuf.cpp:124:39: note: insert an explicit cast to silence this issue
                    EGL_LINUX_DRM_FOURCC_EXT, format,
                                              ^~~~~~
                                              static_cast&lt;int&gt;( )
        /buildstream/gnome/sdk/webkitgtk-6.0.bst/Source/WebKit/UIProcess/gtk/AcceleratedBackingStoreDMABuf.cpp:126:44: error: non-constant-expression cannot be narrowed from type &apos;uint32_t&apos; (aka &apos;unsigned int&apos;) to &apos;int&apos; in initializer list [-Wc++11-narrowing]
                    EGL_DMA_BUF_PLANE0_OFFSET_EXT, offset,
                                                   ^~~~~~
        /buildstream/gnome/sdk/webkitgtk-6.0.bst/Source/WebKit/UIProcess/gtk/AcceleratedBackingStoreDMABuf.cpp:126:44: note: insert an explicit cast to silence this issue
                    EGL_DMA_BUF_PLANE0_OFFSET_EXT, offset,
                                                   ^~~~~~
                                                   static_cast&lt;int&gt;( )
        /buildstream/gnome/sdk/webkitgtk-6.0.bst/Source/WebKit/UIProcess/gtk/AcceleratedBackingStoreDMABuf.cpp:127:43: error: non-constant-expression cannot be narrowed from type &apos;uint32_t&apos; (aka &apos;unsigned int&apos;) to &apos;int&apos; in initializer list [-Wc++11-narrowing]
                    EGL_DMA_BUF_PLANE0_PITCH_EXT, stride,
                                                  ^~~~~~
        /buildstream/gnome/sdk/webkitgtk-6.0.bst/Source/WebKit/UIProcess/gtk/AcceleratedBackingStoreDMABuf.cpp:127:43: note: insert an explicit cast to silence this issue
                    EGL_DMA_BUF_PLANE0_PITCH_EXT, stride,
                                                  ^~~~~~
                                                  static_cast&lt;int&gt;( )
        3 errors generated.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1948824</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2023-04-14 10:27:20 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/12748</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1948834</commentid>
    <comment_count>2</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2023-04-14 11:30:56 -0700</bug_when>
    <thetext>Committed 262977@main (70ea0fe18a21): &lt;https://commits.webkit.org/262977@main&gt;

Reviewed commits have been landed. Closing PR #12748 and removing active labels.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>