Message ID | 20251023035932.2091333-1-hongxu.jia@windriver.com |
---|---|
State | Under Review |
Headers | show |
Series | [meta-oe] libyang: explicitly add xxhash to DEPENDS | expand |
diff --git a/meta-oe/recipes-extended/libyang/libyang_3.13.5.bb b/meta-oe/recipes-extended/libyang/libyang_3.13.5.bb index 9dad6ba279..4260111200 100644 --- a/meta-oe/recipes-extended/libyang/libyang_3.13.5.bb +++ b/meta-oe/recipes-extended/libyang/libyang_3.13.5.bb @@ -16,7 +16,10 @@ SRC_URI = "git://github.com/CESNET/libyang.git;branch=master;protocol=https;tag= # Main dependencies inherit cmake pkgconfig lib_package ptest multilib_header -DEPENDS = "libpcre2" +DEPENDS = " \ + libpcre2 \ + xxhash \ +" DEPENDS += "${@bb.utils.contains('PTEST_ENABLED', '1', 'cmocka', '', d)}" EXTRA_OECMAKE = "-DCMAKE_BUILD_TYPE=Release"
When xxhash was included indirectly, there is a QA issue at do_package_qa ... |ERROR: QA Issue: /usr/lib64/libyang.so.3.9.13 contained in package libyang requires libxxhash.so.0()(64bit), but no providers found in RDEPENDS:libyang? [file-rdeps] ... Explicitly add xxhash to DEPENDS, then: ...log.do_configure... -- Found XXHash: build/tmp/work/x86-64-v3-wrs-linux/libyang/3.13.5/recipe-sysroot/usr/include -- Hash algorithm: xxhash ...log.do_configure... Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> --- meta-oe/recipes-extended/libyang/libyang_3.13.5.bb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)