[MacPorts] #70061: mysql8 @8.4.0_2: build failure when boost port is active

MacPorts noreply at macports.org
Mon Sep 23 19:22:53 UTC 2024


#70061: mysql8 @8.4.0_2: build failure when boost port is active
-----------------------+-------------------------
  Reporter:  Behinder  |      Owner:  herbygillot
      Type:  defect    |     Status:  assigned
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.9.3
Resolution:            |   Keywords:
      Port:  mysql8    |
-----------------------+-------------------------

Comment (by mediaformat):

 Getting errors, with the following from main.log
 {{{
 :info:configure -- FIDO_INCLUDE_DIR /usr/local/opt/libfido2/include
 :info:configure CMake Error at CMakeLists.txt:1952 (MESSAGE):
 :info:configure   WITH_ICU=system is not compatible with Homebrew boost
 :info:configure   MySQL depends on boost_1_84_0 with a set of patches.
 :info:configure   Including headers from /usr/local/include will break the
 build.
 :info:configure   Please use WITH_ICU=bundled
 :info:configure   or do 'brew uninstall boost' or 'brew unlink boost'
 :info:configure -- Configuring incomplete, errors occurred!
 :info:configure Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_mysql8/mysql8/work/build"
 && /opt/local/bin/cmake -G "CodeBlocks - Unix Makefiles"
 -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX="/opt/local"
 -DCMAKE_INSTALL_NAME_DIR="/opt/local/lib"
 -DCMAKE_SYSTEM_PREFIX_PATH="/opt/local;/usr" -DCMAKE_C_COMPILER="$CC"
 -DCMAKE_CXX_COMPILER="$CXX" -DCMAKE_OBJC_COMPILER="$CC"
 -DCMAKE_OBJCXX_COMPILER="$CXX" -DCMAKE_POLICY_DEFAULT_CMP0025=NEW
 -DCMAKE_POLICY_DEFAULT_CMP0060=NEW -DCMAKE_VERBOSE_MAKEFILE=ON
 -DCMAKE_COLOR_MAKEFILE=ON -DCMAKE_FIND_FRAMEWORK=LAST
 -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DCMAKE_MAKE_PROGRAM=/usr/bin/make
 -DCMAKE_MODULE_PATH="/opt/local/share/cmake/Modules"
 -DCMAKE_PREFIX_PATH="/opt/local/share/cmake/Modules"
 -DCMAKE_INSTALL_RPATH=";/opt/local/lib" -Wno-dev -DWITH_DEBUG=OFF
 -DWITH_UNIT_TESTS=OFF -DCMAKE_BUILD_WITH_INSTALL_RPATH:BOOL=OFF
 -DCMAKE_INSTALL_NAME_DIR:PATH="/opt/local/lib/mysql8/mysql"
 -DBISON_EXECUTABLE="/opt/local/bin/bison" -DFORCE_UNSUPPORTED_COMPILER=ON
 -DINSTALL_LAYOUT:STRING=MACPORTS
 -DMYSQL_DATADIR:PATH="/opt/local/var/db/mysql8"
 -DMYSQL_UNIX_ADDR:PATH="/opt/local/var/run/mysql8/mysqld.sock"
 -DSYSCONFDIR:PATH="/opt/local/etc/mysql8" -DWITH_UNIT_TESTS=OFF
 -DWITH_CURL=system -DWITH_EDITLINE=system -DWITH_FIDO=system
 -DWITH_ICU=system -DWITH_LDAP=system -DWITH_LZ4=system
 -DWITH_PROTOBUF=system -DWITH_SASL=system -DWITH_ZLIB=system
 -DWITH_ZSTD=system -DCMAKE_PREFIX_PATH=/opt/local/lib
 -DCMAKE_PREFIX_PATH=/opt/local/libexec/openssl3 -DWITH_SSL=system
 -DWITH_ROUTER:BOOL=OFF -DOPENSSL_ROOT_DIR=/opt/local/libexec/openssl3
 -DCMAKE_OSX_ARCHITECTURES="x86_64" -DCMAKE_OSX_DEPLOYMENT_TARGET="11.0"
 -DCMAKE_OSX_SYSROOT="/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk"
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_mysql8/mysql8/work/mysql-8.4.2
 :info:configure Exit code: 1
 }}}
 `brew uninstall boost` didn't achieve anything.

 Is there any other way to use this?

-- 
Ticket URL: <https://trac.macports.org/ticket/70061#comment:9>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list