08.02.2025 23:40, Klemens Nanni пишет: > Two new libs, none gone, a bunch of more tests NOOPed due to their dependence > on unsupported sanitisers, otherwise looks like ausual update; relevant:
Four new libs and two patches less now that leak sanitiser actually builds and passes tests. > > - Added ABSL_ATTRIBUTE_VIEW and ABSL_ATTRIBUTE_OWNER for diagnosing certain > lifetime issues > - Many performance improvements > > https://github.com/abseil/abseil-cpp/releases > > I'll try this against a few consumers and plan to commit in a few days unless > theres' > fallback or feedback. Naively disabling more stuff until it configured/built dropped absl_check... this seems better and protobuf for example is still happy with it. Index: Makefile =================================================================== RCS file: /cvs/ports/devel/abseil-cpp/Makefile,v diff -u -p -r1.34 Makefile --- Makefile 3 Feb 2025 06:09:07 -0000 1.34 +++ Makefile 9 Feb 2025 03:21:36 -0000 @@ -3,11 +3,11 @@ BROKEN-sparc64 = is not a constant expre COMMENT = abseil common libraries (C++) CATEGORIES = devel -GH_ACCOUNT = abseil -GH_PROJECT = ${GH_ACCOUNT}-cpp -GH_TAGNAME = 20240722.1 +V = 20250127.0 +DISTNAME = abseil-cpp-${V} HOMEPAGE = https://abseil.io/ +SITES = https://github.com/abseil/abseil-cpp/releases/download/${V}/ MAINTAINER = Andrew Krasavin <noiseless...@yandex.ru>, \ Klemens Nanni <k...@openbsd.org> @@ -16,25 +16,28 @@ MAINTAINER = Andrew Krasavin <noiseless- PERMIT_PACKAGE = Yes ABSL_LIBS = \ - atomic_hook_test_helper bad_optional_access bad_variant_access base city \ - civil_time cord cord_internal cordz_functions cordz_handle cordz_info \ - cordz_sample_token crc32c crc_cord_state crc_cpu_detect crc_internal \ - debugging_internal decode_rust_punycode demangle_internal demangle_rust \ - die_if_null examine_stack exception_safety_testing exponential_biased \ + atomic_hook_test_helper bad_any_cast_impl bad_optional_access \ + bad_variant_access base city civil_time cord cord_internal \ + cordz_functions cordz_handle cordz_info cordz_sample_token crc32c \ + crc_cord_state crc_cpu_detect crc_internal debugging_internal \ + decode_rust_punycode demangle_internal demangle_rust die_if_null \ + examine_stack exception_safety_testing exponential_biased \ failure_signal_handler flags_commandlineflag \ flags_commandlineflag_internal flags_config flags_internal \ flags_marshalling flags_parse flags_private_handle_accessor \ flags_program_name flags_reflection flags_usage flags_usage_internal \ graphcycles_internal hash hash_generator_testing hashtablez_sampler int128 \ - kernel_timeout_internal log_entry log_flags log_globals log_initialize \ - log_internal_check_op log_internal_conditions log_internal_fnmatch \ - log_internal_format log_internal_globals log_internal_log_sink_set \ - log_internal_message log_internal_nullguard log_internal_proto \ - log_internal_test_actions log_internal_test_helpers \ - log_internal_test_matchers log_severity log_sink low_level_hash \ - malloc_internal per_thread_sem_test_common periodic_sampler poison \ - pow10_helper random_distributions random_internal_distribution_test_util \ - random_internal_platform random_internal_pool_urbg random_internal_randen \ + kernel_timeout_internal leak_check log_entry log_flags log_globals \ + log_initialize log_internal_check_op log_internal_conditions \ + log_internal_fnmatch log_internal_format log_internal_globals \ + log_internal_log_sink_set log_internal_message \ + log_internal_nullguard log_internal_proto \ + log_internal_structured_proto log_internal_test_actions \ + log_internal_test_helpers log_internal_test_matchers log_severity log_sink \ + low_level_hash malloc_internal per_thread_sem_test_common periodic_sampler \ + poison pow10_helper random_distributions \ + random_internal_distribution_test_util random_internal_platform \ + random_internal_pool_urbg random_internal_randen \ random_internal_randen_hwaes random_internal_randen_hwaes_impl \ random_internal_randen_slow random_internal_seed_material \ random_seed_gen_exception random_seed_sequences raw_hash_set \ @@ -42,9 +45,10 @@ ABSL_LIBS = \ spinlock_wait stack_consumption stacktrace status status_matchers statusor \ str_format_internal strerror string_view strings strings_internal \ symbolize synchronization test_instance_tracker throw_delegate time \ - time_internal_test_util time_zone utf8_for_code_point vlog_config_internal + time_internal_test_util time_zone tracing_internal utf8_for_code_point \ + vlog_config_internal .for _lib in ${ABSL_LIBS} -SHARED_LIBS += absl_${_lib} 5.0 +SHARED_LIBS += absl_${_lib} 6.0 .endfor WANTLIB += ${COMPILER_LIBCXX} execinfo gmock gtest m Index: distinfo =================================================================== RCS file: /cvs/ports/devel/abseil-cpp/distinfo,v diff -u -p -r1.13 distinfo --- distinfo 25 Jan 2025 23:32:42 -0000 1.13 +++ distinfo 8 Feb 2025 15:35:57 -0000 @@ -1,2 +1,2 @@ -SHA256 (abseil-cpp-20240722.1.tar.gz) = QM7mdgQGCnyHlNkxU4y1X01EQHPlVpgMiLbEm7mxm7c= -SIZE (abseil-cpp-20240722.1.tar.gz) = 2242894 +SHA256 (abseil-cpp-20250127.0.tar.gz) = FiQvOUJFYn5Qjsa7KWtDPJD42RT3O5wCb925BeJydug= +SIZE (abseil-cpp-20250127.0.tar.gz) = 2267275 Index: patches/patch-absl_container_CMakeLists_txt =================================================================== RCS file: patches/patch-absl_container_CMakeLists_txt diff -N patches/patch-absl_container_CMakeLists_txt --- patches/patch-absl_container_CMakeLists_txt 14 Aug 2024 20:38:43 -0000 1.2 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,38 +0,0 @@ -Disable all tests that require a leak sanitizer because -OpenBSD does not support it. - -Index: absl/container/CMakeLists.txt ---- absl/container/CMakeLists.txt.orig -+++ absl/container/CMakeLists.txt -@@ -101,6 +101,7 @@ absl_cc_library( - PUBLIC - ) - -+if (NOT CMAKE_SYSTEM_NAME STREQUAL "OpenBSD") - absl_cc_test( - NAME - compressed_tuple_test -@@ -117,6 +118,7 @@ absl_cc_test( - absl::utility - GTest::gmock_main - ) -+endif() - - absl_cc_library( - NAME -@@ -296,6 +298,7 @@ absl_cc_library( - PUBLIC - ) - -+if (NOT CMAKE_SYSTEM_NAME STREQUAL "OpenBSD") - absl_cc_test( - NAME - flat_hash_map_test -@@ -318,6 +321,7 @@ absl_cc_test( - absl::unordered_map_modifiers_test - GTest::gmock_main - ) -+endif() - - absl_cc_library( - NAME Index: patches/patch-absl_debugging_CMakeLists_txt =================================================================== RCS file: /cvs/ports/devel/abseil-cpp/patches/patch-absl_debugging_CMakeLists_txt,v diff -u -p -r1.8 patch-absl_debugging_CMakeLists_txt --- patches/patch-absl_debugging_CMakeLists_txt 14 Aug 2024 20:38:43 -0000 1.8 +++ patches/patch-absl_debugging_CMakeLists_txt 9 Feb 2025 03:19:04 -0000 @@ -1,6 +1,3 @@ -Disable all tests that require a leak sanitizer because -OpenBSD does not support it. - Disable symbolize_test, which fails to link on amd64 where ld.lld defaults to --exec-only. @@ -23,32 +20,3 @@ Index: absl/debugging/CMakeLists.txt # Internal-only target, do not depend on directly. absl_cc_library( -@@ -335,6 +337,7 @@ absl_cc_test( - GTest::gmock_main - ) - -+if (NOT CMAKE_SYSTEM_NAME STREQUAL "OpenBSD") - absl_cc_library( - NAME - leak_check -@@ -365,6 +368,7 @@ absl_cc_test( - absl::log - GTest::gmock_main - ) -+endif() - - # Internal-only target, do not depend on directly. - absl_cc_library( -@@ -383,6 +387,7 @@ absl_cc_library( - TESTONLY - ) - -+if (NOT CMAKE_SYSTEM_NAME STREQUAL "OpenBSD") - absl_cc_test( - NAME - stack_consumption_test -@@ -408,3 +413,4 @@ absl_cc_library( - absl::leak_check - PUBLIC - ) -+endif() Index: patches/patch-absl_status_status_cc =================================================================== RCS file: /cvs/ports/devel/abseil-cpp/patches/patch-absl_status_status_cc,v diff -u -p -r1.5 patch-absl_status_status_cc --- patches/patch-absl_status_status_cc 14 Aug 2024 20:38:43 -0000 1.5 +++ patches/patch-absl_status_status_cc 9 Feb 2025 03:19:12 -0000 @@ -1,3 +1,5 @@ +OpenBSD has no ENOLINK + Index: absl/status/status.cc --- absl/status/status.cc.orig +++ absl/status/status.cc Index: patches/patch-absl_types_CMakeLists_txt =================================================================== RCS file: patches/patch-absl_types_CMakeLists_txt diff -N patches/patch-absl_types_CMakeLists_txt --- patches/patch-absl_types_CMakeLists_txt 2 Feb 2024 20:09:07 -0000 1.2 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,22 +0,0 @@ -Disable all tests that require a leak sanitizer because -OpenBSD does not support it. - -Index: absl/types/CMakeLists.txt ---- absl/types/CMakeLists.txt.orig -+++ absl/types/CMakeLists.txt -@@ -13,6 +13,7 @@ - # See the License for the specific language governing permissions and - # limitations under the License. - # -+if (NOT CMAKE_SYSTEM_NAME STREQUAL "OpenBSD") - absl_cc_library( - NAME - any -@@ -102,6 +103,7 @@ absl_cc_test( - absl::exception_safety_testing - GTest::gmock_main - ) -+endif() - - absl_cc_library( - NAME Index: pkg/PLIST =================================================================== RCS file: /cvs/ports/devel/abseil-cpp/pkg/PLIST,v diff -u -p -r1.10 PLIST --- pkg/PLIST 14 Aug 2024 20:38:43 -0000 1.10 +++ pkg/PLIST 9 Feb 2025 03:04:08 -0000 @@ -45,6 +45,7 @@ include/absl/base/internal/strerror.h include/absl/base/internal/sysinfo.h include/absl/base/internal/thread_identity.h include/absl/base/internal/throw_delegate.h +include/absl/base/internal/tracing.h include/absl/base/internal/tsan_mutex_interface.h include/absl/base/internal/unaligned_access.h include/absl/base/internal/unscaledcycleclock.h @@ -215,6 +216,7 @@ include/absl/log/internal/nullstream.h include/absl/log/internal/proto.h include/absl/log/internal/strip.h include/absl/log/internal/structured.h +include/absl/log/internal/structured_proto.h include/absl/log/internal/test_actions.h include/absl/log/internal/test_helpers.h include/absl/log/internal/test_matchers.h @@ -431,6 +433,7 @@ lib/cmake/absl/abslConfigVersion.cmake lib/cmake/absl/abslTargets${MODCMAKE_BUILD_SUFFIX} lib/cmake/absl/abslTargets.cmake @lib lib/libabsl_atomic_hook_test_helper.so.${LIBabsl_atomic_hook_test_helper_VERSION} +@lib lib/libabsl_bad_any_cast_impl.so.${LIBabsl_bad_any_cast_impl_VERSION} @lib lib/libabsl_bad_optional_access.so.${LIBabsl_bad_optional_access_VERSION} @lib lib/libabsl_bad_variant_access.so.${LIBabsl_bad_variant_access_VERSION} @lib lib/libabsl_base.so.${LIBabsl_base_VERSION} @@ -472,6 +475,7 @@ lib/cmake/absl/abslTargets.cmake @lib lib/libabsl_hashtablez_sampler.so.${LIBabsl_hashtablez_sampler_VERSION} @lib lib/libabsl_int128.so.${LIBabsl_int128_VERSION} @lib lib/libabsl_kernel_timeout_internal.so.${LIBabsl_kernel_timeout_internal_VERSION} +@lib lib/libabsl_leak_check.so.${LIBabsl_leak_check_VERSION} @lib lib/libabsl_log_entry.so.${LIBabsl_log_entry_VERSION} @lib lib/libabsl_log_flags.so.${LIBabsl_log_flags_VERSION} @lib lib/libabsl_log_globals.so.${LIBabsl_log_globals_VERSION} @@ -485,6 +489,7 @@ lib/cmake/absl/abslTargets.cmake @lib lib/libabsl_log_internal_message.so.${LIBabsl_log_internal_message_VERSION} @lib lib/libabsl_log_internal_nullguard.so.${LIBabsl_log_internal_nullguard_VERSION} @lib lib/libabsl_log_internal_proto.so.${LIBabsl_log_internal_proto_VERSION} +@lib lib/libabsl_log_internal_structured_proto.so.${LIBabsl_log_internal_structured_proto_VERSION} @lib lib/libabsl_log_internal_test_actions.so.${LIBabsl_log_internal_test_actions_VERSION} @lib lib/libabsl_log_internal_test_helpers.so.${LIBabsl_log_internal_test_helpers_VERSION} @lib lib/libabsl_log_internal_test_matchers.so.${LIBabsl_log_internal_test_matchers_VERSION} @@ -530,6 +535,7 @@ lib/cmake/absl/abslTargets.cmake @lib lib/libabsl_time.so.${LIBabsl_time_VERSION} @lib lib/libabsl_time_internal_test_util.so.${LIBabsl_time_internal_test_util_VERSION} @lib lib/libabsl_time_zone.so.${LIBabsl_time_zone_VERSION} +@lib lib/libabsl_tracing_internal.so.${LIBabsl_tracing_internal_VERSION} @lib lib/libabsl_utf8_for_code_point.so.${LIBabsl_utf8_for_code_point_VERSION} @lib lib/libabsl_vlog_config_internal.so.${LIBabsl_vlog_config_internal_VERSION} lib/pkgconfig/absl_absl_check.pc @@ -537,9 +543,12 @@ lib/pkgconfig/absl_absl_log.pc lib/pkgconfig/absl_absl_vlog_is_on.pc lib/pkgconfig/absl_algorithm.pc lib/pkgconfig/absl_algorithm_container.pc +lib/pkgconfig/absl_any.pc lib/pkgconfig/absl_any_invocable.pc lib/pkgconfig/absl_atomic_hook.pc lib/pkgconfig/absl_atomic_hook_test_helper.pc +lib/pkgconfig/absl_bad_any_cast.pc +lib/pkgconfig/absl_bad_any_cast_impl.pc lib/pkgconfig/absl_bad_optional_access.pc lib/pkgconfig/absl_bad_variant_access.pc lib/pkgconfig/absl_base.pc @@ -578,6 +587,7 @@ lib/pkgconfig/absl_crc32c.pc lib/pkgconfig/absl_crc_cord_state.pc lib/pkgconfig/absl_crc_cpu_detect.pc lib/pkgconfig/absl_crc_internal.pc +lib/pkgconfig/absl_debugging.pc lib/pkgconfig/absl_debugging_internal.pc lib/pkgconfig/absl_decode_rust_punycode.pc lib/pkgconfig/absl_demangle_internal.pc @@ -627,6 +637,7 @@ lib/pkgconfig/absl_inlined_vector_intern lib/pkgconfig/absl_int128.pc lib/pkgconfig/absl_kernel_timeout_internal.pc lib/pkgconfig/absl_layout.pc +lib/pkgconfig/absl_leak_check.pc lib/pkgconfig/absl_log.pc lib/pkgconfig/absl_log_entry.pc lib/pkgconfig/absl_log_flags.pc @@ -649,6 +660,7 @@ lib/pkgconfig/absl_log_internal_nullstre lib/pkgconfig/absl_log_internal_proto.pc lib/pkgconfig/absl_log_internal_strip.pc lib/pkgconfig/absl_log_internal_structured.pc +lib/pkgconfig/absl_log_internal_structured_proto.pc lib/pkgconfig/absl_log_internal_test_actions.pc lib/pkgconfig/absl_log_internal_test_helpers.pc lib/pkgconfig/absl_log_internal_test_matchers.pc @@ -740,6 +752,7 @@ lib/pkgconfig/absl_throw_delegate.pc lib/pkgconfig/absl_time.pc lib/pkgconfig/absl_time_internal_test_util.pc lib/pkgconfig/absl_time_zone.pc +lib/pkgconfig/absl_tracing_internal.pc lib/pkgconfig/absl_tracked.pc lib/pkgconfig/absl_type_traits.pc lib/pkgconfig/absl_unordered_map_constructor_test.pc