Bug 15186 - AB-INT: build-sysroots do_build_native_sysroot: failure
Summary: AB-INT: build-sysroots do_build_native_sysroot: failure
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium normal
Target Milestone: 4.3
Assignee: Richard Purdie
QA Contact:
URL:
Whiteboard: AB-INT
Depends on:
Blocks:
 
Reported: 2023-08-10 14:25 UTC by Alexandre Belloni
Modified: 2023-09-12 08:04 UTC (History)
5 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandre Belloni 2023-08-10 14:25:40 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/60/builds/7514/steps/17/logs/stdio

Exception: FileNotFoundError: [Errno 2] No such file or directory: '/home/pokybuild/yocto-worker/qemumips/build/build/tmp/work/qemumips-poky-linux/core-image-minimal/1.0-r0/testsdkext/tmp/sysroots-components/x86_64/patch-native/usr/bin/patch' -> '/home/pokybuild/yocto-worker/qemumips/build/build/tmp/work/qemumips-poky-linux/core-image-minimal/1.0-r0/testsdkext/tmp/sysroots/x86_64/usr/bin/patch'

qemumips opensuse154-ty-1
Comment 1 Richard Purdie 2023-08-21 14:50:33 UTC
The logs clearly show:

NOTE: recipe patch-native-2.7.6-r0: task do_populate_sysroot_setscene: Started
NOTE: recipe build-sysroots-1.0-r0: task do_build_native_sysroot: Started

so the two tasks are racing over the patch-native provided usr/bin/patch.

I'd guess there was something in the sysroot but sstate is cleaning and adding a new version, hence the missing file error. The logs from a failed build for patch-native would confirm that.

Not sure how we fix this.