From 4b701ac88d9969281696030ce7aa40b38c956b11 Mon Sep 17 00:00:00 2001 From: Hongxu Jia Date: Thu, 23 Oct 2025 11:59:32 +0800 Subject: [PATCH] libyang: explicitly add xxhash to DEPENDS 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 Signed-off-by: Khem Raj --- meta-oe/recipes-extended/libyang/libyang_3.13.5.bb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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"