Skip to contentSkip to conversation

libseccomp: add diffutils to ptest RDEPENDS

PATCH In review Nikhil R 2 participants 2 messages Feb 25 – Feb 26

lore
Share & tools
lore

Nikhil R

author
#0 lore raw

PATCH 1/1 libseccomp: add diffutils to ptest RDEPENDS

From: Nikhil R <[email protected]>

libseccomp ptest needs diff during test execution, add diffutils to the runtime ptest deps.

---
 meta/recipes-support/libseccomp/libseccomp_2.5.5.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-support/libseccomp/libseccomp_2.5.5.bb +1 -1
index 478e5f4289..dd253a7826 100644
@@ -59,4 +59,4 @@ FILES:${PN} = "${bindir} ${libdir}/${BPN}.so* ${PYTHON_SITEPACKAGES_DIR}/"
 FILES:${PN}-dbg += "${libdir}/${PN}/tests/.debug/* ${libdir}/${PN}/tools/.debug"
 
 RDEPENDS:${PN} += "${@bb.utils.contains('PACKAGECONFIG', 'python', 'python3', '', d)}"
-RDEPENDS:${PN}-ptest = "coreutils bash"
+RDEPENDS:${PN}-ptest = "coreutils bash diffutils"
Signature · 1 line
2.34.1
#1 lore raw

Hello,

Quoted 4 lines · Nikhil R via lists.openembedded.org

From: Nikhil R <[email protected]>

libseccomp ptest needs diff during test execution, add diffutils to the runtime ptest deps.

Are you sure that diff is needed? libseccomp ptests passes fine without this patch:
https://valkyrie.yocto.io/pub/non-release/20260224-65/testresults/qemux86-64-ptest/libseccomp.log
Is there a difference in configuration?

Also, on master, libseccomp ptest does not depend on diffutils[0]. If there is indeed a problem, it would have to be fixed on master first and, then, whinlatter and scarthgap.

Regards,

[0]: https://git.openembedded.org/openembedded-core/tree/meta/recipes-support/libseccomp/libseccomp_2.6.0.bb?h=master#n64

Quoted 15 lines
---
 meta/recipes-support/libseccomp/libseccomp_2.5.5.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-support/libseccomp/libseccomp_2.5.5.bb +1 -1
index 478e5f4289..dd253a7826 100644
@@ -59,4 +59,4 @@ FILES:${PN} = "${bindir} ${libdir}/${BPN}.so* ${PYTHON_SITEPACKAGES_DIR}/"
 FILES:${PN}-dbg += "${libdir}/${PN}/tests/.debug/* ${libdir}/${PN}/tools/.debug"
 
 RDEPENDS:${PN} += "${@bb.utils.contains('PACKAGECONFIG', 'python', 'python3', '', d)}"
-RDEPENDS:${PN}-ptest = "coreutils bash"
+RDEPENDS:${PN}-ptest = "coreutils bash diffutils"
Signature · 2 lines
Yoann Congal
Smile ECS