From 5b4e26adb80784be59e5b82c098ec050c93c1ca4 Mon Sep 17 00:00:00 2001 From: Alper Ak Date: Mon, 23 Jun 2025 11:58:09 +0300 Subject: [PATCH] ace: Fix contains reference to TMPDIR [buildpaths] error - The project uses CCFLAGS instead of CXXFLAGS to add C++ compiler flags. Assign the value of CXXFLAGS to the CCFLAGS variable and export CCFLAGS for use in the build environment. It fixes the contains reference TMPDIR because DEBUG_PREFIX_MAP is already included in CXXFLAGS (poky/meta/conf/bitbake.conf) - Fix typo -Wnodeprecated-declarations -> -Wno-deprecated-declarations ERROR: ace-8.0.2-r0 do_package_qa: QA Issue: File /usr/lib/.debug/libACE_Compression.so.8.0.2 in package ace-dbg contains reference to TMPDIR [buildpaths] ERROR: ace-8.0.2-r0 do_package_qa: QA Issue: File /usr/lib/.debug/libACE_ETCL_Parser.so.8.0.2 in package ace-dbg contains reference to TMPDIR [buildpaths] ERROR: ace-8.0.2-r0 do_package_qa: QA Issue: File /usr/lib/.debug/libACE_ETCL.so.8.0.2 in package ace-dbg contains reference to TMPDIR [buildpaths] ERROR: ace-8.0.2-r0 do_package_qa: QA Issue: File /usr/lib/.debug/libACE.so.8.0.2 in package ace-dbg contains reference to TMPDIR [buildpaths] ERROR: ace-8.0.2-r0 do_package_qa: QA Issue: File /usr/lib/.debug/libACE_Monitor_Control.so.8.0.2 in package ace-dbg contains reference to TMPDIR [buildpaths] ERROR: ace-8.0.2-r0 do_package_qa: QA Issue: File /usr/lib/.debug/libACE_RLECompression.so.8.0.2 in package ace-dbg contains reference to TMPDIR [buildpaths] ERROR: ace-8.0.2-r0 do_package_qa: Fatal QA errors were found, failing task. Signed-off-by: Alper Ak Suggested-by: Yoann Congal Signed-off-by: Khem Raj --- meta-oe/recipes-connectivity/ace/ace_8.0.2.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/meta-oe/recipes-connectivity/ace/ace_8.0.2.bb b/meta-oe/recipes-connectivity/ace/ace_8.0.2.bb index b730b0a86c..35252c3efc 100644 --- a/meta-oe/recipes-connectivity/ace/ace_8.0.2.bb +++ b/meta-oe/recipes-connectivity/ace/ace_8.0.2.bb @@ -26,8 +26,10 @@ export ACE_ROOT = "${UNPACKDIR}/ACE_wrappers" inherit pkgconfig -CXXFLAGS:append = " -fpermissive -Wnodeprecated-declarations" +CXXFLAGS:append = " -fpermissive -Wno-deprecated-declarations" CXX:append = " -ffile-prefix-map=${UNPACKDIR}= " +export CCFLAGS = "${CXXFLAGS}" + EXTRA_OEMAKE += "INSTALL_LIB=${baselib} install_rpath=0" do_install() {