Skip to contentSkip to conversation

tk: Remove buildpath issue

PATCH Applied [email protected] 2 participants 2 messages Dec 20, 2023 – Dec 27, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tk: Remove buildpath issue

From: Mingli Yu <[email protected]>

Though the S defined as ${WORKDIR}/${BPN}${PV}/unix, but some source
files come from such as ${WORKDIR}/${BPN}${PV}/unix/../generic, so add
"-fdebug-prefix-map=${S}/../" to fix the below buildpath issue:
WARNING: tk-8.6.10-r0 do_package_qa: QA Issue: File /usr/lib64/.debug/libtk8.6.so in package tk-dbg contains reference to TMPDIR File /usr/bin/.debug/wish8.6 in package tk-dbg contains reference to TMPDIR [buildpaths]

---
 meta-oe/recipes-devtools/tcltk/tk_8.6.10.bb | 2 ++
 1 file changed, 2 insertions(+)
meta-oe/recipes-devtools/tcltk/tk_8.6.10.bb +2 -0
index f3cab4e61..237c4e738 100644
@@ -28,6 +28,8 @@ SRC_URI[sha256sum] = "63df418a859d0a463347f95ded5cd88a3dd3aaa1ceecaeee362194bc30
 
 S = "${WORKDIR}/${BPN}${PV}/unix"
 
+DEBUG_PREFIX_MAP += "-fdebug-prefix-map=${S}/../=${TARGET_DBGSRC_DIR}/.."
+
 PSEUDO_IGNORE_PATHS .= ",${WORKDIR}/${BPN}${PV}"
 
 # Short version format: "8.6"
Signature · 1 line
2.25.1
Applied
#1 lore raw
Quoted 8 lines · On Wed, 20 Dec 2023 14:56:48 +0800, [email protected] wrote:

Though the S defined as ${WORKDIR}/${BPN}${PV}/unix, but some source
files come from such as ${WORKDIR}/${BPN}${PV}/unix/../generic, so add
"-fdebug-prefix-map=${S}/../" to fix the below buildpath issue:
WARNING: tk-8.6.10-r0 do_package_qa: QA Issue: File /usr/lib64/.debug/libtk8.6.so in package tk-dbg contains reference to TMPDIR File /usr/bin/.debug/wish8.6 in package tk-dbg contains reference to TMPDIR [buildpaths]

[...]

Applied, thanks!

[1/1] tk: Remove buildpath issue

      commit: 4bd31c4915094071a114fd5339e0d9db8dcbb11f

Best regards,

Signature · 1 line
Khem Raj <[email protected]>