commit: 9dc2b0c59ee947b470757ffc8d62c0f85a4b1f84 Author: Eli Schwartz <eschwartz93 <AT> gmail <DOT> com> AuthorDate: Mon Mar 25 15:29:42 2024 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Tue Mar 26 12:24:30 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9dc2b0c5
net-libs/libnetconf2: mark as LTO-unsafe It fails tests which seems like a promising sign that something unpromising happened. Closes: https://bugs.gentoo.org/877449 Signed-off-by: Eli Schwartz <eschwartz93 <AT> gmail.com> Signed-off-by: Sam James <sam <AT> gentoo.org> net-libs/libnetconf2/libnetconf2-2.1.31.ebuild | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/net-libs/libnetconf2/libnetconf2-2.1.31.ebuild b/net-libs/libnetconf2/libnetconf2-2.1.31.ebuild index a10855bd1960..14144aaf22aa 100644 --- a/net-libs/libnetconf2/libnetconf2-2.1.31.ebuild +++ b/net-libs/libnetconf2/libnetconf2-2.1.31.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit cmake +inherit cmake flag-o-matic DESCRIPTION="C library for building NETCONF servers and clients" HOMEPAGE="https://github.com/CESNET/libnetconf2" @@ -27,6 +27,15 @@ BDEPEND=" doc? ( app-text/doxygen[dot] )" src_configure() { + # fails tests, but only with LTO. + # [ ERROR ] --- 0 != 0xffffffffffffffff + # [ LINE ] --- /var/tmp/portage/net-libs/libnetconf2-2.1.31/work/libnetconf2-2.1.31/tests/client/test_client_ssh.c:716: error: Failure! + # [ FAILED ] test_nc_client_ssh_ch_add_bind_listen + # + # https://bugs.gentoo.org/877449 + # https://github.com/CESNET/libnetconf2/issues/471 + filter-lto + local mycmakeargs=( -DENABLE_TESTS=$(usex test) -DENABLE_VALGRIND_TESTS=OFF
