similarity index 86%
rename from meta/recipes-devtools/debugedit/debugedit_5.2.bb
rename to meta/recipes-devtools/debugedit/debugedit_5.3.bb
@@ -11,9 +11,10 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \
SRC_URI = "https://sourceware.org/ftp/debugedit/${PV}/debugedit-${PV}.tar.xz \
file://0003-Makefile.am-do-not-update-manual.patch \
+ file://0001-configure.ac-do-not-check-for-executables-needed-onl.patch \
"
-SRC_URI[sha256sum] = "705296803cc4403f38764e891b4ed38f8d8d4f8a9164bd4f86c9d4bedcac68dd"
+SRC_URI[sha256sum] = "3b8c6396fe235e0270c9b9c0d244cfd0e86c284fc27e820acc58360e7cfa08c2"
DEPENDS = "elfutils xxhash"
DEPENDS:append:libc-musl = " musl-legacy-error"
new file mode 100644
@@ -0,0 +1,63 @@
+From bb64eddf41794ca5fd85dc3fecd29246d4d9ad23 Mon Sep 17 00:00:00 2001
+From: Alexander Kanavin <alex@linutronix.de>
+Date: Wed, 17 Jun 2026 18:59:57 +0200
+Subject: [PATCH] configure.ac: do not check for executables needed only in
+ tests
+
+Otherwise this would require depending on various native pieces
+needlessly.
+
+This is effectively a revert of https://sourceware.org/cgit/debugedit/commit/?id=83963a11a07035445d93be9cf1feaf2d8865f052
+
+Upstream-Status: Inappropriate [undoes what is clearly upstream preference]
+
+Signed-off-by: Alexander Kanavin <alex@linutronix.de>
+---
+ configure.ac | 27 +--------------------------
+ 1 file changed, 1 insertion(+), 26 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index 4868844..8d74463 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -51,31 +51,6 @@ AC_CHECK_TOOL([NM], [nm])
+ AC_CHECK_TOOL([AR], [ar])
+ AM_MISSING_PROG(HELP2MAN, help2man)
+
+-AC_CHECK_PROG([HAS_CPIO], [cpio], [yes], [no])
+-if test x$HAS_CPIO = xno; then
+- AC_MSG_ERROR([cpio needed by find-debuginfo])
+-fi
+-
+-AC_CHECK_PROG([HAS_EU_STRIP], [eu-strip], [yes], [no])
+-if test x$HAS_EU_STRIP = xno; then
+- AC_MSG_ERROR([eu-strip needed by find-debuginfo (strip_to_debug)])
+-fi
+-
+-AC_CHECK_PROG([HAS_XZ], [xz], [yes], [no])
+-if test x$HAS_XZ = xno; then
+- AC_MSG_ERROR([xz needed by find-debuginfo (add_minidebug)])
+-fi
+-
+-AC_CHECK_PROG([HAS_GDB_ADD_INDEX], [gdb-add-index], [yes], [no])
+-if test x$HAS_GDB_ADD_INDEX = xno; then
+- AC_MSG_ERROR([gdb-add-index needed by find-debuginfo])
+-fi
+-
+-AC_CHECK_PROG([HAS_EU_ELFLINT], [eu-elflint], [yes], [no])
+-if test x$HAS_HAS_EU_ELFLINT = xno; then
+- AC_MSG_ERROR([eu-elflint needed by find-debuginfo (--check-elf)])
+-fi
+-
+ # Whether dwz support -j.
+ # Make sure to compile something with -g.
+ # Run dwz on it with -j1.
+@@ -93,7 +68,7 @@ if test "x$DWZ" = "xdwz"; then
+ fi
+ CFLAGS="$save_CFLAGS"
+ else
+- AC_MSG_ERROR([dwz needed by find-debuginfo])
++ AC_MSG_WARN([dwz needed by find-debuginfo])
+ fi
+ AC_SUBST([DWZ_J])
+
@@ -1,4 +1,4 @@
-From b2715c3f4d28fab1c238086d9b5435e269b06301 Mon Sep 17 00:00:00 2001
+From f9e6f9cadedc94323e8878e60aaa684be7c52d97 Mon Sep 17 00:00:00 2001
From: Chen Qi <Qi.Chen@windriver.com>
Date: Thu, 23 Mar 2023 13:09:23 +0800
Subject: [PATCH] Makefile.am: do not update manual
@@ -16,16 +16,16 @@ Upstream-Status: Inappropriate [OE Specific]
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
---
- Makefile.am | 30 ------------------------------
- 1 file changed, 30 deletions(-)
+ Makefile.am | 38 --------------------------------------
+ 1 file changed, 38 deletions(-)
diff --git a/Makefile.am b/Makefile.am
-index c590edf..692e016 100644
+index d3068d5..f218a05 100644
--- a/Makefile.am
+++ b/Makefile.am
-@@ -52,36 +52,6 @@ sepdebugcrcfix_LDADD = @LIBELF_LIBS@
- # Manual pages are generated for dist
- dist_man_MANS = debugedit.1 sepdebugcrcfix.1 find-debuginfo.1
+@@ -60,44 +60,6 @@ debugedit_classify_ar_LDADD = @LIBELF_LIBS@
+ dist_man_MANS = debugedit.1 sepdebugcrcfix.1 find-debuginfo.1 \
+ debugedit-classify-ar.1
-# The 'case' ensures the man pages are only generated if the corresponding
-# source script (the first prerequisite) or configure.ac (for the version)
@@ -49,6 +49,14 @@ index c590edf..692e016 100644
- * ) : ;; \
- esac
-
+-debugedit-classify-ar.1: tools/debugedit-classify-ar.c configure.ac debugedit-classify-ar$(EXEEXT)
+- @case '$?' in \
+- *$<* | *configure.ac* ) $(HELP2MAN) -N --output=$@ \
+- --name='Checks whether ELF archive members should be processed' \
+- ./debugedit-classify-ar$(EXEEXT) ;;\
+- * ) : ;; \
+- esac
+-
-find-debuginfo.1: $(top_srcdir)/scripts/find-debuginfo.in configure.ac find-debuginfo
- @case '$?' in \
- *$<* | *configure.ac* ) $(HELP2MAN) -N --output=$@ \