glibc: ptest: Fix glibc-tests package issue
PATCH v2 1/1 glibc: ptest: Fix glibc-tests package issue
The current default DISTRO_FEATURES does not support ptest. Hence, the following error is generated during "bitbake glibc-tests".
ERROR: glibc-tests-2.35-r0 do_package: QA Issue: glibc-tests:
Files/directories were installed but not shipped in any package The issue is not reproduced with "DISTRO = Yocto" as DISTRO_FEATURES in Yocto supports ptest. However, when we run "glibc-tests" using Open-embedded master sources; it generates the error as default DISTRO is used.
--- meta/recipes-core/glibc/glibc-tests_2.35.bb | 2 ++ 1 file changed, 2 insertions(+)
meta/recipes-core/glibc/glibc-tests_2.35.bb +2 -0
@@ -29,6 +29,8 @@ RRECOMMENDS:${PN} = "" RDEPENDS:${PN} = " glibc sed" DEPENDS:append = " sed" +DISTRO_FEATURES:append = " ptest" + # Just build tests for target - do not run them do_check:append () { oe_runmake -i check run-built-tests=no
Signature · 1 line
2.35.1
Quoted 19 lines · pgowda
The current default
DISTRO_FEATURESdoes not support ptest. Hence, the following error is generated during "bitbake glibc-tests".
ERROR: glibc-tests-2.35-r0do_package: QA Issue: glibc-tests:
Files/directories were installed but not shipped in any package The issue is not reproduced with "DISTRO = Yocto" asDISTRO_FEATURESin Yocto supports ptest. However, when we run "glibc-tests" using Open-embedded master sources; it generates the error as default DISTRO is used.Signed-off-by pgowda <[email protected]>--- meta/recipes-core/glibc/glibc-tests_2.35.bb | 2 ++ 1 file changed, 2 insertions(+)meta/recipes-core/glibc/glibc-tests_2.35.bb +0
-0
meta/recipes-core/glibc/glibc-tests_2.35.bb RRECOMMENDS:${PN} = "" · line 36
Quoted 8 lines
meta/recipes-core/glibc/glibc-tests_2.35.bb +2
-0@@ -29,6 +29,8 @@ RRECOMMENDS:${PN} = "" RDEPENDS:${PN} = " glibc sed" DEPENDS:append = " sed" +DISTRO_FEATURES:append = " ptest" + # Just build tests for target - do not run them do_check:append () { oe_runmake -i check run-built-tests=no
This isn't what I meant. I meant something like:
REQUIRED_DISTRO_FEATURES = 'ptest'
inherit features_check
Cheers,
Richard