[MacPorts] #70565: Error: Failed to build mysql8: command execution failed
MacPorts
noreply at macports.org
Thu Aug 15 17:20:52 UTC 2024
#70565: Error: Failed to build mysql8: command execution failed
--------------------+--------------------
Reporter: dbl001 | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.10.0
Keywords: | Port: mysql8
--------------------+--------------------
I'm getting an error building port 'mysql8' on MacOS Sonoma 14.6.1:
:info:build ::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
Scalar_Type* value)
{{{
% port installed protobuf3-cpp
The following ports are currently installed:
protobuf3-cpp @3.21.12_2 (active)
% protoc --version
libprotoc 3.21.12
(ai) davidlaxer at bluediamond-2 build % which protoc
/opt/local/bin/protoc
(ai) davidlaxer at bluediamond-2 build % otool -L
/opt/local/lib/libprotobuf.dylib | grep protobuf
/opt/local/lib/libprotobuf.dylib:
/opt/local/lib/libprotobuf.32.dylib (compatibility version 32.0.0,
current version 3.21.12)
Building CXX object
storage/ndb/src/common/transporter/CMakeFiles/ndbtransport.dir/SHM_Transporter.unix.cpp.o
:info:build cd
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_mysql8/mysql8/work/build/storage/ndb/src/common/transporter
&& /usr/bin/clang++ -DHAVE_CONFIG_H -DHAVE_NDB_CONFIG_H -DHAVE_TLSv13
-DLZ4_DISABLE_DEPRECATE_WARNINGS -D_USE_MATH_DEFINES
-D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_mysql8/mysql8/work/build
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_mysql8/mysql8/work/build/include
-I/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
-I/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/include
-I/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/libs
-I/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/storage/ndb/include
-I/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/storage/ndb/include/util
-I/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/storage/ndb/include/portlib
-I/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/storage/ndb/include/debugger
-I/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/storage/ndb/include/transporter
-I/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/storage/ndb/include/kernel
-I/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/storage/ndb/include/mgmapi
-I/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/storage/ndb/include/mgmcommon
-I/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/storage/ndb/include/ndbapi
-I/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/storage/ndb/include/logger
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_mysql8/mysql8/work/build/storage/ndb/include
-I/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/storage/ndb/src/mgmapi
-isystem
/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/extra/rapidjson/include
-isystem /opt/local/include/editline -isystem /usr/local/include
-std=c++20 -fno-omit-frame-pointer -ftls-model=initial-exec -pipe
-I/opt/local/libexec/openssl3/include -Os -DNDEBUG
-I/opt/local/libexec/openssl3/include -isystem/opt/local/include
-stdlib=libc++
-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -Wall
-Wextra -Wformat-security -Wvla -Wundef -Wmissing-format-attribute
-Woverloaded-virtual -Wcast-qual -Wno-null-conversion -Wno-unused-private-
field -Wconditional-uninitialized -Wdeprecated -Wno-deprecated-
declarations -Wno-shorten-64-to-32 -Wextra-semi -Wheader-hygiene -Wnon-
virtual-dtor -Wundefined-reinterpret-cast -Wrange-loop-analysis
-Winconsistent-missing-destructor-override -Winconsistent-missing-override
-Wshadow-field -Wstring-concatenation -Wdocumentation -Wno-documentation-
deprecated-sync -fno-strict-aliasing -ffunction-sections -fdata-sections
-O3 -DNDEBUG -arch x86_64 -isysroot
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -mmacosx-version-
min=14.0 -fPIC -MD -MT
storage/ndb/src/common/transporter/CMakeFiles/ndbtransport.dir/SHM_Transporter.unix.cpp.o
-MF CMakeFiles/ndbtransport.dir/SHM_Transporter.unix.cpp.o.d
--language=c++ -o CMakeFiles/ndbtransport.dir/SHM_Transporter.unix.cpp.o
-c
/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/storage/ndb/src/common/transporter/SHM_Transporter.unix.cpp
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_mysql8/mysql8/work/build/plugin/x/generated/protobuf/mysqlx_datatypes.pb.h:110:30:
error: no type named 'ConstStringParam' in namespace 'google::protobuf'
:info:build ::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
Scalar_Type* value) {
:info:build ~~~~~~~~~~~~~~~~~~~~~~~~~^
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_mysql8/mysql8/work/build/plugin/x/generated/protobuf/mysqlx_datatypes.pb.h:134:30:
error: no type named 'ConstStringParam' in namespace 'google::protobuf'
:info:build ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Any_Type*
value) {
:info:build ~~~~~~~~~~~~~~~~~~~~~~~~~^
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_mysql8/mysql8/work/build/plugin/x/generated/protobuf/mysqlx_datatypes.pb.h:145:12:
error: unknown type name 'PROTOBUF_CONSTEXPR'
:info:build explicit PROTOBUF_CONSTEXPR
Scalar_String(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
:info:build ^
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_mysql8/mysql8/work/build/plugin/x/generated/protobuf/mysqlx_datatypes.pb.h:145:80:
error: no type named 'ConstantInitialized' in namespace
'google::protobuf::internal'
:info:build explicit PROTOBUF_CONSTEXPR
Scalar_String(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
:info:build
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_mysql8/mysql8/work/build/plugin/x/generated/protobuf/mysqlx_datatypes.pb.h:145:31:
error: constructor cannot have a return type
:info:build explicit PROTOBUF_CONSTEXPR
Scalar_String(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
:info:build ^~~~~~~~~~~~~
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_mysql8/mysql8/work/build/plugin/x/generated/protobuf/mysqlx_datatypes.pb.h:258:16:
error: unknown type name 'ClassData'
:info:build static const ClassData _class_data_;
:info:build ^
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_mysql8/mysql8/work/build/plugin/x/generated/protobuf/mysqlx_datatypes.pb.h:259:43:
error: no type named 'ClassData' in 'google::protobuf::Message'
:info:build const
::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
:info:build ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_mysql8/mysql8/work/build/plugin/x/generated/protobuf/mysqlx_datatypes.pb.h:281:3:
error: unknown type name 'PROTOBUF_NODISCARD'
:info:build PROTOBUF_NODISCARD std::string* release_value();
:info:build ^
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_mysql8/mysql8/work/build/plugin/x/generated/protobuf/mysqlx_datatypes.pb.h:281:27:
error: non-friend class member 'string' cannot have a qualified name
:info:build PROTOBUF_NODISCARD std::string* release_value();
:info:build ~~~~~^
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_mysql8/mysql8/work/build/plugin/x/generated/protobuf/mysqlx_datatypes.pb.h:281:33:
error: expected ';' at end of declaration list
:info:build PROTOBUF_NODISCARD std::string* release_value();
:info:build ^
:info:build ;
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_mysql8/mysql8/work/build/plugin/x/generated/protobuf/mysqlx_datatypes.pb.h:159:9:
error: use of undeclared identifier 'GetOwningArena'
:info:build if (GetOwningArena() == from.GetOwningArena()
:info:build ^
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_mysql8/mysql8/work/build/plugin/x/generated/protobuf/mysqlx_datatypes.pb.h:159:34:
error: no member named 'GetOwningArena' in
'Mysqlx::Datatypes::Scalar_String'
:info:build if (GetOwningArena() == from.GetOwningArena()
:info:build ~~~~ ^
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_mysql8/mysql8/work/build/plugin/x/generated/protobuf/mysqlx_datatypes.pb.h:206:9:
error: use of undeclared identifier 'GetOwningArena'
:info:build if (GetOwningArena() == other->GetOwningArena()) {
:info:build ^
}}}
--
Ticket URL: <https://trac.macports.org/ticket/70565>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list