提问人:Bjørn Ironside 提问时间:10/23/2023 最后编辑:Bjørn Ironside 更新时间:10/24/2023 访问量:106
Bitbake 核心镜像-韦斯顿 |没什么RPROVIDES ...错误
bitbake core-image-weston | Nothing RPROVIDES ... Error
问:
我想用 Yocto 构建一个映像,在 Raspberry Pi 4B 上运行一个简单的 Qt6 小部件应用程序。我使用 构建了一个图像,但它似乎是为了运行 weston 和我的 Qt 应用程序(已成功烘焙到图像中)而精简。它没有启动到GUI,我无法运行我的Qt应用程序,也无法启动weston。bitbake core-image-minimal
(我正在使用 VirtualBox 和运行 Linux Mint 的 VM。我知道,它没有经过 Yocto 测试,因此,也许我应该改用 Ubuntu......
我现在的第一次尝试是使用 .我已将以下行添加到文件中bitbake core-image-weston
conf/local.conf
IMAGE_INSTALL += "qtexample"
DISTRO_FEATURES:append = "wayland"
IMAGE_INSTALL:append = "qtbase qtwayland"
CORE_IMAGE_EXTRA_INSTALL += "wayland weston"
应该在哪里将我的 Qt6 应用程序烘焙到图像中。Qt6 层、 和 以及 RasPi BSP 包含在 .IMAGE_INSTALL += "qtexample"
meta-openembedded/meta-oe
meta-openembedded/meta-python
conf/bblayers.conf
但是,当我运行时,出现以下错误:bitbake core-image-weston
ERROR: Nothing RPROVIDES 'matchbox-terminalqtexampleqtbase' (but /home/bkeohane/Projekte/yocto/poky/meta/recipes-graphics/images/core-image-weston.bb RDEPENDS on or otherwise requires it)
NOTE: Runtime target 'matchbox-terminalqtexampleqtbase' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['matchbox-terminalqtexampleqtbase']
ERROR: Required build target 'core-image-weston' has no buildable providers.
Missing or unbuildable dependency chain was: ['core-image-weston', 'matchbox-terminalqtexampleqtbase']
我发现,配方所在的目录存在,并将其复制到 ,因为我假设它应该位于那里,以便包含在构建过程中。matchbox-terminal
matchbox-terminal_0.2.bb
poky/meta/recipes-sato
poky/meta/recipes-graphics
重新运行构建后,错误发生了一些变化:
ERROR: Nothing RPROVIDES 'qtexampleqtbase' (but /home/bkeohane/Projekte/yocto/poky/meta/recipes-graphics/images/core-image-weston.bb RDEPENDS on or otherwise requires it)
NOTE: Runtime target 'qtexampleqtbase' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['qtexampleqtbase']
ERROR: Required build target 'core-image-weston' has no buildable providers.
Missing or unbuildable dependency chain was: ['core-image-weston', 'qtexampleqtbase']
该错误不再包括。但是,依赖项错误仍然存在,我不知道为什么。matchbox-terminal
在中,我无法识别缺少的依赖项:poky/meta/recipes-graphics/images/core-image-weston.bb
SUMMARY = "A very basic Wayland image with a terminal"
IMAGE_FEATURES += "splash package-management ssh-server-dropbear hwcodecs weston"
LICENSE = "MIT"
inherit core-image
CORE_IMAGE_BASE_INSTALL += "gtk+3-demo"
CORE_IMAGE_BASE_INSTALL += "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'weston-xwayland matchbox-terminal', '', d)}"
QB_MEM = "-m 512"
我感谢任何提示或提示。干杯。
答: 暂无答案
评论
qtexampleqtbase
- 请注意错误消息中缺少 和 之间的空格。尝试添加到您的配置中(随意在周围自由应用空格)。qtexample
qtbase
IMAGE_INSTALL += " qtexample "
qtexample