【问题标题】:bitbake fails at the simplest recipebitbake 在最简单的食谱上失败了
【发布时间】:2019-12-03 15:56:40
【问题描述】:

刚刚安装Yocto。在morty 分支上。执行了以下命令:

cd poky
source oe-init-build-env build-qemuarm

conf/local.conf把机器名改成MACHINE ?= "qemuarm"

然后执行以下操作:

$ 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)

看起来这是一个python 错误。有谁知道是什么问题?是不是我用错版本了?

这是python --version的输出

$ python --version
Python 2.7.12

我做错了什么?

【问题讨论】:

标签: yocto bitbake openembedded


【解决方案1】:

你知道莫蒂已经 18 个月大了,几周后就会得到更长的支持,对吧?

无论如何,看起来sstate-cache/ 不知何故损坏了。删除您的tmp/sstate-cache/ 目录,然后重试。

【讨论】:

  • 你为什么责备他为莫蒂工作?总是在最新版本上工作是田园诗
  • 删除 tmp/ 目录太耗时恕我直言,works 目录可能没有损坏加上是放置了最大的生成文件。
猜你喜欢
  • 2018-11-27
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2018-04-21
  • 1970-01-01
  • 1970-01-01
  • 2015-06-23
相关资源
最近更新 更多