<?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>274032</bug_id>
          
          <creation_ts>2024-05-11 01:51:10 -0700</creation_ts>
          <short_desc>[GTK] [2.45.1] Fails to build on big-endian machines due to lack of support in Skia</short_desc>
          <delta_ts>2024-05-14 09:16:56 -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>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <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="Alberto Garcia">berto</reporter>
          <assigned_to name="Diego Pino">dpino</assigned_to>
          <cc>bugs-noreply</cc>
    
    <cc>mcatanzaro</cc>
    
    <cc>philn</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2034693</commentid>
    <comment_count>0</comment_count>
    <who name="Alberto Garcia">berto</who>
    <bug_when>2024-05-11 01:51:10 -0700</bug_when>
    <thetext>https://github.com/WebKit/WebKit/blob/webkitgtk-2.45.1/Source/ThirdParty/skia/include/private/base/SkLoadUserConfig.h#L56

#if defined(SK_CPU_BENDIAN) &amp;&amp; !defined(I_ACKNOWLEDGE_SKIA_DOES_NOT_SUPPORT_BIG_ENDIAN)
    #error &quot;The Skia team is not endian-savvy enough to support big-endian CPUs.&quot;
    #error &quot;If you still want to use Skia,&quot;
    #error &quot;please define I_ACKNOWLEDGE_SKIA_DOES_NOT_SUPPORT_BIG_ENDIAN.&quot;
#endif

I confirm that it builds on s390x at least if I use -DUSE_SKIA=OFF so we should autodetect that situation.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2034699</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2024-05-11 05:11:00 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/28429</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2035183</commentid>
    <comment_count>2</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2024-05-14 00:36:18 -0700</bug_when>
    <thetext>Committed 278740@main (7a1468c7a3f3): &lt;https://commits.webkit.org/278740@main&gt;

Reviewed commits have been landed. Closing PR #28429 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2035221</commentid>
    <comment_count>3</comment_count>
    <who name="Philippe Normand">philn</who>
    <bug_when>2024-05-14 05:13:06 -0700</bug_when>
    <thetext>This broke builds where CMake is too old (3.16)...

CMake Error at Source/cmake/OptionsWPE.cmake:84 (if):                                                                                                                                                              
  if given arguments:                                                                                                                                                                                              
                                                                                                                                                                                                                   
    &quot;3.16.9&quot; &quot;VERSION_LESS&quot; &quot;3.20&quot; &quot;OR&quot; &quot;STREQUAL&quot; &quot;LITTLE_ENDIAN&quot;                                                                                                                                                 
                                                                                                                                                                                                                   
  Unknown arguments specified</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2035228</commentid>
    <comment_count>4</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2024-05-14 06:04:02 -0700</bug_when>
    <thetext>Drat, I forgot we have to do it in two separate conditionals. I&apos;ll land a follow-up.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2035264</commentid>
    <comment_count>5</comment_count>
    <who name="Diego Pino">dpino</who>
    <bug_when>2024-05-14 09:11:39 -0700</bug_when>
    <thetext>Re-opening for pull request https://github.com/webkit/webkit/pull/28540</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2035265</commentid>
    <comment_count>6</comment_count>
    <who name="Diego Pino">dpino</who>
    <bug_when>2024-05-14 09:14:00 -0700</bug_when>
    <thetext>Many post-commit bots are currently failing and there&apos;s another build error that needs to be fixed.

https://build.webkit.org/#/builders/992</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2035266</commentid>
    <comment_count>7</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2024-05-14 09:16:54 -0700</bug_when>
    <thetext>Committed 278764@main (9c1f32d066a4): &lt;https://commits.webkit.org/278764@main&gt;

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

    </bug>

</bugzilla>