From: Zhang Peng <peng.zhang1...@windriver.com>

When LAPACKE is enabled, the QA check fails with the following error:
  ERROR: lapack-3.12.1-r0 do_package_qa: QA Issue: lapack-ptest rdepends on 
lapack-dev [dev-deps]
  ERROR: lapack-3.12.1-r0 do_package_qa: Fatal QA errors were found, failing 
task.
The root cause is that `lapack-ptest` accidentally installed `lapacke.pc`,
which is a development file intended to be included only in the `lapack-dev` 
package.
To resolve this: Remove `lapacke.pc` from the `lapack-ptest` installation

Signed-off-by: Zhang Peng <peng.zhang1...@windriver.com>
---
 meta-oe/recipes-devtools/lapack/lapack_3.12.1.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/meta-oe/recipes-devtools/lapack/lapack_3.12.1.bb 
b/meta-oe/recipes-devtools/lapack/lapack_3.12.1.bb
index 87a5747246..f18ef1f292 100644
--- a/meta-oe/recipes-devtools/lapack/lapack_3.12.1.bb
+++ b/meta-oe/recipes-devtools/lapack/lapack_3.12.1.bb
@@ -88,7 +88,8 @@ do_install_ptest () {
     rsync -a ${B}/LAPACKE ${D}${PTEST_PATH} \
           --exclude CMakeFiles \
           --exclude cmake_install.cmake \
-          --exclude Makefile
+          --exclude Makefile \
+          --exclude lapacke.pc
     cp -r ${B}/bin ${D}${PTEST_PATH}
     cp -r ${B}/lapack_testing.py ${D}${PTEST_PATH}
     cp ${B}/CTestTestfile.cmake ${D}${PTEST_PATH}
-- 
2.34.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#115496): 
https://lists.openembedded.org/g/openembedded-devel/message/115496
Mute This Topic: https://lists.openembedded.org/mt/111201583/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to