【发布时间】:2021-07-28 19:41:05
【问题描述】:
我正在尝试设置 bitbake 工具并尝试按照教程进行操作
https://www.yoctoproject.org/docs/1.8/bitbake-user-manual/bitbake-user-manual.html#bitbake-examples
现在当我运行 bitbake 命令时,出现以下错误,
p@p-ubuntu:~/ba/bitbake$ bitbake
NOTE: Retrying server connection... (Traceback (most recent call last):
File "/home/p/ba/bitbake/lib/bb/main.py", line 428, in setup_bitbake
topdir, lock = lockBitbake()
File "/home/p/ba/bitbake/lib/bb/main.py", line 480, in lockBitbake
lockfile = topdir + "/bitbake.lock"
TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'
)
NOTE: Retrying server connection... (Traceback (most recent call last):
File "/home/p/ba/bitbake/lib/bb/main.py", line 428, in setup_bitbake
topdir, lock = lockBitbake()
File "/home/p/ba/bitbake/lib/bb/main.py", line 480, in lockBitbake
lockfile = topdir + "/bitbake.lock"
TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'
如何启动 bitbake 服务器?
【问题讨论】:
-
提供您所遵循的确切步骤,
-
我建议使用一些更显眼的用户名。它不应该与你的真实身份有任何联系,但它会让你更容易被认出来,从而改善你的待遇(点赞、更好的答案等等)。 Off:我对你的this 问题开始了赏金,也许你也可以与 cmets 和答案进行互动。
-
据我了解,这是一个与网络相关的问题。尝试上下设置 eth0,然后重试。另外,看看你是否正确设置了环境。请记住,应该从 BSP_DIR 设置环境。
标签: bitbake