diff mbox series

[meta-python] python3-matplotlib: Fix TMPDIR in debug binaries, [buildaths] errors

Message ID 20260219213055.368528-1-geoffrey.parker@arthrex.com
State New
Headers show
Series [meta-python] python3-matplotlib: Fix TMPDIR in debug binaries, [buildaths] errors | expand

Commit Message

Geoff Parker Feb. 19, 2026, 9:30 p.m. UTC
Fix errors like:

    ERROR: python3-matplotlib-3.10.8-r0 do_package_qa: QA Issue: File
           /usr/lib/python3.14/site-packages/matplotlib/backends/.debug/
           _backend_agg.cpython-314-arm-linux-gnueabihf.so
           in package python3-matplotlib-dbg contains reference to TMPDIR
           [buildpaths]

Signed-off-by: Geoff Parker <geoffrey.parker@arthrex.com>
---
 .../recipes-devtools/python/python3-matplotlib_3.10.8.bb        | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-matplotlib_3.10.8.bb b/meta-python/recipes-devtools/python/python3-matplotlib_3.10.8.bb
index ce8c7a276a..8489b91402 100644
--- a/meta-python/recipes-devtools/python/python3-matplotlib_3.10.8.bb
+++ b/meta-python/recipes-devtools/python/python3-matplotlib_3.10.8.bb
@@ -47,6 +47,8 @@  RDEPENDS:${PN} = "\
     python3-packaging \
 "
 
+TARGET_LDFLAGS:append = " ${DEBUG_PREFIX_MAP}"
+
 CVE_PRODUCT = "matplotlib"
 
 BBCLASSEXTEND = "native"