Bug 16157 - Failure when using conditional RM_WORK_EXCLUDE
Summary: Failure when using conditional RM_WORK_EXCLUDE
Status: NEW
Alias: None
Product: BitBake
Classification: Build System, Metadata & Runtime
Component: bitbake (show other bugs)
Version: unspecified
Hardware: ARM Multiple
: Medium normal
Target Milestone: 6.1
Assignee: Unassigned
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2026-02-03 19:51 UTC by Matthias Pritschet
Modified: 2026-05-28 13:16 UTC (History)
5 users (show)

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


Attachments
commandline log (7.61 KB, text/plain)
2026-02-03 19:51 UTC, Matthias Pritschet
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matthias Pritschet 2026-02-03 19:51:38 UTC
Created attachment 5179 [details]
commandline log

How to reproduce:

git clone https://git.openembedded.org/bitbake
./bitbake/bin/bitbake-setup init --non-interactive poky-master poky distro/poky-tiny machine/qemuarm64
source bitbake-builds/poky-tiny-master/build/init-build-env
echo INHERIT += \"rm_work\" >> conf/local.conf
echo RM_WORK_EXCLUDE:qemuarm64 += \"bash\" >> conf/local.conf
bitbake core-image-minimal

See the attached logs for the actual bitbake error output.
It's independent of the actual recipe, being RM_WORK_EXCLUDEd, but the active override is important.
It also breaks on my current work project (scarthgap on x64 host) in a different location (gcc-source do_patch), so I've set the Version to unspecified.

I'm not sure if this is actually related to bitbake or to something else.
Comment 1 Randy MacLeod 2026-02-05 15:54:00 UTC
RM_WORK is known to have "interesting" edge conditions so if you can avoid the override, that may be best in the short term.
Comment 2 Randy MacLeod 2026-05-28 13:16:30 UTC
Bulk move of 6.0 Medium bugs to 6.1.