From 01b4e8e2b620e432961279248abfc0645c9924f1 Mon Sep 17 00:00:00 2001 From: Vyacheslav Yurkov Date: Mon, 15 Jun 2026 15:51:49 +0000 Subject: [PATCH] tbb: Fix build error Target and ptest packages miss the run-time dependency, which causes the following build errors: ERROR: tbb-1_2022.3.0-r0 do_package_qa: QA Issue: /usr/lib/tbb/ptest/gnu_15.2_cxx11_64_release/test_tbbbind contained in package tbb-ptest requires libhwloc.so.15()(64bit), but no providers found in RDEPENDS:tbb-ptest? [file-rdeps] ERROR: tbb-1_2022.3.0-r0 do_package_qa: QA Issue: /usr/lib/libtbbbind_2_5.so.3.17 contained in package tbb requires libhwloc.so.15()(64bit), but no providers found in RDEPENDS:tbb? [file-rdeps] ERROR: tbb-1_2022.3.0-r0 do_package_qa: Fatal QA errors were found, failing task. Signed-off-by: Vyacheslav Yurkov Signed-off-by: Khem Raj --- meta-oe/recipes-support/tbb/tbb_2022.3.0.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meta-oe/recipes-support/tbb/tbb_2022.3.0.bb b/meta-oe/recipes-support/tbb/tbb_2022.3.0.bb index 33741a7ac1..e09aa5d96a 100644 --- a/meta-oe/recipes-support/tbb/tbb_2022.3.0.bb +++ b/meta-oe/recipes-support/tbb/tbb_2022.3.0.bb @@ -30,7 +30,8 @@ EXTRA_OECMAKE += " \ -DTBB_DISABLE_HWLOC_AUTOMATIC_SEARCH=OFF \ " -RDEPENDS:${PN}-ptest += "cmake" +RDEPENDS:${PN} += "libhwloc" +RDEPENDS:${PN}-ptest += "cmake libhwloc" # Hard-float 'd' ABI can't be used for a target that doesn't support the D instruction set extension (ignoring target-abi) # tmp-glibc/work/riscv64-oe-linux/tbb/1_2021.7.0-r0/recipe-sysroot-native/usr/bin/riscv64-oe-linux/riscv64-oe-linux-ld: /tmp/lto-llvm-264bc2.o: can't link soft-float modules with double-float modules