% sudo port install mysql8-server Password: ---> Computing dependencies for mysql8-server The following dependencies will be installed: cyrus-sasl2 kerberos5 libcomerr lmdb mysql8 Continue? [Y/n]: y ---> Fetching archive for libcomerr ---> Attempting to fetch libcomerr-1.45.6_0.darwin_20.x86_64.tbz2 from https://mse.uk.packages.macports.org/libcomerr ---> Attempting to fetch libcomerr-1.45.6_0.darwin_20.x86_64.tbz2.rmd160 from https://mse.uk.packages.macports.org/libcomerr ---> Installing libcomerr @1.45.6_0 ---> Activating libcomerr @1.45.6_0 ---> Cleaning libcomerr ---> Fetching archive for lmdb ---> Attempting to fetch lmdb-0.9.29_0.darwin_20.x86_64.tbz2 from https://mse.uk.packages.macports.org/lmdb ---> Attempting to fetch lmdb-0.9.29_0.darwin_20.x86_64.tbz2.rmd160 from https://mse.uk.packages.macports.org/lmdb ---> Installing lmdb @0.9.29_0 ---> Activating lmdb @0.9.29_0 ---> Cleaning lmdb ---> Fetching archive for kerberos5 ---> Attempting to fetch kerberos5-1.19.2_0.darwin_20.x86_64.tbz2 from https://mse.uk.packages.macports.org/kerberos5 ---> Attempting to fetch kerberos5-1.19.2_0.darwin_20.x86_64.tbz2.rmd160 from https://mse.uk.packages.macports.org/kerberos5 ---> Installing kerberos5 @1.19.2_0 ---> Activating kerberos5 @1.19.2_0 ---> Cleaning kerberos5 ---> Fetching archive for cyrus-sasl2 ---> Attempting to fetch cyrus-sasl2-2.1.27_4+kerberos.darwin_20.x86_64.tbz2 from https://mse.uk.packages.macports.org/cyrus-sasl2 ---> Attempting to fetch cyrus-sasl2-2.1.27_4+kerberos.darwin_20.x86_64.tbz2.rmd160 from https://mse.uk.packages.macports.org/cyrus-sasl2 ---> Installing cyrus-sasl2 @2.1.27_4+kerberos ---> Activating cyrus-sasl2 @2.1.27_4+kerberos ---> Cleaning cyrus-sasl2 ---> Fetching archive for mysql8 ---> Attempting to fetch mysql8-8.0.26_1.darwin_20.x86_64.tbz2 from https://mse.uk.packages.macports.org/mysql8 ---> Attempting to fetch mysql8-8.0.26_1.darwin_20.x86_64.tbz2 from https://packages.macports.org/mysql8 ---> Attempting to fetch mysql8-8.0.26_1.darwin_20.x86_64.tbz2 from https://ema.uk.packages.macports.org/mysql8 ---> Fetching distfiles for mysql8 ---> Attempting to fetch mysql-8.0.26.tar.gz from https://distfiles.macports.org/mysql8 ---> Attempting to fetch boost_1_73_0.tar.gz from https://distfiles.macports.org/mysql8 ---> Verifying checksums for mysql8 ---> Extracting mysql8 ---> Applying patches to mysql8 ---> Configuring mysql8 Warning: Configuration logfiles contain indications of -Wimplicit-function-declaration; check that features were not accidentally disabled: setns: found in build/CMakeFiles/CMakeError.log exit: found in build/CMakeFiles/CMakeError.log memset: found in build/CMakeFiles/CMakeError.log ---> Building mysql8 Error: Failed to build mysql8: command execution failed Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_mysql8/mysql8/main.log for details. Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug. Error: Processing of port mysql8-server failed The following ports are currently installed: apache2 @2.4.51_0+preforkmpm (active) apr @1.7.0_3 (active) apr-util @1.6.1_2 (active) argon2 @20190702_1 (active) autoconf @2.71_1 (active) bzip2 @1.0.8_0 (active) cmake @3.21.3_0 (active) curl @7.78.0_0+ssl (active) curl-ca-bundle @7.78.0_0 (active) cyrus-sasl2 @2.1.27_4+kerberos (active) db48 @4.8.30_4 (active) expat @2.4.1_0 (active) gdbm @1.21_0 (active) gettext @0.19.8.1_2 (active) gsed @4.8_0 (active) icu @67.1_4 (active) judy @1.0.5_1 (active) kerberos5 @1.19.2_0 (active) libarchive @3.5.2_0 (active) libcomerr @1.45.6_0 (active) libcxx @5.0.1_4 (active) libedit @20210216-3.1_0 (active) libiconv @1.16_1 (active) libidn2 @2.3.2_0 (active) libpsl @0.21.1-20210726_2 (active) libunistring @0.9.10_0 (active) libuv @1.42.0_0 (active) libxml2 @2.9.12_1 (active) lmdb @0.9.29_0 (active) lz4 @1.9.3_1 (active) lzo2 @2.10_0 (active) m4 @1.4.19_1 (active) mariadb-10.2 @10.2.39_0 (active) mhash @0.9.9.9_1 (active) mysql_select @0.1.2_4 (active) ncurses @6.2_1 (active) openssl @1.1_3 (active) openssl11 @1.1.1l_5 (active) pcre @8.45_0 (active) pcre2 @10.37_0 (active) perl5 @5.28.3_0+perl5_28 (active) perl5.28 @5.28.3_4 (active) php80 @8.0.11_0+libedit (active) php80-apache2handler @8.0.11_0 (active) php80-calendar @8.0.11_0 (active) php80-mysql @8.0.11_0+mysqlnd (active) php80-sqlite @8.0.11_0 (active) php80-xdebug @3.0.4_0 (active) php_select @1.0_0 (active) pkgconfig @0.29.2_0 (active) readline @8.1.000_0 (active) sqlite3 @3.36.0_0 (active) tcp_wrappers @20_4 (active) xz @5.2.5_0 (active) zlib @1.2.11_0 (active) zstd @1.5.0_1 (active)