Bitcake failed on the simplest recipe
1. Compilation error: error: execution of event handler ‘sstate’_ eventhandler2’ failed
Download the yocto code. When compiling, the following errors are reported:
$ bitbake core-image-minimal
Loading cache: 100% |##########################################################################################################| Time: 0:00:00
Loaded 1320 entries from dependency cache.
ERROR: Execution of event handler 'sstate_eventhandler2' failed
Traceback (most recent call last):
File "/home/some-user/projects/melp/poky/meta/classes/sstate.bbclass", line 1015, in sstate_eventhandler2(e=<bb.event.ReachableStamps object at 0x7fbc17f2e0f0>):
for l in lines:
> (stamp, manifest, workdir) = l.split()
if stamp not in stamps:
ValueError: not enough values to unpack (expected 3, got 1)
ERROR: Command execution failed: Traceback (most recent call last):
File "/home/some-user/projects/melp/poky/bitbake/lib/bb/command.py", line 101, in runAsyncCommand
self.cooker.updateCache()
File "/home/some-user/projects/melp/poky/bitbake/lib/bb/cooker.py", line 1658, in updateCache
bb.event.fire(event, self.databuilder.mcdata[mc])
File "/home/some-user/projects/melp/poky/bitbake/lib/bb/event.py", line 201, in fire
fire_class_handlers(event, d)
File "/home/some-user/projects/melp/poky/bitbake/lib/bb/event.py", line 124, in fire_class_handlers
execute_handler(name, handler, event, d)
File "/home/some-user/projects/melp/poky/bitbake/lib/bb/event.py", line 96, in execute_handler
ret = handler(event)
File "/home/some-user/projects/melp/poky/meta/classes/sstate.bbclass", line 1015, in sstate_eventhandler2
(stamp, manifest, workdir) = l.split()
ValueError: not enough values to unpack (expected 3, got 1)
It looks like a python error. Who knows what the problem is? Am I using the wrong version?
The following is the output of Python — version
$ python --version
Python 2.7.12
2. How to solve it?
Delete the TMP and sstate cache directories, try again, and compile OK
Read More:
- [Solved] AttributeError: module ‘logging‘ has no attribute ‘Handler‘
- [Solved] RuntimeError: CUDA error: CUBLAS_STATUS_EXECUTION_FAILED when calling `cublasSgemm
- [Solved] RuntimeError: CUDA error: CUBLAS_STATUS_EXECUTION_FAILED when calling `cubla…
- How to Solve RuntimeError: cuDNN error: CUDNN_STATUS_EXECUTION_FAILED
- [Solved] RuntimeError: cuDNN error: CUDNN_STATUS_EXECUTION_FAILED
- [Solved] forrtl: error (200): program aborting due to control-C event
- [Solved] Python Error: asyncio RuntimeError: This event loop is already running
- Python asynchronous execution library asyncio
- [Solved] RuntimeError (note: full exception trace is shown but execution is paused at: <module>)
- RTX 3090 Run pytorch Error: CUDA error: no kernel image is available for execution on the device
- Failed to Create New Environment Error: Collecting package metadata (current_repodata.json): failed.
- [Solved] Pytorch Error: PytorchStreamReader failed reading zip archive failed finding central directory
- Jupyter notebook Failed to Switch to the Virual Environment: DLL load failed python.exe could not find the entry
- [Solved] Pytorch Error: PytorchStreamReader failed reading zip archive failed finding central directory
- [Solved] gyp verb `which` failed Error: not found: python2
- Pip3 install Mysqlclient Error: Command “python setup.py egg_info“ failed with error
- [Solved] RuntimeError: cublas runtime error : resource allocation failed at
- command ‘gcc’ failed with exit status 1 error while installing scrapy
- [Solved] Command “python setup.py egg_info” failed with error code 1
- About the solution of ERROR: Failed building wheel for dlib