commit:     e262261bcff223146ce1e6c39966d89617d82d9e
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Mar  5 06:54:04 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Mar  5 06:54:04 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e262261b

dev-util/uftrace: filter LTO

There's an upstream bug not yet fixed. Filter LTO until it's fixed to avoid
tinderbox failures.

Closes: https://bugs.gentoo.org/858503
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-util/uftrace/uftrace-0.14.ebuild   | 5 ++++-
 dev-util/uftrace/uftrace-0.15.2.ebuild | 5 ++++-
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/dev-util/uftrace/uftrace-0.14.ebuild 
b/dev-util/uftrace/uftrace-0.14.ebuild
index d8951e47e6fd..20f0fe2eb878 100644
--- a/dev-util/uftrace/uftrace-0.14.ebuild
+++ b/dev-util/uftrace/uftrace-0.14.ebuild
@@ -6,7 +6,7 @@ EAPI=8
 LUA_COMPAT=( luajit )
 PYTHON_COMPAT=( python3_{9..12} )
 
-inherit bash-completion-r1 lua-single python-single-r1 toolchain-funcs
+inherit bash-completion-r1 flag-o-matic lua-single python-single-r1 
toolchain-funcs
 
 DESCRIPTION="Function (graph) tracer for user-space"
 HOMEPAGE="https://github.com/namhyung/uftrace";
@@ -40,6 +40,9 @@ src_prepare() {
 }
 
 src_configure() {
+       # bug #858503 (https://github.com/namhyung/uftrace/issues/1343)
+       filter-lto
+
        local myconf=(
                --libdir="${EPREFIX}/usr/$(get_libdir)/uftrace"
                $(use_with capstone)

diff --git a/dev-util/uftrace/uftrace-0.15.2.ebuild 
b/dev-util/uftrace/uftrace-0.15.2.ebuild
index ffe4bfb99f16..bc09d5c8ccae 100644
--- a/dev-util/uftrace/uftrace-0.15.2.ebuild
+++ b/dev-util/uftrace/uftrace-0.15.2.ebuild
@@ -6,7 +6,7 @@ EAPI=8
 LUA_COMPAT=( luajit )
 PYTHON_COMPAT=( python3_{9..12} )
 
-inherit bash-completion-r1 lua-single python-single-r1 toolchain-funcs
+inherit bash-completion-r1 flag-o-matic lua-single python-single-r1 
toolchain-funcs
 
 DESCRIPTION="Function (graph) tracer for user-space"
 HOMEPAGE="https://github.com/namhyung/uftrace";
@@ -40,6 +40,9 @@ src_prepare() {
 }
 
 src_configure() {
+       # bug #858503 (https://github.com/namhyung/uftrace/issues/1343)
+       filter-lto
+
        local myconf=(
                --libdir="${EPREFIX}/usr/$(get_libdir)/uftrace"
                $(use_with capstone)

Reply via email to