Opened 2 days ago

Closed 2 days ago

#70322 closed defect (duplicate)

mysql8 @8.4.1_1: Undefined symbols "std::exception_ptr::__from_native_exception_pointer(void*)", "___cxa_init_primary_exception"

Reported by: wallygva (Wally Grotophorst) Owned by: herbygillot (Herby Gillot)
Priority: Normal Milestone:
Component: ports Version: 2.9.3
Keywords: arm64 ventura Cc:
Port: mysql8

Description (last modified by ryandesign (Ryan Carsten Schmidt))

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"

Change History (2)

comment:1 Changed 2 days ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Keywords: arm64 ventura added; mysql 8..4 removed
Owner: set to herbygillot
Port: mysql8 added
Status: newassigned
Summary: mysql 8.4 will not build on my ARM mac running Venturamysql8 @8.4.1_1: Undefined symbols "std::exception_ptr::__from_native_exception_pointer(void*)", "___cxa_init_primary_exception"

comment:2 Changed 2 days ago by ryandesign (Ryan Carsten Schmidt)

Resolution: duplicate
Status: assignedclosed

Duplicate of #70323.

Note: See TracTickets for help on using tickets.