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

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>15254</bug_id>
          
          <creation_ts>2023-10-26 16:29:42 +0000</creation_ts>
          <short_desc>Building webkitgtk fails on beaglebone-yocto machine</short_desc>
          <delta_ts>2024-10-03 15:01:24 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>oe-core other</component>
          <version>4.3</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>5.1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Michael Opdenacker">michael.opdenacker</reporter>
          <assigned_to name="Ross Burton">ross.burton</assigned_to>
          <cc>jon.mason</cc>
    
    <cc>michael.opdenacker</cc>
    
    <cc>randy.macleod</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>97006</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Opdenacker">michael.opdenacker</who>
    <bug_when>2023-10-26 16:29:42 +0000</bug_when>
    <thetext>Configuring webkitgtk on nanbield and kirstone fails for the &quot;beaglebone-yocto&quot; machine (ARM Cortex A8):

| CMake Error at Source/cmake/WebKitFeatures.cmake:321 (message):
|   ENABLE_JIT conflicts with ENABLE_C_LOOP.  You must disable one or the
|   other.

That&apos;s because of this line in the recipe:
-DENABLE_JIT=${@bb.utils.contains(&apos;TUNE_FEATURES&apos;, &apos;callconvention-hard&apos;, &apos;ON&apos;, &apos;OFF&apos;, d)}&quot;

and the fact that the image is built with &quot;callconvention-hard&quot;, which enables ENABLE_JIT, which is incompatible with ENABLE_C_LOOP which seems to be set by default.

I tried to modify the recipe (meta/recipes-sato/webkit/webkitgtk_2.40.5.bb) as follows, replacing:
EXTRA_OECMAKE:append:armv7a = &quot; -DENABLE_JIT=${@bb.utils.contains(&apos;TUNE_FEATURES&apos;, &apos;callconvention-hard&apos;, &apos;ON&apos;, &apos;OFF&apos;, d)}&quot;
by
EXTRA_OECMAKE:append:armv7a = &quot; -DENABLE_JIT=OFF &quot;

Configure works then, but then compiling fails after a long time, from an error that is not detailed by &quot;ninja&quot;, just mentioning that one of the compile commands returned with a failed status (which cause doesn&apos;t seem to appear in the compiler output).

The error doesn&apos;t happen for the qemu86-64 and qemuarm64 machines.

However, doesn&apos;t the autobuilder try to build &quot;world&quot; (corresponding to OE-core recipes) for all supported machines?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>97007</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Opdenacker">michael.opdenacker</who>
    <bug_when>2023-10-26 18:52:41 +0000</bug_when>
    <thetext>Also tried on Cortex A7 (stm32mp1 actually). This machine doesn&apos;t have this issue.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>98737</commentid>
    <comment_count>2</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2024-04-11 14:52:53 +0000</bug_when>
    <thetext>Bumping, and copying Jon.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>99761</commentid>
    <comment_count>3</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2024-10-03 15:01:24 +0000</bug_when>
    <thetext>Fixed in 26a34fd71659e32e56ccc4f23e79aa62f4bc062d.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>