Opened 6 months ago

Last modified 6 weeks ago

#70061 assigned defect

mysql8 @8.4.0_2: build failure when boost port is active

Reported by: Behinder (behinder) Owned by: herbygillot (Herby Gillot)
Priority: Normal Milestone:
Component: ports Version: 2.9.3
Keywords: Cc: Torsten-B, cooljeanius (Eric Gallager)
Port: mysql8

Description

I am attaching log for reference.

Attachments (1)

main.log.bz2 (136.4 KB) - added by jmroot (Joshua Root) 6 months ago.

Download all attachments as: .zip

Change History (12)

comment:1 Changed 6 months ago by jmroot (Joshua Root)

Keywords: mysql8 removed
Owner: set to herbygillot
Port: mysql8-server removed
Status: newassigned
Summary: mysql8 failed to buildmysql8 @8.4.0_2 build failure
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_mysql8/mysql8/work/mysql-8.4.0/sql/gis/buffer.cc:71:7: error: no matching constructor for initialization of 'bg::strategy::buffer::geographic_point_circle<>'
:info:build       geo_point_circle(bg::srs::spheroid<double>(srs->semi_major_axis(),
:info:build       ^                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:info:build /opt/local/include/boost/geometry/strategies/geographic/buffer_point_circle.hpp:61:14: note: candidate constructor not viable: allows at most single argument 'count', but 2 arguments were provided
:info:build     explicit geographic_point_circle(std::size_t count = 90)
:info:build              ^
:info:build /opt/local/include/boost/geometry/strategies/geographic/buffer_point_circle.hpp:55:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided
:info:build class geographic_point_circle
:info:build       ^
:info:build /opt/local/include/boost/geometry/strategies/geographic/buffer_point_circle.hpp:55:7: note: candidate constructor (the implicit move constructor) not viable: requires 1 argument, but 2 were provided

Changed 6 months ago by jmroot (Joshua Root)

Attachment: main.log.bz2 added

comment:2 Changed 6 months ago by Torsten-B

Cc: Torsten-B added

comment:3 Changed 5 months ago by cooljeanius (Eric Gallager)

Cc: cooljeanius added

comment:4 Changed 5 months ago by bradleyCPA (B. Holder)

port deactivate boost works around the issue

comment:5 Changed 5 months ago by ryandesign (Ryan Carsten Schmidt)

So the fix will be to resolve #63136 and delete the boost port.

comment:6 in reply to:  5 Changed 5 months ago by cooljeanius (Eric Gallager)

Replying to ryandesign:

So the fix will be to resolve #63136 and delete the boost port.

That might take awhile; how about in the meantime?

comment:7 Changed 4 months ago by ryandesign (Ryan Carsten Schmidt)

The conflicts_build portgroup can be used.

comment:8 Changed 4 months ago by ryandesign (Ryan Carsten Schmidt)

Summary: mysql8 @8.4.0_2 build failuremysql8 @8.4.0_2: build failure when boost port is active

comment:9 Changed 7 weeks ago by mediaformat (Django)

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?

comment:10 Changed 7 weeks ago by mediaformat (Django)

Actually, doing brew unlink boost, followed by sudo port install boost, and retrying took the mysql8 port install further along.

:info:build [  9%] Built target mysqlgcs
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_mysql8/mysql8/work/build'
:info:build make: *** [all] Error 2
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_mysql8/mysql8/work/build'
:info:build 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" && /usr/bin/make -j8 -w all VERBOSE=ON 
:info:build Exit code: 2
:error:build Failed to build mysql8: command execution failed
:debug:build Error code: CHILDSTATUS 78728 2
:debug:build Backtrace: command execution failed
:debug:build     while executing
:debug:build "system {*}$notty {*}$callback {*}$nice $fullcmdstring"
:debug:build     invoked from within
:debug:build "command_exec -callback portprogress::target_progress_callback build"
:debug:build     (procedure "portbuild::build_main" line 10)
:debug:build     invoked from within
:debug:build "$procedure $targetname"
:error:build 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.

comment:11 Changed 6 weeks ago by cooljeanius (Eric Gallager)

note that this blocks the upgrading of p5.34-dbd-mysql, which in turn blocks upgrading of amavisd-new and sqlgrey. Edit: postfixadmin, too (just putting the port names here for searchability)

Version 1, edited 6 weeks ago by cooljeanius (Eric Gallager) (previous) (next) (diff)
Note: See TracTickets for help on using tickets.