From: Mingli Yu <[email protected]>

oe-core has removed DEBUG_PREFIX_MAP from TARGET_LDFLAGS [1], restore
it to fix the below error.

ERROR: tunctl-1.5-r0.wr2401 do_package_qa: QA Issue: File 
/usr/sbin/.debug/tunctl in package tunctl-dbg contains reference to TMPDIR 
[buildpaths]
ERROR: tunctl-1.5-r0.wr2401 do_package_qa: Fatal QA errors were found, failing 
task.

[1] 
https://git.openembedded.org/openembedded-core/commit/?id=1797741aad02b8bf429fac4b81e30cdda64b5448

Signed-off-by: Mingli Yu <[email protected]>
---
 meta-networking/recipes-support/tunctl/tunctl.inc | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta-networking/recipes-support/tunctl/tunctl.inc 
b/meta-networking/recipes-support/tunctl/tunctl.inc
index 5b759d32b6..1e7bc5a9fc 100644
--- a/meta-networking/recipes-support/tunctl/tunctl.inc
+++ b/meta-networking/recipes-support/tunctl/tunctl.inc
@@ -9,6 +9,8 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/tunctl/tunctl-${PV}.tar.gz \
 
 inherit sourceforge-releases
 
+TARGET_LDFLAGS:append = " ${DEBUG_PREFIX_MAP}"
+
 do_compile() {
     oe_runmake tunctl
 }
-- 
2.34.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#124095): 
https://lists.openembedded.org/g/openembedded-devel/message/124095
Mute This Topic: https://lists.openembedded.org/mt/117611838/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to