Upon trying to build a new core-image-minimal for raspberrypi-4 with gatesgarth, the build never finishes, however, the server idles after some hours. /home/user/yocto/poky/build-toaster-2/toaster_ui.log shows following errors / seems like a part of the build process crashed: NOTE: Logfile for task /home/user/yocto/poky/build-toaster-2/tmp/work/raspberrypi4-poky-linux-gnueabi/core-image-minimal/1.0-r0/temp/log.do_image_complete.14330 NOTE: Logfile for task /home/user/yocto/poky/build-toaster-2/tmp/work/raspberrypi4-poky-linux-gnueabi/core-image-minimal/1.0-r0/temp/log.do_image_complete.14330 NOTE: Logfile for task /home/user/yocto/poky/build-toaster-2/tmp/work/raspberrypi4-poky-linux-gnueabi/core-image-minimal/1.0-r0/temp/log.do_populate_lic_deploy.14343 NOTE: Logfile for task /home/user/yocto/poky/build-toaster-2/tmp/work/raspberrypi4-poky-linux-gnueabi/core-image-minimal/1.0-r0/temp/log.do_populate_lic_deploy.14343 NOTE: Tasks Summary: Attempted 3334 tasks of which 5 didn't need to be rerun and all succeeded. ERROR: expected string or bytes-like object Traceback (most recent call last): File "/home/user/yocto/poky/bitbake/lib/bb/ui/toasterui.py", line 362, in main buildinfohelper.scan_image_artifacts() File "/home/user/yocto/poky/bitbake/lib/bb/ui/buildinfohelper.py", line 1802, in scan_image_artifacts image_name) File "/usr/lib/python3.7/re.py", line 192, in sub return _compile(pattern, flags).sub(repl, string, count) TypeError: expected string or bytes-like object WARNING: Return value is 1 How to fix this?