From 2f3f17bf9e67d07dc0065ff0381090132d6716a5 Mon Sep 17 00:00:00 2001 From: David Abdurachmanov Date: Wed, 29 May 2024 22:36:57 -0400 Subject: [PATCH 01/23] Disable NegativeNaN test on riscv64 Signed-off-by: Neil Hanlon --- abseil-cpp.spec | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/abseil-cpp.spec b/abseil-cpp.spec index 5873a80..07d5a13 100644 --- a/abseil-cpp.spec +++ b/abseil-cpp.spec @@ -3,7 +3,7 @@ Name: abseil-cpp Version: 20240116.2 -Release: 1%{?dist} +Release: 2%{?dist} Summary: C++ Common Libraries # The entire source is Apache-2.0, except: @@ -90,6 +90,17 @@ Development headers for %{name} %prep %autosetup -p1 -S gendiff +%ifarch riscv64 +# NOTE(davidlt): see https://github.com/WebAssembly/design/issues/646 +# [==========] 125 tests from 35 test suites ran. (3501 ms total) +# [ PASSED ] 124 tests. +# [ FAILED ] 1 test, listed below: +# [ FAILED ] FloatingPointLogFormatTest/0.NegativeNaN, where TypeParam = float +# 1 FAILED TEST +sed -r -i 's/\bNegativeNaN\b/DISABLED_&/' \ + absl/log/log_format_test.cc +%endif + %build # ABSL_BUILD_TEST_HELPERS is needed to build libraries for the -testing # subpackage when tests are not enabled. It is therefore redundant here, but we @@ -234,6 +245,9 @@ Development headers for %{name} %{_libdir}/pkgconfig/absl_*.pc %changelog +* Wed May 29 2024 David Abdurachmanov - 20240116.2-2 +- Disable NegativeNaN test on riscv64 + * Tue Apr 09 2024 Benjamin A. Beasley - 20240116.2-1 - Update to 20240116.2 (close RHBZ#2274172) From dd755b6b6a8102f443671bf3dff65348666f189d Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Thu, 30 May 2024 09:53:10 -0400 Subject: [PATCH 02/23] Add upstream bug link for NegativeNaN test skip --- abseil-cpp.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/abseil-cpp.spec b/abseil-cpp.spec index 07d5a13..60341a9 100644 --- a/abseil-cpp.spec +++ b/abseil-cpp.spec @@ -91,6 +91,8 @@ Development headers for %{name} %autosetup -p1 -S gendiff %ifarch riscv64 +# [Bug]: NegativeNaN test fails on riscv64 +# https://github.com/abseil/abseil-cpp/issues/1684 # NOTE(davidlt): see https://github.com/WebAssembly/design/issues/646 # [==========] 125 tests from 35 test suites ran. (3501 ms total) # [ PASSED ] 124 tests. From 8c7c252cffbdbb3f3ed0e7dc5a285ede64679257 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Mon, 10 Jun 2024 13:47:14 -0400 Subject: [PATCH 03/23] Backport patch for RISC-V negative NaN issue --- ...f6cc87e7a21d92f9f96a72263a93d3929ec7.patch | 52 +++++++++++++++++++ abseil-cpp.spec | 22 ++++---- 2 files changed, 61 insertions(+), 13 deletions(-) create mode 100644 96cdf6cc87e7a21d92f9f96a72263a93d3929ec7.patch diff --git a/96cdf6cc87e7a21d92f9f96a72263a93d3929ec7.patch b/96cdf6cc87e7a21d92f9f96a72263a93d3929ec7.patch new file mode 100644 index 0000000..3875985 --- /dev/null +++ b/96cdf6cc87e7a21d92f9f96a72263a93d3929ec7.patch @@ -0,0 +1,52 @@ +From 96cdf6cc87e7a21d92f9f96a72263a93d3929ec7 Mon Sep 17 00:00:00 2001 +From: Benjamin Barenblat +Date: Mon, 10 Jun 2024 10:14:21 -0700 +Subject: [PATCH] Disable negative NaN float ostream format checking on RISC-V +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +It’s not clear whether negative NaN floats are supposed to print as +"-nan" or "nan" on RISC-V (https://cplusplus.github.io/LWG/issue4101). +Until that’s resolved, don’t require that logging such a float with +Abseil produce the same result as streaming it to an ostream does. + +Closes: https://github.com/abseil/abseil-cpp/issues/1684 +PiperOrigin-RevId: 641942176 +Change-Id: Iec7ef130cc15c114714f2d124cb37886b3c37ab4 +--- + absl/log/log_format_test.cc | 14 ++++++++++++++ + 1 file changed, 14 insertions(+) + +diff --git a/absl/log/log_format_test.cc b/absl/log/log_format_test.cc +index dbad5d97615..8ca6df3e586 100644 +--- a/absl/log/log_format_test.cc ++++ b/absl/log/log_format_test.cc +@@ -608,6 +608,19 @@ TYPED_TEST(FloatingPointLogFormatTest, NegativeNaN) { + auto comparison_stream = ComparisonStream(); + comparison_stream << value; + ++ // On RISC-V, don't expect that formatting -NaN produces the same string as ++ // streaming it. #ifdefing out just the relevant line breaks the MSVC build, ++ // so duplicate the entire EXPECT_CALL. ++#ifdef __riscv ++ EXPECT_CALL( ++ test_sink, ++ Send(AllOf( ++ TextMessage(AnyOf(Eq("-nan"), Eq("nan"), Eq("NaN"), Eq("-nan(ind)"))), ++ ENCODED_MESSAGE( ++ AnyOf(EqualsProto(R"pb(value { str: "-nan" })pb"), ++ EqualsProto(R"pb(value { str: "nan" })pb"), ++ EqualsProto(R"pb(value { str: "-nan(ind)" })pb")))))); ++#else + EXPECT_CALL( + test_sink, + Send(AllOf( +@@ -617,6 +630,7 @@ TYPED_TEST(FloatingPointLogFormatTest, NegativeNaN) { + AnyOf(EqualsProto(R"pb(value { str: "-nan" })pb"), + EqualsProto(R"pb(value { str: "nan" })pb"), + EqualsProto(R"pb(value { str: "-nan(ind)" })pb")))))); ++#endif + test_sink.StartCapturingLogs(); + LOG(INFO) << value; + } diff --git a/abseil-cpp.spec b/abseil-cpp.spec index 60341a9..3cf5983 100644 --- a/abseil-cpp.spec +++ b/abseil-cpp.spec @@ -24,6 +24,15 @@ License: Apache-2.0 AND LicenseRef-Fedora-Public-Domain URL: https://abseil.io Source0: https://github.com/abseil/abseil-cpp/archive/%{version}/%{name}-%{version}.tar.gz +# Disable negative NaN float ostream format checking on RISC-V +# https://github.com/abseil/abseil-cpp/commit/96cdf6cc87e7a21d92f9f96a72263a93d3929ec7 +# +# Fixes: +# +# [Bug]: NegativeNaN test fails on riscv64 +# https://github.com/abseil/abseil-cpp/issues/1684 +Patch: https://github.com/abseil/abseil-cpp/commit/96cdf6cc87e7a21d92f9f96a72263a93d3929ec7.patch + BuildRequires: cmake # The default make backend would work just as well; ninja is observably faster BuildRequires: ninja-build @@ -90,19 +99,6 @@ Development headers for %{name} %prep %autosetup -p1 -S gendiff -%ifarch riscv64 -# [Bug]: NegativeNaN test fails on riscv64 -# https://github.com/abseil/abseil-cpp/issues/1684 -# NOTE(davidlt): see https://github.com/WebAssembly/design/issues/646 -# [==========] 125 tests from 35 test suites ran. (3501 ms total) -# [ PASSED ] 124 tests. -# [ FAILED ] 1 test, listed below: -# [ FAILED ] FloatingPointLogFormatTest/0.NegativeNaN, where TypeParam = float -# 1 FAILED TEST -sed -r -i 's/\bNegativeNaN\b/DISABLED_&/' \ - absl/log/log_format_test.cc -%endif - %build # ABSL_BUILD_TEST_HELPERS is needed to build libraries for the -testing # subpackage when tests are not enabled. It is therefore redundant here, but we From 75c58ab1c6403d1083be30babbc77aeecd1b29b0 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Wed, 3 Jul 2024 09:30:10 -0400 Subject: [PATCH 04/23] Rebuilt with upstream patch for NegativeNaN test failure on riscv64 --- abseil-cpp.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/abseil-cpp.spec b/abseil-cpp.spec index 3cf5983..f36afa6 100644 --- a/abseil-cpp.spec +++ b/abseil-cpp.spec @@ -3,7 +3,7 @@ Name: abseil-cpp Version: 20240116.2 -Release: 2%{?dist} +Release: 3%{?dist} Summary: C++ Common Libraries # The entire source is Apache-2.0, except: @@ -243,6 +243,9 @@ Development headers for %{name} %{_libdir}/pkgconfig/absl_*.pc %changelog +* Wed Jul 03 2024 Benjamin A. Beasley - 20240116.2-3 +- Rebuilt with upstream patch for NegativeNaN test failure on riscv64 + * Wed May 29 2024 David Abdurachmanov - 20240116.2-2 - Disable NegativeNaN test on riscv64 From d96a8dec9b22763cd66c9bf2237a2f856199c79e Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 17 Jul 2024 16:31:39 +0000 Subject: [PATCH 05/23] Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild --- abseil-cpp.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/abseil-cpp.spec b/abseil-cpp.spec index f36afa6..1959a55 100644 --- a/abseil-cpp.spec +++ b/abseil-cpp.spec @@ -3,7 +3,7 @@ Name: abseil-cpp Version: 20240116.2 -Release: 3%{?dist} +Release: 4%{?dist} Summary: C++ Common Libraries # The entire source is Apache-2.0, except: @@ -243,6 +243,9 @@ Development headers for %{name} %{_libdir}/pkgconfig/absl_*.pc %changelog +* Wed Jul 17 2024 Fedora Release Engineering - 20240116.2-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + * Wed Jul 03 2024 Benjamin A. Beasley - 20240116.2-3 - Rebuilt with upstream patch for NegativeNaN test failure on riscv64 From 33a4b5c72869e2a763fd39e8a80cd57788bc0eda Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Fri, 2 Aug 2024 21:29:49 -0400 Subject: [PATCH 06/23] Update to 20240722.0 (close RHBZ#2302537) --- .gitignore | 1 + ...f6cc87e7a21d92f9f96a72263a93d3929ec7.patch | 52 ------------------- abseil-cpp.spec | 26 +++++----- sources | 2 +- 4 files changed, 15 insertions(+), 66 deletions(-) delete mode 100644 96cdf6cc87e7a21d92f9f96a72263a93d3929ec7.patch diff --git a/.gitignore b/.gitignore index 18a3d5a..8bd189f 100644 --- a/.gitignore +++ b/.gitignore @@ -12,3 +12,4 @@ /abseil-cpp-20230802.1.tar.gz /abseil-cpp-20240116.0.tar.gz /abseil-cpp-20240116.2.tar.gz +/abseil-cpp-20240722.0.tar.gz diff --git a/96cdf6cc87e7a21d92f9f96a72263a93d3929ec7.patch b/96cdf6cc87e7a21d92f9f96a72263a93d3929ec7.patch deleted file mode 100644 index 3875985..0000000 --- a/96cdf6cc87e7a21d92f9f96a72263a93d3929ec7.patch +++ /dev/null @@ -1,52 +0,0 @@ -From 96cdf6cc87e7a21d92f9f96a72263a93d3929ec7 Mon Sep 17 00:00:00 2001 -From: Benjamin Barenblat -Date: Mon, 10 Jun 2024 10:14:21 -0700 -Subject: [PATCH] Disable negative NaN float ostream format checking on RISC-V -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -It’s not clear whether negative NaN floats are supposed to print as -"-nan" or "nan" on RISC-V (https://cplusplus.github.io/LWG/issue4101). -Until that’s resolved, don’t require that logging such a float with -Abseil produce the same result as streaming it to an ostream does. - -Closes: https://github.com/abseil/abseil-cpp/issues/1684 -PiperOrigin-RevId: 641942176 -Change-Id: Iec7ef130cc15c114714f2d124cb37886b3c37ab4 ---- - absl/log/log_format_test.cc | 14 ++++++++++++++ - 1 file changed, 14 insertions(+) - -diff --git a/absl/log/log_format_test.cc b/absl/log/log_format_test.cc -index dbad5d97615..8ca6df3e586 100644 ---- a/absl/log/log_format_test.cc -+++ b/absl/log/log_format_test.cc -@@ -608,6 +608,19 @@ TYPED_TEST(FloatingPointLogFormatTest, NegativeNaN) { - auto comparison_stream = ComparisonStream(); - comparison_stream << value; - -+ // On RISC-V, don't expect that formatting -NaN produces the same string as -+ // streaming it. #ifdefing out just the relevant line breaks the MSVC build, -+ // so duplicate the entire EXPECT_CALL. -+#ifdef __riscv -+ EXPECT_CALL( -+ test_sink, -+ Send(AllOf( -+ TextMessage(AnyOf(Eq("-nan"), Eq("nan"), Eq("NaN"), Eq("-nan(ind)"))), -+ ENCODED_MESSAGE( -+ AnyOf(EqualsProto(R"pb(value { str: "-nan" })pb"), -+ EqualsProto(R"pb(value { str: "nan" })pb"), -+ EqualsProto(R"pb(value { str: "-nan(ind)" })pb")))))); -+#else - EXPECT_CALL( - test_sink, - Send(AllOf( -@@ -617,6 +630,7 @@ TYPED_TEST(FloatingPointLogFormatTest, NegativeNaN) { - AnyOf(EqualsProto(R"pb(value { str: "-nan" })pb"), - EqualsProto(R"pb(value { str: "nan" })pb"), - EqualsProto(R"pb(value { str: "-nan(ind)" })pb")))))); -+#endif - test_sink.StartCapturingLogs(); - LOG(INFO) << value; - } diff --git a/abseil-cpp.spec b/abseil-cpp.spec index 1959a55..ae15245 100644 --- a/abseil-cpp.spec +++ b/abseil-cpp.spec @@ -1,9 +1,9 @@ # Installed library version -%global lib_version 2401.0.0 +%global lib_version 2407.0.0 Name: abseil-cpp -Version: 20240116.2 -Release: 4%{?dist} +Version: 20240722.0 +Release: 1%{?dist} Summary: C++ Common Libraries # The entire source is Apache-2.0, except: @@ -22,16 +22,7 @@ Summary: C++ Common Libraries # (https://gitlab.com/fedora/legal/fedora-license-data/-/merge_requests/205). License: Apache-2.0 AND LicenseRef-Fedora-Public-Domain URL: https://abseil.io -Source0: https://github.com/abseil/abseil-cpp/archive/%{version}/%{name}-%{version}.tar.gz - -# Disable negative NaN float ostream format checking on RISC-V -# https://github.com/abseil/abseil-cpp/commit/96cdf6cc87e7a21d92f9f96a72263a93d3929ec7 -# -# Fixes: -# -# [Bug]: NegativeNaN test fails on riscv64 -# https://github.com/abseil/abseil-cpp/issues/1684 -Patch: https://github.com/abseil/abseil-cpp/commit/96cdf6cc87e7a21d92f9f96a72263a93d3929ec7.patch +Source: https://github.com/abseil/abseil-cpp/archive/%{version}/%{name}-%{version}.tar.gz BuildRequires: cmake # The default make backend would work just as well; ninja is observably faster @@ -143,7 +134,9 @@ Development headers for %{name} %{_libdir}/libabsl_crc_cpu_detect.so.%{lib_version} %{_libdir}/libabsl_crc_internal.so.%{lib_version} %{_libdir}/libabsl_debugging_internal.so.%{lib_version} +%{_libdir}/libabsl_decode_rust_punycode.so.%{lib_version} %{_libdir}/libabsl_demangle_internal.so.%{lib_version} +%{_libdir}/libabsl_demangle_rust.so.%{lib_version} %{_libdir}/libabsl_die_if_null.so.%{lib_version} %{_libdir}/libabsl_examine_stack.so.%{lib_version} %{_libdir}/libabsl_exponential_biased.so.%{lib_version} @@ -183,6 +176,7 @@ Development headers for %{name} %{_libdir}/libabsl_low_level_hash.so.%{lib_version} %{_libdir}/libabsl_malloc_internal.so.%{lib_version} %{_libdir}/libabsl_periodic_sampler.so.%{lib_version} +%{_libdir}/libabsl_poison.so.%{lib_version} %{_libdir}/libabsl_random_distributions.so.%{lib_version} %{_libdir}/libabsl_random_internal_distribution_test_util.so.%{lib_version} %{_libdir}/libabsl_random_internal_platform.so.%{lib_version} @@ -211,6 +205,7 @@ Development headers for %{name} %{_libdir}/libabsl_throw_delegate.so.%{lib_version} %{_libdir}/libabsl_time.so.%{lib_version} %{_libdir}/libabsl_time_zone.so.%{lib_version} +%{_libdir}/libabsl_utf8_for_code_point.so.%{lib_version} %{_libdir}/libabsl_vlog_config_internal.so.%{lib_version} %files testing @@ -229,6 +224,8 @@ Development headers for %{name} %{_libdir}/libabsl_log_internal_test_helpers.so.%{lib_version} %{_libdir}/libabsl_log_internal_test_matchers.so.%{lib_version} %{_libdir}/libabsl_scoped_mock_log.so.%{lib_version} +# absl/status/CMakeLists.txt +%{_libdir}/libabsl_status_matchers.so.%{lib_version} # absl/strings/CMakeLists.txt %{_libdir}/libabsl_pow10_helper.so.%{lib_version} # absl/synchronization/CMakeLists.txt @@ -243,6 +240,9 @@ Development headers for %{name} %{_libdir}/pkgconfig/absl_*.pc %changelog +* Sat Aug 03 2024 Benjamin A. Beasley - 20240722.0-1 +- Update to 20240722.0 (close RHBZ#2302537) + * Wed Jul 17 2024 Fedora Release Engineering - 20240116.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild diff --git a/sources b/sources index 1ee649b..842d69a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (abseil-cpp-20240116.2.tar.gz) = 5062e731ee8c9a757e6d75fc1c558652deb4dd1daab4d6143f7ad52a139501c61365f89acbf82480be0f9a4911a58286560068d8b1a8b6774e6afad51739766e +SHA512 (abseil-cpp-20240722.0.tar.gz) = bd2cca8f007f2eee66f51c95a979371622b850ceb2ce3608d00ba826f7c494a1da0fba3c1427728f2c173fe50d59b701da35c2c9fdad2752a5a49746b1c8ef31 From ca0a3d5d75f7bced0b59554225fa2b68686bace9 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Wed, 8 Jan 2025 11:11:07 -0500 Subject: [PATCH 07/23] Report and skip a test regression on ppc64le --- abseil-cpp.spec | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/abseil-cpp.spec b/abseil-cpp.spec index ae15245..14ab07c 100644 --- a/abseil-cpp.spec +++ b/abseil-cpp.spec @@ -110,7 +110,16 @@ Development headers for %{name} %cmake_install %check -%ctest +skips='^($.' +%ifarch ppc64le +# [Bug]: Flaky test failures in absl_failure_signal_handler_test on ppc64le in +# Fedora +# https://github.com/abseil/abseil-cpp/issues/1804 +skips="${skips}|absl_failure_signal_handler_test" +%endif +skips="${skips})$" + +%ctest --exclude-regex "${skips}" %files %license LICENSE From 06fd1bd32e28fc2b339ff3bac0e54f39bc633eec Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Wed, 8 Jan 2025 15:29:22 -0500 Subject: [PATCH 08/23] Bump release and update changelog --- abseil-cpp.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/abseil-cpp.spec b/abseil-cpp.spec index 14ab07c..47ac21d 100644 --- a/abseil-cpp.spec +++ b/abseil-cpp.spec @@ -3,7 +3,7 @@ Name: abseil-cpp Version: 20240722.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: C++ Common Libraries # The entire source is Apache-2.0, except: @@ -249,6 +249,9 @@ skips="${skips})$" %{_libdir}/pkgconfig/absl_*.pc %changelog +* Wed Jan 08 2025 Benjamin A. Beasley - 20240722.0-2 +- Report and skip a test regression on ppc64le + * Sat Aug 03 2024 Benjamin A. Beasley - 20240722.0-1 - Update to 20240722.0 (close RHBZ#2302537) From f73b91d9881768851d9b2eac67fba49510ed42d0 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Wed, 8 Jan 2025 07:19:27 -0500 Subject: [PATCH 09/23] Patch for GCC 15 (fix RHBZ#2336266) --- 1739.patch | 38 ++++++++++++++++++++++++++++++++++++++ abseil-cpp.spec | 9 ++++++++- 2 files changed, 46 insertions(+), 1 deletion(-) create mode 100644 1739.patch diff --git a/1739.patch b/1739.patch new file mode 100644 index 0000000..ca0c47d --- /dev/null +++ b/1739.patch @@ -0,0 +1,38 @@ +From faf1b03a591f06933da02976119da5743f428e4f Mon Sep 17 00:00:00 2001 +From: Christopher Fore +Date: Mon, 5 Aug 2024 10:48:19 -0400 +Subject: [PATCH] container/internal: Explicitly include +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +GCC 15 will no longer include by default, resulting in build +failures in projects that do not explicitly include it. + +Error: +absl/container/internal/container_memory.h:66:27: error: ‘uintptr_t’ does not name a type + 66 | assert(reinterpret_cast(p) % Alignment == 0 && + | ^~~~~~~~~ +absl/container/internal/container_memory.h:31:1: note: ‘uintptr_t’ is defined in header ‘’; this is probably fixable by adding ‘#include ’ + 30 | #include "absl/utility/utility.h" + +++ |+#include + 31 | + +See-also: https://gcc.gnu.org/pipermail/gcc-cvs/2024-August/407124.html +Signed-off-by: Christopher Fore +--- + absl/container/internal/container_memory.h | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/absl/container/internal/container_memory.h b/absl/container/internal/container_memory.h +index ba8e08a2d22..e7031797018 100644 +--- a/absl/container/internal/container_memory.h ++++ b/absl/container/internal/container_memory.h +@@ -17,6 +17,7 @@ + + #include + #include ++#include + #include + #include + #include diff --git a/abseil-cpp.spec b/abseil-cpp.spec index 47ac21d..04c477c 100644 --- a/abseil-cpp.spec +++ b/abseil-cpp.spec @@ -3,7 +3,7 @@ Name: abseil-cpp Version: 20240722.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: C++ Common Libraries # The entire source is Apache-2.0, except: @@ -24,6 +24,10 @@ License: Apache-2.0 AND LicenseRef-Fedora-Public-Domain URL: https://abseil.io Source: https://github.com/abseil/abseil-cpp/archive/%{version}/%{name}-%{version}.tar.gz +# container/internal: Explicitly include +# https://github.com/abseil/abseil-cpp/pull/1739 +Patch: https://github.com/abseil/abseil-cpp/pull/1739.patch + BuildRequires: cmake # The default make backend would work just as well; ninja is observably faster BuildRequires: ninja-build @@ -249,6 +253,9 @@ skips="${skips})$" %{_libdir}/pkgconfig/absl_*.pc %changelog +* Thu Jan 09 2025 Benjamin A. Beasley - 20240722.0-3 +- Patch for GCC 15 (fix RHBZ#2336266) + * Wed Jan 08 2025 Benjamin A. Beasley - 20240722.0-2 - Report and skip a test regression on ppc64le From 0a5109b6ad16078ba6b498ac26712b2ab8b9c5fc Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 16 Jan 2025 10:29:40 +0000 Subject: [PATCH 10/23] Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild --- abseil-cpp.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/abseil-cpp.spec b/abseil-cpp.spec index 04c477c..e5ec84d 100644 --- a/abseil-cpp.spec +++ b/abseil-cpp.spec @@ -3,7 +3,7 @@ Name: abseil-cpp Version: 20240722.0 -Release: 3%{?dist} +Release: 4%{?dist} Summary: C++ Common Libraries # The entire source is Apache-2.0, except: @@ -253,6 +253,9 @@ skips="${skips})$" %{_libdir}/pkgconfig/absl_*.pc %changelog +* Thu Jan 16 2025 Fedora Release Engineering - 20240722.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + * Thu Jan 09 2025 Benjamin A. Beasley - 20240722.0-3 - Patch for GCC 15 (fix RHBZ#2336266) From 3c0947e8e69758087959da3c0602d2ae7ee3ff60 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Wed, 22 Jan 2025 14:19:41 -0500 Subject: [PATCH 11/23] Rebuilt for gtest 1.15.2 --- abseil-cpp.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/abseil-cpp.spec b/abseil-cpp.spec index e5ec84d..fc21503 100644 --- a/abseil-cpp.spec +++ b/abseil-cpp.spec @@ -3,7 +3,7 @@ Name: abseil-cpp Version: 20240722.0 -Release: 4%{?dist} +Release: 5%{?dist} Summary: C++ Common Libraries # The entire source is Apache-2.0, except: @@ -253,6 +253,9 @@ skips="${skips})$" %{_libdir}/pkgconfig/absl_*.pc %changelog +* Wed Jan 22 2025 Benjamin A. Beasley - 20240722.0-5 +- Rebuilt for gtest 1.15.2 + * Thu Jan 16 2025 Fedora Release Engineering - 20240722.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild From a129e5dcf70c1e2b358fd80c85ee3bf0ad57723e Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Fri, 24 Jan 2025 07:44:33 -0500 Subject: [PATCH 12/23] Update to 20240722.1 (close RHBZ#2341808) --- .gitignore | 1 + abseil-cpp.spec | 7 +++++-- sources | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 8bd189f..e659255 100644 --- a/.gitignore +++ b/.gitignore @@ -13,3 +13,4 @@ /abseil-cpp-20240116.0.tar.gz /abseil-cpp-20240116.2.tar.gz /abseil-cpp-20240722.0.tar.gz +/abseil-cpp-20240722.1.tar.gz diff --git a/abseil-cpp.spec b/abseil-cpp.spec index fc21503..5cb3b02 100644 --- a/abseil-cpp.spec +++ b/abseil-cpp.spec @@ -2,8 +2,8 @@ %global lib_version 2407.0.0 Name: abseil-cpp -Version: 20240722.0 -Release: 5%{?dist} +Version: 20240722.1 +Release: 1%{?dist} Summary: C++ Common Libraries # The entire source is Apache-2.0, except: @@ -253,6 +253,9 @@ skips="${skips})$" %{_libdir}/pkgconfig/absl_*.pc %changelog +* Fri Jan 24 2025 Benjamin A. Beasley - 20240722.1-1 +- Update to 20240722.1 (close RHBZ#2341808) + * Wed Jan 22 2025 Benjamin A. Beasley - 20240722.0-5 - Rebuilt for gtest 1.15.2 diff --git a/sources b/sources index 842d69a..93f68f1 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (abseil-cpp-20240722.0.tar.gz) = bd2cca8f007f2eee66f51c95a979371622b850ceb2ce3608d00ba826f7c494a1da0fba3c1427728f2c173fe50d59b701da35c2c9fdad2752a5a49746b1c8ef31 +SHA512 (abseil-cpp-20240722.1.tar.gz) = 6062a10220d1250127e2216cea65833f10f37459331254b59df437b5061af81a9645cab39479700cf1843ef7dee51fe125241b0ecb9f715705a45dce4ffae89e From 0e3dfdaeae8335b19b9bcb625ea56d3a905f3dd6 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Tue, 4 Feb 2025 12:54:53 -0500 Subject: [PATCH 13/23] Update to 20250127.0 (close RHBZ#2343779) --- .gitignore | 1 + 1739.patch | 38 ------------------- abseil-cpp.spec | 21 +++++++--- ...e6c0a9a25e16fd2a1ae671a9cacfa79625b4.patch | 26 +++++++++++++ sources | 2 +- 5 files changed, 44 insertions(+), 44 deletions(-) delete mode 100644 1739.patch create mode 100644 f004e6c0a9a25e16fd2a1ae671a9cacfa79625b4.patch diff --git a/.gitignore b/.gitignore index e659255..6ec58d5 100644 --- a/.gitignore +++ b/.gitignore @@ -14,3 +14,4 @@ /abseil-cpp-20240116.2.tar.gz /abseil-cpp-20240722.0.tar.gz /abseil-cpp-20240722.1.tar.gz +/abseil-cpp-20250127.0.tar.gz diff --git a/1739.patch b/1739.patch deleted file mode 100644 index ca0c47d..0000000 --- a/1739.patch +++ /dev/null @@ -1,38 +0,0 @@ -From faf1b03a591f06933da02976119da5743f428e4f Mon Sep 17 00:00:00 2001 -From: Christopher Fore -Date: Mon, 5 Aug 2024 10:48:19 -0400 -Subject: [PATCH] container/internal: Explicitly include -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -GCC 15 will no longer include by default, resulting in build -failures in projects that do not explicitly include it. - -Error: -absl/container/internal/container_memory.h:66:27: error: ‘uintptr_t’ does not name a type - 66 | assert(reinterpret_cast(p) % Alignment == 0 && - | ^~~~~~~~~ -absl/container/internal/container_memory.h:31:1: note: ‘uintptr_t’ is defined in header ‘’; this is probably fixable by adding ‘#include ’ - 30 | #include "absl/utility/utility.h" - +++ |+#include - 31 | - -See-also: https://gcc.gnu.org/pipermail/gcc-cvs/2024-August/407124.html -Signed-off-by: Christopher Fore ---- - absl/container/internal/container_memory.h | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/absl/container/internal/container_memory.h b/absl/container/internal/container_memory.h -index ba8e08a2d22..e7031797018 100644 ---- a/absl/container/internal/container_memory.h -+++ b/absl/container/internal/container_memory.h -@@ -17,6 +17,7 @@ - - #include - #include -+#include - #include - #include - #include diff --git a/abseil-cpp.spec b/abseil-cpp.spec index 5cb3b02..b7a5f0d 100644 --- a/abseil-cpp.spec +++ b/abseil-cpp.spec @@ -1,8 +1,8 @@ # Installed library version -%global lib_version 2407.0.0 +%global lib_version 2501.0.0 Name: abseil-cpp -Version: 20240722.1 +Version: 20250127.0 Release: 1%{?dist} Summary: C++ Common Libraries @@ -24,9 +24,15 @@ License: Apache-2.0 AND LicenseRef-Fedora-Public-Domain URL: https://abseil.io Source: https://github.com/abseil/abseil-cpp/archive/%{version}/%{name}-%{version}.tar.gz -# container/internal: Explicitly include -# https://github.com/abseil/abseil-cpp/pull/1739 -Patch: https://github.com/abseil/abseil-cpp/pull/1739.patch +# Disable the DestroyedCallsFail test on GCC due to flakiness. +# https://github.com/abseil/abseil-cpp/commit/f004e6c0a9a25e16fd2a1ae671a9cacfa79625b4 +# +# Fixes: +# +# [Bug]: In 20250127.0, flaky failures of Table.DestroyedCallsFail fails in +# absl_raw_hash_set_test +# https://github.com/abseil/abseil-cpp/issues/1834 +Patch: https://github.com/abseil/abseil-cpp/commit/f004e6c0a9a25e16fd2a1ae671a9cacfa79625b4.patch BuildRequires: cmake # The default make backend would work just as well; ninja is observably faster @@ -184,6 +190,7 @@ skips="${skips})$" %{_libdir}/libabsl_log_internal_message.so.%{lib_version} %{_libdir}/libabsl_log_internal_nullguard.so.%{lib_version} %{_libdir}/libabsl_log_internal_proto.so.%{lib_version} +%{_libdir}/libabsl_log_internal_structured_proto.so.%{lib_version} %{_libdir}/libabsl_log_severity.so.%{lib_version} %{_libdir}/libabsl_log_sink.so.%{lib_version} %{_libdir}/libabsl_low_level_hash.so.%{lib_version} @@ -218,6 +225,7 @@ skips="${skips})$" %{_libdir}/libabsl_throw_delegate.so.%{lib_version} %{_libdir}/libabsl_time.so.%{lib_version} %{_libdir}/libabsl_time_zone.so.%{lib_version} +%{_libdir}/libabsl_tracing_internal.so.%{lib_version} %{_libdir}/libabsl_utf8_for_code_point.so.%{lib_version} %{_libdir}/libabsl_vlog_config_internal.so.%{lib_version} @@ -253,6 +261,9 @@ skips="${skips})$" %{_libdir}/pkgconfig/absl_*.pc %changelog +* Tue Feb 04 2025 Benjamin A. Beasley - 20250127.0-1 +- Update to 20250127.0 (close RHBZ#2343779) + * Fri Jan 24 2025 Benjamin A. Beasley - 20240722.1-1 - Update to 20240722.1 (close RHBZ#2341808) diff --git a/f004e6c0a9a25e16fd2a1ae671a9cacfa79625b4.patch b/f004e6c0a9a25e16fd2a1ae671a9cacfa79625b4.patch new file mode 100644 index 0000000..e0142b0 --- /dev/null +++ b/f004e6c0a9a25e16fd2a1ae671a9cacfa79625b4.patch @@ -0,0 +1,26 @@ +From f004e6c0a9a25e16fd2a1ae671a9cacfa79625b4 Mon Sep 17 00:00:00 2001 +From: Evan Brown +Date: Thu, 13 Feb 2025 16:11:49 -0800 +Subject: [PATCH] Disable the DestroyedCallsFail test on GCC due to flakiness. + +Fixes #1834. + +PiperOrigin-RevId: 726674816 +Change-Id: Icfbc73c8fac687819e9d94472a3071aa687f5c37 +--- + absl/container/internal/raw_hash_set_test.cc | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/absl/container/internal/raw_hash_set_test.cc b/absl/container/internal/raw_hash_set_test.cc +index b03934dd4d6..e04add6efff 100644 +--- a/absl/container/internal/raw_hash_set_test.cc ++++ b/absl/container/internal/raw_hash_set_test.cc +@@ -3782,6 +3782,8 @@ TEST(Table, ReentrantCallsFail) { + TEST(Table, DestroyedCallsFail) { + #ifdef NDEBUG + GTEST_SKIP() << "Destroyed checks only enabled in debug mode."; ++#elif !defined(__clang__) && defined(__GNUC__) ++ GTEST_SKIP() << "Flaky on GCC."; + #else + absl::optional t; + t.emplace({1}); diff --git a/sources b/sources index 93f68f1..e661046 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (abseil-cpp-20240722.1.tar.gz) = 6062a10220d1250127e2216cea65833f10f37459331254b59df437b5061af81a9645cab39479700cf1843ef7dee51fe125241b0ecb9f715705a45dce4ffae89e +SHA512 (abseil-cpp-20250127.0.tar.gz) = 2a021faad807ee3e23548716ffa4785dc2409edbb4be676cc4bc01d47885760de340f0a4afdcbf0aaa835affd6d78f7bc319bbf7d337dbc30e7a559d0088e4bd From 88208870694a0791679a848f67964a8d1fd834e5 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Wed, 19 Mar 2025 16:06:45 -0400 Subject: [PATCH 14/23] Update to 20250127.1 (close RHBZ#2353223) --- .gitignore | 1 + abseil-cpp.spec | 5 ++++- sources | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 6ec58d5..7616849 100644 --- a/.gitignore +++ b/.gitignore @@ -15,3 +15,4 @@ /abseil-cpp-20240722.0.tar.gz /abseil-cpp-20240722.1.tar.gz /abseil-cpp-20250127.0.tar.gz +/abseil-cpp-20250127.1.tar.gz diff --git a/abseil-cpp.spec b/abseil-cpp.spec index b7a5f0d..73bbe74 100644 --- a/abseil-cpp.spec +++ b/abseil-cpp.spec @@ -2,7 +2,7 @@ %global lib_version 2501.0.0 Name: abseil-cpp -Version: 20250127.0 +Version: 20250127.1 Release: 1%{?dist} Summary: C++ Common Libraries @@ -261,6 +261,9 @@ skips="${skips})$" %{_libdir}/pkgconfig/absl_*.pc %changelog +* Wed Mar 19 2025 Benjamin A. Beasley - 20250127.1-1 +- Update to 20250127.1 (close RHBZ#2353223) + * Tue Feb 04 2025 Benjamin A. Beasley - 20250127.0-1 - Update to 20250127.0 (close RHBZ#2343779) diff --git a/sources b/sources index e661046..b7b41ac 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (abseil-cpp-20250127.0.tar.gz) = 2a021faad807ee3e23548716ffa4785dc2409edbb4be676cc4bc01d47885760de340f0a4afdcbf0aaa835affd6d78f7bc319bbf7d337dbc30e7a559d0088e4bd +SHA512 (abseil-cpp-20250127.1.tar.gz) = 8312acf0ed74fa28c6397f3e41ada656dbd5ca2bf8db484319d74b144ad19c0ebdc77f7f03436be6c6ca1cde706b9055079233cf0d6b5ada4ca48406f8a55dd8 From b3c8ea51b1b74f91cff1f8a8160a399c18d7519b Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Wed, 14 May 2025 20:40:42 -0400 Subject: [PATCH 15/23] Update to 20250512.0 (close RHBZ#2366373) --- .gitignore | 1 + ...race.FixupNoFixupEquivalence-on-i386.patch | 27 +++++++++++++++ 1888.patch | 24 ++++++++++++++ abseil-cpp.spec | 33 ++++++++++--------- ...e6c0a9a25e16fd2a1ae671a9cacfa79625b4.patch | 26 --------------- sources | 2 +- 6 files changed, 70 insertions(+), 43 deletions(-) create mode 100644 0001-Skip-StackTrace.FixupNoFixupEquivalence-on-i386.patch create mode 100644 1888.patch delete mode 100644 f004e6c0a9a25e16fd2a1ae671a9cacfa79625b4.patch diff --git a/.gitignore b/.gitignore index 7616849..1d9c899 100644 --- a/.gitignore +++ b/.gitignore @@ -16,3 +16,4 @@ /abseil-cpp-20240722.1.tar.gz /abseil-cpp-20250127.0.tar.gz /abseil-cpp-20250127.1.tar.gz +/abseil-cpp-20250512.0.tar.gz diff --git a/0001-Skip-StackTrace.FixupNoFixupEquivalence-on-i386.patch b/0001-Skip-StackTrace.FixupNoFixupEquivalence-on-i386.patch new file mode 100644 index 0000000..a3346ce --- /dev/null +++ b/0001-Skip-StackTrace.FixupNoFixupEquivalence-on-i386.patch @@ -0,0 +1,27 @@ +From 27e209f0e0270d2c7b6e64eeb5ca5a63843970fd Mon Sep 17 00:00:00 2001 +From: "Benjamin A. Beasley" +Date: Thu, 15 May 2025 07:05:44 -0400 +Subject: [PATCH] Skip StackTrace.FixupNoFixupEquivalence on i386 + +https://github.com/abseil/abseil-cpp/issues/1887 +--- + absl/debugging/stacktrace_test.cc | 3 +++ + 1 file changed, 3 insertions(+) + +diff --git a/absl/debugging/stacktrace_test.cc b/absl/debugging/stacktrace_test.cc +index e5565c1f..56cf3326 100644 +--- a/absl/debugging/stacktrace_test.cc ++++ b/absl/debugging/stacktrace_test.cc +@@ -88,6 +88,9 @@ ABSL_ATTRIBUTE_NOINLINE static void FixupNoFixupEquivalenceNoInline() { + #if defined(__riscv) + GTEST_SKIP() << "Skipping test on RISC-V due to pre-existing failure"; + #endif ++#if defined(__i386__) ++ GTEST_SKIP() << "https://github.com/abseil/abseil-cpp/issues/1887"; ++#endif + + #if ABSL_HAVE_ATTRIBUTE_WEAK + // This test is known not to pass on MSVC (due to weak symbols) +-- +2.49.0 + diff --git a/1888.patch b/1888.patch new file mode 100644 index 0000000..719de6d --- /dev/null +++ b/1888.patch @@ -0,0 +1,24 @@ +From 395acb74da05fa35d924059a170ebd8267356b65 Mon Sep 17 00:00:00 2001 +From: "Benjamin A. Beasley" +Date: Thu, 15 May 2025 06:55:00 -0400 +Subject: [PATCH] Adjust Table.GrowExtremelyLargeTable to avoid OOM on i386 + +--- + absl/container/internal/raw_hash_set_test.cc | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/absl/container/internal/raw_hash_set_test.cc b/absl/container/internal/raw_hash_set_test.cc +index a5cbd44d3b2..2c55d0fc079 100644 +--- a/absl/container/internal/raw_hash_set_test.cc ++++ b/absl/container/internal/raw_hash_set_test.cc +@@ -4267,8 +4267,8 @@ struct ConstUint8Hash { + // 5. Finally we will catch up and go to overflow codepath. + TEST(Table, GrowExtremelyLargeTable) { + constexpr size_t kTargetCapacity = +-#if defined(__wasm__) || defined(__asmjs__) +- NextCapacity(ProbedItem4Bytes::kMaxNewCapacity); // OOMs on WASM. ++#if defined(__wasm__) || defined(__asmjs__) || defined(__i386__) ++ NextCapacity(ProbedItem4Bytes::kMaxNewCapacity); // OOMs on WASM, 32-bit. + #else + NextCapacity(ProbedItem8Bytes::kMaxNewCapacity); + #endif diff --git a/abseil-cpp.spec b/abseil-cpp.spec index 73bbe74..b963581 100644 --- a/abseil-cpp.spec +++ b/abseil-cpp.spec @@ -1,8 +1,8 @@ # Installed library version -%global lib_version 2501.0.0 +%global lib_version 2505.0.0 Name: abseil-cpp -Version: 20250127.1 +Version: 20250512.0 Release: 1%{?dist} Summary: C++ Common Libraries @@ -24,15 +24,17 @@ License: Apache-2.0 AND LicenseRef-Fedora-Public-Domain URL: https://abseil.io Source: https://github.com/abseil/abseil-cpp/archive/%{version}/%{name}-%{version}.tar.gz -# Disable the DestroyedCallsFail test on GCC due to flakiness. -# https://github.com/abseil/abseil-cpp/commit/f004e6c0a9a25e16fd2a1ae671a9cacfa79625b4 -# -# Fixes: -# -# [Bug]: In 20250127.0, flaky failures of Table.DestroyedCallsFail fails in -# absl_raw_hash_set_test -# https://github.com/abseil/abseil-cpp/issues/1834 -Patch: https://github.com/abseil/abseil-cpp/commit/f004e6c0a9a25e16fd2a1ae671a9cacfa79625b4.patch +# Adjust Table.GrowExtremelyLargeTable to avoid OOM on i386 +# https://github.com/abseil/abseil-cpp/pull/1888 +# Partial fix for: +# [Bug]: Test regressions in 20250512.0 on i686 +# https://github.com/abseil/abseil-cpp/issues/1887 +Patch: https://github.com/abseil/abseil-cpp/pull/1888.patch + +# Skip StackTrace.FixupNoFixupEquivalence on i386 +# Downstream-only, because it does not address the root cause: +# https://github.com/abseil/abseil-cpp/issues/1887 +Patch: 0001-Skip-StackTrace.FixupNoFixupEquivalence-on-i386.patch BuildRequires: cmake # The default make backend would work just as well; ninja is observably faster @@ -136,9 +138,6 @@ skips="${skips})$" %doc FAQ.md README.md UPGRADES.md # All shared libraries except installed TESTONLY libraries; see the %%files # list for the -testing subpackage for those. -%{_libdir}/libabsl_bad_any_cast_impl.so.%{lib_version} -%{_libdir}/libabsl_bad_optional_access.so.%{lib_version} -%{_libdir}/libabsl_bad_variant_access.so.%{lib_version} %{_libdir}/libabsl_base.so.%{lib_version} %{_libdir}/libabsl_city.so.%{lib_version} %{_libdir}/libabsl_civil_time.so.%{lib_version} @@ -177,7 +176,6 @@ skips="${skips})$" %{_libdir}/libabsl_int128.so.%{lib_version} %{_libdir}/libabsl_kernel_timeout_internal.so.%{lib_version} %{_libdir}/libabsl_leak_check.so.%{lib_version} -%{_libdir}/libabsl_log_entry.so.%{lib_version} %{_libdir}/libabsl_log_flags.so.%{lib_version} %{_libdir}/libabsl_log_globals.so.%{lib_version} %{_libdir}/libabsl_log_initialize.so.%{lib_version} @@ -199,8 +197,8 @@ skips="${skips})$" %{_libdir}/libabsl_poison.so.%{lib_version} %{_libdir}/libabsl_random_distributions.so.%{lib_version} %{_libdir}/libabsl_random_internal_distribution_test_util.so.%{lib_version} +%{_libdir}/libabsl_random_internal_entropy_pool.so.%{lib_version} %{_libdir}/libabsl_random_internal_platform.so.%{lib_version} -%{_libdir}/libabsl_random_internal_pool_urbg.so.%{lib_version} %{_libdir}/libabsl_random_internal_randen.so.%{lib_version} %{_libdir}/libabsl_random_internal_randen_hwaes.so.%{lib_version} %{_libdir}/libabsl_random_internal_randen_hwaes_impl.so.%{lib_version} @@ -261,6 +259,9 @@ skips="${skips})$" %{_libdir}/pkgconfig/absl_*.pc %changelog +* Thu May 15 2025 Benjamin A. Beasley - 20250512.0-1 +- Update to 20250512.0 (close RHBZ#2366373) + * Wed Mar 19 2025 Benjamin A. Beasley - 20250127.1-1 - Update to 20250127.1 (close RHBZ#2353223) diff --git a/f004e6c0a9a25e16fd2a1ae671a9cacfa79625b4.patch b/f004e6c0a9a25e16fd2a1ae671a9cacfa79625b4.patch deleted file mode 100644 index e0142b0..0000000 --- a/f004e6c0a9a25e16fd2a1ae671a9cacfa79625b4.patch +++ /dev/null @@ -1,26 +0,0 @@ -From f004e6c0a9a25e16fd2a1ae671a9cacfa79625b4 Mon Sep 17 00:00:00 2001 -From: Evan Brown -Date: Thu, 13 Feb 2025 16:11:49 -0800 -Subject: [PATCH] Disable the DestroyedCallsFail test on GCC due to flakiness. - -Fixes #1834. - -PiperOrigin-RevId: 726674816 -Change-Id: Icfbc73c8fac687819e9d94472a3071aa687f5c37 ---- - absl/container/internal/raw_hash_set_test.cc | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/absl/container/internal/raw_hash_set_test.cc b/absl/container/internal/raw_hash_set_test.cc -index b03934dd4d6..e04add6efff 100644 ---- a/absl/container/internal/raw_hash_set_test.cc -+++ b/absl/container/internal/raw_hash_set_test.cc -@@ -3782,6 +3782,8 @@ TEST(Table, ReentrantCallsFail) { - TEST(Table, DestroyedCallsFail) { - #ifdef NDEBUG - GTEST_SKIP() << "Destroyed checks only enabled in debug mode."; -+#elif !defined(__clang__) && defined(__GNUC__) -+ GTEST_SKIP() << "Flaky on GCC."; - #else - absl::optional t; - t.emplace({1}); diff --git a/sources b/sources index b7b41ac..51b3a8c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (abseil-cpp-20250127.1.tar.gz) = 8312acf0ed74fa28c6397f3e41ada656dbd5ca2bf8db484319d74b144ad19c0ebdc77f7f03436be6c6ca1cde706b9055079233cf0d6b5ada4ca48406f8a55dd8 +SHA512 (abseil-cpp-20250512.0.tar.gz) = 92542db666e0c628cf56bf8ad09412af9c8b622e4f26e72d1e1b092ceec430a5c105f6561e2d9983af565f55da07f67e770cafe373b20cc4cb29a893a6a236fc From c492497a4fe441b3b12202f2092a579b0978490e Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 23 Jul 2025 16:42:48 +0000 Subject: [PATCH 16/23] Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild --- abseil-cpp.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/abseil-cpp.spec b/abseil-cpp.spec index b963581..6cc64ee 100644 --- a/abseil-cpp.spec +++ b/abseil-cpp.spec @@ -3,7 +3,7 @@ Name: abseil-cpp Version: 20250512.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: C++ Common Libraries # The entire source is Apache-2.0, except: @@ -259,6 +259,9 @@ skips="${skips})$" %{_libdir}/pkgconfig/absl_*.pc %changelog +* Wed Jul 23 2025 Fedora Release Engineering - 20250512.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + * Thu May 15 2025 Benjamin A. Beasley - 20250512.0-1 - Update to 20250512.0 (close RHBZ#2366373) From d3dff91b47a1cf3c4075aee4472e9ea3a7ca1566 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Fri, 15 Aug 2025 06:54:48 -0400 Subject: [PATCH 17/23] Convert to %autorelease and %autochangelog [skip changelog] --- abseil-cpp.spec | 144 +----------------------------------------------- changelog | 141 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 143 insertions(+), 142 deletions(-) create mode 100644 changelog diff --git a/abseil-cpp.spec b/abseil-cpp.spec index 6cc64ee..0076cd8 100644 --- a/abseil-cpp.spec +++ b/abseil-cpp.spec @@ -3,7 +3,7 @@ Name: abseil-cpp Version: 20250512.0 -Release: 2%{?dist} +Release: %autorelease Summary: C++ Common Libraries # The entire source is Apache-2.0, except: @@ -259,144 +259,4 @@ skips="${skips})$" %{_libdir}/pkgconfig/absl_*.pc %changelog -* Wed Jul 23 2025 Fedora Release Engineering - 20250512.0-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild - -* Thu May 15 2025 Benjamin A. Beasley - 20250512.0-1 -- Update to 20250512.0 (close RHBZ#2366373) - -* Wed Mar 19 2025 Benjamin A. Beasley - 20250127.1-1 -- Update to 20250127.1 (close RHBZ#2353223) - -* Tue Feb 04 2025 Benjamin A. Beasley - 20250127.0-1 -- Update to 20250127.0 (close RHBZ#2343779) - -* Fri Jan 24 2025 Benjamin A. Beasley - 20240722.1-1 -- Update to 20240722.1 (close RHBZ#2341808) - -* Wed Jan 22 2025 Benjamin A. Beasley - 20240722.0-5 -- Rebuilt for gtest 1.15.2 - -* Thu Jan 16 2025 Fedora Release Engineering - 20240722.0-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild - -* Thu Jan 09 2025 Benjamin A. Beasley - 20240722.0-3 -- Patch for GCC 15 (fix RHBZ#2336266) - -* Wed Jan 08 2025 Benjamin A. Beasley - 20240722.0-2 -- Report and skip a test regression on ppc64le - -* Sat Aug 03 2024 Benjamin A. Beasley - 20240722.0-1 -- Update to 20240722.0 (close RHBZ#2302537) - -* Wed Jul 17 2024 Fedora Release Engineering - 20240116.2-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild - -* Wed Jul 03 2024 Benjamin A. Beasley - 20240116.2-3 -- Rebuilt with upstream patch for NegativeNaN test failure on riscv64 - -* Wed May 29 2024 David Abdurachmanov - 20240116.2-2 -- Disable NegativeNaN test on riscv64 - -* Tue Apr 09 2024 Benjamin A. Beasley - 20240116.2-1 -- Update to 20240116.2 (close RHBZ#2274172) - -* Wed Jan 24 2024 Benjamin A. Beasley - 20240116.0-1 -- Update to 20240116.0 - -* Mon Jan 22 2024 Fedora Release Engineering - 20230802.1-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild - -* Fri Jan 19 2024 Fedora Release Engineering - 20230802.1-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild - -* Tue Oct 31 2023 Benjamin A. Beasley - 20230802.1-2 -- Rebuild for gtest 1.14.0 - -* Wed Sep 20 2023 Benjamin A. Beasley - 20230802.1-1 -- Update to 20230802.1 (close RHBZ#2239814) - -* Thu Aug 10 2023 Benjamin A. Beasley - 20230802.0-1 -- Update to 20230802.0 (Abseil LTS branch, Aug 2023): close RHBZ#2229015 - -* Wed Jul 19 2023 Fedora Release Engineering - 20230125.3-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild - -* Tue May 09 2023 Benjamin A. Beasley - 20230125.3-1 -- Update to 20230125.3 (close RHBZ#2193306) -- Split installed TESTONLY libraries into a -testing subpackage; explicitly - list all installed shared libraries -- Explicitly enable the ABSL_BUILD_TEST_HELPERS CMake option - -* Thu Mar 30 2023 Benjamin A. Beasley - 20230125.2-1 -- Update to 20230125.2 (close RHBZ#2182229) - -* Thu Feb 23 2023 Benjamin A. Beasley - 20230125.1-1 -- Update to 20230125.1 (close RHBZ#2162638) - -* Sat Jan 21 2023 Benjamin A. Beasley - 20220623.1-4 -- Backport upstream commit 4eef161 for GCC 13 - -* Wed Jan 18 2023 Fedora Release Engineering - 20220623.1-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild - -* Fri Sep 02 2022 Benjamin A. Beasley - 20220623.1-2 -- Update to 20220623.1 (close RHBZ#2123181) - -* Sat Aug 13 2022 Benjamin A. Beasley - 20220623.0-1 -- Update to 20220623.0 (close RHBZ#2101021) -- Update License to SPDX - -* Fri Jul 29 2022 Benjamin A. Beasley - 20211102.0-4 -- Do not leak -maes -msse4.1 into pkgconfig (fix RHBZ#2108658) - -* Wed Jul 20 2022 Fedora Release Engineering - 20211102.0-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild - -* Tue Mar 15 2022 Benjamin A. Beasley - 20211102.0-2 -- Disable LTO on s390x to work around test failure -- Skip SysinfoTest.NominalCPUFrequency on all architectures; it fails - occasionally on aarch64, and upstream says we should not care - -* Fri Feb 18 2022 Benjamin A. Beasley - 20211102.0-1 -- Update to 20211102.0 (close RHBZ#2019691) -- Drop --output-on-failure, already in %%ctest expansion -- On s390x, instead of ignoring all tests, skip only the single failing test -- Use ninja backend for CMake: speeds up build with no downsides -- Drop patch for armv7hl - -* Mon Jan 31 2022 Benjamin A. Beasley - 20210324.2-4 -- Fix test failure (fix RHBZ#2045186) - -* Wed Jan 19 2022 Fedora Release Engineering - 20210324.2-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild - -* Wed Jul 21 2021 Fedora Release Engineering - 20210324.2-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild - -* Fri May 21 2021 Rich Mattes - 20210324.1-2 -- Update to release 20210324.2 -- Enable and run test suite - -* Mon Mar 08 2021 Rich Mattes - 20200923.3-1 -- Update to release 20200923.3 - -* Mon Jan 25 2021 Fedora Release Engineering - 20200923.2-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild - -* Sat Dec 19 2020 Rich Mattes - 20200923.2-1 -- Update to release 20200923.2 -- Rebuild to fix tagging in koji (rhbz#1885561) - -* Fri Jul 31 2020 Fedora Release Engineering - 20200225.2-4 -- Second attempt - Rebuilt for - https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - -* Mon Jul 27 2020 Fedora Release Engineering - 20200225.2-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - -* Wed May 27 2020 Rich Mattes - 20200225.2-2 -- Don't remove buildroot in install - -* Sun May 24 2020 Rich Mattes - 20200225.2-1 -- Initial package. +%autochangelog diff --git a/changelog b/changelog new file mode 100644 index 0000000..21dab46 --- /dev/null +++ b/changelog @@ -0,0 +1,141 @@ +* Wed Jul 23 2025 Fedora Release Engineering - 20250512.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + +* Thu May 15 2025 Benjamin A. Beasley - 20250512.0-1 +- Update to 20250512.0 (close RHBZ#2366373) + +* Wed Mar 19 2025 Benjamin A. Beasley - 20250127.1-1 +- Update to 20250127.1 (close RHBZ#2353223) + +* Tue Feb 04 2025 Benjamin A. Beasley - 20250127.0-1 +- Update to 20250127.0 (close RHBZ#2343779) + +* Fri Jan 24 2025 Benjamin A. Beasley - 20240722.1-1 +- Update to 20240722.1 (close RHBZ#2341808) + +* Wed Jan 22 2025 Benjamin A. Beasley - 20240722.0-5 +- Rebuilt for gtest 1.15.2 + +* Thu Jan 16 2025 Fedora Release Engineering - 20240722.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + +* Thu Jan 09 2025 Benjamin A. Beasley - 20240722.0-3 +- Patch for GCC 15 (fix RHBZ#2336266) + +* Wed Jan 08 2025 Benjamin A. Beasley - 20240722.0-2 +- Report and skip a test regression on ppc64le + +* Sat Aug 03 2024 Benjamin A. Beasley - 20240722.0-1 +- Update to 20240722.0 (close RHBZ#2302537) + +* Wed Jul 17 2024 Fedora Release Engineering - 20240116.2-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Wed Jul 03 2024 Benjamin A. Beasley - 20240116.2-3 +- Rebuilt with upstream patch for NegativeNaN test failure on riscv64 + +* Wed May 29 2024 David Abdurachmanov - 20240116.2-2 +- Disable NegativeNaN test on riscv64 + +* Tue Apr 09 2024 Benjamin A. Beasley - 20240116.2-1 +- Update to 20240116.2 (close RHBZ#2274172) + +* Wed Jan 24 2024 Benjamin A. Beasley - 20240116.0-1 +- Update to 20240116.0 + +* Mon Jan 22 2024 Fedora Release Engineering - 20230802.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Fri Jan 19 2024 Fedora Release Engineering - 20230802.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Tue Oct 31 2023 Benjamin A. Beasley - 20230802.1-2 +- Rebuild for gtest 1.14.0 + +* Wed Sep 20 2023 Benjamin A. Beasley - 20230802.1-1 +- Update to 20230802.1 (close RHBZ#2239814) + +* Thu Aug 10 2023 Benjamin A. Beasley - 20230802.0-1 +- Update to 20230802.0 (Abseil LTS branch, Aug 2023): close RHBZ#2229015 + +* Wed Jul 19 2023 Fedora Release Engineering - 20230125.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Tue May 09 2023 Benjamin A. Beasley - 20230125.3-1 +- Update to 20230125.3 (close RHBZ#2193306) +- Split installed TESTONLY libraries into a -testing subpackage; explicitly + list all installed shared libraries +- Explicitly enable the ABSL_BUILD_TEST_HELPERS CMake option + +* Thu Mar 30 2023 Benjamin A. Beasley - 20230125.2-1 +- Update to 20230125.2 (close RHBZ#2182229) + +* Thu Feb 23 2023 Benjamin A. Beasley - 20230125.1-1 +- Update to 20230125.1 (close RHBZ#2162638) + +* Sat Jan 21 2023 Benjamin A. Beasley - 20220623.1-4 +- Backport upstream commit 4eef161 for GCC 13 + +* Wed Jan 18 2023 Fedora Release Engineering - 20220623.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Fri Sep 02 2022 Benjamin A. Beasley - 20220623.1-2 +- Update to 20220623.1 (close RHBZ#2123181) + +* Sat Aug 13 2022 Benjamin A. Beasley - 20220623.0-1 +- Update to 20220623.0 (close RHBZ#2101021) +- Update License to SPDX + +* Fri Jul 29 2022 Benjamin A. Beasley - 20211102.0-4 +- Do not leak -maes -msse4.1 into pkgconfig (fix RHBZ#2108658) + +* Wed Jul 20 2022 Fedora Release Engineering - 20211102.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Tue Mar 15 2022 Benjamin A. Beasley - 20211102.0-2 +- Disable LTO on s390x to work around test failure +- Skip SysinfoTest.NominalCPUFrequency on all architectures; it fails + occasionally on aarch64, and upstream says we should not care + +* Fri Feb 18 2022 Benjamin A. Beasley - 20211102.0-1 +- Update to 20211102.0 (close RHBZ#2019691) +- Drop --output-on-failure, already in %%ctest expansion +- On s390x, instead of ignoring all tests, skip only the single failing test +- Use ninja backend for CMake: speeds up build with no downsides +- Drop patch for armv7hl + +* Mon Jan 31 2022 Benjamin A. Beasley - 20210324.2-4 +- Fix test failure (fix RHBZ#2045186) + +* Wed Jan 19 2022 Fedora Release Engineering - 20210324.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Wed Jul 21 2021 Fedora Release Engineering - 20210324.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Fri May 21 2021 Rich Mattes - 20210324.1-2 +- Update to release 20210324.2 +- Enable and run test suite + +* Mon Mar 08 2021 Rich Mattes - 20200923.3-1 +- Update to release 20200923.3 + +* Mon Jan 25 2021 Fedora Release Engineering - 20200923.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Sat Dec 19 2020 Rich Mattes - 20200923.2-1 +- Update to release 20200923.2 +- Rebuild to fix tagging in koji (rhbz#1885561) + +* Fri Jul 31 2020 Fedora Release Engineering - 20200225.2-4 +- Second attempt - Rebuilt for + https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Mon Jul 27 2020 Fedora Release Engineering - 20200225.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Wed May 27 2020 Rich Mattes - 20200225.2-2 +- Don't remove buildroot in install + +* Sun May 24 2020 Rich Mattes - 20200225.2-1 +- Initial package. From cd61e639b5653839c64a9bd0bb1378a8fa885e19 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Fri, 15 Aug 2025 06:50:15 -0400 Subject: [PATCH 18/23] Update to 20250512.1 (close RHBZ#2388710) --- .gitignore | 1 + abseil-cpp.spec | 2 +- sources | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 1d9c899..6c1d88b 100644 --- a/.gitignore +++ b/.gitignore @@ -17,3 +17,4 @@ /abseil-cpp-20250127.0.tar.gz /abseil-cpp-20250127.1.tar.gz /abseil-cpp-20250512.0.tar.gz +/abseil-cpp-20250512.1.tar.gz diff --git a/abseil-cpp.spec b/abseil-cpp.spec index 0076cd8..66a8958 100644 --- a/abseil-cpp.spec +++ b/abseil-cpp.spec @@ -2,7 +2,7 @@ %global lib_version 2505.0.0 Name: abseil-cpp -Version: 20250512.0 +Version: 20250512.1 Release: %autorelease Summary: C++ Common Libraries diff --git a/sources b/sources index 51b3a8c..d12175c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (abseil-cpp-20250512.0.tar.gz) = 92542db666e0c628cf56bf8ad09412af9c8b622e4f26e72d1e1b092ceec430a5c105f6561e2d9983af565f55da07f67e770cafe373b20cc4cb29a893a6a236fc +SHA512 (abseil-cpp-20250512.1.tar.gz) = d3ba654ed7dd7b432494918b2de5d8e2b0ad1c42752c5d726f20d6fe2841828fb4e8beb853e3570a11efecef725029ce5ffa3ebc434efff007e7f60735eb9856 From b637f17a22b2e791ad10538fc63ec0e71dacec11 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Thu, 21 Aug 2025 08:03:49 -0400 Subject: [PATCH 19/23] Update to 20250814.0 (close RHBZ#2389295) --- .gitignore | 1 + ...race.FixupNoFixupEquivalence-on-i386.patch | 27 ------------------- 1888.patch | 24 ----------------- abseil-cpp.spec | 24 +++++++---------- sources | 2 +- 5 files changed, 11 insertions(+), 67 deletions(-) delete mode 100644 0001-Skip-StackTrace.FixupNoFixupEquivalence-on-i386.patch delete mode 100644 1888.patch diff --git a/.gitignore b/.gitignore index 6c1d88b..15a7c9d 100644 --- a/.gitignore +++ b/.gitignore @@ -18,3 +18,4 @@ /abseil-cpp-20250127.1.tar.gz /abseil-cpp-20250512.0.tar.gz /abseil-cpp-20250512.1.tar.gz +/abseil-cpp-20250814.0.tar.gz diff --git a/0001-Skip-StackTrace.FixupNoFixupEquivalence-on-i386.patch b/0001-Skip-StackTrace.FixupNoFixupEquivalence-on-i386.patch deleted file mode 100644 index a3346ce..0000000 --- a/0001-Skip-StackTrace.FixupNoFixupEquivalence-on-i386.patch +++ /dev/null @@ -1,27 +0,0 @@ -From 27e209f0e0270d2c7b6e64eeb5ca5a63843970fd Mon Sep 17 00:00:00 2001 -From: "Benjamin A. Beasley" -Date: Thu, 15 May 2025 07:05:44 -0400 -Subject: [PATCH] Skip StackTrace.FixupNoFixupEquivalence on i386 - -https://github.com/abseil/abseil-cpp/issues/1887 ---- - absl/debugging/stacktrace_test.cc | 3 +++ - 1 file changed, 3 insertions(+) - -diff --git a/absl/debugging/stacktrace_test.cc b/absl/debugging/stacktrace_test.cc -index e5565c1f..56cf3326 100644 ---- a/absl/debugging/stacktrace_test.cc -+++ b/absl/debugging/stacktrace_test.cc -@@ -88,6 +88,9 @@ ABSL_ATTRIBUTE_NOINLINE static void FixupNoFixupEquivalenceNoInline() { - #if defined(__riscv) - GTEST_SKIP() << "Skipping test on RISC-V due to pre-existing failure"; - #endif -+#if defined(__i386__) -+ GTEST_SKIP() << "https://github.com/abseil/abseil-cpp/issues/1887"; -+#endif - - #if ABSL_HAVE_ATTRIBUTE_WEAK - // This test is known not to pass on MSVC (due to weak symbols) --- -2.49.0 - diff --git a/1888.patch b/1888.patch deleted file mode 100644 index 719de6d..0000000 --- a/1888.patch +++ /dev/null @@ -1,24 +0,0 @@ -From 395acb74da05fa35d924059a170ebd8267356b65 Mon Sep 17 00:00:00 2001 -From: "Benjamin A. Beasley" -Date: Thu, 15 May 2025 06:55:00 -0400 -Subject: [PATCH] Adjust Table.GrowExtremelyLargeTable to avoid OOM on i386 - ---- - absl/container/internal/raw_hash_set_test.cc | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/absl/container/internal/raw_hash_set_test.cc b/absl/container/internal/raw_hash_set_test.cc -index a5cbd44d3b2..2c55d0fc079 100644 ---- a/absl/container/internal/raw_hash_set_test.cc -+++ b/absl/container/internal/raw_hash_set_test.cc -@@ -4267,8 +4267,8 @@ struct ConstUint8Hash { - // 5. Finally we will catch up and go to overflow codepath. - TEST(Table, GrowExtremelyLargeTable) { - constexpr size_t kTargetCapacity = --#if defined(__wasm__) || defined(__asmjs__) -- NextCapacity(ProbedItem4Bytes::kMaxNewCapacity); // OOMs on WASM. -+#if defined(__wasm__) || defined(__asmjs__) || defined(__i386__) -+ NextCapacity(ProbedItem4Bytes::kMaxNewCapacity); // OOMs on WASM, 32-bit. - #else - NextCapacity(ProbedItem8Bytes::kMaxNewCapacity); - #endif diff --git a/abseil-cpp.spec b/abseil-cpp.spec index 66a8958..c65e4d2 100644 --- a/abseil-cpp.spec +++ b/abseil-cpp.spec @@ -1,8 +1,8 @@ # Installed library version -%global lib_version 2505.0.0 +%global lib_version 2508.0.0 Name: abseil-cpp -Version: 20250512.1 +Version: 20250814.0 Release: %autorelease Summary: C++ Common Libraries @@ -24,18 +24,6 @@ License: Apache-2.0 AND LicenseRef-Fedora-Public-Domain URL: https://abseil.io Source: https://github.com/abseil/abseil-cpp/archive/%{version}/%{name}-%{version}.tar.gz -# Adjust Table.GrowExtremelyLargeTable to avoid OOM on i386 -# https://github.com/abseil/abseil-cpp/pull/1888 -# Partial fix for: -# [Bug]: Test regressions in 20250512.0 on i686 -# https://github.com/abseil/abseil-cpp/issues/1887 -Patch: https://github.com/abseil/abseil-cpp/pull/1888.patch - -# Skip StackTrace.FixupNoFixupEquivalence on i386 -# Downstream-only, because it does not address the root cause: -# https://github.com/abseil/abseil-cpp/issues/1887 -Patch: 0001-Skip-StackTrace.FixupNoFixupEquivalence-on-i386.patch - BuildRequires: cmake # The default make backend would work just as well; ninja is observably faster BuildRequires: ninja-build @@ -128,6 +116,10 @@ skips='^($.' # Fedora # https://github.com/abseil/abseil-cpp/issues/1804 skips="${skips}|absl_failure_signal_handler_test" +# [Bug]: StackTrace.NestedSignal in absl_stacktrace_test fails on ppc64le since +# 20250184.0 +# https://github.com/abseil/abseil-cpp/issues/1925 +skips="${skips}|absl_stacktrace_test" %endif skips="${skips})$" @@ -173,9 +165,11 @@ skips="${skips})$" %{_libdir}/libabsl_graphcycles_internal.so.%{lib_version} %{_libdir}/libabsl_hash.so.%{lib_version} %{_libdir}/libabsl_hashtablez_sampler.so.%{lib_version} +%{_libdir}/libabsl_hashtable_profiler.so.%{lib_version} %{_libdir}/libabsl_int128.so.%{lib_version} %{_libdir}/libabsl_kernel_timeout_internal.so.%{lib_version} %{_libdir}/libabsl_leak_check.so.%{lib_version} +%{_libdir}/libabsl_log_entry.so.%{lib_version} %{_libdir}/libabsl_log_flags.so.%{lib_version} %{_libdir}/libabsl_log_globals.so.%{lib_version} %{_libdir}/libabsl_log_initialize.so.%{lib_version} @@ -191,10 +185,10 @@ skips="${skips})$" %{_libdir}/libabsl_log_internal_structured_proto.so.%{lib_version} %{_libdir}/libabsl_log_severity.so.%{lib_version} %{_libdir}/libabsl_log_sink.so.%{lib_version} -%{_libdir}/libabsl_low_level_hash.so.%{lib_version} %{_libdir}/libabsl_malloc_internal.so.%{lib_version} %{_libdir}/libabsl_periodic_sampler.so.%{lib_version} %{_libdir}/libabsl_poison.so.%{lib_version} +%{_libdir}/libabsl_profile_builder.so.%{lib_version} %{_libdir}/libabsl_random_distributions.so.%{lib_version} %{_libdir}/libabsl_random_internal_distribution_test_util.so.%{lib_version} %{_libdir}/libabsl_random_internal_entropy_pool.so.%{lib_version} diff --git a/sources b/sources index d12175c..7217a9c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (abseil-cpp-20250512.1.tar.gz) = d3ba654ed7dd7b432494918b2de5d8e2b0ad1c42752c5d726f20d6fe2841828fb4e8beb853e3570a11efecef725029ce5ffa3ebc434efff007e7f60735eb9856 +SHA512 (abseil-cpp-20250814.0.tar.gz) = 4ee1a217203933382e728d354a149253a517150eee7580a0abecc69584b2eb200d91933ef424487e3a3fe0e8ab5e77b0288485cac982171b3585314a4417e7d4 From 5205ac8ad2aeef3b98e0827a090e05bf07906089 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Tue, 23 Sep 2025 06:29:06 +0100 Subject: [PATCH 20/23] Update to 20250814.1 (close RHBZ#2397466) --- .gitignore | 1 + abseil-cpp.spec | 2 +- sources | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 15a7c9d..193de76 100644 --- a/.gitignore +++ b/.gitignore @@ -19,3 +19,4 @@ /abseil-cpp-20250512.0.tar.gz /abseil-cpp-20250512.1.tar.gz /abseil-cpp-20250814.0.tar.gz +/abseil-cpp-20250814.1.tar.gz diff --git a/abseil-cpp.spec b/abseil-cpp.spec index c65e4d2..3c14c39 100644 --- a/abseil-cpp.spec +++ b/abseil-cpp.spec @@ -2,7 +2,7 @@ %global lib_version 2508.0.0 Name: abseil-cpp -Version: 20250814.0 +Version: 20250814.1 Release: %autorelease Summary: C++ Common Libraries diff --git a/sources b/sources index 7217a9c..f6e2a00 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (abseil-cpp-20250814.0.tar.gz) = 4ee1a217203933382e728d354a149253a517150eee7580a0abecc69584b2eb200d91933ef424487e3a3fe0e8ab5e77b0288485cac982171b3585314a4417e7d4 +SHA512 (abseil-cpp-20250814.1.tar.gz) = 7083b73c3cf763f6f7a7edb70a5171f44d27045a0f5e52ca043e0a86379af2c50cf85dbfea30ebaa22a7bb2929452581d26b1ba18945023b057267d4c3bad2f7 From 07413ab0108569a00eced025fd124333747eff06 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Wed, 12 Nov 2025 10:04:46 +0000 Subject: [PATCH 21/23] Rebuilt for gtest 1.17.0 From 893317922c4b74d5942e4f28cb774c86abe46034 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Fri, 9 Jan 2026 10:14:32 +0000 Subject: [PATCH 22/23] =?UTF-8?q?Report=20and=20work=20around=20a=20test?= =?UTF-8?q?=20that=20doesn=E2=80=99t=20build=20with=20GCC=2016?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...ock-in-test-Test-Mutex-FunctorCondit.patch | 38 +++++++++++++++++++ abseil-cpp.spec | 6 +++ 2 files changed, 44 insertions(+) create mode 100644 0001-Omit-the-bind-block-in-test-Test-Mutex-FunctorCondit.patch diff --git a/0001-Omit-the-bind-block-in-test-Test-Mutex-FunctorCondit.patch b/0001-Omit-the-bind-block-in-test-Test-Mutex-FunctorCondit.patch new file mode 100644 index 0000000..11150a1 --- /dev/null +++ b/0001-Omit-the-bind-block-in-test-Test-Mutex-FunctorCondit.patch @@ -0,0 +1,38 @@ +From 8e8c72e1cb92d63aa2aaa7f9d8ccb059250928d1 Mon Sep 17 00:00:00 2001 +From: "Benjamin A. Beasley" +Date: Fri, 9 Jan 2026 07:37:42 +0000 +Subject: [PATCH] =?UTF-8?q?Omit=20the=20=E2=80=9Cbind=E2=80=9D=20block=20i?= + =?UTF-8?q?n=20test=20Test=20Mutex::FunctorCondition?= +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Work around failure to compile with GCC 16, +https://github.com/abseil/abseil-cpp/issues/1992. +--- + absl/synchronization/mutex_test.cc | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/absl/synchronization/mutex_test.cc b/absl/synchronization/mutex_test.cc +index 793acf8c..7acd2e56 100644 +--- a/absl/synchronization/mutex_test.cc ++++ b/absl/synchronization/mutex_test.cc +@@ -1022,6 +1022,7 @@ TEST(Mutex, FunctorCondition) { + EXPECT_TRUE(c.Eval()); + } + ++#if 0 + { // bind + int value = 0; + auto is_positive = std::bind(std::less(), 0, std::cref(value)); +@@ -1030,6 +1031,7 @@ TEST(Mutex, FunctorCondition) { + value = 1; + EXPECT_TRUE(c.Eval()); + } ++#endif + + { // std::function + int value = 3; +-- +2.52.0 + diff --git a/abseil-cpp.spec b/abseil-cpp.spec index 3c14c39..7117654 100644 --- a/abseil-cpp.spec +++ b/abseil-cpp.spec @@ -24,6 +24,12 @@ License: Apache-2.0 AND LicenseRef-Fedora-Public-Domain URL: https://abseil.io Source: https://github.com/abseil/abseil-cpp/archive/%{version}/%{name}-%{version}.tar.gz +# Omit the “bind” block in test Test Mutex::FunctorCondition +# +# Work around failure to compile with GCC 16, +# https://github.com/abseil/abseil-cpp/issues/1992. +Patch: 0001-Omit-the-bind-block-in-test-Test-Mutex-FunctorCondit.patch + BuildRequires: cmake # The default make backend would work just as well; ninja is observably faster BuildRequires: ninja-build From 5dc15e5f19b5d9974c1379874105d2cb9b5196cb Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 16 Jan 2026 03:24:09 +0000 Subject: [PATCH 23/23] Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild