From: Peter Marko <peter.ma...@siemens.com>

WARNING: soci-4.0.3-r0 do_package_qa: QA Issue: File 
/usr/lib/cmake/SOCI/SOCITargets-noconfig.cmake in package soci-dev contains 
reference to TMPDIR [buildpaths]

This is causing build failures in components depending on soci
when building with rm_work or from sstate-cache.

Signed-off-by: Peter Marko <peter.ma...@siemens.com>
---
 meta-oe/recipes-dbs/soci/soci_4.0.3.bb | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/meta-oe/recipes-dbs/soci/soci_4.0.3.bb 
b/meta-oe/recipes-dbs/soci/soci_4.0.3.bb
index 71ab80c48..25d67ff8b 100644
--- a/meta-oe/recipes-dbs/soci/soci_4.0.3.bb
+++ b/meta-oe/recipes-dbs/soci/soci_4.0.3.bb
@@ -43,3 +43,7 @@ FILES:${PN}-mysql = "${libdir}/lib${BPN}_mysql.so.*"
 FILES:${PN}-postgresql = "${libdir}/lib${BPN}_postgresql.so.*"
 FILES:${PN}-odbc = "${libdir}/lib${BPN}_odbc.so.*"
 FILES:${PN}-oracle = "${libdir}/lib${BPN}_oracle.so.*"
+
+do_install:append() {
+    sed -i 's|${RECIPE_SYSROOT}${prefix}|${_IMPORT_PREFIX}|g' 
${D}${libdir}/cmake/SOCI/SOCITargets*.cmake
+}
-- 
2.30.2

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#109627): 
https://lists.openembedded.org/g/openembedded-devel/message/109627
Mute This Topic: https://lists.openembedded.org/mt/105165662/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