All of lore.kernel.org
 help / color / mirror / Atom feed
From: ecordonnier@snap.com
To: yocto-patches@lists.yoctoproject.org
Cc: Etienne Cordonnier <ecordonnier@snap.com>
Subject: [meta-darwin][PATCH] binutils: remove nativesdk-perl dependency
Date: Wed, 12 Feb 2025 14:14:55 +0100	[thread overview]
Message-ID: <20250212131455.4094351-1-ecordonnier@snap.com> (raw)

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



                 reply	other threads:[~2025-02-12 13:15 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250212131455.4094351-1-ecordonnier@snap.com \
    --to=ecordonnier@snap.com \
    --cc=yocto-patches@lists.yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.