GRUB recipe fails building with devtool
ERROR: grub-efi-seco-2.12-r0 do_unpack: Error executing a python function in exec_func_python() autogenerated:
The stack trace of python calls that resulted in this exception/failure was:
File: 'exec_func_python() autogenerated', lineno: 2, function:
0001:
*** 0002:do_unpack(d)
0003:
File: 'autogenerated', lineno: 12, function: do_unpack
File "autogenerated", line 12, in do_unpack
File: '/usr/lib/python3.8/shutil.py', lineno: 811, function: move
0807: copytree(src, real_dst, copy_function=copy_function,
0808: symlinks=True)
0809: rmtree(src)
0810: else:
*** 0811: copy_function(src, real_dst)
0812: os.unlink(src)
0813: return real_dst
0814:
0815:def _destinsrc(src, dst):
File: '/usr/lib/python3.8/shutil.py', lineno: 435, function: copy2
0431: resembles GNU's "cp -P src dst".
0432: """
0433: if os.path.isdir(dst):
0434: dst = os.path.join(dst, os.path.basename(src))
*** 0435: copyfile(src, dst, follow_symlinks=follow_symlinks)
0436: copystat(src, dst, follow_symlinks=follow_symlinks)
0437: return dst
0438:
0439:def ignore_patterns(*patterns):
File: '/usr/lib/python3.8/shutil.py', lineno: 264, function: copyfile
0260:
0261: if not follow_symlinks and _islink(src):
0262: os.symlink(os.readlink(src), dst)
0263: else:
*** 0264: with open(src, 'rb') as fsrc, open(dst, 'wb') as fdst:
0265: # macOS
0266: if _HAS_FCOPYFILE:
0267: try:
0268: _fastcopy_fcopyfile(fsrc, fdst, posix._COPYFILE_DATA)
Exception: FileNotFoundError: [Errno 2] No such file or directory: '/home/yoctouser/workdir/build_qcs6490_rb3gen2_vision_kit/tmp/work/armv8-2a-poky-linux/grub-efi-seco/2.12/git'
ERROR: Logfile of failure stored in: /home/yoctouser/workdir/build_qcs6490_rb3gen2_vision_kit/tmp/work/armv8-2a-poky-linux/grub-efi-seco/2.12/temp/log.do_unpack.1546366 ERROR: Task (/home/yoctouser/workdir/layers/meta-seco/meta-seco-bsp/recipes-bsp/grub/grub-efi-seco_2.12.bb:do_unpack) failed with exit code '1'