为什么“do_package同时包含在covered和notcovered中。”?

问题描述 投票:0回答:3

我从制造商那里获得了一个基本的工作 yocto 图像,并且想将 sqlite 添加到该图像中。为了做到这一点,我浏览了 openembedded 上的开源层,发现了这些食谱

我继续复制可以在上面的网页上找到的配方和 inc 文件,并将其添加到我自己的单独层内的制造商的 yocto 版本中。我必须更新 sqlite 配方的语法,即用“_”替换所有“:”。例如我改变了:

PACKAGECONFIG:class-native ?= "fts4 fts5 rtree dyn_ext"

至:

PACKAGECONFIG_class-native ?= "fts4 fts5 rtree dyn_ext"

显然这是因为带冒号的语法属于新的 Yocto 语法,而下划线是旧的语法。制造商的配方中除了下划线之外从不包含冒号。

然后我尝试构建图像并收到大量如下错误:

...
ERROR: Setscene task /home/user/Desktop/john/work/foo/yocto/sources/poky/meta/recipes-graphics/xorg-lib/libxcb_1.14.bb:do_package in both covered and notcovered.
ERROR: Setscene task /home/user/Desktop/john/work/foo/yocto/sources/poky/meta/recipes-devtools/gcc/gcc_10.2.bb:do_package in both covered and notcovered.
ERROR: Setscene task /home/user/Desktop/john/work/foo/yocto/sources/poky/meta/recipes-support/vim/vim_8.2.bb:do_package in both covered and notcovered.
ERROR: Setscene task /home/user/Desktop/john/work/foo/yocto/sources/poky/meta/recipes-extended/procps/procps_3.3.16.bb:do_package in both covered and notcovered.
ERROR: Setscene task /home/user/Desktop/john/work/foo/yocto/sources/poky/meta/recipes-extended/net-tools/net-tools_1.60-20181103.bb:do_package in both covered and notcovered.
ERROR: Setscene task /home/user/Desktop/john/work/foo/yocto/sources/meta-alb/dynamic-layers/core/recipes-support/rng-tools/rng-tools_5.bb:do_package in both covered and notcovered.
ERROR: Setscene task /home/user/Desktop/john/work/foo/yocto/sources/poky/meta/recipes-extended/bash/bash_5.0.bb:do_package in both covered and notcovered.
ERROR: Setscene task /home/user/Desktop/john/work/foo/yocto/sources/poky/meta/recipes-extended/shadow/shadow-securetty_4.6.bb:do_package in both covered and notcovered.
ERROR: Setscene task /home/user/Desktop/john/work/foo/yocto/sources/meta-openembedded/meta-oe/recipes-benchmark/stressapptest/stressapptest_1.0.9.bb:do_package in both covered and notcovered.
ERROR: Setscene task /home/user/Desktop/john/work/foo/yocto/sources/poky/meta/recipes-devtools/opkg-utils/opkg-utils_0.4.3.bb:do_package in both covered and notcovered.
ERROR: Setscene task /home/user/Desktop/john/work/foo/yocto/sources/poky/meta/recipes-devtools/autoconf/autoconf_2.69.bb:do_package in both covered and notcovered.
ERROR: Setscene task /home/user/Desktop/john/work/foo/yocto/sources/poky/meta/recipes-core/base-passwd/base-passwd_3.5.29.bb:do_package in both covered and notcovered.
ERROR: Setscene task /home/user/Desktop/john/work/foo/yocto/sources/poky/meta/recipes-support/icu/icu_67.1.bb:do_package in both covered and notcovered.
ERROR: Setscene task /home/user/Desktop/john/work/foo/yocto/sources/poky/meta/recipes-extended/parted/parted_3.3.bb:do_package in both covered and notcovered.
ERROR: Setscene task /home/user/Desktop/john/work/foo/yocto/sources/poky/meta/recipes-extended/rpcbind/rpcbind_1.2.5.bb:do_populate_sysroot in both covered and notcovered.
ERROR: Setscene task /home/user/Desktop/john/work/foo/yocto/sources/meta-openembedded/meta-oe/recipes-support/fbset/fbset-modes.bb:do_package in both covered and notcovered.
ERROR: Setscene task /home/user/Desktop/john/work/foo/yocto/sources/poky/meta/recipes-support/libmpc/libmpc_1.2.0.bb:do_package in both covered and notcovered.
ERROR: Setscene task /home/user/Desktop/john/work/foo/yocto/sources/poky/meta/recipes-devtools/m4/m4_1.4.18.bb:do_package in both covered and notcovered.
ERROR: Setscene task /home/user/Desktop/john/work/foo/yocto/sources/poky/meta/recipes-extended/libmnl/libmnl_1.0.4.bb:do_package in both covered and notcovered.
ERROR: Setscene task /home/user/Desktop/john/work/foo/yocto/sources/poky/meta/recipes-core/packagegroups/packagegroup-core-buildessential.bb:do_package in both covered and notcovered.
...

有人有什么建议吗?

我尝试通过谷歌搜索来了解此错误的含义或导致此错误的原因。到目前为止还没有成功。

yocto
3个回答
1
投票

我有时也会遇到这个错误,它来自(我使用 yocto dunfell 所以 bitbake 1.46)这里

评论说这是一个错误,但我还没有找到明确的方法来重现它。不管怎样,它似乎没有那么影响,只需重新运行你的任务就应该没问题。


0
投票

我在 yocot bitbake 文件中也有这个“...在覆盖和未覆盖的情况下”。 我的解决方案是更改开源补丁文件名中的数字。 文件名中的原始编号重复,例如0001-xxxx,0001-xxxx...也许do_package都在这两个补丁中。我将 1 更改为 0002-xxx 并修改 bbappend 以重新定位补丁。错误已解决。


0
投票

我发现当我构建 yocto 项目并且该过程被外部中断或发生系统冻结时会发生这种情况。我还没有确定构建执行和崩溃的确切时间,但在我长达一年的 Kirkstone/Mickledore yocto 项目开发过程中多次看到这种情况发生。

要修复此问题,我只需重新运行构建过程即可。

请注意,通常我可以中断 (CTRL-C) 构建过程,而不会遇到“setscene 任务”问题。

© www.soinside.com 2019 - 2024. All rights reserved.