commit:     392870e92d100981d89daf134714a499cd7375ca
Author:     Eli Schwartz <eschwartz93 <AT> gmail <DOT> com>
AuthorDate: Sun Mar  3 20:27:51 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Mar  3 23:18:15 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=392870e9

app-emulation/aranym: mark as LTO-unsafe

It might not actually be unsafe, but the configure test errors out
because it tries to grep the output of a conftest, which in this case is
LTO bytecode.

Fixed in git master:
https://github.com/aranym/aranym/commit/52c56bba30ddea27a0a7179da89cac1c71228de6

Closes: https://bugs.gentoo.org/854510
Signed-off-by: Eli Schwartz <eschwartz93 <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-emulation/aranym/aranym-1.1.0-r1.ebuild | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/app-emulation/aranym/aranym-1.1.0-r1.ebuild 
b/app-emulation/aranym/aranym-1.1.0-r1.ebuild
index 7f7bb559528d..f471b146140f 100644
--- a/app-emulation/aranym/aranym-1.1.0-r1.ebuild
+++ b/app-emulation/aranym/aranym-1.1.0-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-inherit autotools multibuild toolchain-funcs xdg
+inherit autotools flag-o-matic multibuild toolchain-funcs xdg
 
 DESCRIPTION="Atari Running on Any Machine, VM running Atari ST/TT/Falcon OS 
and TOS/GEM apps"
 HOMEPAGE="https://aranym.github.io";
@@ -54,6 +54,13 @@ src_prepare() {
 }
 
 src_configure() {
+       # configure probe fatally errors out since it tries to peek at LTO'ed 
code using grep
+       # https://bugs.gentoo.org/854510
+       # 
https://github.com/aranym/aranym/commit/52c56bba30ddea27a0a7179da89cac1c71228de6
+       #
+       # Fixed in git master. Try removing this on the next version bump.
+       filter-lto
+
        tc-export_build_env
        export CC_FOR_BUILD=$(tc-getBUILD_CC) CXX_FOR_BUILD=$(tc-getBUILD_CXX)
 

Reply via email to