This is against edison with a few local fixes... posting here to see if the issue is obvious or a fix exists. ERROR: Error executing a python function in /local/home/mattsm/git/sdk-devel/poky/meta/recipes-kernel/dtc/dtc_git.bb: OSError: [Errno 2] No such file or directory: '/local/home/mattsm/git/sdk-devel/build_p4080ds_release/tmp/work/ppce500mc-fsl-linux/dtc-1.3.0+git-r1.1/temp/run.sstate_create_package.7334' ERROR: The stack trace of python calls that resulted in this exception/failure was: ERROR: File "sstate_task_postfunc", line 10, in <module> ERROR: ERROR: File "sstate_task_postfunc", line 7, in sstate_task_postfunc ERROR: ERROR: File "sstate.bbclass", line 54, in sstate_package ERROR: ERROR: File "/local/home/mattsm/git/sdk-devel/poky/bitbake/lib/bb/build.py", line 173, in exec_func ERROR: exec_func_shell(func, d, runfile, cwd=adir) ERROR: ERROR: File "/usr/lib64/python2.6/contextlib.py", line 34, in __exit__ ERROR: self.gen.throw(type, value, traceback) ERROR: ERROR: File "/local/home/mattsm/git/sdk-devel/poky/bitbake/lib/bb/utils.py", line 400, in fileslocked ERROR: yield ERROR: ERROR: File "/local/home/mattsm/git/sdk-devel/poky/bitbake/lib/bb/build.py", line 173, in exec_func ERROR: exec_func_shell(func, d, runfile, cwd=adir) ERROR: ERROR: File "/local/home/mattsm/git/sdk-devel/poky/bitbake/lib/bb/build.py", line 233, in exec_func_shell ERROR: os.chmod(runfile, 0775) ERROR: ERROR: The code that was being executed was: ERROR: 0006: bb.build.exec_func(intercept, d) ERROR: 0007: sstate_package(shared_state, d) ERROR: 0008: NOTE: package dtc-1.3.0+git-r1.1: task do_populate_sysroot_post: Started NOTE: package dtc-native-1.3.0+git-r1.1: task do_clean: Started NOTE: package dtc-native-1.3.0+git-r1.1: task do_clean: Succeeded NOTE: Running task 4861 of 4934 (ID: 2857, virtual:native:/local/home/mattsm/git/sdk-devel/poky/meta/recipes-kernel/dtc/dtc_git.bb, do_configure) ERROR: 0009: ERROR: *** 0010:sstate_task_postfunc(d) ERROR: 0011: ERROR: (file: 'sstate_task_postfunc', lineno: 10, function: <module>) ERROR: 0003: shared_state = sstate_state_fromvars(d) ERROR: 0004: sstate_install(shared_state, d) ERROR: 0005: for intercept in shared_state['interceptfuncs']: ERROR: 0006: bb.build.exec_func(intercept, d) ERROR: *** 0007: sstate_package(shared_state, d) ERROR: 0008: ERROR: 0009: ERROR: 0010:sstate_task_postfunc(d) ERROR: 0011: ERROR: (file: 'sstate_task_postfunc', lineno: 7, function: sstate_task_postfunc) ERROR: Function 'sstate_task_postfunc' failed
What is "do_populate_sysroot_post"? Is this something custom you've added as I'm not familiar with it? I've not seen this error before FWIW.
(In reply to comment #1) > What is "do_populate_sysroot_post"? Is this something custom you've added as > I'm not familiar with it? > > I've not seen this error before FWIW. I did not add it... I'm not sure where it's coming from... -M
Matthew, it seems your trace log is not very clear/questionable, can you double check whether your have a local dtc layer that may introduce some issue? thx
The log makes no sense either (there is a clean running with a very high task number and a task that doesn't exist is mentioned). I can't reproduce this. Can you give some hints on how to make this error occur? I'm going to close as unreproducible, please reopen if there is more info.
(In reply to comment #4) > The log makes no sense either (there is a clean running with a very high task > number and a task that doesn't exist is mentioned). > > I can't reproduce this. Can you give some hints on how to make this error > occur? I'm going to close as unreproducible, please reopen if there is more > info. I think this was an automated build that was unreproducible for even me. Feel free to close it, I will revisit it if I see it again. -M