From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/debugedit/
Date: Wed, 20 Aug 2025 17:28:07 +0000 (UTC) [thread overview]
Message-ID: <1755710819.a911355cc79347604f2e533624aea5f332edcf7c.sam@gentoo> (raw)
commit: a911355cc79347604f2e533624aea5f332edcf7c
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 20 17:24:57 2025 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Aug 20 17:26:59 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a911355c
dev-util/debugedit: make dwz an optfeature
mgorny and I discussed this ages ago but I never implemented it. dwz
is only used for `find-debuginfo` which basically nobody is going to use
in Gentoo (at least right now, see bug #938763 and bug #947387).
Avoid pulling in dwz on the system of everybody who wants installsources. This
is especially important as I'm contemplating proposing having debugedit in
@system.
Bug: https://bugs.gentoo.org/938763
Bug: https://bugs.gentoo.org/947387
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-util/debugedit/debugedit-5.2-r1.ebuild | 75 ++++++++++++++++++++++++++++++
1 file changed, 75 insertions(+)
diff --git a/dev-util/debugedit/debugedit-5.2-r1.ebuild b/dev-util/debugedit/debugedit-5.2-r1.ebuild
new file mode 100644
index 000000000000..b8814e2410ff
--- /dev/null
+++ b/dev-util/debugedit/debugedit-5.2-r1.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit multiprocessing optfeature verify-sig toolchain-funcs
+
+DESCRIPTION="Create debuginfo and source file distributions"
+HOMEPAGE="https://sourceware.org/debugedit/"
+SRC_URI="
+ https://sourceware.org/ftp/debugedit/${PV}/${P}.tar.xz
+ verify-sig? ( https://sourceware.org/ftp/debugedit/${PV}/${P}.tar.xz.sig )
+"
+
+LICENSE="GPL-3+ GPL-2+ LGPL-2+"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+DEPEND="
+ >=dev-libs/elfutils-0.176-r1:=
+ >=dev-libs/xxhash-0.8:=
+ elibc_musl? ( >=sys-libs/error-standalone-2.0 )
+"
+RDEPEND="
+ ${DEPEND}
+"
+BDEPEND="
+ sys-apps/help2man
+ virtual/pkgconfig
+ test? (
+ app-alternatives/cpio
+ sys-devel/dwz
+ )
+ verify-sig? (
+ sec-keys/openpgp-keys-debugedit
+ )
+"
+
+VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/debugedit.gpg
+
+PATCHES=(
+ "${FILESDIR}"/${P}-bashism.patch
+ "${FILESDIR}"/${P}-buildid.patch
+)
+
+src_configure() {
+ tc-export PKG_CONFIG
+
+ if use elibc_musl; then
+ export CFLAGS="${CFLAGS} $(${PKG_CONFIG} --cflags error-standalone)"
+ export LIBS="${LIBS} $(${PKG_CONFIG} --libs error-standalone)"
+ fi
+
+ local myconf=(
+ # avoid BDEP on dwz
+ DWZ=dwz
+ ac_cv_dwz_j=yes
+
+ # We don't want to effectively bundle xxhash. It fails to
+ # build with -Og and such too (bug #956627).
+ --disable-inlined-xxhash
+ )
+ econf "${myconf[@]}"
+}
+
+src_test() {
+ local -x CCACHE_DISABLE=1
+ emake -Onone check TESTSUITEFLAGS="--jobs=$(get_makeopts_jobs)"
+}
+
+pkg_postinst() {
+ optfeature "dwz support in find-debuginfo" sys-devel/dwz
+}
next reply other threads:[~2025-08-20 17:28 UTC|newest]
Thread overview: 105+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-08-20 17:28 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-09-14 18:29 [gentoo-commits] repo/gentoo:master commit in: dev-util/debugedit/ Arthur Zamarin
2025-09-14 18:29 Arthur Zamarin
2025-09-14 18:29 Arthur Zamarin
2025-09-14 18:29 Arthur Zamarin
2025-09-14 16:13 Arthur Zamarin
2025-09-14 16:02 Michał Górny
2025-09-14 15:44 Sam James
2025-08-20 17:28 Sam James
2025-08-18 22:02 Sam James
2025-08-17 20:04 Sam James
2025-08-17 20:04 Sam James
2025-06-17 0:34 Sam James
2025-05-23 11:42 Arthur Zamarin
2025-01-25 13:50 Sam James
2025-01-25 13:43 Sam James
2025-01-25 11:05 Michał Górny
2025-01-17 13:08 Jakov Smolić
2025-01-11 14:41 Jakov Smolić
2025-01-11 11:25 Sam James
2025-01-07 2:24 Sam James
2025-01-07 2:01 Sam James
2025-01-07 2:01 Sam James
2025-01-05 12:32 WANG Xuerui
2024-12-14 10:43 Sam James
2024-12-14 10:43 Sam James
2024-12-01 11:26 Sam James
2024-10-29 22:13 Sam James
2024-10-29 16:53 Michał Górny
2024-10-18 19:43 Sam James
2024-03-19 5:52 Michał Górny
2024-03-02 15:25 Arthur Zamarin
2024-03-02 14:22 Arthur Zamarin
2024-03-02 13:53 Michał Górny
2024-02-18 11:43 Jakov Smolić
2024-02-18 0:15 Sam James
2024-02-17 22:26 Sam James
2024-02-17 21:42 Jakov Smolić
2024-01-28 15:35 Sam James
2023-01-14 13:06 WANG Xuerui
2023-01-14 10:12 Sam James
2022-05-03 19:12 Arthur Zamarin
2022-05-03 18:57 Arthur Zamarin
2022-05-03 18:01 Arthur Zamarin
2022-02-08 19:20 Michał Górny
2022-02-08 17:55 Sam James
2022-02-02 22:26 Sam James
2021-09-25 7:45 Michał Górny
2021-09-25 5:18 Agostino Sarubbo
2021-09-22 6:58 Agostino Sarubbo
2021-09-21 6:35 Agostino Sarubbo
2021-09-20 6:26 Agostino Sarubbo
2021-04-28 20:44 Michał Górny
2021-04-28 19:09 Sam James
2021-04-28 18:47 Sam James
2021-04-28 17:04 Sam James
2021-04-28 17:00 Sam James
2021-03-27 0:37 Sam James
2021-03-27 0:37 Sam James
2021-03-22 21:33 Michał Górny
2021-01-15 7:35 Michał Górny
2021-01-15 0:01 Sam James
2021-01-11 8:01 Sam James
2021-01-10 22:28 Sam James
2021-01-10 14:26 Sam James
2020-12-16 17:18 Michał Górny
2020-12-11 7:33 Michał Górny
2020-11-22 15:46 Michał Górny
2020-11-22 12:26 Sergei Trofimovich
2020-11-17 19:17 Agostino Sarubbo
2020-11-17 18:55 Agostino Sarubbo
2020-11-17 18:49 Agostino Sarubbo
2020-11-16 22:13 Sam James
2020-10-01 7:59 Michał Górny
2020-08-21 3:12 Georgy Yakovlev
2020-08-05 15:18 Michał Górny
2020-08-05 14:17 Agostino Sarubbo
2020-08-02 11:39 Sergei Trofimovich
2020-08-01 9:01 Sergei Trofimovich
2020-04-30 9:45 Michał Górny
2020-01-03 8:48 Michał Górny
2019-12-31 8:18 Agostino Sarubbo
2019-12-31 8:15 Agostino Sarubbo
2019-12-30 12:29 Agostino Sarubbo
2019-12-28 10:17 Sergei Trofimovich
2019-12-27 16:43 Agostino Sarubbo
2019-09-28 5:52 Michał Górny
2019-08-01 6:23 Sergei Trofimovich
2019-07-31 11:03 Agostino Sarubbo
2019-07-31 10:59 Agostino Sarubbo
2019-07-31 10:55 Agostino Sarubbo
2019-07-31 10:54 Agostino Sarubbo
2019-05-19 10:49 Michał Górny
2019-04-28 20:34 Thomas Deutschmann
2019-04-27 16:03 Sergei Trofimovich
2019-04-18 20:28 Sergei Trofimovich
2019-04-13 14:05 Mikle Kolyada
2019-04-10 15:07 Michał Górny
2018-09-20 9:03 Lars Wendler
2018-09-19 22:25 Michał Górny
2018-09-19 22:25 Michał Górny
2018-05-30 19:45 Mike Frysinger
2017-06-11 19:58 Sergei Trofimovich
2016-02-09 19:20 Mike Frysinger
2016-02-09 19:20 Mike Frysinger
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=1755710819.a911355cc79347604f2e533624aea5f332edcf7c.sam@gentoo \
--to=sam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.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