在 openembedded 构建中删除 tmp-dir/cache 和日志文件夹中的某些文件时出现此错误。
NOTE: Started PRServer with DBfile: /home/build/openxt/build-a/cache/prserv.sqlite3, IP: 127.0.0.1, PORT: 37191, PID: 41
Parsing recipes: 100% |#####################################################################################################################################################################| Time: 0:14:29
Parsing of 2911 .bb files complete (0 cached, 2911 parsed). 7062 targets, 359 skipped, 4 masked, 0 errors.
ERROR: Command execution failed: Traceback (most recent call last):
File "/home/build/openxt/build-a/layers/bitbake/lib/bb/cooker.py", line 2135, in parse_next
parsed, result = next(self.results)
StopIteration
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/build/openxt/build-a/layers/bitbake/lib/bb/command.py", line 107, in runAsyncCommand
self.cooker.updateCache()
File "/home/build/openxt/build-a/layers/bitbake/lib/bb/cooker.py", line 1569, in updateCache
if not self.parser.parse_next():
File "/home/build/openxt/build-a/layers/bitbake/lib/bb/cooker.py", line 2137, in parse_next
self.shutdown()
File "/home/build/openxt/build-a/layers/bitbake/lib/bb/cooker.py", line 2093, in shutdown
bb.codeparser.parser_cache_savemerge()
File "/home/build/openxt/build-a/layers/bitbake/lib/bb/codeparser.py", line 179, in parser_cache_savemerge
codeparsercache.save_merge()
File "/home/build/openxt/build-a/layers/bitbake/lib/bb/cache.py", line 862, in save_merge
extradata, version = p.load()
_pickle.UnpicklingError: pickle data was truncated
Summary: There was 1 ERROR message shown, returning a non-zero exit code.