From: "Marek Szuba" <marecki@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/ltrace/
Date: Mon, 3 Apr 2023 06:50:59 +0000 (UTC) [thread overview]
Message-ID: <1680504652.0d24f2e36daf9d95d2512a69305e124c3da6fc0d.marecki@gentoo> (raw)
commit: 0d24f2e36daf9d95d2512a69305e124c3da6fc0d
Author: Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 3 06:47:55 2023 +0000
Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Mon Apr 3 06:50:52 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d24f2e3
dev-util/ltrace: support libdwfl as unwinder
Add a new USE flag for this (pulling the whole elfutils in if set),
and make it mutually exclusive with unwind because src_configure fails
if both unwinders have been selected.
Closes: https://bugs.gentoo.org/903643
Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>
....7.91_pre20221216.ebuild => ltrace-0.7.91_pre20221216-r1.ebuild} | 6 +++++-
dev-util/ltrace/metadata.xml | 1 +
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/dev-util/ltrace/ltrace-0.7.91_pre20221216.ebuild b/dev-util/ltrace/ltrace-0.7.91_pre20221216-r1.ebuild
similarity index 91%
rename from dev-util/ltrace/ltrace-0.7.91_pre20221216.ebuild
rename to dev-util/ltrace/ltrace-0.7.91_pre20221216-r1.ebuild
index 24b86f41a73f..851ee4b9d802 100644
--- a/dev-util/ltrace/ltrace-0.7.91_pre20221216.ebuild
+++ b/dev-util/ltrace/ltrace-0.7.91_pre20221216-r1.ebuild
@@ -14,9 +14,12 @@ SRC_URI="https://gitlab.com/cespedes/${PN}/-/archive/${EGIT_COMMIT}.tar.bz2 -> $
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
-IUSE="debug selinux test unwind"
+IUSE="debug elfutils selinux test unwind"
+
+REQUIRED_USE="?? ( elfutils unwind )"
RDEPEND="virtual/libelf:=
+ elfutils? ( dev-libs/elfutils )
selinux? ( sys-libs/libselinux )
unwind? ( sys-libs/libunwind:= )"
DEPEND="${RDEPEND}
@@ -55,5 +58,6 @@ src_configure() {
econf \
--disable-werror \
$(use_enable debug) \
+ $(use_with elfutils) \
$(use_with unwind libunwind)
}
diff --git a/dev-util/ltrace/metadata.xml b/dev-util/ltrace/metadata.xml
index ca7a79566dae..7aee59bc9ad7 100644
--- a/dev-util/ltrace/metadata.xml
+++ b/dev-util/ltrace/metadata.xml
@@ -9,6 +9,7 @@
<remote-id type="gitlab">cespedes/ltrace</remote-id>
</upstream>
<use>
+ <flag name="elfutils">Use libdwfl from <pkg>sys-libs/libunwind</pkg> for frame unwinding support</flag>
<flag name="unwind">Use <pkg>sys-libs/libunwind</pkg> for frame unwinding support</flag>
</use>
</pkgmetadata>
next reply other threads:[~2023-04-03 6:51 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-03 6:50 Marek Szuba [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-12-22 11:55 [gentoo-commits] repo/gentoo:master commit in: dev-util/ltrace/ Marek Szuba
2023-08-04 11:31 Sam James
2023-07-15 8:19 Arthur Zamarin
2023-07-15 8:19 Arthur Zamarin
2023-03-30 22:09 Marek Szuba
2023-03-30 22:09 Marek Szuba
2021-11-25 18:13 Marek Szuba
2021-11-18 8:39 Marek Szuba
2021-11-18 5:37 Sam James
2021-11-17 22:47 Sam James
2021-08-18 12:46 Agostino Sarubbo
2021-07-13 11:21 Marek Szuba
2021-07-05 8:13 Sergei Trofimovich
2021-07-02 18:31 Marek Szuba
2021-07-02 9:18 Marek Szuba
2020-06-20 19:49 Sergei Trofimovich
2020-06-15 15:16 Agostino Sarubbo
2020-06-15 15:06 Agostino Sarubbo
2020-06-15 14:59 Agostino Sarubbo
2019-10-29 20:01 Sergei Trofimovich
2019-10-29 20:01 Sergei Trofimovich
2018-10-26 20:19 Sergei Trofimovich
2018-10-20 17:56 Mikle Kolyada
2018-10-18 11:31 Thomas Deutschmann
2018-07-13 19:30 Sergei Trofimovich
2017-08-27 21:22 Sergei Trofimovich
2016-04-02 16:59 Sergei Trofimovich
2016-03-23 16:03 Mike Frysinger
2016-02-06 17:43 Sergei Trofimovich
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=1680504652.0d24f2e36daf9d95d2512a69305e124c3da6fc0d.marecki@gentoo \
--to=marecki@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