[MacPorts] #70323: 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:14 UTC 2024
#70323: 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
* keywords: => arm64 ventura
* owner: (none) => herbygillot
* port: mysql 8.41_1 => mysql8
Old description:
> :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
>
> Attaching full error log. Here is the last bit (maybe this is enough to
> diagnose the issue?):
>
> :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
New description:
{{{
: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
}}}
Attaching full error log. Here is the last bit (maybe this is enough to
diagnose the issue?):
{{{
: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
--
Comment:
Has duplicate #70322.
--
Ticket URL: <https://trac.macports.org/ticket/70323#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list