Otherwise world build on qemuloongarch64 failed

$ echo "MACHINE = 'qemuloongarch64'" >> conf/local.conf
$ bitbake world
ERROR: Nothing PROVIDES 'libseccomp' (but 
meta-virtualization/recipes-containers/docker/docker-moby_26.0.2.bb DEPENDS on 
or otherwise requires it)
libseccomp was skipped: missing required distro feature 'seccomp' (not in 
DISTRO_FEATURES)
NOTE: Runtime target 'docker' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['docker', 'libseccomp']
ERROR: Required build target 'meta-world-pkgdata' has no buildable providers.
Missing or unbuildable dependency chain was: ['meta-world-pkgdata', 
'docker-compose', 'docker', 'libseccomp']

Signed-off-by: Hongxu Jia <[email protected]>
---
 recipes-containers/docker/docker.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-containers/docker/docker.inc 
b/recipes-containers/docker/docker.inc
index 8aabd154..71f11074 100644
--- a/recipes-containers/docker/docker.inc
+++ b/recipes-containers/docker/docker.inc
@@ -26,7 +26,7 @@ RPROVIDES:${PN}-dev += "docker-dev"
 RPROVIDES:${PN}-contrip += "docker-dev"
 
 inherit pkgconfig
-PACKAGECONFIG ??= "docker-init seccomp"
+PACKAGECONFIG ??= "docker-init ${@bb.utils.filter('DISTRO_FEATURES', 
'seccomp', d)}"
 PACKAGECONFIG[seccomp] = "seccomp,,libseccomp"
 PACKAGECONFIG[docker-init] = ",,,docker-init"
 PACKAGECONFIG[transient-config] = "transient-config"
-- 
2.34.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#9065): 
https://lists.yoctoproject.org/g/meta-virtualization/message/9065
Mute This Topic: https://lists.yoctoproject.org/mt/110315546/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to