Skip to contentSkip to conversation

crun: fix compilation with musl

PATCH In review [email protected] 2 participants 2 messages Jul 6, 2023 – Jul 11, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 crun: fix compilation with musl

From: Renato Caldas <[email protected]>

Requires either libargp or argp-standalone.

---
 recipes-containers/crun/crun_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-containers/crun/crun_git.bb +1 -1
index 2ff8586..a26de16 100644
@@ -26,12 +26,12 @@ inherit autotools-brokensep pkgconfig features_check
 
 PACKAGECONFIG ??= ""
 
-
 DEPENDS = "yajl libcap go-md2man-native m4-native"
 # TODO: is there a packageconfig to turn this off ?
 DEPENDS += "libseccomp"
 DEPENDS += "systemd"
 DEPENDS += "oci-image-spec oci-runtime-spec"
+DEPENDS:append:libc-musl = " argp-standalone"
 
 do_configure:prepend () {
     # extracted from autogen.sh in crun source. This avoids
Signature · 1 line
2.41.0
#1 lore raw

In message: [meta-virtualization][PATCH] crun: fix compilation with musl

Quoted 3 lines · on 06/07/2023 Renato Caldas via lists.yoctoproject.org wrote:

From: Renato Caldas <[email protected]>

Requires either libargp or argp-standalone.

While we don't fully support mulsc in meta-virt, I see no reason to not fix the easy issues.

This is now merged.

Bruce

Quoted 37 lines
---
 recipes-containers/crun/crun_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-containers/crun/crun_git.bb +1 -1
index 2ff8586..a26de16 100644
@@ -26,12 +26,12 @@ inherit autotools-brokensep pkgconfig features_check
 
 PACKAGECONFIG ??= ""
 
-
 DEPENDS = "yajl libcap go-md2man-native m4-native"
 # TODO: is there a packageconfig to turn this off ?
 DEPENDS += "libseccomp"
 DEPENDS += "systemd"
 DEPENDS += "oci-image-spec oci-runtime-spec"
+DEPENDS:append:libc-musl = " argp-standalone"
 
 do_configure:prepend () {
     # extracted from autogen.sh in crun source. This avoids
Signature · 11 lines
2.41.0



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