我使用了基于图像core-image-full-cmdline的滚刀编辑食谱(添加了iptables,curl,python,tar ..)。然后构建包,一切都成功了。当我构建Image时,发生了一个错误:
Hob found an error
hob Exception-
日志文件中的消息如下:
ERROR: Timeout while attempting to communicate with bitbake server
有人可以告诉我 bitbake服务器是什么? 我欢迎任何有关如何处理它的有用建议。 非常感谢!
完整的日志文件在这里:
NOTE: Resolving any missing task queue dependencies
Build Configuration:
BB_VERSION = "1.26.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "Ubuntu-14.04"
TARGET_SYS = "arm-poky-linux-gnueabi"
MACHINE = "qemuarm"
DISTRO = "poky"
DISTRO_VERSION = "1.8"
TUNE_FEATURES = "arm armv5 thumb dsp"
TARGET_FPU = "soft"
meta
meta-yocto
meta-yocto-bsp = "<unknown>:<unknown>"
NOTE: Preparing RunQueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
NOTE: Tasks Summary: Attempted 2394 tasks of which 2394 didn't need to be rerun and all succeeded.
ERROR: Unknown event: error
NOTE: Resolving any missing task queue dependencies
Build Configuration:
BB_VERSION = "1.26.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "Ubuntu-14.04"
TARGET_SYS = "arm-poky-linux-gnueabi"
MACHINE = "qemuarm"
DISTRO = "poky"
DISTRO_VERSION = "1.8"
TUNE_FEATURES = "arm armv5 thumb dsp"
TARGET_FPU = "soft"
meta
meta-yocto
meta-yocto-bsp = "<unknown>:<unknown>"
NOTE: Preparing RunQueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
NOTE: Running noexec task 1870 of 2835 (ID: 4, /home/fuxy/Documents/poky-fido-13/build/recipes/images/core-image-full-cmdline-edited-20150730-132403.bb, do_fetch)
NOTE: Running noexec task 1871 of 2835 (ID: 0, /home/fuxy/Documents/poky-fido-13/build/recipes/images/core-image-full-cmdline-edited-20150730-132403.bb, do_unpack)
NOTE: Running noexec task 1873 of 2835 (ID: 1, /home/fuxy/Documents/poky-fido-13/build/recipes/images/core-image-full-cmdline-edited-20150730-132403.bb, do_patch)
NOTE: Running task 2832 of 2835 (ID: 8, /home/fuxy/Documents/poky-fido-13/build/recipes/images/core-image-full-cmdline-edited-20150730-132403.bb, do_populate_lic)
NOTE: Running task 2833 of 2835 (ID: 7, /home/fuxy/Documents/poky-fido-13/build/recipes/images/core-image-full-cmdline-edited-20150730-132403.bb, do_rootfs)
NOTE: recipe core-image-full-cmdline-edited-20150730-132403-1.0-r0: task do_populate_lic: Succeeded
NOTE: recipe core-image-full-cmdline-edited-20150730-132403-1.0-r0: task do_rootfs: Succeeded
NOTE: Running noexec task 2835 of 2835 (ID: 11, /home/fuxy/Documents/poky-fido-13/build/recipes/images/core-image-full-cmdline-edited-20150730-132403.bb, do_build)
NOTE: Tasks Summary: Attempted 2835 tasks of which 2829 didn't need to be rerun and all succeeded.
ERROR: Unknown event: error
ERROR: Timeout while attempting to communicate with bitbake server
ERROR: Timeout while attempting to communicate with bitbake server
ERROR: Timeout while attempting to communicate with bitbake server
答案 0 :(得分:0)
我在虚拟机中构建yocto时遇到了同样的问题。显然,问题是缺乏RAM。当我拥有VM 4GB RAM而不是2GB时,它就消失了。
答案 1 :(得分:0)
这个太老的问题了,但我刚刚遇到了同样的问题,我是如何解决它的,
rm -rf bitbake.lock