commit: 70a026bf4b1365ffd5661fb5e376295f4a646a98 Author: Holger Hoffstätte <holger <AT> applied-asynchrony <DOT> com> AuthorDate: Sun May 11 12:46:14 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sun May 11 13:37:32 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=70a026bf
dev-libs/boost: exclude dodgy test in boost::system The throws_assign_fail test is supposed to crash, but instead may or may not even compile correctly any longer; just skip it completely. Closes: https://bugs.gentoo.org/955831 Signed-off-by: Holger Hoffstätte <holger <AT> applied-asynchrony.com> Part-of: https://github.com/gentoo/gentoo/pull/42025 Signed-off-by: Sam James <sam <AT> gentoo.org> dev-libs/boost/boost-1.88.0-r1.ebuild | 1 + .../boost/files/boost-1.88.0-system-crashing-test.patch | 16 ++++++++++++++++ 2 files changed, 17 insertions(+) diff --git a/dev-libs/boost/boost-1.88.0-r1.ebuild b/dev-libs/boost/boost-1.88.0-r1.ebuild index e0c8d16770a0..826759b79293 100644 --- a/dev-libs/boost/boost-1.88.0-r1.ebuild +++ b/dev-libs/boost/boost-1.88.0-r1.ebuild @@ -54,6 +54,7 @@ PATCHES=( "${FILESDIR}"/${PN}-1.88.0-bind-no-Werror.patch "${FILESDIR}"/${PN}-1.88.0-mysql-cstdint.patch "${FILESDIR}"/${PN}-1.88.0-range-any_iterator.patch + "${FILESDIR}"/${PN}-1.88.0-system-crashing-test.patch "${FILESDIR}"/${PN}-1.88.0-yap-cstdint.patch ) diff --git a/dev-libs/boost/files/boost-1.88.0-system-crashing-test.patch b/dev-libs/boost/files/boost-1.88.0-system-crashing-test.patch new file mode 100644 index 000000000000..fa9baeac6d0d --- /dev/null +++ b/dev-libs/boost/files/boost-1.88.0-system-crashing-test.patch @@ -0,0 +1,16 @@ +Do not build a supposed-to-crash test which may or may not even compile +correctly any longer. + +Bug: https://bugs.gentoo.org/955831 + +--- boost_1_88_0/libs/system/test/Jamfile.v2~ 2025-04-03 13:37:30.000000000 +0200 ++++ boost_1_88_0/libs/system/test/Jamfile.v2 2025-05-11 14:28:16.187753266 +0200 +@@ -68,7 +68,7 @@ system-run before_main_test.cpp ; + + run-fail throws_assign_fail.cpp : : : + # GCC 12 catches this at compile time with a warning +- <toolset>gcc,<variant>release:<build>no ; ++ <toolset>gcc:<build>no ; + + system-run constexpr_test.cpp ; + system-run win32_hresult_test.cpp ;
