From: Vyacheslav Yurkov <[email protected]>

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 <[email protected]>
---
 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
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#127592): 
https://lists.openembedded.org/g/openembedded-devel/message/127592
Mute This Topic: https://lists.openembedded.org/mt/119817925/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to