Bug 15946 - Intermittent failure in gcc-cross in run.autotools_preconfigure
Summary: Intermittent failure in gcc-cross in run.autotools_preconfigure
Status: RESOLVED WORKSFORME
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: devtools / tool chain (show other bugs)
Version: unspecified
Hardware: All Multiple
: Medium normal
Target Milestone: 6.0
Assignee: Khem Raj
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2025-08-02 16:34 UTC by Khem Raj
Modified: 2026-06-04 15:14 UTC (History)
5 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Don't know


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Khem Raj 2025-08-02 16:34:19 UTC
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 "command not found" 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 '/mnt/b/yoe/master/sources/poky/build/tmp/work/x86_64-linux/gcc-cross-riscv32/15.1.0/temp/run.autotools_preconfigure.207634' 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 ['/mnt/b/yoe/master/sources/poky/meta/recipes-devtools/binutils/binutils-cross_2.45.bb:do_populate_sysroot', '/mnt/b/yoe/master/sources/poky/meta/recipes-devtools/libtool/libtool-native_2.5.4.bb:do_populate_sysroot', '/mnt/b/yoe/master/sources/poky/meta/recipes-devtools/quilt/quilt-native_0.69.bb:do_populate_sysroot', '/mnt/b/yoe/master/sources/poky/meta/recipes-extended/texinfo-dummy-native/texinfo-dummy-native.bb:do_populate_sysroot', '/mnt/b/yoe/master/sources/poky/meta/recipes-kernel/linux-libc-headers/linux-libc-headers_6.15.bb:do_populate_sysroot', 'virtual:native:/mnt/b/yoe/master/sources/poky/meta/recipes-core/zlib/zlib_1.3.1.bb:do_populate_sysroot', 'virtual:native:/mnt/b/yoe/master/sources/poky/meta/recipes-devtools/autoconf/autoconf_2.72.bb:do_populate_sysroot', 'virtual:native:/mnt/b/yoe/master/sources/poky/meta/recipes-devtools/automake/automake_1.17.bb:do_populate_sysroot', 'virtual:native:/mnt/b/yoe/master/sources/poky/meta/recipes-devtools/flex/flex_2.6.4.bb:do_populate_sysroot', 'virtual:native:/mnt/b/yoe/master/sources/poky/meta/recipes-devtools/gnu-config/gnu-config_git.bb:do_populate_sysroot', 'virtual:native:/mnt/b/yoe/master/sources/poky/meta/recipes-devtools/patch/patch_2.8.bb:do_populate_sysroot', 'virtual:native:/mnt/b/yoe/master/sources/poky/meta/recipes-extended/xz/xz_5.8.1.bb:do_populate_sysroot', 'virtual:native:/mnt/b/yoe/master/sources/poky/meta/recipes-extended/zstd/zstd_1.5.7.bb:do_populate_sysroot', 'virtual:native:/mnt/b/yoe/master/sources/poky/meta/recipes-support/gmp/gmp_6.3.0.bb:do_populate_sysroot', 'virtual:native:/mnt/b/yoe/master/sources/poky/meta/recipes-support/libmpc/libmpc_1.3.1.bb:do_populate_sysroot', 'virtual:native:/mnt/b/yoe/master/sources/poky/meta/recipes-support/mpfr/mpfr_4.2.2.bb:do_populate_sysroot']
| NOTE: Installed into sysroot: []
| NOTE: Skipping as already exists in sysroot: ['gettext-minimal-native', 'binutils-cross-riscv32', 'libtool-native', 'm4-native', 'quilt-native', 'texinfo-dummy-native', 'linux-libc-headers', 'zlib-native', 'autoconf-native', 'automake-native', 'flex-native', 'gnu-config-native', 'patch-native', 'xz-native', 'zstd-native', 'attr-native', 'gmp-native', 'libmpc-native', 'mpfr-native']
| 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 '1'
Comment 1 Randy MacLeod 2025-08-07 14:37:05 UTC
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?
Comment 2 Khem Raj 2025-08-07 16:32:35 UTC
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.
Comment 3 Randy MacLeod 2025-08-07 19:42:34 UTC
thanks for the summary Khem.
Comment 4 Randy MacLeod 2026-02-12 14:56:29 UTC
Khem is this still happening and do you have any logs or a plan for this bug?
Comment 5 Randy MacLeod 2026-04-15 19:59:29 UTC
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.
Comment 6 Richard Purdie 2026-06-04 15:14:16 UTC
Not enough info to reproduce or debug.