[MacPorts] #70322: mysql8 @8.4.1_1: Undefined symbols "std::exception_ptr::__from_native_exception_pointer(void*)", "___cxa_init_primary_exception" (was: mysql 8.4 will not build on my ARM mac running Ventura)
MacPorts
noreply at macports.org
Wed Jul 3 18:03:06 UTC 2024
#70322: mysql8 @8.4.1_1: Undefined symbols
"std::exception_ptr::__from_native_exception_pointer(void*)",
"___cxa_init_primary_exception"
-----------------------+---------------------------
Reporter: wallygva | Owner: herbygillot
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.9.3
Resolution: | Keywords: arm64 ventura
Port: mysql8 |
-----------------------+---------------------------
Changes (by ryandesign):
* status: new => assigned
* owner: (none) => herbygillot
* keywords: mysql 8..4 => arm64 ventura
* port: => mysql8
Old description:
> during "port upgrade outdated" session, things came to a halt 95% into
> building mysql8.4
>
> head of error log:
>
> :debug:main Starting logging for mysql8 @8.4.1_1
> :debug:sysinfo macOS 13.6.7 (darwin/22.6.0) arch arm
> :debug:sysinfo MacPorts 2.9.3
> :debug:sysinfo Xcode 14.3.1, CLT 14.3.1.0.1.1683849156
> :debug:sysinfo SDK 13
> :debug:sysinfo MACOSX_DEPLOYMENT_TARGET: 13.0
>
> tail end of error log:
>
> :info:build Undefined symbols for architecture arm64:
> :info:build
> "std::exception_ptr::__from_native_exception_pointer(void*)", referenced
> from:
> :info:build
> std::__1::promise<std::__1::unique_ptr<Gcs_xcom_input_queue_impl<Gcs_mpsc_queue<xcom_input_request,
> xcom_input_request_ptr_deleter>>::Reply,
> std::__1::default_delete<Gcs_xcom_input_queue_impl<Gcs_mpsc_queue<xcom_input_request,
> xcom_input_request_ptr_deleter>>::Reply>>>::~promise() in
> libmysqlgcs.a(gcs_xcom_proxy.cc.o)
> :info:build "___cxa_init_primary_exception", referenced from:
> :info:build
> std::__1::promise<std::__1::unique_ptr<Gcs_xcom_input_queue_impl<Gcs_mpsc_queue<xcom_input_request,
> xcom_input_request_ptr_deleter>>::Reply,
> std::__1::default_delete<Gcs_xcom_input_queue_impl<Gcs_mpsc_queue<xcom_input_request,
> xcom_input_request_ptr_deleter>>::Reply>>>::~promise() in
> libmysqlgcs.a(gcs_xcom_proxy.cc.o)
> :info:build ld: symbol(s) not found for architecture arm64
> :info:build clang++: error: linker command failed with exit code 1 (use
> -v to see invocation)
> :info:build make[2]: *** [plugin_output_directory/group_replication.so]
> Error 1
> :info:build make[2]: 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[1]: ***
> [plugin/group_replication/CMakeFiles/group_replication.dir/all] Error 2
> :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 -j12 -w all VERBOSE=ON
> :info:build Exit code: 2
> :error:build Failed to build mysql8: command execution failed
> :debug:build Error code: CHILDSTATUS 25952 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"
New description:
during `port upgrade outdated` session, things came to a halt 95% into
building mysql8.4
head of error log:
{{{
:debug:main Starting logging for mysql8 @8.4.1_1
:debug:sysinfo macOS 13.6.7 (darwin/22.6.0) arch arm
:debug:sysinfo MacPorts 2.9.3
:debug:sysinfo Xcode 14.3.1, CLT 14.3.1.0.1.1683849156
:debug:sysinfo SDK 13
:debug:sysinfo MACOSX_DEPLOYMENT_TARGET: 13.0
}}}
tail end of error log:
{{{
:info:build Undefined symbols for architecture arm64:
:info:build
"std::exception_ptr::__from_native_exception_pointer(void*)", referenced
from:
:info:build
std::__1::promise<std::__1::unique_ptr<Gcs_xcom_input_queue_impl<Gcs_mpsc_queue<xcom_input_request,
xcom_input_request_ptr_deleter>>::Reply,
std::__1::default_delete<Gcs_xcom_input_queue_impl<Gcs_mpsc_queue<xcom_input_request,
xcom_input_request_ptr_deleter>>::Reply>>>::~promise() in
libmysqlgcs.a(gcs_xcom_proxy.cc.o)
:info:build "___cxa_init_primary_exception", referenced from:
:info:build
std::__1::promise<std::__1::unique_ptr<Gcs_xcom_input_queue_impl<Gcs_mpsc_queue<xcom_input_request,
xcom_input_request_ptr_deleter>>::Reply,
std::__1::default_delete<Gcs_xcom_input_queue_impl<Gcs_mpsc_queue<xcom_input_request,
xcom_input_request_ptr_deleter>>::Reply>>>::~promise() in
libmysqlgcs.a(gcs_xcom_proxy.cc.o)
:info:build ld: symbol(s) not found for architecture arm64
:info:build clang++: error: linker command failed with exit code 1 (use -v
to see invocation)
:info:build make[2]: *** [plugin_output_directory/group_replication.so]
Error 1
:info:build make[2]: 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[1]: ***
[plugin/group_replication/CMakeFiles/group_replication.dir/all] Error 2
: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 -j12 -w all VERBOSE=ON
:info:build Exit code: 2
:error:build Failed to build mysql8: command execution failed
:debug:build Error code: CHILDSTATUS 25952 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"
}}}
--
--
Ticket URL: <https://trac.macports.org/ticket/70322#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list