2022-08-08 01:27 AM
I've changed the ownership of the /usr/lib/python3.8 file from root to <myname> but did not solved the problem. Here is the whole error:
ERROR: Command execution failed: Traceback (most recent call last):
File "/home/gencay/STM32MPU_workspace/openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15/layers/openembedded-core/bitbake/lib/bb/command.py", line 126, in runAsyncCommand
commandmethod(self.cmds_async, self, options)
File "/home/gencay/STM32MPU_workspace/openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15/layers/openembedded-core/bitbake/lib/bb/command.py", line 607, in buildTargets
command.cooker.buildTargets(pkgs_to_build, task)
File "/home/gencay/STM32MPU_workspace/openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15/layers/openembedded-core/bitbake/lib/bb/cooker.py", line 1581, in buildTargets
rq = bb.runqueue.RunQueue(self, self.data, self.recipecaches, taskdata, runlist)
File "/home/gencay/STM32MPU_workspace/openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15/layers/openembedded-core/bitbake/lib/bb/runqueue.py", line 1229, in __init__
self.dm = monitordisk.diskMonitor(cfgData)
File "/home/gencay/STM32MPU_workspace/openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15/layers/openembedded-core/bitbake/lib/bb/monitordisk.py", line 176, in __init__
self.devDict = getDiskData(BBDirs)
File "/home/gencay/STM32MPU_workspace/openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15/layers/openembedded-core/bitbake/lib/bb/monitordisk.py", line 121, in getDiskData
bb.utils.mkdirhier(path)
File "/home/gencay/STM32MPU_workspace/openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15/layers/openembedded-core/bitbake/lib/bb/utils.py", line 740, in mkdirhier
raise e
File "/home/gencay/STM32MPU_workspace/openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15/layers/openembedded-core/bitbake/lib/bb/utils.py", line 737, in mkdirhier
os.makedirs(directory)
File "/usr/lib/python3.8/os.py", line 213, in makedirs
makedirs(head, exist_ok=exist_ok)
File "/usr/lib/python3.8/os.py", line 223, in makedirs
mkdir(name, mode)
PermissionError: [Errno 13] Permission denied: '/home/dev'
Solved! Go to Solution.
2022-08-12 04:21 AM
My problem was misconfigurations of my download, sstate-cache and tmp directories at the local.conf file.
2022-08-08 02:22 AM
Hello @Gencay ,
Please can you send me the command line that you are trying to use?
On which Operating System are you? Can you make a "lsb_release -a" and send me the result.
Regards,
Kevin
2022-08-08 02:34 AM
Distributor ID: Ubuntu
Description: Ubuntu 20.04.4 LTS
Release: 20.04
Codename: focal
2022-08-08 03:11 AM
the command line I am using is bitbake st-image-core
2022-08-12 04:21 AM
My problem was misconfigurations of my download, sstate-cache and tmp directories at the local.conf file.