Build never finishes [with log, error found]

[email protected]
Newsgroups org.yoctoproject.lists.toaster
Message-ID <[email protected]>
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?
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.