On 2023/09/10 11:54, Theo Buehler wrote: > On Sun, Sep 10, 2023 at 11:46:24AM +0200, Theo Buehler wrote: > > On Fri, Sep 08, 2023 at 11:53:15PM +0200, Theo Buehler wrote: > > > Here is an updated version of my previous abandoned attempt at updating > > > this google monster: https://marc.info/?t=167689329100001&r=1&w=2 > > > > > > A major annoyance comes from abseil-cpp shipping 20 gazillion components > > > combined with a misdesign in our pkg-config. The result is that protobuf > > > detection in configure scripts takes a ridiculous amount of time. > > > Configuring libphonenumber takes 10 minutes on a fast amd64 box and over > > > half an hour on a fast sparc64 box. pkgconf is a lot faster. > > > > > > Remaining fallout: audio/clementine, devel/protobuf-c, games/pokerth > > > > > > * clementine and cmake make it hard to pass -std=gnu++17 to the various > > > components. There are some leads on GH. I haven't tried myself, and > > > I won't: https://github.com/clementine-player/Clementine/issues/7272 > > > > > > * pokerth is similarly obtuse. Again this can be fixed by someone else. > > > > > > * I sent out a diff for protobuf-c earlier today. All its consumers build. > > > > > > py3-protobuf works for me, the only thing I couldn't figure out is how > > > to make tests pass when the package is installed. > > > > > > I have tested this on amd64, arm64 and sparc64. It ran through an amd64 > > > bulk (as 4.23.2, a bulk with 4.23.3 is ongoing). Unless the pkg-config > > > vs abseil-cpp thing is considered a blocker (I'd argue it will give more > > > incentive to fix pkg-config which needs to be done anyway), I'd like to > > > land this modulo tweaks from review. > > > > Here's a better diff that disables the tests. This simplifies the port > > and also avoids installing libgmock for no good reason. Additionally, > > switch to shared libraries for libutf8_{range,validity}. > > Missed cvs add for utf8_range's CMakeLists.txt.
"Re: path: speed-up pkg-config" from tech@ probably wants to be landed fairly soon when this is in - it's still pretty slow with that, but much less bad than -current. There will be a load of new WANTLIB vomit in dependent ports (see below) but I don't suppose there's much we can do about that (output from "pkg-config --libs protobuf" looks about the same on other OS). Thanks Google. I'm broadly OK with this but as it's getting a bit tight for release timing we probably need to throw some rocks at pokerth/clementine build process until they can be made to work Now that I have it built I suppose I can do that, though won't be able to do much in the way of run testing for those. ----- mosh-1.4.0p0(net/mosh): Missing: absl_bad_optional_access.3 from abseil-cpp-20230802.0p0 (/usr/local/bin/mosh-server) Missing: absl_bad_variant_access.3 from abseil-cpp-20230802.0p0 (/usr/local/bin/mosh-server) Missing: absl_base.3 from abseil-cpp-20230802.0p0 (/usr/local/bin/mosh-server) Missing: absl_city.3 from abseil-cpp-20230802.0p0 (/usr/local/bin/mosh-server) Missing: absl_civil_time.3 from abseil-cpp-20230802.0p0 (/usr/local/bin/mosh-server) Missing: absl_cord.3 from abseil-cpp-20230802.0p0 (/usr/local/bin/mosh-server) Missing: absl_cord_internal.3 from abseil-cpp-20230802.0p0 (/usr/local/bin/mosh-server) Missing: absl_cordz_functions.3 from abseil-cpp-20230802.0p0 (/usr/local/bin/mosh-server) Missing: absl_cordz_handle.3 from abseil-cpp-20230802.0p0 (/usr/local/bin/mosh-server) Missing: absl_cordz_info.3 from abseil-cpp-20230802.0p0 (/usr/local/bin/mosh-server) Missing: absl_crc32c.3 from abseil-cpp-20230802.0p0 (/usr/local/bin/mosh-server) Missing: absl_crc_cord_state.3 from abseil-cpp-20230802.0p0 (/usr/local/bin/mosh-server) Missing: absl_crc_cpu_detect.3 from abseil-cpp-20230802.0p0 (/usr/local/bin/mosh-server) Missing: absl_crc_internal.3 from abseil-cpp-20230802.0p0 (/usr/local/bin/mosh-server) Missing: absl_debugging_internal.3 from abseil-cpp-20230802.0p0 (/usr/local/bin/mosh-server) Missing: absl_demangle_internal.3 from abseil-cpp-20230802.0p0 (/usr/local/bin/mosh-server) Missing: absl_die_if_null.3 from abseil-cpp-20230802.0p0 (/usr/local/bin/mosh-server) Missing: absl_examine_stack.3 from abseil-cpp-20230802.0p0 (/usr/local/bin/mosh-server) Missing: absl_exponential_biased.3 from abseil-cpp-20230802.0p0 (/usr/local/bin/mosh-server) Missing: absl_flags.3 from abseil-cpp-20230802.0p0 (/usr/local/bin/mosh-server) Missing: absl_flags_commandlineflag.3 from abseil-cpp-20230802.0p0 (/usr/local/bin/mosh-server) Missing: absl_flags_commandlineflag_internal.3 from abseil-cpp-20230802.0p0 (/usr/local/bin/mosh-server) Missing: absl_flags_config.3 from abseil-cpp-20230802.0p0 (/usr/local/bin/mosh-server) Missing: absl_flags_internal.3 from abseil-cpp-20230802.0p0 (/usr/local/bin/mosh-server) Missing: absl_flags_marshalling.3 from abseil-cpp-20230802.0p0 (/usr/local/bin/mosh-server) Missing: absl_flags_private_handle_accessor.3 from abseil-cpp-20230802.0p0 (/usr/local/bin/mosh-server) Missing: absl_flags_program_name.3 from abseil-cpp-20230802.0p0 (/usr/local/bin/mosh-server) Missing: absl_flags_reflection.3 from abseil-cpp-20230802.0p0 (/usr/local/bin/mosh-server) Missing: absl_graphcycles_internal.3 from abseil-cpp-20230802.0p0 (/usr/local/bin/mosh-server) Missing: absl_hash.3 from abseil-cpp-20230802.0p0 (/usr/local/bin/mosh-server) Missing: absl_hashtablez_sampler.3 from abseil-cpp-20230802.0p0 (/usr/local/bin/mosh-server) Missing: absl_int128.3 from abseil-cpp-20230802.0p0 (/usr/local/bin/mosh-server) Missing: absl_kernel_timeout_internal.3 from abseil-cpp-20230802.0p0 (/usr/local/bin/mosh-server) Missing: absl_log_entry.3 from abseil-cpp-20230802.0p0 (/usr/local/bin/mosh-server) Missing: absl_log_globals.3 from abseil-cpp-20230802.0p0 (/usr/local/bin/mosh-server) Missing: absl_log_initialize.3 from abseil-cpp-20230802.0p0 (/usr/local/bin/mosh-server) Missing: absl_log_internal_check_op.3 from abseil-cpp-20230802.0p0 (/usr/local/bin/mosh-server) Missing: absl_log_internal_conditions.3 from abseil-cpp-20230802.0p0 (/usr/local/bin/mosh-server) Missing: absl_log_internal_format.3 from abseil-cpp-20230802.0p0 (/usr/local/bin/mosh-server) Missing: absl_log_internal_globals.3 from abseil-cpp-20230802.0p0 (/usr/local/bin/mosh-server) Missing: absl_log_internal_log_sink_set.3 from abseil-cpp-20230802.0p0 (/usr/local/bin/mosh-server) Missing: absl_log_internal_message.3 from abseil-cpp-20230802.0p0 (/usr/local/bin/mosh-server) Missing: absl_log_internal_nullguard.3 from abseil-cpp-20230802.0p0 (/usr/local/bin/mosh-server) Missing: absl_log_internal_proto.3 from abseil-cpp-20230802.0p0 (/usr/local/bin/mosh-server) Missing: absl_log_severity.3 from abseil-cpp-20230802.0p0 (/usr/local/bin/mosh-server) Missing: absl_log_sink.3 from abseil-cpp-20230802.0p0 (/usr/local/bin/mosh-server) Missing: absl_low_level_hash.3 from abseil-cpp-20230802.0p0 (/usr/local/bin/mosh-server) Missing: absl_malloc_internal.3 from abseil-cpp-20230802.0p0 (/usr/local/bin/mosh-server) Missing: absl_raw_hash_set.3 from abseil-cpp-20230802.0p0 (/usr/local/bin/mosh-server) Missing: absl_raw_logging_internal.3 from abseil-cpp-20230802.0p0 (/usr/local/bin/mosh-server) Missing: absl_spinlock_wait.3 from abseil-cpp-20230802.0p0 (/usr/local/bin/mosh-server) Missing: absl_stacktrace.3 from abseil-cpp-20230802.0p0 (/usr/local/bin/mosh-server) Missing: absl_status.3 from abseil-cpp-20230802.0p0 (/usr/local/bin/mosh-server) Missing: absl_statusor.3 from abseil-cpp-20230802.0p0 (/usr/local/bin/mosh-server) Missing: absl_str_format_internal.3 from abseil-cpp-20230802.0p0 (/usr/local/bin/mosh-server) Missing: absl_strerror.3 from abseil-cpp-20230802.0p0 (/usr/local/bin/mosh-server) Missing: absl_string_view.3 from abseil-cpp-20230802.0p0 (/usr/local/bin/mosh-server) Missing: absl_strings.3 from abseil-cpp-20230802.0p0 (/usr/local/bin/mosh-server) Missing: absl_strings_internal.3 from abseil-cpp-20230802.0p0 (/usr/local/bin/mosh-server) Missing: absl_symbolize.3 from abseil-cpp-20230802.0p0 (/usr/local/bin/mosh-server) Missing: absl_synchronization.3 from abseil-cpp-20230802.0p0 (/usr/local/bin/mosh-server) Missing: absl_throw_delegate.3 from abseil-cpp-20230802.0p0 (/usr/local/bin/mosh-server) Missing: absl_time.3 from abseil-cpp-20230802.0p0 (/usr/local/bin/mosh-server) Missing: absl_time_zone.3 from abseil-cpp-20230802.0p0 (/usr/local/bin/mosh-server) Missing: execinfo.3 (/usr/local/bin/mosh-server) (system lib) Missing: utf8_range.0 from protobuf-4.24.3 (/usr/local/bin/mosh-server) Missing: utf8_validity.0 from protobuf-4.24.3 (/usr/local/bin/mosh-server) WANTLIB += absl_bad_optional_access absl_bad_variant_access absl_base WANTLIB += absl_city absl_civil_time absl_cord absl_cord_internal WANTLIB += absl_cordz_functions absl_cordz_handle absl_cordz_info WANTLIB += absl_crc32c absl_crc_cord_state absl_crc_cpu_detect WANTLIB += absl_crc_internal absl_debugging_internal absl_demangle_internal WANTLIB += absl_die_if_null absl_examine_stack absl_exponential_biased WANTLIB += absl_flags absl_flags_commandlineflag absl_flags_commandlineflag_internal WANTLIB += absl_flags_config absl_flags_internal absl_flags_marshalling WANTLIB += absl_flags_private_handle_accessor absl_flags_program_name WANTLIB += absl_flags_reflection absl_graphcycles_internal absl_hash WANTLIB += absl_hashtablez_sampler absl_int128 absl_kernel_timeout_internal WANTLIB += absl_log_entry absl_log_globals absl_log_initialize WANTLIB += absl_log_internal_check_op absl_log_internal_conditions WANTLIB += absl_log_internal_format absl_log_internal_globals WANTLIB += absl_log_internal_log_sink_set absl_log_internal_message WANTLIB += absl_log_internal_nullguard absl_log_internal_proto WANTLIB += absl_log_severity absl_log_sink absl_low_level_hash WANTLIB += absl_malloc_internal absl_raw_hash_set absl_raw_logging_internal WANTLIB += absl_spinlock_wait absl_stacktrace absl_status absl_statusor WANTLIB += absl_str_format_internal absl_strerror absl_string_view WANTLIB += absl_strings absl_strings_internal absl_symbolize absl_synchronization WANTLIB += absl_throw_delegate absl_time absl_time_zone execinfo WANTLIB += utf8_range utf8_validity -----