Skip to contentSkip to conversation

valkey: Restore DEBUG_PREFIX_MAP in TARGET_LDFLAGS

PATCH New [email protected] 1 participant 2 messages Feb 3

lore
Share & tools
lore
#0 lore raw

PATCH 1/4 valkey: Restore DEBUG_PREFIX_MAP in TARGET_LDFLAGS

From: Mingli Yu <[email protected]>

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

ERROR: valkey-9.0.1-r0.wr2600 do_package_qa: QA Issue: File /usr/bin/.debug/valkey-cli in package valkey-dbg contains reference to TMPDIR [buildpaths]
ERROR: valkey-9.0.1-r0.wr2600 do_package_qa: QA Issue: File /usr/bin/.debug/valkey-server in package valkey-dbg contains reference to TMPDIR [buildpaths]
ERROR: valkey-9.0.1-r0.wr2600 do_package_qa: QA Issue: File /usr/bin/.debug/valkey-benchmark in package valkey-dbg contains reference to TMPDIR [buildpaths]
ERROR: valkey-9.0.1-r0.wr2600 do_package_qa: Fatal QA errors were found, failing task.

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

---
 meta-oe/recipes-extended/valkey/valkey_9.0.1.bb | 2 ++
 1 file changed, 2 insertions(+)
meta-oe/recipes-extended/valkey/valkey_9.0.1.bb +2 -0
index 1f27224772..5b05bc2fe1 100644
@@ -21,6 +21,8 @@ RPROVIDES:${PN} = "virtual-redis"
 
 inherit pkgconfig update-rc.d systemd useradd
 
+TARGET_LDFLAGS:append = " ${DEBUG_PREFIX_MAP}"
+
 FINAL_LIBS:x86:toolchain-clang = "-latomic"
 FINAL_LIBS:riscv32 = "-latomic"
 FINAL_LIBS:mips = "-latomic"
Signature · 1 line
2.34.1
#1 lore raw

PATCH 2/4 memstat: Restore DEBUG_PREFIX_MAP in TARGET_LDFLAGS

From: Mingli Yu <[email protected]>

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

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

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

---
 meta-oe/recipes-devtools/memstat/memstat_1.0.bb | 2 ++
 1 file changed, 2 insertions(+)
meta-oe/recipes-devtools/memstat/memstat_1.0.bb +2 -0
index 606ad39006..a0b4d0b9cc 100644
@@ -19,6 +19,8 @@ SRC_URI = "http://sourceforge.net/projects/memstattool/files/memstat_${PV}.tar.g
 
 SRC_URI[sha256sum] = "245d5fc7fb87bcfd14486cd34917cae2856e799559ac568434af12c4852bce94"
 
+TARGET_LDFLAGS:append = " ${DEBUG_PREFIX_MAP}"
+
 do_install:append(){
     install -d ${D}${bindir}
     install -m 0755 memstat ${D}${bindir}
Signature · 1 line
2.34.1