<?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>15946</bug_id>
          
          <creation_ts>2025-08-02 16:34:19 +0000</creation_ts>
          <short_desc>Intermittent failure in gcc-cross in run.autotools_preconfigure</short_desc>
          <delta_ts>2026-06-04 15:14:16 +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>devtools / tool chain</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>6.0</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Khem Raj">raj.khem</reporter>
          <assigned_to name="Khem Raj">raj.khem</assigned_to>
          <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>randy.macleod</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>sundeep.kokkonda</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Don&apos;t know</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>102542</commentid>
    <comment_count>0</comment_count>
    <who name="Khem Raj">raj.khem</who>
    <bug_when>2025-08-02 16:34:19 +0000</bug_when>
    <thetext>Ran into a failure on master when building gcc-cross today ( target qemuriscv32 )
I think target is not as important. 

Here is the log, sadly there is not much information about name of which command failed when it says &quot;command not found&quot; but a rerun worked ok. So its some sort of race condition on prior tasks I think. Its a highly parallel system using 44 for task parallelism.

ERROR: gcc-cross-riscv32-15.1.0-r0 do_configure: Execution of &apos;/mnt/b/yoe/master/sources/poky/build/tmp/work/x86_64-linux/gcc-cross-riscv32/15.1.0/temp/run.autotools_preconfigure.207634&apos; failed: command not found
ERROR: Logfile of failure stored in: /mnt/b/yoe/master/sources/poky/build/tmp/work/x86_64-linux/gcc-cross-riscv32/15.1.0/temp/log.do_configure.207634
Log data follows:
| DEBUG: Executing python function extend_recipe_sysroot
| NOTE: Direct dependencies are [&apos;/mnt/b/yoe/master/sources/poky/meta/recipes-devtools/binutils/binutils-cross_2.45.bb:do_populate_sysroot&apos;, &apos;/mnt/b/yoe/master/sources/poky/meta/recipes-devtools/libtool/libtool-native_2.5.4.bb:do_populate_sysroot&apos;, &apos;/mnt/b/yoe/master/sources/poky/meta/recipes-devtools/quilt/quilt-native_0.69.bb:do_populate_sysroot&apos;, &apos;/mnt/b/yoe/master/sources/poky/meta/recipes-extended/texinfo-dummy-native/texinfo-dummy-native.bb:do_populate_sysroot&apos;, &apos;/mnt/b/yoe/master/sources/poky/meta/recipes-kernel/linux-libc-headers/linux-libc-headers_6.15.bb:do_populate_sysroot&apos;, &apos;virtual:native:/mnt/b/yoe/master/sources/poky/meta/recipes-core/zlib/zlib_1.3.1.bb:do_populate_sysroot&apos;, &apos;virtual:native:/mnt/b/yoe/master/sources/poky/meta/recipes-devtools/autoconf/autoconf_2.72.bb:do_populate_sysroot&apos;, &apos;virtual:native:/mnt/b/yoe/master/sources/poky/meta/recipes-devtools/automake/automake_1.17.bb:do_populate_sysroot&apos;, &apos;virtual:native:/mnt/b/yoe/master/sources/poky/meta/recipes-devtools/flex/flex_2.6.4.bb:do_populate_sysroot&apos;, &apos;virtual:native:/mnt/b/yoe/master/sources/poky/meta/recipes-devtools/gnu-config/gnu-config_git.bb:do_populate_sysroot&apos;, &apos;virtual:native:/mnt/b/yoe/master/sources/poky/meta/recipes-devtools/patch/patch_2.8.bb:do_populate_sysroot&apos;, &apos;virtual:native:/mnt/b/yoe/master/sources/poky/meta/recipes-extended/xz/xz_5.8.1.bb:do_populate_sysroot&apos;, &apos;virtual:native:/mnt/b/yoe/master/sources/poky/meta/recipes-extended/zstd/zstd_1.5.7.bb:do_populate_sysroot&apos;, &apos;virtual:native:/mnt/b/yoe/master/sources/poky/meta/recipes-support/gmp/gmp_6.3.0.bb:do_populate_sysroot&apos;, &apos;virtual:native:/mnt/b/yoe/master/sources/poky/meta/recipes-support/libmpc/libmpc_1.3.1.bb:do_populate_sysroot&apos;, &apos;virtual:native:/mnt/b/yoe/master/sources/poky/meta/recipes-support/mpfr/mpfr_4.2.2.bb:do_populate_sysroot&apos;]
| NOTE: Installed into sysroot: []
| NOTE: Skipping as already exists in sysroot: [&apos;gettext-minimal-native&apos;, &apos;binutils-cross-riscv32&apos;, &apos;libtool-native&apos;, &apos;m4-native&apos;, &apos;quilt-native&apos;, &apos;texinfo-dummy-native&apos;, &apos;linux-libc-headers&apos;, &apos;zlib-native&apos;, &apos;autoconf-native&apos;, &apos;automake-native&apos;, &apos;flex-native&apos;, &apos;gnu-config-native&apos;, &apos;patch-native&apos;, &apos;xz-native&apos;, &apos;zstd-native&apos;, &apos;attr-native&apos;, &apos;gmp-native&apos;, &apos;libmpc-native&apos;, &apos;mpfr-native&apos;]
| DEBUG: Python function extend_recipe_sysroot finished
| DEBUG: Executing shell function autotools_preconfigure
ERROR: Task (/mnt/b/yoe/master/sources/poky/meta/recipes-devtools/gcc/gcc-cross_15.1.bb:do_configure) failed with exit code &apos;1&apos;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>102555</commentid>
    <comment_count>1</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2025-08-07 14:37:05 +0000</bug_when>
    <thetext>Khem, can you attach a full copy of the log and the run.do_configure script?


Did you just see this once out of how many builds?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>102559</commentid>
    <comment_count>2</comment_count>
    <who name="Khem Raj">raj.khem</who>
    <bug_when>2025-08-07 16:32:35 +0000</bug_when>
    <thetext>its one out of 100s, the logs are gone by now. but the info above is almost complete, since its full paste of the log file.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>102569</commentid>
    <comment_count>3</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2025-08-07 19:42:34 +0000</bug_when>
    <thetext>thanks for the summary Khem.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>104254</commentid>
    <comment_count>4</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2026-02-12 14:56:29 +0000</bug_when>
    <thetext>Khem is this still happening and do you have any logs or a plan for this bug?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>105088</commentid>
    <comment_count>5</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2026-04-15 19:59:29 +0000</bug_when>
    <thetext>Bump to 6.0. 
Please let us know if you still see this on master Khem.

If so, then maybe Sundeep can have someone try running the workflow 
in a loop over a weekend on our 192 core  system to see if the race 
can be reproduced 

or 

we can wait until August 2026 and declare it resolved / works for me.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>105715</commentid>
    <comment_count>6</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2026-06-04 15:14:16 +0000</bug_when>
    <thetext>Not enough info to reproduce or debug.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>