diff --git a/.gitignore b/.gitignore index 193de76..e659255 100644 --- a/.gitignore +++ b/.gitignore @@ -14,9 +14,3 @@ /abseil-cpp-20240116.2.tar.gz /abseil-cpp-20240722.0.tar.gz /abseil-cpp-20240722.1.tar.gz -/abseil-cpp-20250127.0.tar.gz -/abseil-cpp-20250127.1.tar.gz -/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/0001-Omit-the-bind-block-in-test-Test-Mutex-FunctorCondit.patch b/0001-Omit-the-bind-block-in-test-Test-Mutex-FunctorCondit.patch deleted file mode 100644 index 11150a1..0000000 --- a/0001-Omit-the-bind-block-in-test-Test-Mutex-FunctorCondit.patch +++ /dev/null @@ -1,38 +0,0 @@ -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/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 7117654..5cb3b02 100644 --- a/abseil-cpp.spec +++ b/abseil-cpp.spec @@ -1,9 +1,9 @@ # Installed library version -%global lib_version 2508.0.0 +%global lib_version 2407.0.0 Name: abseil-cpp -Version: 20250814.1 -Release: %autorelease +Version: 20240722.1 +Release: 1%{?dist} Summary: C++ Common Libraries # The entire source is Apache-2.0, except: @@ -24,11 +24,9 @@ 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 +# 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 @@ -122,10 +120,6 @@ 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})$" @@ -136,6 +130,9 @@ 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} @@ -171,7 +168,6 @@ 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} @@ -188,17 +184,16 @@ 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} %{_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} %{_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} @@ -223,7 +218,6 @@ 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} @@ -259,4 +253,132 @@ skips="${skips})$" %{_libdir}/pkgconfig/absl_*.pc %changelog -%autochangelog +* 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. diff --git a/changelog b/changelog deleted file mode 100644 index 21dab46..0000000 --- a/changelog +++ /dev/null @@ -1,141 +0,0 @@ -* 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. diff --git a/sources b/sources index f6e2a00..93f68f1 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (abseil-cpp-20250814.1.tar.gz) = 7083b73c3cf763f6f7a7edb70a5171f44d27045a0f5e52ca043e0a86379af2c50cf85dbfea30ebaa22a7bb2929452581d26b1ba18945023b057267d4c3bad2f7 +SHA512 (abseil-cpp-20240722.1.tar.gz) = 6062a10220d1250127e2216cea65833f10f37459331254b59df437b5061af81a9645cab39479700cf1843ef7dee51fe125241b0ecb9f715705a45dce4ffae89e