All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-darwin][PATCH] binutils: remove nativesdk-perl dependency
@ 2025-02-12 13:14 ecordonnier
  0 siblings, 0 replies; only message in thread
From: ecordonnier @ 2025-02-12 13:14 UTC (permalink / raw)
  To: yocto-patches; +Cc: Etienne Cordonnier

From: Etienne Cordonnier <ecordonnier@snap.com>

This was added in scarthgap 5.0.6 ( https://github.com/yoctoproject/poky/commit/e1958af36c9bb27f683b82a13e91f17f4cb64858 ).
Add this workaround until there is a proper fix.

Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
---
 recipes-devtools/binutils/binutils_%.bbappend | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/recipes-devtools/binutils/binutils_%.bbappend b/recipes-devtools/binutils/binutils_%.bbappend
index 03e4ceb..e0868e9 100644
--- a/recipes-devtools/binutils/binutils_%.bbappend
+++ b/recipes-devtools/binutils/binutils_%.bbappend
@@ -15,3 +15,10 @@ INSANE_SKIP:nativesdk-binutils = "debug-files"
 
 # nativesdk-binutils's libctf doesn't compile. disable it
 PACKAGECONFIG[libctf] = "--enable-libctf=yes,--enable-libctf=no"
+
+# perl tries to call readelf, which does not exist on darwin (it would need
+# to call objdump instead but the detection logic does not work for some reason)
+RDEPENDS:gprofng:class-nativesdk:remove = " nativesdk-perl-module-bignum \
+                                     nativesdk-perl-module-bigint \
+                                     nativesdk-perl-module-math-bigint \
+"
-- 
2.43.0



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2025-02-12 13:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-12 13:14 [meta-darwin][PATCH] binutils: remove nativesdk-perl dependency ecordonnier

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.