From: Alexander Kanavin <alex.kanavin@gmail.com>
To: openembedded-core@lists.openembedded.org
Cc: Alexander Kanavin <alex@linutronix.de>
Subject: [PATCH 08/15] debugedit: upgrade 5.2 -> 5.3
Date: Fri, 19 Jun 2026 10:32:50 +0200 [thread overview]
Message-ID: <20260619083305.3505156-8-alex.kanavin@gmail.com> (raw)
In-Reply-To: <20260619083305.3505156-1-alex.kanavin@gmail.com>
From: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
---
.../{debugedit_5.2.bb => debugedit_5.3.bb} | 3 +-
...not-check-for-executables-needed-onl.patch | 63 +++++++++++++++++++
...003-Makefile.am-do-not-update-manual.patch | 22 ++++---
3 files changed, 80 insertions(+), 8 deletions(-)
rename meta/recipes-devtools/debugedit/{debugedit_5.2.bb => debugedit_5.3.bb} (86%)
create mode 100644 meta/recipes-devtools/debugedit/files/0001-configure.ac-do-not-check-for-executables-needed-onl.patch
diff --git a/meta/recipes-devtools/debugedit/debugedit_5.2.bb b/meta/recipes-devtools/debugedit/debugedit_5.3.bb
similarity index 86%
rename from meta/recipes-devtools/debugedit/debugedit_5.2.bb
rename to meta/recipes-devtools/debugedit/debugedit_5.3.bb
index 76c54ba63d..7732dde52a 100644
--- a/meta/recipes-devtools/debugedit/debugedit_5.2.bb
+++ b/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"
diff --git a/meta/recipes-devtools/debugedit/files/0001-configure.ac-do-not-check-for-executables-needed-onl.patch b/meta/recipes-devtools/debugedit/files/0001-configure.ac-do-not-check-for-executables-needed-onl.patch
new file mode 100644
index 0000000000..a241972efa
--- /dev/null
+++ b/meta/recipes-devtools/debugedit/files/0001-configure.ac-do-not-check-for-executables-needed-onl.patch
@@ -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])
+
diff --git a/meta/recipes-devtools/debugedit/files/0003-Makefile.am-do-not-update-manual.patch b/meta/recipes-devtools/debugedit/files/0003-Makefile.am-do-not-update-manual.patch
index d0414f739a..50be95696d 100644
--- a/meta/recipes-devtools/debugedit/files/0003-Makefile.am-do-not-update-manual.patch
+++ b/meta/recipes-devtools/debugedit/files/0003-Makefile.am-do-not-update-manual.patch
@@ -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=$@ \
--
2.47.3
next prev parent reply other threads:[~2026-06-19 8:33 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-19 8:32 [PATCH 01/15] gn: upgrade to latest revision Alexander Kanavin
2026-06-19 8:32 ` [PATCH 02/15] util-linux: upgrade 2.41.3 -> 2.42.2 Alexander Kanavin
2026-06-19 8:32 ` [PATCH 03/15] lttng-tools: upgrade 2.14.1 -> 2.15.1 Alexander Kanavin
2026-06-19 8:32 ` [PATCH 04/15] lttng-modules: upgrade 2.14.4 " Alexander Kanavin
2026-06-19 8:32 ` [PATCH 05/15] lttng-ust: upgrade 2.14.0 " Alexander Kanavin
2026-06-19 8:32 ` [PATCH 06/15] systemtap: upgrade 5.4 -> 5.5 Alexander Kanavin
2026-06-22 5:12 ` [OE-core] " Mathieu Dubois-Briand
2026-06-19 8:32 ` [PATCH 07/15] inetutils: upgrade 2.7 -> 2.8 Alexander Kanavin
2026-06-19 8:32 ` Alexander Kanavin [this message]
2026-06-19 8:32 ` [PATCH 09/15] elfutils: upgrade 0.194 -> 0.195 Alexander Kanavin
2026-06-19 8:32 ` [PATCH 10/15] libsolv: upgrade 0.7.37 -> 0.7.39 Alexander Kanavin
2026-06-19 8:32 ` [PATCH 11/15] man-pages: upgrade 6.17 -> 6.18 Alexander Kanavin
2026-06-19 8:32 ` [PATCH 12/15] parted: upgrade 3.6 -> 3.7 Alexander Kanavin
2026-06-19 8:32 ` [PATCH 13/15] librsvg: upgrade: 2.62.2 -> 2.62.3 Alexander Kanavin
2026-06-19 8:32 ` [PATCH 14/15] vte: upgrade 0.82.2 -> 0.84.0 Alexander Kanavin
2026-06-19 8:32 ` [PATCH 15/15] ovmf: upgrade edk2-stable202511 -> edk2-stable202605 Alexander Kanavin
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=20260619083305.3505156-8-alex.kanavin@gmail.com \
--to=alex.kanavin@gmail.com \
--cc=alex@linutronix.de \
--cc=openembedded-core@lists.openembedded.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox