Hello, when I try to build sdk ext for sumo 4.14, I got the same error. I then added the above fix above and got a different error:
(note <path> has been added to the logs to change my user specific path)
$ bitbake core-image-minimal -c populate_sdk_ext
ERROR: Unable to start bitbake server
ERROR: core-image-minimal-1.0-r0 do_populate_sdk_ext: Error executing a python function in exec_python_func() autogenerated:
The stack trace of python calls that resulted in this exception/failure was:
File: 'exec_python_func() autogenerated', lineno: 2, function: <module>
0001:
*** 0002:copy_buildsystem(d)
0003:
File: '<path>/yocto/sources/poky/meta/classes/populate_sdk_ext.bbclass', lineno: 420, function: copy_buildsystem
0416: sdk_ext_type = d.getVar('SDK_EXT_TYPE')
0417: if sdk_ext_type != 'minimal' or sdk_include_toolchain or derivative:
0418: # Create the filtered task list used to generate the sstate cache shipped with the SDK
0419: tasklistfn = d.getVar('WORKDIR') + '/tasklist.txt'
*** 0420: create_filtered_tasklist(d, baseoutpath, tasklistfn, conf_initpath)
0421: else:
0422: tasklistfn = None
0423:
0424: # Add packagedata if enabled
File: '<path>/yocto/sources/poky/meta/classes/populate_sdk_ext.bbclass', lineno: 179, function: create_filtered_tasklist
0175: # Clean out residue of running bitbake, which check_sstate_task_list()
0176: # will effectively do
0177: clean_esdk_builddir(d, sdkbasepath)
0178: finally:
*** 0179: os.replace(sdkbasepath + '/conf/local.conf.bak', sdkbasepath + '/conf/local.conf')
0180:
0181:python copy_buildsystem () {
0182: import re
0183: import shutil
Exception: FileNotFoundError: [Errno 2] No such file or directory: '<path>/yocto/build/tmp/work/imx8mqevk-poky-linux/core-image-minimal/1.0-r0/sdk-ext/image//opt/fsl-imx-xwayland/4.14-sumo/conf/local.conf.bak' -> '/home/markind/projects/checkmate/yocto/build/tmp/work/imx8mqevk-poky-linux/core-image-minimal/1.0-r0/sdk-ext/image//opt/fsl-imx-xwayland/4.14-sumo/conf/local.conf'
ERROR: core-image-minimal-1.0-r0 do_populate_sdk_ext: Function failed: copy_buildsystem
ERROR: Logfile of failure stored in: <path>/yocto/build/tmp/work/imx8mqevk-poky-linux/core-image-minimal/1.0-r0/temp/log.do_populate_sdk_ext.15511
ERROR: Task (<path>/yocto/sources/poky/meta/recipes-core/images/core-image-minimal.bb:do_populate_sdk_ext) failed with exit code '1'
NOTE: Tasks Summary: Attempted 3388 tasks of which 3377 didn't need to be rerun and 1 failed.
Summary: 1 task failed:
<path>/yocto/sources/poky/meta/recipes-core/images/core-image-minimal.bb:do_populate_sdk_ext
Summary: There were 3 WARNING messages shown.
Summary: There were 3 ERROR messages shown, returning a non-zero exit code.