Introduced with commit: http://cgit.openembedded.org/openembedded-core/commit/?id=f04e6bd144deb0c8fe2742f66b18904b6619a502 ERROR: enigma2-plugin-systemplugins-autobouquetsmaker-2.1+gitAUTOINC+5ceda844ba-r2 do_package_write_ipk: 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:do_package_ipk(d) 0003: File: '/home/hains/openpli-dm8000-oe-core/openembedded-core/meta/classes/package_ipk.bbclass', lineno: 87, function: do_package_ipk 0083: 0084: os.chdir(oldcwd) 0085: 0086: if error: *** 0087: raise error 0088:} 0089:do_package_ipk[vardeps] += "ipk_write_pkg" 0090:do_package_ipk[vardepsexclude] = "BB_NUMBER_THREADS" 0091: Exception: FileNotFoundError: [Errno 2] No such file or directory: '/home/hains/openpli-dm8000-oe-core/build/tmp/work/dm8000-oe-linux/ enigma2-plugin-systemplugins-autobouquetsmaker/2.1+gitAUTOINC+5ceda844ba-r2/packages-split/enigma2-plugin-systemplugins-autobouquetsmaker' ERROR: enigma2-plugin-systemplugins-autobouquetsmaker-2.1+gitAUTOINC+5ceda844ba-r2 do_package_write_ipk: Function failed: do_package_ipk ERROR: Logfile of failure stored in: /home/hains/openpli-dm8000-oe-core/build/tmp/work/dm8000-oe-linux/enigma2-plugin-systemplugins-autobouquetsmaker/ 2.1+gitAUTOINC+5ceda844ba-r2/temp/log.do_package_write_ipk.20920 ERROR: Task (/home/hains/openpli-dm8000-oe-core/meta-openpli/recipes-openpli/e2openplugins/enigma2-plugin-systemplugins-autobouquetsmaker.bb:do_package_write_ipk) failed with exit code '1' This occurs with a lot more packages (allarch/machine arch). packages-split directory does exist but it's empty when this error occur. I noticed this happens with relative small packages only. How smaller the package, the greater the chance this race condition occurs. To fix this temporarily to finish build: bitbake -c cleanall <package name> and run build again. Using latest bitbake, meta-openembedded and openembedded-core master branch.
For test to fix race condition, i moved '*do_package|*do_package.*|*do_package_setscene.*)' to the top of the loop. So it's before the '*_setscene*)' now, as it was in the old situation before commit: http://cgit.openembedded.org/openembedded-core/commit/?id=f04e6bd144deb0c8fe2742f66b18904b6619a502 I rebuild some packages by bumping PR in recipe and create new git commits in test repo and it's seems OK now so far.
http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=2869b56efa53d144f4641b06e9780206c7100567 and following patches
Tested and OK now. Thanks.
Can you merge that into sumo branch?