From 70a026bf4b1365ffd5661fb5e376295f4a646a98 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Holger=20Hoffst=C3=A4tte?= Date: Sun, 11 May 2025 14:46:14 +0200 Subject: [PATCH] dev-libs/boost: exclude dodgy test in boost::system MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Part-of: https://github.com/gentoo/gentoo/pull/42025 Signed-off-by: Sam James --- dev-libs/boost/boost-1.88.0-r1.ebuild | 1 + .../boost-1.88.0-system-crashing-test.patch | 16 ++++++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 dev-libs/boost/files/boost-1.88.0-system-crashing-test.patch diff --git a/dev-libs/boost/boost-1.88.0-r1.ebuild b/dev-libs/boost/boost-1.88.0-r1.ebuild index e0c8d16770a0e..826759b79293e 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 0000000000000..fa9baeac6d0de --- /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 +- gcc,release:no ; ++ gcc:no ; + + system-run constexpr_test.cpp ; + system-run win32_hresult_test.cpp ;