Bitbake:"Nothing PROVIDES" 错误
Bitbake: "Nothing PROVIDES" error
我是 Yocto 和 Bitbake 的新手。我正在 运行 通过 Ubuntu 上的 qemu 模拟器连接我的 yocto 机器,并尝试使用 meta-selftest
层来了解如何安装新层。我已将 meta-selftest
文件下载到其余 meta-
目录所在的目录中,并将 meta-selftest
目录的路径添加到 bblayers.conf
文件中。 运行 bitbake-layers show-layers
命令给出输出
layer path priority
==========================================================================
meta /home/[my name]/Documents/poky/meta 5
meta-poky /home/[my name]/Documents/poky/meta-poky 5
meta-yocto-bsp /home/[my name]/Documents/poky/meta-yocto-bsp 5
meta-selftest /home/[my name]/Documents/poky/meta-selftest 5
但是,当我尝试 运行 bitbake meta-selftest
时,我收到错误消息:
Loading cache: 100%
Loaded 1294 entries from dependency cache.
ERROR: Nothing PROVIDES 'meta-selftest'
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
这个错误是什么意思?我检查了 meta-selftest
的依赖关系,它没有任何依赖关系,所以我觉得这个错误并不是说存在依赖关系问题,但我找不到任何关于这个错误是什么的明确文档告诉我。我有一种模糊的感觉,这意味着 bitbake 无法找到 meta-selftest
,但是 show-layers
通过将其与正确的路径一起列出来与之矛盾。
任何帮助将不胜感激。
-补丁
您不对图层进行 bitbake,而是对该图层的配方进行 bitbake。
例如,尝试 bitbake test-empty-image
。那是该层提供的图像配方。
浏览 meta-selftest
目录并查找 .bb
文件和食谱。这些可以使用 bitbake 构建。
我建议看一下快速入门指南:http://www.yoctoproject.org/docs/current/yocto-project-qs/yocto-project-qs.html
您不需要对图层名称进行 bitbake。
请检查 meta-selftest 目录并尝试找到 *.bb 文件(它是食谱)。然后用“bitbake recipes_name.bb”
再试一次
我是 Yocto 和 Bitbake 的新手。我正在 运行 通过 Ubuntu 上的 qemu 模拟器连接我的 yocto 机器,并尝试使用 meta-selftest
层来了解如何安装新层。我已将 meta-selftest
文件下载到其余 meta-
目录所在的目录中,并将 meta-selftest
目录的路径添加到 bblayers.conf
文件中。 运行 bitbake-layers show-layers
命令给出输出
layer path priority
==========================================================================
meta /home/[my name]/Documents/poky/meta 5
meta-poky /home/[my name]/Documents/poky/meta-poky 5
meta-yocto-bsp /home/[my name]/Documents/poky/meta-yocto-bsp 5
meta-selftest /home/[my name]/Documents/poky/meta-selftest 5
但是,当我尝试 运行 bitbake meta-selftest
时,我收到错误消息:
Loading cache: 100%
Loaded 1294 entries from dependency cache.
ERROR: Nothing PROVIDES 'meta-selftest'
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
这个错误是什么意思?我检查了 meta-selftest
的依赖关系,它没有任何依赖关系,所以我觉得这个错误并不是说存在依赖关系问题,但我找不到任何关于这个错误是什么的明确文档告诉我。我有一种模糊的感觉,这意味着 bitbake 无法找到 meta-selftest
,但是 show-layers
通过将其与正确的路径一起列出来与之矛盾。
任何帮助将不胜感激。
-补丁
您不对图层进行 bitbake,而是对该图层的配方进行 bitbake。
例如,尝试 bitbake test-empty-image
。那是该层提供的图像配方。
浏览 meta-selftest
目录并查找 .bb
文件和食谱。这些可以使用 bitbake 构建。
我建议看一下快速入门指南:http://www.yoctoproject.org/docs/current/yocto-project-qs/yocto-project-qs.html
您不需要对图层名称进行 bitbake。
请检查 meta-selftest 目录并尝试找到 *.bb 文件(它是食谱)。然后用“bitbake recipes_name.bb”
再试一次