Skip to contentSkip to conversation

perf: Enable debug/source packaging

PATCH Superseded Richard Purdie 2 participants 3 messages Feb 3, 2023 – Feb 4, 2023

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 perf: Enable debug/source packaging

This was disabled in 2014[1] due to an error message which as far as I can tell, no longer occurs.

Having debug information and source files present will make debugging reproducibility issues much easier so remove this line as it appears no longer needed.

[1] OE-Core revision c1b5a262c0201faf2c6bf545d6acb32dfe383ba3

---
 meta/recipes-kernel/perf/perf.bb | 2 --
 1 file changed, 2 deletions(-)
meta/recipes-kernel/perf/perf.bb +0 -2
index 1dff39a17e4..e8a9c57a0aa 100644
@@ -360,6 +360,4 @@ FILES:${PN}-python = " \
                        "
 FILES:${PN}-perl = "${libexecdir}/perf-core/scripts/perl"
 
-
-INHIBIT_PACKAGE_DEBUG_SPLIT="1"
 DEBUG_OPTIMIZATION:append = " -Wno-error=maybe-uninitialized"
Signature · 1 line
2.37.2
#1 lore raw

Hello Richard,

This is causing:
WARNING: perf-1.0-r9 do_package_qa: QA Issue: File /usr/src/debug/perf/1.0-r9/util/expr-flex.h in package perf-src contains reference to TMPDIR

Quoted 38 lines · Richard Purdie

This was disabled in 2014[1] due to an error message which as far as I can tell, no longer occurs.

Having debug information and source files present will make debugging reproducibility issues much easier so remove this line as it appears no longer needed.

[1] OE-Core revision c1b5a262c0201faf2c6bf545d6acb32dfe383ba3

---
 meta/recipes-kernel/perf/perf.bb | 2 --
 1 file changed, 2 deletions(-)
meta/recipes-kernel/perf/perf.bb +0 -2
index 1dff39a17e4..e8a9c57a0aa 100644
@@ -360,6 +360,4 @@ FILES:${PN}-python = " \
                        "
 FILES:${PN}-perl = "${libexecdir}/perf-core/scripts/perl"
 
-
-INHIBIT_PACKAGE_DEBUG_SPLIT="1"
 DEBUG_OPTIMIZATION:append = " -Wno-error=maybe-uninitialized"
Signature · 11 lines
2.37.2



-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#176733): https://lists.openembedded.org/g/openembedded-core/message/176733
Mute This Topic: https://lists.openembedded.org/mt/96726928/3617179
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Signature · 3 lines
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
#2 lore raw
Quoted 4 lines · Alexandre Belloni

Hello Richard,

This is causing:
WARNING: perf-1.0-r9 do_package_qa: QA Issue: File /usr/src/debug/perf/1.0-r9/util/expr-flex.h in package perf-src contains reference to TMPDIR

Sorry, not sure why my local tests didn't show that up. I've sent a v2.

Cheers,

Richard