devtool build busybox fails with the following error Python function externalsrc_configure_prefunc finished DEBUG: Executing shell function do_configure /poky/build/tmp/work/i586-poky-linux/busybox/1.30.1-r0/temp/run.do_configure.2406: line 120: /poky/build/tmp/work/i586-poky-linux/busybox/1.30.1-r0/defconfig: No such file or directory WARNING: /s/poky/build/tmp/work/i586-poky-linux/busybox/1.30.1-r0/temp/run.do_configure.2406:1 exit 1 from 'sed -e '/CONFIG_STATIC/d' < /poky/build/tmp/work/i586-poky-linux/busybox/1.30.1-r0/defconfig > /poky/build/workspace/sources/busybox/.config' WARNING: > /poky/bitbake/lib/bb/build.py:581: ResourceWarning: unclosed > file <_io.TextIOWrapper > name='//poky/build/workspace/sources/busybox/singletask.lock' > mode='a+' encoding='UTF-8'> exec_func(task, localdata) ERROR: Function failed: do_configure (log file is located at /poky/build/tmp/work/i586-poky-linux/busybox/1.30.1-r0/temp/log.do_configure.2406) this is because within busybox.inc do_prepare_config task tries to access ${WORKDIR}/defconfig. in devtool, for busybox the external builddir is set to workspace/sources/busybox when do_prepare_config task runs it errors because it cannot find ${WORKDIR}/defconfig.
Are you able to send a patch?
The issue has been resolved in the latest master tree. Will close the bug as it is no longer reproducible.