=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for mysql-boost-8.0.24.tar.gz
=> Checksum SHA512 OK for mysql-boost-8.0.24.tar.gz
===> Installing dependencies for mysql-server-8.0.24nb4
==========================================================================
The supported build options for mysql-server are:

	memcached ndb-cluster

You can select which build options to use by setting PKG_DEFAULT_OPTIONS
or the following variable.  Its current value is shown:

	PKG_OPTIONS.mysql8 (not defined)

==========================================================================
==========================================================================
The following variables will affect the build process of this package,
mysql-server-8.0.24nb4.  Their current value is shown below:

        * CURSES_DEFAULT = curses
        * MYSQL_DATADIR = /var/mysql
        * SSLBASE (defined)
        * SSLCERTBUNDLE (not defined)
        * SSLCERTS = /usr/pkg/etc/openssl/certs
        * SSLDIR = /usr/pkg/etc/openssl
        * SSLKEYS = /usr/pkg/etc/openssl/private
        * VARBASE = /var

Based on these variables, the following variables have been set:

        * CURSES_TYPE = curses
        * TERMCAP_TYPE = termcap

You may want to abort the process now with CTRL-C and change the value
of variables in the first group before continuing.  Be sure to run
`/usr/bin/make clean' after the changes.
==========================================================================
=> Tool dependency bash-[0-9]*: found bash-5.1.16
=> Tool dependency bison>=1.0: found bison-3.8.2
=> Tool dependency bsdtar-[0-9]*: found bsdtar-3.4.3
=> Tool dependency cmake>=2.8.1nb1: found cmake-3.22.3nb1
=> Tool dependency gmake>=3.81: found gmake-4.3nb3
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency cwrappers>=20150314: found cwrappers-20180325
=> Full dependency perl>=5.0: found perl-5.34.0nb3
=> Full dependency lz4>=1.7.3<100: found lz4-1.9.3nb1
=> Full dependency zstd>=1.3.6: found zstd-1.5.2
=> Full dependency libevent>=2.1.11nb1: found libevent-2.1.12
=> Full dependency openssl>=1.1.1dnb2: found openssl-1.1.1n
=> Full dependency zlib>=1.2.11: found zlib-1.2.11nb1
=> Full dependency icu>=70.1: found icu-70.1
=> Full dependency protobuf>=3.19.0nb1: found protobuf-3.19.4
=> Full dependency mysql-client>=8.0.19<8.1: found mysql-client-8.0.24nb2
===> Skipping vulnerability checks.
WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'.
===> Overriding tools for mysql-server-8.0.24nb4
===> Extracting for mysql-server-8.0.24nb4
/bin/cp /tree/pkgsrc/databases/mysql80-server/files/ffsll.cc /scratch/work/databases/mysql80-server/work/mysql-8.0.24/sql/
/bin/chmod a-x /scratch/work/databases/mysql80-server/work/mysql-8.0.24/mysql-test/std_data/datadir_tablespace_*
===> Patching for mysql-server-8.0.24nb4
=> Applying pkgsrc patches for mysql-server-8.0.24nb4
=> Verifying /tree/pkgsrc/databases/mysql80-server/../../databases/mysql80-client/patches/patch-CMakeLists.txt
=> Applying pkgsrc patch /tree/pkgsrc/databases/mysql80-server/../../databases/mysql80-client/patches/patch-CMakeLists.txt
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-CMakeLists.txt,v 1.1 2021/05/13 15:25:20 jdolecek Exp $
|
|Split configuration between mysql-client and mysql-server.
|
|--- CMakeLists.txt.orig	2019-12-09 19:53:17.000000000 +0000
|+++ CMakeLists.txt
--------------------------
Patching file CMakeLists.txt using Plan A...
Hunk #1 succeeded at 1600 (offset 271 lines).
Hunk #2 succeeded at 1407 (offset 24 lines).
done
=> Verifying /tree/pkgsrc/databases/mysql80-server/../../databases/mysql80-client/patches/patch-client_CMakeLists.txt
=> Applying pkgsrc patch /tree/pkgsrc/databases/mysql80-server/../../databases/mysql80-client/patches/patch-client_CMakeLists.txt
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-client_CMakeLists.txt,v 1.1 2021/05/13 15:25:20 jdolecek Exp $
|
|Split configuration between mysql-client and mysql-server.
|
|--- client/CMakeLists.txt.orig	2021-05-08 21:52:13.000000000 +0000
|+++ client/CMakeLists.txt
--------------------------
Patching file client/CMakeLists.txt using Plan A...
Hunk #1 succeeded at 28.
Hunk #2 succeeded at 42.
Hunk #3 succeeded at 59.
Hunk #4 succeeded at 76.
Hunk #5 succeeded at 265.
done
=> Verifying /tree/pkgsrc/databases/mysql80-server/../../databases/mysql80-client/patches/patch-client_mysqladmin.cc
=> Applying pkgsrc patch /tree/pkgsrc/databases/mysql80-server/../../databases/mysql80-client/patches/patch-client_mysqladmin.cc
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-client_mysqladmin.cc,v 1.1 2021/05/13 15:25:20 jdolecek Exp $
|
|Redefine signals for Irix.
|
|--- client/mysqladmin.cc.orig	2019-12-09 19:53:17.000000000 +0000
|+++ client/mysqladmin.cc
--------------------------
Patching file client/mysqladmin.cc using Plan A...
Hunk #1 succeeded at 425 (offset 12 lines).
done
=> Verifying /tree/pkgsrc/databases/mysql80-server/../../databases/mysql80-client/patches/patch-cmake_boost.cmake
=> Applying pkgsrc patch /tree/pkgsrc/databases/mysql80-server/../../databases/mysql80-client/patches/patch-cmake_boost.cmake
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-cmake_boost.cmake,v 1.1 2021/05/13 15:25:20 jdolecek Exp $
|
|Allow newer boost.
|
|--- cmake/boost.cmake.orig	2021-03-22 08:44:50.000000000 +0000
|+++ cmake/boost.cmake
--------------------------
Patching file cmake/boost.cmake using Plan A...
Hunk #1 succeeded at 300.
done
=> Verifying /tree/pkgsrc/databases/mysql80-server/../../databases/mysql80-client/patches/patch-cmake_os_SunOS.cmake
=> Applying pkgsrc patch /tree/pkgsrc/databases/mysql80-server/../../databases/mysql80-client/patches/patch-cmake_os_SunOS.cmake
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-cmake_os_SunOS.cmake,v 1.1 2021/05/13 15:25:20 jdolecek Exp $
|
|* Do not attempt to detect ISA, it conflicts with wrappers.
|
|--- cmake/os/SunOS.cmake.orig	2019-12-09 19:53:17.000000000 +0000
|+++ cmake/os/SunOS.cmake
--------------------------
Patching file cmake/os/SunOS.cmake using Plan A...
Hunk #1 succeeded at 32.
Hunk #2 succeeded at 42.
done
=> Verifying /tree/pkgsrc/databases/mysql80-server/../../databases/mysql80-client/patches/patch-cmake_readline.cmake
=> Applying pkgsrc patch /tree/pkgsrc/databases/mysql80-server/../../databases/mysql80-client/patches/patch-cmake_readline.cmake
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-cmake_readline.cmake,v 1.1 2021/05/13 15:25:20 jdolecek Exp $
|
|Fix for pkgsrc editline.
|
|--- cmake/readline.cmake.orig	2016-06-30 06:22:11.000000000 +0000
|+++ cmake/readline.cmake
--------------------------
Patching file cmake/readline.cmake using Plan A...
Hunk #1 succeeded at 108 (offset -4 lines).
done
=> Verifying /tree/pkgsrc/databases/mysql80-server/../../databases/mysql80-client/patches/patch-config.h.cmake
=> Applying pkgsrc patch /tree/pkgsrc/databases/mysql80-server/../../databases/mysql80-client/patches/patch-config.h.cmake
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-config.h.cmake,v 1.1 2021/05/13 15:25:20 jdolecek Exp $
|
|* bstring.h is needed for bzero on some platforms.
|* check for ffsll and provide a portable version for sytems that
|  don't have it.
|
|--- config.h.cmake.orig	2021-03-22 08:44:50.000000000 +0000
|+++ config.h.cmake
--------------------------
Patching file config.h.cmake using Plan A...
Hunk #1 succeeded at 40.
Hunk #2 succeeded at 81.
done
=> Verifying /tree/pkgsrc/databases/mysql80-server/../../databases/mysql80-client/patches/patch-configure.cmake
=> Applying pkgsrc patch /tree/pkgsrc/databases/mysql80-server/../../databases/mysql80-client/patches/patch-configure.cmake
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-configure.cmake,v 1.2 2021/06/22 10:12:37 nia Exp $
|
|* check for ffsll and provide a portable version if not found
|* check for EVFILT_USER, if missing disable kqueue (necessary on NetBSD 9.x)
|
|--- configure.cmake.orig	2021-03-22 08:44:50.000000000 +0000
|+++ configure.cmake
--------------------------
Patching file configure.cmake using Plan A...
Hunk #1 succeeded at 186.
Hunk #2 succeeded at 237.
Hunk #3 succeeded at 297.
Hunk #4 succeeded at 330.
done
=> Verifying /tree/pkgsrc/databases/mysql80-server/../../databases/mysql80-client/patches/patch-include_CMakeLists.txt
=> Applying pkgsrc patch /tree/pkgsrc/databases/mysql80-server/../../databases/mysql80-client/patches/patch-include_CMakeLists.txt
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-include_CMakeLists.txt,v 1.1 2021/05/13 15:25:20 jdolecek Exp $
|
|Only mysql-client installs includes.
|
|--- include/CMakeLists.txt.orig	2019-12-09 19:53:17.000000000 +0000
|+++ include/CMakeLists.txt
--------------------------
Patching file include/CMakeLists.txt using Plan A...
Hunk #1 succeeded at 44.
Hunk #2 succeeded at 54.
done
=> Verifying /tree/pkgsrc/databases/mysql80-server/../../databases/mysql80-client/patches/patch-include_my__compare.h
=> Applying pkgsrc patch /tree/pkgsrc/databases/mysql80-server/../../databases/mysql80-client/patches/patch-include_my__compare.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-include_my__compare.h,v 1.1 2021/05/13 15:25:20 jdolecek Exp $
|
|Adjust HA_MAX_KEY_LENGTH x4.
|
|--- include/my_compare.h.orig	2019-12-09 19:53:17.000000000 +0000
|+++ include/my_compare.h
--------------------------
Patching file include/my_compare.h using Plan A...
Hunk #1 succeeded at 49.
done
=> Verifying /tree/pkgsrc/databases/mysql80-server/../../databases/mysql80-client/patches/patch-include_my__thread.h
=> Applying pkgsrc patch /tree/pkgsrc/databases/mysql80-server/../../databases/mysql80-client/patches/patch-include_my__thread.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-include_my__thread.h,v 1.1 2021/05/13 15:25:20 jdolecek Exp $
|
|--- include/my_thread.h.orig	2019-12-09 19:53:17.000000000 +0000
|+++ include/my_thread.h
--------------------------
Patching file include/my_thread.h using Plan A...
Hunk #1 succeeded at 39.
done
=> Verifying /tree/pkgsrc/databases/mysql80-server/../../databases/mysql80-client/patches/patch-include_my__thread__os__id.h
=> Applying pkgsrc patch /tree/pkgsrc/databases/mysql80-server/../../databases/mysql80-client/patches/patch-include_my__thread__os__id.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-include_my__thread__os__id.h,v 1.1 2021/05/13 15:25:20 jdolecek Exp $
|
|Add support for NetBSD.
|
|--- include/my_thread_os_id.h.orig	2019-12-09 19:53:17.000000000 +0000
|+++ include/my_thread_os_id.h
--------------------------
Patching file include/my_thread_os_id.h using Plan A...
Hunk #1 succeeded at 36.
Hunk #2 succeeded at 87.
Hunk #3 succeeded at 97.
done
=> Verifying /tree/pkgsrc/databases/mysql80-server/../../databases/mysql80-client/patches/patch-include_tables__contained__in.h
=> Applying pkgsrc patch /tree/pkgsrc/databases/mysql80-server/../../databases/mysql80-client/patches/patch-include_tables__contained__in.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-include_tables__contained__in.h,v 1.1 2021/05/13 15:25:20 jdolecek Exp $
|
|* some systems have ffsll in strings.h
|* for systems that don't have ffsll, use the provided version
|
|--- include/tables_contained_in.h.orig	2019-12-09 19:53:17.000000000 +0000
|+++ include/tables_contained_in.h
--------------------------
Patching file include/tables_contained_in.h using Plan A...
Hunk #1 succeeded at 26.
done
=> Verifying /tree/pkgsrc/databases/mysql80-server/../../databases/mysql80-client/patches/patch-libmysql_CMakeLists.txt
=> Applying pkgsrc patch /tree/pkgsrc/databases/mysql80-server/../../databases/mysql80-client/patches/patch-libmysql_CMakeLists.txt
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-libmysql_CMakeLists.txt,v 1.1 2021/05/13 15:25:20 jdolecek Exp $
|
|Do not install libmysqlclient with the server.
|Generate versioned lib symlinks on FreeBSD to supress PLIST divergence.
|authentication_ldap and libmysql_api_test require libmysqld.
|
|--- libmysql/CMakeLists.txt.orig	2021-03-22 08:44:50.000000000 +0000
|+++ libmysql/CMakeLists.txt
--------------------------
Patching file libmysql/CMakeLists.txt using Plan A...
Hunk #1 succeeded at 270.
Hunk #2 succeeded at 311.
Hunk #3 succeeded at 344.
Hunk #4 succeeded at 407.
Hunk #5 succeeded at 436.
done
=> Verifying /tree/pkgsrc/databases/mysql80-server/../../databases/mysql80-client/patches/patch-mysys_kqueue__timers.cc
=> Applying pkgsrc patch /tree/pkgsrc/databases/mysql80-server/../../databases/mysql80-client/patches/patch-mysys_kqueue__timers.cc
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-mysys_kqueue__timers.cc,v 1.1 2021/05/13 15:25:20 jdolecek Exp $
|
|* support pre NetBSD 10 __intptr_t udata type
|* Fix for systems whcich do not define EVFILT_USER
|
|--- mysys/kqueue_timers.cc.orig	2021-03-22 08:44:50.000000000 +0000
|+++ mysys/kqueue_timers.cc
--------------------------
Patching file mysys/kqueue_timers.cc using Plan A...
Hunk #1 succeeded at 40.
Hunk #2 succeeded at 81.
Hunk #3 succeeded at 105.
Hunk #4 succeeded at 150.
Hunk #5 succeeded at 183.
done
=> Verifying /tree/pkgsrc/databases/mysql80-server/../../databases/mysql80-client/patches/patch-mysys_stacktrace.cc
=> Applying pkgsrc patch /tree/pkgsrc/databases/mysql80-server/../../databases/mysql80-client/patches/patch-mysys_stacktrace.cc
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-mysys_stacktrace.cc,v 1.1 2021/05/13 15:25:20 jdolecek Exp $
|
|* make sure sigsend is available if used
|
|--- mysys/stacktrace.cc.orig	2019-12-09 19:53:17.000000000 +0000
|+++ mysys/stacktrace.cc
--------------------------
Patching file mysys/stacktrace.cc using Plan A...
Hunk #1 succeeded at 306 (offset 2 lines).
done
=> Verifying /tree/pkgsrc/databases/mysql80-server/../../databases/mysql80-client/patches/patch-router_CMakeLists.txt
=> Applying pkgsrc patch /tree/pkgsrc/databases/mysql80-server/../../databases/mysql80-client/patches/patch-router_CMakeLists.txt
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-router_CMakeLists.txt,v 1.1 2021/05/13 15:25:20 jdolecek Exp $
|
|* install license and readme file with the other docs instead of directly in
|  ${PREFIX}
|
|--- router/CMakeLists.txt.orig	2020-01-23 20:52:36.406138412 +0000
|+++ router/CMakeLists.txt
--------------------------
Patching file router/CMakeLists.txt using Plan A...
Hunk #1 succeeded at 100 (offset 5 lines).
done
=> Verifying /tree/pkgsrc/databases/mysql80-server/../../databases/mysql80-client/patches/patch-router_src_harness_include_mysql_harness_net_ts_impl_netif.h
=> Applying pkgsrc patch /tree/pkgsrc/databases/mysql80-server/../../databases/mysql80-client/patches/patch-router_src_harness_include_mysql_harness_net_ts_impl_netif.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-router_src_harness_include_mysql_harness_net_ts_impl_netif.h,v 1.1 2021/05/13 15:25:20 jdolecek Exp $
|
|NetBSD also has & needs <ifaddrs.h>
|
|--- router/src/harness/include/mysql/harness/net_ts/impl/netif.h.orig	2021-05-09 02:48:24.814349260 +0000
|+++ router/src/harness/include/mysql/harness/net_ts/impl/netif.h
--------------------------
Patching file router/src/harness/include/mysql/harness/net_ts/impl/netif.h using Plan A...
Hunk #1 succeeded at 31.
done
=> Verifying /tree/pkgsrc/databases/mysql80-server/../../databases/mysql80-client/patches/patch-router_src_harness_include_mysql_harness_net_ts_internet.h
=> Applying pkgsrc patch /tree/pkgsrc/databases/mysql80-server/../../databases/mysql80-client/patches/patch-router_src_harness_include_mysql_harness_net_ts_internet.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-router_src_harness_include_mysql_harness_net_ts_internet.h,v 1.1 2021/05/13 15:25:20 jdolecek Exp $
|
|Conditionalize some AI_* constants not present on NetBSD. 
|
|--- router/src/harness/include/mysql/harness/net_ts/internet.h.orig	2021-05-09 00:35:34.199395387 +0000
|+++ router/src/harness/include/mysql/harness/net_ts/internet.h
--------------------------
Patching file router/src/harness/include/mysql/harness/net_ts/internet.h using Plan A...
Hunk #1 succeeded at 598.
done
=> Verifying /tree/pkgsrc/databases/mysql80-server/../../databases/mysql80-client/patches/patch-router_src_harness_include_mysql_harness_net_ts_local.h
=> Applying pkgsrc patch /tree/pkgsrc/databases/mysql80-server/../../databases/mysql80-client/patches/patch-router_src_harness_include_mysql_harness_net_ts_local.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-router_src_harness_include_mysql_harness_net_ts_local.h,v 1.1 2021/05/13 15:25:20 jdolecek Exp $
|
|NetBSD has uucred, not sockpeercred.
|
|--- router/src/harness/include/mysql/harness/net_ts/local.h.orig	2021-05-09 01:07:01.720111634 +0000
|+++ router/src/harness/include/mysql/harness/net_ts/local.h
--------------------------
Patching file router/src/harness/include/mysql/harness/net_ts/local.h using Plan A...
Hunk #1 succeeded at 44.
Hunk #2 succeeded at 229.
done
=> Verifying /tree/pkgsrc/databases/mysql80-server/../../databases/mysql80-client/patches/patch-router_src_harness_include_mysql_harness_tty.h
=> Applying pkgsrc patch /tree/pkgsrc/databases/mysql80-server/../../databases/mysql80-client/patches/patch-router_src_harness_include_mysql_harness_tty.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-router_src_harness_include_mysql_harness_tty.h,v 1.1 2021/05/13 15:25:20 jdolecek Exp $
|
|* TABDLY is an XSI standard not supported on all platforms (BSD)
|
|--- router/src/harness/include/mysql/harness/tty.h.orig	2019-12-09 19:53:17.000000000 +0000
|+++ router/src/harness/include/mysql/harness/tty.h
--------------------------
Patching file router/src/harness/include/mysql/harness/tty.h using Plan A...
Hunk #1 succeeded at 201.
done
=> Verifying /tree/pkgsrc/databases/mysql80-server/../../databases/mysql80-client/patches/patch-router_src_harness_src_stdx_io_file_handle.cc
=> Applying pkgsrc patch /tree/pkgsrc/databases/mysql80-server/../../databases/mysql80-client/patches/patch-router_src_harness_src_stdx_io_file_handle.cc
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-router_src_harness_src_stdx_io_file_handle.cc,v 1.2 2021/06/22 10:12:37 nia Exp $
|
|Support for NetBSD - reuses F_GETPATH code originally for macOS. Also
|use correct constant for the fcntl() code - PATH_MAX, not MAXPATHLEN
|
|--- router/src/harness/src/stdx/io/file_handle.cc.orig	2021-03-22 08:44:50.000000000 +0000
|+++ router/src/harness/src/stdx/io/file_handle.cc
--------------------------
Patching file router/src/harness/src/stdx/io/file_handle.cc using Plan A...
Hunk #1 succeeded at 47.
Hunk #2 succeeded at 167.
Hunk #3 succeeded at 232.
done
=> Verifying /tree/pkgsrc/databases/mysql80-server/../../databases/mysql80-client/patches/patch-scripts_CMakeLists.txt
=> Applying pkgsrc patch /tree/pkgsrc/databases/mysql80-server/../../databases/mysql80-client/patches/patch-scripts_CMakeLists.txt
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-scripts_CMakeLists.txt,v 1.1 2021/05/13 15:25:20 jdolecek Exp $
|
|Split configuration between mysql-client and mysql-server.
|
|--- scripts/CMakeLists.txt.orig	2021-03-22 08:44:50.000000000 +0000
|+++ scripts/CMakeLists.txt
--------------------------
Patching file scripts/CMakeLists.txt using Plan A...
Hunk #1 succeeded at 398.
Hunk #2 succeeded at 411.
done
=> Verifying /tree/pkgsrc/databases/mysql80-server/../../databases/mysql80-client/patches/patch-scripts_mysqld_safe.sh
=> Applying pkgsrc patch /tree/pkgsrc/databases/mysql80-server/../../databases/mysql80-client/patches/patch-scripts_mysqld_safe.sh
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-scripts_mysqld_safe.sh,v 1.1 2021/05/13 15:25:20 jdolecek Exp $
|
|--- scripts/mysqld_safe.sh.orig	2011-03-31 13:36:18.000000000 +0000
|+++ scripts/mysqld_safe.sh
--------------------------
Patching file scripts/mysqld_safe.sh using Plan A...
Hunk #1 succeeded at 852 (offset 105 lines).
done
=> Verifying /tree/pkgsrc/databases/mysql80-server/../../databases/mysql80-client/patches/patch-sql_CMakeLists.txt
=> Applying pkgsrc patch /tree/pkgsrc/databases/mysql80-server/../../databases/mysql80-client/patches/patch-sql_CMakeLists.txt
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-sql_CMakeLists.txt,v 1.1 2021/05/13 15:25:20 jdolecek Exp $
|
|* use a provided ffsll implementation if the system does not have one
|* use noop implementation (apple) for binding threads to a cpu
|TODO: netbsd and irix has apis for this, perhaps implement this.
|
|--- sql/CMakeLists.txt.orig	2021-03-22 08:44:50.000000000 +0000
|+++ sql/CMakeLists.txt
--------------------------
Patching file sql/CMakeLists.txt using Plan A...
Hunk #1 succeeded at 589.
Hunk #2 succeeded at 693.
done
=> Verifying /tree/pkgsrc/databases/mysql80-server/../../databases/mysql80-client/patches/patch-sql_conn__handler_socket__connection.cc
=> Applying pkgsrc patch /tree/pkgsrc/databases/mysql80-server/../../databases/mysql80-client/patches/patch-sql_conn__handler_socket__connection.cc
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-sql_conn__handler_socket__connection.cc,v 1.1 2021/05/13 15:25:20 jdolecek Exp $
|
|--- sql/conn_handler/socket_connection.cc.orig	2019-12-09 19:53:17.000000000 +0000
|+++ sql/conn_handler/socket_connection.cc
--------------------------
Patching file sql/conn_handler/socket_connection.cc using Plan A...
Hunk #1 succeeded at 953 (offset 3 lines).
Hunk #2 succeeded at 969 (offset 3 lines).
done
=> Verifying /tree/pkgsrc/databases/mysql80-server/../../databases/mysql80-client/patches/patch-sql_item_geofunc_relchecks_bgwrap.h
=> Applying pkgsrc patch /tree/pkgsrc/databases/mysql80-server/../../databases/mysql80-client/patches/patch-sql_item_geofunc_relchecks_bgwrap.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-sql_item_geofunc_relchecks_bgwrap.h,v 1.1 2021/05/13 15:25:20 jdolecek Exp $
|
|<algorithm> is needed to define std::for_each() required by the boost 1.73
|headers
|
|--- sql/item_geofunc_relchecks_bgwrap.h.orig	2021-05-09 10:15:24.903436550 +0000
|+++ sql/item_geofunc_relchecks_bgwrap.h
--------------------------
Patching file sql/item_geofunc_relchecks_bgwrap.h using Plan A...
Hunk #1 succeeded at 39.
done
=> Verifying /tree/pkgsrc/databases/mysql80-server/../../databases/mysql80-client/patches/patch-sql_join__optimizer_bit__utils.h
=> Applying pkgsrc patch /tree/pkgsrc/databases/mysql80-server/../../databases/mysql80-client/patches/patch-sql_join__optimizer_bit__utils.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-sql_join__optimizer_bit__utils.h,v 1.1 2021/06/27 06:41:55 nia Exp $
|
|NetBSD has no ffsll, but GCC does.
|
|--- sql/join_optimizer/bit_utils.h.orig	2021-03-22 08:44:50.000000000 +0000
|+++ sql/join_optimizer/bit_utils.h
--------------------------
Patching file sql/join_optimizer/bit_utils.h using Plan A...
Hunk #1 succeeded at 82.
done
=> Verifying /tree/pkgsrc/databases/mysql80-server/../../databases/mysql80-client/patches/patch-sql_resourcegroups_platform_thread__attrs__api__apple.cc
=> Applying pkgsrc patch /tree/pkgsrc/databases/mysql80-server/../../databases/mysql80-client/patches/patch-sql_resourcegroups_platform_thread__attrs__api__apple.cc
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-sql_resourcegroups_platform_thread__attrs__api__apple.cc,v 1.1 2021/05/13 15:25:20 jdolecek Exp $
|
|* support getting the cpu count on netbsd, openbsd and irix
|
|--- sql/resourcegroups/platform/thread_attrs_api_apple.cc.orig	2021-03-22 08:44:50.000000000 +0000
|+++ sql/resourcegroups/platform/thread_attrs_api_apple.cc
--------------------------
Patching file sql/resourcegroups/platform/thread_attrs_api_apple.cc using Plan A...
Hunk #1 succeeded at 84.
done
=> Verifying /tree/pkgsrc/databases/mysql80-server/../../databases/mysql80-client/patches/patch-vio_viosocket.cc
=> Applying pkgsrc patch /tree/pkgsrc/databases/mysql80-server/../../databases/mysql80-client/patches/patch-vio_viosocket.cc
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-vio_viosocket.cc,v 1.2 2021/06/22 10:12:37 nia Exp $
|
|* define ppoll on older NetBSD that only has pollts
|
|--- vio/viosocket.cc.orig	2021-03-22 08:44:50.000000000 +0000
|+++ vio/viosocket.cc
--------------------------
Patching file vio/viosocket.cc using Plan A...
Hunk #1 succeeded at 70.
done
echo "#define alloca(sz) __builtin_alloca(sz)" > /scratch/work/databases/mysql80-server/work/mysql-8.0.24/include/alloca.h
===> Creating toolchain wrappers for mysql-server-8.0.24nb4
===> Configuring for mysql-server-8.0.24nb4
=> Fixing Perl paths.
=> Fixing scripts.
=> Replacing Perl interpreter in mysql-test/lib/v1/mysql-test-run.pl mysql-test/lib/t/SafeProcessStress.pl mysql-test/lib/t/testMyConfig.t mysql-test/lib/t/testMyConfigFactory.t mysql-test/lib/t/test_child.pl mysql-test/mysql-stress-test.pl mysql-test/mysql-test-run.pl mysql-test/suite/engines/rr_trx/run_stress_tx_rr.pl mysql-test/suite/funcs_1/lib/DataGen_local.pl mysql-test/suite/funcs_1/lib/DataGen_modify.pl mysql-test/suite/funcs_2/lib/gen_charset_utf8.pl mysql-test/suite/opt_trace/validate_json.pl mysql-test/suite/rpl/extension/bhs.pl mysql-test/suite/rpl/extension/checksum.pl scripts/randomize-order.pl.
WARNING: [replace-interpreter] Skipping non-existent file "mysql-test/lib/v1/mysql-test-run.pl".
=> Replacing sh interpreter in mysql-test/suite/rpl/t/rpl_loaddata_symlink-master.sh mysql-test/suite/rpl/t/rpl_loaddata_symlink-slave.sh mysql-test/suite/rpl/t/rpl_misc_functions-slave.sh mysql-test/suite/rpl_nogtid/t/rpl_misc_functions-slave.sh mysql-test/t/long_tmpdir-master.sh mysql-test/t/lowercase_mixed_tmpdir-master.sh mysql-test/t/lowercase_mixed_tmpdir_innodb-master.sh scripts/mysql_config.sh.
WARNING: [replace-interpreter] Skipping non-existent file "mysql-test/suite/rpl/t/rpl_misc_functions-slave.sh".
INFO: [replace-interpreter] Nothing changed in scripts/mysql_config.sh.
=> Fixing CMAKE_MODULE_PATH in CMakeLists.txt
=> Checking for portability problems in extracted files
-- Running cmake version 3.22.3
-- Could NOT find Git (missing: GIT_EXECUTABLE) 
CMake Deprecation Warning at cmake/cmake_policies.cmake:54 (CMAKE_POLICY):
  The OLD behavior for policy CMP0075 will be removed from a future version
  of CMake.

  The cmake-policies(7) manual explains that the OLD behaviors of all
  policies are deprecated and that a policy should be set to OLD only under
  specific short-term circumstances.  Projects should be ported to the NEW
  behavior and not rely on setting a policy to OLD.
Call Stack (most recent call first):
  CMakeLists.txt:233 (INCLUDE)


-- CMP0073 OLD
CMake Deprecation Warning at cmake/cmake_policies.cmake:62 (CMAKE_POLICY):
  The OLD behavior for policy CMP0073 will be removed from a future version
  of CMake.

  The cmake-policies(7) manual explains that the OLD behaviors of all
  policies are deprecated and that a policy should be set to OLD only under
  specific short-term circumstances.  Projects should be ported to the NEW
  behavior and not rely on setting a policy to OLD.
Call Stack (most recent call first):
  CMakeLists.txt:233 (INCLUDE)


-- CMAKE_MODULE_PATH is /scratch/work/databases/mysql80-server/work/.buildlink/cmake-Modules;/scratch/work/databases/mysql80-server/work/.buildlink/cmake-Modules;/scratch/work/databases/mysql80-server/work/mysql-8.0.24/cmake
-- MySQL 8.0.24
-- The C compiler identification is GNU 5.5.0
-- The CXX compiler identification is GNU 5.5.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /scratch/work/databases/mysql80-server/work/.cwrapper/bin/gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /scratch/work/databases/mysql80-server/work/.cwrapper/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Source directory /scratch/work/databases/mysql80-server/work/mysql-8.0.24
-- Binary directory /scratch/work/databases/mysql80-server/work/mysql-8.0.24
CMake Warning at CMakeLists.txt:380 (MESSAGE):
  This is an in-source build


-- CMAKE_GENERATOR: Unix Makefiles
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of void *
-- Check size of void * - done
-- SIZEOF_VOIDP 4
-- Performing Test HAVE_C_FLOATING_POINT_FUSED_MADD
-- Performing Test HAVE_C_FLOATING_POINT_FUSED_MADD - Success
-- Performing Test HAVE_CXX_FLOATING_POINT_FUSED_MADD
-- Performing Test HAVE_CXX_FLOATING_POINT_FUSED_MADD - Success
getconf: LEVEL1_DCACHE_LINESIZE: unknown variable
-- Packaging as: mysql-8.0.24-NetBSD-i386
-- Local boost dir /scratch/work/databases/mysql80-server/work/mysql-8.0.24/boost/boost_1_73_0
-- Found /scratch/work/databases/mysql80-server/work/mysql-8.0.24/boost/boost_1_73_0/boost/version.hpp 
-- BOOST_VERSION_NUMBER is #define BOOST_VERSION 107300
-- BOOST_INCLUDE_DIR /scratch/work/databases/mysql80-server/work/mysql-8.0.24/boost/boost_1_73_0
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE  
-- Looking for floor
-- Looking for floor - not found
-- Looking for floor in m
-- Looking for floor in m - found
-- Looking for gethostbyname_r
-- Looking for gethostbyname_r - found
-- Looking for bind
-- Looking for bind - found
-- Looking for crypt
-- Looking for crypt - not found
-- Looking for crypt in crypt
-- Looking for crypt in crypt - found
-- Looking for setsockopt
-- Looking for setsockopt - found
-- Looking for dlopen
-- Looking for dlopen - found
-- Looking for dlsym
-- Looking for dlsym - found
-- Looking for sched_yield
-- Looking for sched_yield - found
-- Looking for clock_gettime
-- Looking for clock_gettime - found
-- Looking for timer_create
-- Looking for timer_create - found
-- Looking for atomic_thread_fence
-- Looking for atomic_thread_fence - not found
-- Looking for atomic_thread_fence in atomic
-- Looking for atomic_thread_fence in atomic - not found
-- Looking for backtrace
-- Looking for backtrace - not found
-- Looking for backtrace in execinfo
-- Looking for backtrace in execinfo - found
CMake Warning (dev) at /usr/pkg/share/cmake-3.22/Modules/CheckIncludeFiles.cmake:122 (message):
  Policy CMP0075 is not set: Include file check macros honor
  CMAKE_REQUIRED_LIBRARIES.  Run "cmake --help-policy CMP0075" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.

  CMAKE_REQUIRED_LIBRARIES is set to:

    m;crypt;-lpthread;execinfo

  For compatibility with CMake 3.11 and below this check is ignoring it.
Call Stack (most recent call first):
  configure.cmake:189 (CHECK_INCLUDE_FILES)
  CMakeLists.txt:1166 (INCLUDE)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Looking for include file alloca.h
-- Looking for include file alloca.h - not found
-- Looking for include file arpa/inet.h
-- Looking for include file arpa/inet.h - found
-- Looking for include file bstring.h
-- Looking for include file bstring.h - not found
-- Looking for include file dlfcn.h
-- Looking for include file dlfcn.h - found
-- Looking for include file endian.h
-- Looking for include file endian.h - found
-- Looking for include file execinfo.h
-- Looking for include file execinfo.h - found
-- Looking for include file fpu_control.h
-- Looking for include file fpu_control.h - not found
-- Looking for include file grp.h
-- Looking for include file grp.h - found
-- Looking for include file langinfo.h
-- Looking for include file langinfo.h - found
-- Looking for include file malloc.h
-- Looking for include file malloc.h - found
-- Looking for include file netinet/in.h
-- Looking for include file netinet/in.h - found
-- Looking for include file poll.h
-- Looking for include file poll.h - found
-- Looking for include file pwd.h
-- Looking for include file pwd.h - found
-- Looking for include file strings.h
-- Looking for include file strings.h - found
-- Looking for include file sys/ioctl.h
-- Looking for include file sys/ioctl.h - found
-- Looking for include file sys/mman.h
-- Looking for include file sys/mman.h - found
-- Looking for include file sys/prctl.h
-- Looking for include file sys/prctl.h - not found
-- Looking for include file sys/resource.h
-- Looking for include file sys/resource.h - found
-- Looking for include file sys/select.h
-- Looking for include file sys/select.h - found
-- Looking for include file sys/socket.h
-- Looking for include file sys/socket.h - found
-- Looking for include files curses.h, term.h
-- Looking for include files curses.h, term.h - found
-- Looking for include file termios.h
-- Looking for include file termios.h - found
-- Looking for include file termio.h
-- Looking for include file termio.h - not found
-- Looking for include file unistd.h
-- Looking for include file unistd.h - found
-- Looking for include file sys/wait.h
-- Looking for include file sys/wait.h - found
-- Looking for include file sys/param.h
-- Looking for include file sys/param.h - found
-- Looking for include file fnmatch.h
-- Looking for include file fnmatch.h - found
-- Looking for include file sys/un.h
-- Looking for include file sys/un.h - found
-- Looking for include files sys/types.h, sasl/sasl.h
-- Looking for include files sys/types.h, sasl/sasl.h - not found
-- Looking for _aligned_malloc
-- Looking for _aligned_malloc - not found
-- Looking for backtrace
-- Looking for backtrace - found
-- Looking for index
-- Looking for index - found
-- Looking for chown
-- Looking for chown - found
-- Looking for cuserid
-- Looking for cuserid - not found
-- Looking for directio
-- Looking for directio - not found
-- Looking for ftruncate
-- Looking for ftruncate - found
-- Looking for fchmod
-- Looking for fchmod - found
-- Looking for fcntl
-- Looking for fcntl - found
-- Looking for fdatasync
-- Looking for fdatasync - found
-- Looking for fdatasync
-- Looking for fdatasync - found
-- Looking for fedisableexcept
-- Looking for fedisableexcept - found
-- Looking for ffsll
-- Looking for ffsll - not found
-- Looking for fsync
-- Looking for fsync - found
-- Looking for gethrtime
-- Looking for gethrtime - not found
-- Looking for getpass
-- Looking for getpass - found
-- Looking for getpassphrase
-- Looking for getpassphrase - not found
-- Looking for getpwnam
-- Looking for getpwnam - found
-- Looking for getpwuid
-- Looking for getpwuid - found
-- Looking for getrusage
-- Looking for getrusage - found
-- Looking for initgroups
-- Looking for initgroups - found
-- Looking for issetugid
-- Looking for issetugid - found
-- Looking for getuid
-- Looking for getuid - found
-- Looking for geteuid
-- Looking for geteuid - found
-- Looking for getgid
-- Looking for getgid - found
-- Looking for getegid
-- Looking for getegid - found
-- Looking for madvise
-- Looking for madvise - found
-- Looking for malloc_info
-- Looking for malloc_info - not found
-- Looking for mlock
-- Looking for mlock - found
-- Looking for mlockall
-- Looking for mlockall - found
-- Looking for mmap64
-- Looking for mmap64 - not found
-- Looking for poll
-- Looking for poll - found
-- Looking for posix_fallocate
-- Looking for posix_fallocate - found
-- Looking for posix_memalign
-- Looking for posix_memalign - found
-- Looking for pthread_condattr_setclock
-- Looking for pthread_condattr_setclock - found
-- Looking for pthread_getaffinity_np
-- Looking for pthread_getaffinity_np - found
-- Looking for pthread_sigmask
-- Looking for pthread_sigmask - found
-- Looking for sleep
-- Looking for sleep - found
-- Looking for stpcpy
-- Looking for stpcpy - found
-- Looking for stpncpy
-- Looking for stpncpy - found
-- Looking for strlcpy
-- Looking for strlcpy - found
-- Looking for strndup
-- Looking for strndup - found
-- Looking for strlcat
-- Looking for strlcat - found
-- Looking for strsignal
-- Looking for strsignal - found
-- Looking for tell
-- Looking for tell - not found
-- Looking for vasprintf
-- Looking for vasprintf - found
-- Looking for memalign
-- Looking for memalign - not found
-- Looking for nl_langinfo
-- Looking for nl_langinfo - found
-- Looking for ntohll
-- Looking for ntohll - not found
-- Looking for epoll_create
-- Looking for epoll_create - not found
-- Looking for include file sys/time.h
-- Looking for include file sys/time.h - found
-- Looking for include file sys/times.h
-- Looking for include file sys/times.h - found
-- Looking for times
-- Looking for times - found
-- Looking for gettimeofday
-- Looking for gettimeofday - found
-- Looking for lrand48
-- Looking for lrand48 - found
-- Looking for TIOCGWINSZ
-- Looking for TIOCGWINSZ - found
-- Looking for FIONREAD
-- Looking for FIONREAD - found
-- Looking for FIONREAD
-- Looking for FIONREAD - found
-- Looking for MADV_DONTDUMP
-- Looking for MADV_DONTDUMP - not found
-- Looking for EVFILT_USER
-- Looking for EVFILT_USER - not found
-- Performing Test HAVE_O_TMPFILE
-- Performing Test HAVE_O_TMPFILE - Failed
-- Looking for timer_create
-- Looking for timer_create - found
-- Looking for timer_settime
-- Looking for timer_settime - found
-- Looking for kqueue
-- Looking for kqueue - found
-- Performing Test HAVE_SETNS
-- Performing Test HAVE_SETNS - Failed
-- Looking for EVFILT_TIMER
-- Looking for EVFILT_TIMER - found
-- Looking for le64toh
-- Looking for le64toh - found
-- Looking for le32toh
-- Looking for le32toh - found
-- Looking for le16toh
-- Looking for le16toh - found
-- Looking for htole64
-- Looking for htole64 - found
-- Looking for htole32
-- Looking for htole32 - found
-- Looking for htole16
-- Looking for htole16 - found
-- Check size of char *
-- Check size of char * - done
-- Check size of long
-- Check size of long - done
-- Check size of short
-- Check size of short - done
-- Check size of int
-- Check size of int - done
-- Check size of long long
-- Check size of long long - done
-- Check size of time_t
-- Check size of time_t - done
-- Performing Test HAVE_TM_GMTOFF
-- Performing Test HAVE_TM_GMTOFF - Success
-- Check size of ulong
-- Check size of ulong - done
-- Check size of u_int32_t
-- Check size of u_int32_t - done
-- Performing Test HAVE_VISIBILITY_HIDDEN
-- Performing Test HAVE_VISIBILITY_HIDDEN - Success
-- Performing Test HAVE_CLOCK_GETTIME
-- Performing Test HAVE_CLOCK_GETTIME - Success
-- Performing Test HAVE_CLOCK_REALTIME
-- Performing Test HAVE_CLOCK_REALTIME - Success
-- Checking stack direction : -1
-- Looking for include files time.h, sys/time.h
-- Looking for include files time.h, sys/time.h - found
-- Looking for O_NONBLOCK
-- Looking for O_NONBLOCK - found
-- Performing Test HAVE_PAUSE_INSTRUCTION
-- Performing Test HAVE_PAUSE_INSTRUCTION - Success
-- Looking for C++ include cxxabi.h
-- Looking for C++ include cxxabi.h - found
-- Performing Test HAVE_ABI_CXA_DEMANGLE
-- Performing Test HAVE_ABI_CXA_DEMANGLE - Success
-- Performing Test HAVE_BUILTIN_UNREACHABLE
-- Performing Test HAVE_BUILTIN_UNREACHABLE - Success
-- Performing Test HAVE_BUILTIN_EXPECT
-- Performing Test HAVE_BUILTIN_EXPECT - Success
-- Looking for __builtin_stpcpy
-- Looking for __builtin_stpcpy - found
-- Performing Test HAVE_GCC_SYNC_BUILTINS
-- Performing Test HAVE_GCC_SYNC_BUILTINS - Success
-- Performing Test HAVE_SYS_GETTID
-- Performing Test HAVE_SYS_GETTID - Failed
-- Performing Test HAVE_PTHREAD_GETTHREADID_NP
-- Performing Test HAVE_PTHREAD_GETTHREADID_NP - Failed
-- Performing Test HAVE_PTHREAD_THREADID_NP
-- Performing Test HAVE_PTHREAD_THREADID_NP - Failed
-- Performing Test HAVE_INTEGER_PTHREAD_SELF
-- Performing Test HAVE_INTEGER_PTHREAD_SELF - Success
-- Looking for netinet/in6.h
-- Looking for netinet/in6.h - not found
-- Check size of struct in6_addr
-- Check size of struct in6_addr - failed
-- Performing Test HAVE_SOCKADDR_IN_SIN_LEN
-- Performing Test HAVE_SOCKADDR_IN_SIN_LEN - Success
-- Performing Test HAVE_SOCKADDR_IN6_SIN6_LEN
-- Performing Test HAVE_SOCKADDR_IN6_SIN6_LEN - Success
-- Looking for include file numa.h
-- Looking for include file numa.h - not found
-- Looking for include file numaif.h
-- Looking for include file numaif.h - not found
-- NUMA library missing or required version not available
-- Found ZLIB: /usr/pkg/lib/libz.so (found version "1.2.11") 
-- ZLIB_VERSION (system) is 1.2.11
-- ZSTD_VERSION (system) is 1.5.2
-- The openssl command does not support zlib
-- OPENSSL_INCLUDE_DIR = /usr/pkg/include
-- OPENSSL_LIBRARY = /usr/pkg/lib/libssl.so
-- CRYPTO_LIBRARY = /usr/pkg/lib/libcrypto.so
-- OPENSSL_MAJOR_VERSION = 1
-- OPENSSL_MINOR_VERSION = 01
-- OPENSSL_FIX_VERSION = 01
-- Looking for SHA512_DIGEST_LENGTH
-- Looking for SHA512_DIGEST_LENGTH - found
-- SSL_LIBRARIES = /usr/pkg/lib/libssl.so;/usr/pkg/lib/libcrypto.so
-- KERBEROS path is none, disabling kerberos support.
CMake Warning at cmake/sasl.cmake:264 (MESSAGE):
  Could not find SASL
Call Stack (most recent call first):
  CMakeLists.txt:1351 (MYSQL_CHECK_SASL)


-- LBER_LIBRARY /usr/lib/liblber.so
-- LDAP_LIBRARY /usr/lib/libldap_r.so
-- Looking for lber.h
-- Looking for lber.h - found
-- Looking for ldap.h
-- Looking for ldap.h - found
-- Check size of mbstate_t
-- Check size of mbstate_t - done
-- Performing Test HAVE_LANGINFO_CODESET
-- Performing Test HAVE_LANGINFO_CODESET - Success
-- Looking for wcsdup
-- Looking for wcsdup - found
-- Check size of wchar_t
-- Check size of wchar_t - done
-- Check size of wint_t
-- Check size of wint_t - done
-- EDITLINE_INCLUDE_DIR /usr/include/readline
-- EDITLINE_LIBRARY /usr/lib/libedit.so
-- Performing Test EDITLINE_HAVE_HIST_ENTRY
-- Performing Test EDITLINE_HAVE_HIST_ENTRY - Success
-- Performing Test EDITLINE_HAVE_COMPLETION_INT
-- Performing Test EDITLINE_HAVE_COMPLETION_INT - Failed
-- Performing Test EDITLINE_HAVE_COMPLETION_CHAR
-- Performing Test EDITLINE_HAVE_COMPLETION_CHAR - Success
-- LIBEVENT_INCLUDE_DIRS /usr/pkg/include
-- LIBEVENT_VERSION_STRING 2.1.12-stable
-- LIBEVENT_VERSION (system) 2.1.12
-- ICU_MAJOR_VERSION = 70
-- ICU_INCLUDE_DIRS 
-- ICU_LIBRARIES /usr/pkg/lib/libicuuc.so;/usr/pkg/lib/libicuio.so;/usr/pkg/lib/libicudata.so;/usr/pkg/lib/libicui18n.so
-- WITH_PROTOBUF=system
-- Found Protobuf: /usr/pkg/lib/libprotobuf.so;-lpthread (found version "3.19.4") 
-- PROTOBUF_VERSION_NUMBER is #define GOOGLE_PROTOBUF_VERSION 3019004
-- PROTOBUF_INCLUDE_DIR /usr/pkg/include
-- PROTOBUF_LIBRARY /usr/pkg/lib/libprotobuf.so
-- PROTOBUF_LITE_LIBRARY /usr/pkg/lib/libprotobuf-lite.so
-- PROTOBUF_PROTOC_EXECUTABLE /usr/pkg/bin/protoc
-- WITH_CURL=none, not using any curl library.
-- CURL_LIBRARY = 
-- CURL_INCLUDE_DIR = 
-- RAPIDJSON_INCLUDE_DIR /scratch/work/databases/mysql80-server/work/mysql-8.0.24/extra/rapidjson/include
-- RAPIDJSON_MAJOR_VERSION is 1
-- RAPIDJSON_MINOR_VERSION is 1
-- Performing Test HAVE_CXX_W_implicit_fallthrough_2
-- Performing Test HAVE_CXX_W_implicit_fallthrough_2 - Failed
-- Performing Test HAVE_Wjump-misses-init
-- Performing Test HAVE_Wjump-misses-init - Success
-- Performing Test HAVE_Wstringop-truncation
-- Performing Test HAVE_Wstringop-truncation - Failed
-- Performing Test HAVE_CXX_W_stringop_truncation
-- Performing Test HAVE_CXX_W_stringop_truncation - Failed
-- Performing Test HAVE_Wmissing-include-dirs
-- Performing Test HAVE_Wmissing-include-dirs - Success
-- Performing Test HAVE_CXX_W_missing_include_dirs
-- Performing Test HAVE_CXX_W_missing_include_dirs - Success
-- Performing Test HAVE_CXX_W_logical_op
-- Performing Test HAVE_CXX_W_logical_op - Success
-- Performing Test HAVE_CXX_W_missing_profile
-- Performing Test HAVE_CXX_W_missing_profile - Failed
-- Found Unix DNS SRV APIs
-- Library mysqlclient depends on OSLIBS -lpthread;/usr/pkg/lib/libz.so;/usr/pkg/lib/libzstd.so;m;execinfo;/usr/pkg/lib/libssl.so;/usr/pkg/lib/libcrypto.so
-- MERGE_CONVENIENCE_LIBRARIES TARGET mysqlclient
-- MERGE_CONVENIENCE_LIBRARIES LIBS clientlib;mytime;strings;vio;mysys
-- Performing Test HAVE_NO_BUILTIN_MEMCMP
-- Performing Test HAVE_NO_BUILTIN_MEMCMP - Success
-- Looking for sched_getcpu
-- Looking for sched_getcpu - not found
-- Looking for nanosleep
-- Looking for nanosleep - found
-- Performing Test HAVE_FALLOC_PUNCH_HOLE_AND_KEEP_SIZE
-- Performing Test HAVE_FALLOC_PUNCH_HOLE_AND_KEEP_SIZE - Failed
-- Performing Test HAVE_FALLOC_FL_ZERO_RANGE
-- Performing Test HAVE_FALLOC_FL_ZERO_RANGE - Failed
-- Performing Test HAVE_IB_GCC_SYNC_SYNCHRONISE
-- Performing Test HAVE_IB_GCC_SYNC_SYNCHRONISE - Success
-- Performing Test HAVE_IB_GCC_ATOMIC_THREAD_FENCE
-- Performing Test HAVE_IB_GCC_ATOMIC_THREAD_FENCE - Success
-- Performing Test HAVE_IB_LINUX_FUTEX
-- Performing Test HAVE_IB_LINUX_FUTEX - Failed
-- Performing Test HAVE_CXX_W_cast_function_type
-- Performing Test HAVE_CXX_W_cast_function_type - Failed
-- Performing Test HAVE_PEERCRED
-- Performing Test HAVE_PEERCRED - Failed
-- Performing Test HAVE_XDR_OPS_X_PUTINT32
-- Performing Test HAVE_XDR_OPS_X_PUTINT32 - Failed
-- Performing Test HAVE_XDR_OPS_X_GETINT32
-- Performing Test HAVE_XDR_OPS_X_GETINT32 - Failed
-- Performing Test HAVE_RPC_INLINE_T
-- Performing Test HAVE_RPC_INLINE_T - Success
-- Performing Test OLD_XDR
-- Performing Test OLD_XDR - Failed
-- Performing Test HAS_INCOMPATIBLE_POINTER_TYPES
-- Performing Test HAS_INCOMPATIBLE_POINTER_TYPES - Success
-- Performing Test X_PUTLONG_NOT_USE_CONST
-- Performing Test X_PUTLONG_NOT_USE_CONST - Failed
-- RPC_INCLUDE_DIRS /usr/include
-- Performing Test HAVE_CXX_W_unused_but_set_parameter
-- Performing Test HAVE_CXX_W_unused_but_set_parameter - Success
-- Performing Test HAVE_CXX_W_extra_semi
-- Performing Test HAVE_CXX_W_extra_semi - Failed
-- Performing Test HAVE_CXX_W_suggest_override
-- Performing Test HAVE_CXX_W_suggest_override - Success
-- MYSQLX - Text log of protobuf messages enabled
-- Performing Test HAVE_CXX_W_error_maybe_uninitialized
-- Performing Test HAVE_CXX_W_error_maybe_uninitialized - Success
-- Found BISON: /scratch/work/databases/mysql80-server/work/.tools/bin/bison (found version "3.8.2") 
-- BISON outputs /scratch/work/databases/mysql80-server/work/mysql-8.0.24/sql/sql_yacc.cc;/scratch/work/databases/mysql80-server/work/mysql-8.0.24/sql/sql_yacc.h
-- BISON outputs /scratch/work/databases/mysql80-server/work/mysql-8.0.24/sql/sql_hints.yy.cc;/scratch/work/databases/mysql80-server/work/mysql-8.0.24/sql/sql_hints.yy.h
-- CONFIG_CLIENT_LIBS -lpthread -lz -lzstd -lm -lexecinfo -lssl -lcrypto -lresolv
-- CONFIG_LIBS_PRIVATE -lpthread -lz -lzstd -lm -lexecinfo -lssl -lcrypto -lresolv
-- MySQL 8.0.24
CMake Deprecation Warning at router/CMakeLists.txt:50 (CMAKE_POLICY):
  The OLD behavior for policy CMP0075 will be removed from a future version
  of CMake.

  The cmake-policies(7) manual explains that the OLD behaviors of all
  policies are deprecated and that a policy should be set to OLD only under
  specific short-term circumstances.  Projects should be ported to the NEW
  behavior and not rely on setting a policy to OLD.


-- Looking for prlimit
-- Looking for prlimit - not found
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY - Success
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY - Success
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success
-- Performing Test HAVE_CXX_W_error
-- Performing Test HAVE_CXX_W_error - Success
-- Performing Test HAVE_CXX_W_missing_noreturn
-- Performing Test HAVE_CXX_W_missing_noreturn - Success
-- Performing Test HAVE_CXX_W_conditional_uninitialized
-- Performing Test HAVE_CXX_W_conditional_uninitialized - Failed
-- Performing Test HAVE_CXX_W_suggest_attribute_format
-- Performing Test HAVE_CXX_W_suggest_attribute_format - Success
-- Performing Test HAVE_CXX_W_implicit_fallthrough
-- Performing Test HAVE_CXX_W_implicit_fallthrough - Failed
-- Performing Test HAVE_CXX_W_format_truncation
-- Performing Test HAVE_CXX_W_format_truncation - Failed
-- Performing Test HAVE_CXX_W_format_overflow
-- Performing Test HAVE_CXX_W_format_overflow - Failed
-- Performing Test HAVE_CXX_W_parentheses_equality
-- Performing Test HAVE_CXX_W_parentheses_equality - Failed
-- MAKE_DIRECTORY /scratch/work/databases/mysql80-server/work/mysql-8.0.24/lib/mysql
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) 
-- CMAKE_BUILD_TYPE: Release
-- COMPILE_DEFINITIONS: RAPIDJSON_NO_SIZETYPEDEFINE;RAPIDJSON_SCHEMA_USE_INTERNALREGEX=0;RAPIDJSON_SCHEMA_USE_STDREGEX=1;BOOST_GEOMETRY_SQRT_CHECK_FINITENESS;HAVE_CONFIG_H;__STDC_LIMIT_MACROS;__STDC_FORMAT_MACROS;_USE_MATH_DEFINES;LZ4_DISABLE_DEPRECATE_WARNINGS;HAVE_TLSv13
-- CMAKE_C_FLAGS: -fno-omit-frame-pointer -ffp-contract=off -ftls-model=initial-exec -O2 -march=i586 -DUSE_OLD_FUNCTIONS -fPIC -DPIC -fPIC -D_FORTIFY_SOURCE=2 -DHAVE_ALLOCA_H -I/usr/include -I/usr/pkg/include -I/usr/include/readline -Wall -Wextra -Wformat-security -Wvla -Wundef -Wwrite-strings -Wjump-misses-init -Wmissing-include-dirs
-- CMAKE_CXX_FLAGS: -std=c++14 -fno-omit-frame-pointer -ffp-contract=off -ftls-model=initial-exec -O2 -march=i586 -DUSE_OLD_FUNCTIONS -fPIC -DPIC -fPIC -D_FORTIFY_SOURCE=2 -DHAVE_ALLOCA_H -I/usr/include -I/usr/pkg/include -I/usr/include/readline -fPIC -DPIC -DHAVE_ALLOCA_H -Wall -Wextra -Wformat-security -Wvla -Wundef -Woverloaded-virtual -Wcast-qual -Wmissing-include-dirs -Wlogical-op
-- CMAKE_CXX_FLAGS_DEBUG: -DSAFE_MUTEX -DENABLED_DEBUG_SYNC -g
-- CMAKE_CXX_FLAGS_RELWITHDEBINFO: -ffunction-sections -fdata-sections -g -DNDEBUG
-- CMAKE_CXX_FLAGS_RELEASE: -ffunction-sections -fdata-sections -DNDEBUG
-- CMAKE_CXX_FLAGS_MINSIZEREL: -ffunction-sections -fdata-sections -DNDEBUG
-- CMAKE_C_LINK_FLAGS: 
-- CMAKE_CXX_LINK_FLAGS: 
-- CMAKE_EXE_LINKER_FLAGS -Wl,-R/usr/pkg/lib/mysql -Wl,-zrelro -Wl,-R/usr/pkg/lib/mysqlrouter -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib
-- CMAKE_MODULE_LINKER_FLAGS -Wl,-R/usr/pkg/lib/mysql -Wl,-zrelro -Wl,-R/usr/pkg/lib/mysqlrouter -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib
-- CMAKE_SHARED_LINKER_FLAGS -Wl,-R/usr/pkg/lib/mysql -Wl,-zrelro -Wl,-R/usr/pkg/lib/mysqlrouter -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib
-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_INSTALL_LIBDIR
    CMAKE_INSTALL_MANDIR


-- Build files have been written to: /scratch/work/databases/mysql80-server/work/mysql-8.0.24
=> Rewrite cmake Dependencies files