[MacPorts] #68528: MariaDB installation problem on Sonoma
MacPorts
noreply at macports.org
Sun Mar 31 13:30:22 UTC 2024
#68528: MariaDB installation problem on Sonoma
-----------------------------------------+-----------------------
Reporter: 6aKa | Owner: michaelld
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: mariadb-10.6 mariadb-10.11 |
-----------------------------------------+-----------------------
Comment (by barracuda156):
{{{
2024-03-31T12:35:52.5539780Z [ 99%] Building CXX object
storage/connect/CMakeFiles/connect.dir/tabxml.cpp.o
2024-03-31T12:35:52.5551070Z cd /opt/local/var/macports/build
/_Users_runner_work_macports-ports_macports-
ports_ports_databases_mariadb-10.11/mariadb-10.11/work/build/storage/connect
&& /opt/local/var/macports/build/_Users_runner_work_macports-
ports_macports-
ports_ports_databases_mariadb-10.11/mariadb-10.11/work/compwrap/cxx/usr/bin/clang++
-DBSON_SUPPORT -DFORCE_INIT_OF_VARS -DGZ_SUPPORT -DHAVE_CONFIG_H
-DHUGE_SUPPORT -DLIBXML2_SUPPORT -DLINUX -DMARIADB -DMYSQL_DYNAMIC_PLUGIN
-DNOCRYPT -DUBUNTU -DUNIX -DVCT_SUPPORT -DXMAP -DZIP_SUPPORT
-Dconnect_EXPORTS -I/opt/local/var/macports/build
/_Users_runner_work_macports-ports_macports-
ports_ports_databases_mariadb-10.11/mariadb-10.11/work/server-
mariadb-10.11.1/wsrep-lib/include -I/opt/local/var/macports/build
/_Users_runner_work_macports-ports_macports-
ports_ports_databases_mariadb-10.11/mariadb-10.11/work/server-
mariadb-10.11.1/wsrep-lib/wsrep-API/v26 -I/opt/local/var/macports/build
/_Users_runner_work_macports-ports_macports-
ports_ports_databases_mariadb-10.11/mariadb-10.11/work/build/include
-I/opt/local/var/macports/build/_Users_runner_work_macports-
ports_macports-ports_ports_databases_mariadb-10.11/mariadb-10.11/work
/server-mariadb-10.11.1/include/providers -I/opt/local/var/macports/build
/_Users_runner_work_macports-ports_macports-
ports_ports_databases_mariadb-10.11/mariadb-10.11/work/server-
mariadb-10.11.1/include -I/opt/local/var/macports/build
/_Users_runner_work_macports-ports_macports-
ports_ports_databases_mariadb-10.11/mariadb-10.11/work/server-
mariadb-10.11.1/sql -I/opt/local/include/libxml2
-I/opt/local/libexec/openssl3/include -I/opt/local/include -pipe
-I/opt/local/libexec/openssl3/include
-I/opt/local/libexec/boost/1.78/include -Os -stdlib=libc++
-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -fstack-
protector --param=ssp-buffer-size=4 -Wall -Wmissing-declarations -Wno-
error=unused-function -Wno-error=unused-variable -Wno-error=unused-value
-Wno-error=parentheses -Wno-error=strict-aliasing -Wno-error=misleading-
indentation -Wno-error=implicit-fallthrough -Wno-error=type-limits -Wno-
error=deprecated-declarations -fpermissive -fexceptions -fPIC -DNDEBUG
-D_FORTIFY_SOURCE=2 -DDBUG_OFF -std=gnu++11 -arch arm64 -isysroot
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -mmacosx-version-
min=14.0 -fPIC -I/opt/local/libexec/openssl3/include
-I/opt/local/libexec/boost/1.78/include -isystem/opt/local/include
-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -MD -MT
storage/connect/CMakeFiles/connect.dir/tabxml.cpp.o -MF
CMakeFiles/connect.dir/tabxml.cpp.o.d -o
CMakeFiles/connect.dir/tabxml.cpp.o -c /opt/local/var/macports/build
/_Users_runner_work_macports-ports_macports-
ports_ports_databases_mariadb-10.11/mariadb-10.11/work/server-
mariadb-10.11.1/storage/connect/tabxml.cpp
2024-03-31T12:35:52.5562420Z /opt/local/var/macports/build
/_Users_runner_work_macports-ports_macports-
ports_ports_databases_mariadb-10.11/mariadb-10.11/work/server-
mariadb-10.11.1/storage/connect/libdoc.cpp:343:3: warning:
'xmlKeepBlanksDefault' is deprecated [-Wdeprecated-declarations]
2024-03-31T12:35:52.5563470Z xmlKeepBlanksDefault(1);
2024-03-31T12:35:52.5563670Z ^
2024-03-31T12:35:52.5564210Z
/opt/local/include/libxml2/libxml/parser.h:956:1: note:
'xmlKeepBlanksDefault' has been explicitly marked deprecated here
2024-03-31T12:35:52.5564800Z XML_DEPRECATED XMLPUBFUN int
2024-03-31T12:35:52.5565000Z ^
2024-03-31T12:35:52.5573100Z
/opt/local/include/libxml2/libxml/xmlversion.h:447:43: note: expanded from
macro 'XML_DEPRECATED'
2024-03-31T12:35:52.5573660Z # define XML_DEPRECATED
__attribute__((deprecated))
2024-03-31T12:35:52.5573970Z ^
2024-03-31T12:35:52.5575540Z /opt/local/var/macports/build
/_Users_runner_work_macports-ports_macports-
ports_ports_databases_mariadb-10.11/mariadb-10.11/work/server-
mariadb-10.11.1/storage/connect/libdoc.cpp:368:22: error: assigning to
'xmlErrorPtr' (aka '_xmlError *') from 'const xmlError *' (aka 'const
_xmlError *') discards qualifiers
2024-03-31T12:35:52.5576760Z } else if ((Xerr = xmlGetLastError()))
2024-03-31T12:35:52.5577100Z ^~~~~~~~~~~~~~~~~
2024-03-31T12:35:52.5578480Z /opt/local/var/macports/build
/_Users_runner_work_macports-ports_macports-
ports_ports_databases_mariadb-10.11/mariadb-10.11/work/server-
mariadb-10.11.1/storage/connect/libdoc.cpp:508:17: error: cannot
initialize a variable of type 'xmlErrorPtr' (aka '_xmlError *') with an
rvalue of type 'const xmlError *' (aka 'const _xmlError *')
2024-03-31T12:35:52.5579760Z xmlErrorPtr err = xmlGetLastError();
2024-03-31T12:35:52.5580020Z ^ ~~~~~~~~~~~~~~~~~
2024-03-31T12:35:52.5581290Z /opt/local/var/macports/build
/_Users_runner_work_macports-ports_macports-
ports_ports_databases_mariadb-10.11/mariadb-10.11/work/server-
mariadb-10.11.1/storage/connect/libdoc.cpp:549:19: error: assigning to
'xmlErrorPtr' (aka '_xmlError *') from 'const xmlError *' (aka 'const
_xmlError *') discards qualifiers
2024-03-31T12:35:52.5582470Z if ((Xerr = xmlGetLastError()))
2024-03-31T12:35:52.5582720Z ^~~~~~~~~~~~~~~~~
2024-03-31T12:35:52.5583980Z /opt/local/var/macports/build
/_Users_runner_work_macports-ports_macports-
ports_ports_databases_mariadb-10.11/mariadb-10.11/work/server-
mariadb-10.11.1/storage/connect/libdoc.cpp:558:19: error: assigning to
'xmlErrorPtr' (aka '_xmlError *') from 'const xmlError *' (aka 'const
_xmlError *') discards qualifiers
2024-03-31T12:35:52.5585230Z if ((Xerr = xmlGetLastError()))
2024-03-31T12:35:52.5585470Z ^~~~~~~~~~~~~~~~~
2024-03-31T12:35:52.5586970Z /opt/local/var/macports/build
/_Users_runner_work_macports-ports_macports-
ports_ports_databases_mariadb-10.11/mariadb-10.11/work/server-
mariadb-10.11.1/storage/connect/libdoc.cpp:567:19: error: assigning to
'xmlErrorPtr' (aka '_xmlError *') from 'const xmlError *' (aka 'const
_xmlError *') discards qualifiers
2024-03-31T12:35:52.5589870Z if ((Xerr = xmlGetLastError()))
2024-03-31T12:35:52.5590610Z ^~~~~~~~~~~~~~~~~
2024-03-31T12:35:52.5594640Z /opt/local/var/macports/build
/_Users_runner_work_macports-ports_macports-
ports_ports_databases_mariadb-10.11/mariadb-10.11/work/server-
mariadb-10.11.1/storage/connect/libdoc.cpp:576:19: error: assigning to
'xmlErrorPtr' (aka '_xmlError *') from 'const xmlError *' (aka 'const
_xmlError *') discards qualifiers
2024-03-31T12:35:52.5598460Z if ((Xerr = xmlGetLastError()))
2024-03-31T12:35:52.5599160Z ^~~~~~~~~~~~~~~~~
2024-03-31T12:35:52.5602310Z /opt/local/var/macports/build
/_Users_runner_work_macports-ports_macports-
ports_ports_databases_mariadb-10.11/mariadb-10.11/work/server-
mariadb-10.11.1/storage/connect/libdoc.cpp:603:5: warning: 'xmlXPathInit'
is deprecated [-Wdeprecated-declarations]
2024-03-31T12:35:52.5605170Z xmlXPathInit();
2024-03-31T12:35:52.5605650Z ^
2024-03-31T12:35:52.5607010Z
/opt/local/include/libxml2/libxml/xpath.h:562:1: note: 'xmlXPathInit' has
been explicitly marked deprecated here
2024-03-31T12:35:52.5608460Z XML_DEPRECATED
2024-03-31T12:35:52.5608910Z ^
2024-03-31T12:35:52.5610120Z
/opt/local/include/libxml2/libxml/xmlversion.h:447:43: note: expanded from
macro 'XML_DEPRECATED'
2024-03-31T12:35:52.5611710Z # define XML_DEPRECATED
__attribute__((deprecated))
2024-03-31T12:35:52.5612530Z ^
2024-03-31T12:35:52.5616180Z /opt/local/var/macports/build
/_Users_runner_work_macports-ports_macports-
ports_ports_databases_mariadb-10.11/mariadb-10.11/work/server-
mariadb-10.11.1/storage/connect/libdoc.cpp:652:17: error: assigning to
'xmlErrorPtr' (aka '_xmlError *') from 'const xmlError *' (aka 'const
_xmlError *') discards qualifiers
2024-03-31T12:35:52.5620380Z if ((Xerr = xmlGetLastError())) {
2024-03-31T12:35:52.5621120Z ^~~~~~~~~~~~~~~~~
2024-03-31T12:35:52.5625260Z /opt/local/var/macports/build
/_Users_runner_work_macports-ports_macports-
ports_ports_databases_mariadb-10.11/mariadb-10.11/work/server-
mariadb-10.11.1/storage/connect/libdoc.cpp:1094:17: error: assigning to
'xmlErrorPtr' (aka '_xmlError *') from 'const xmlError *' (aka 'const
_xmlError *') discards qualifiers
2024-03-31T12:35:52.5628910Z if ((xerr = xmlGetLastError()))
2024-03-31T12:35:52.5629590Z ^~~~~~~~~~~~~~~~~
2024-03-31T12:35:52.5638570Z /opt/local/var/macports/build
/_Users_runner_work_macports-ports_macports-
ports_ports_databases_mariadb-10.11/mariadb-10.11/work/server-
mariadb-10.11.1/storage/connect/libdoc.cpp:1099:17: error: assigning to
'xmlErrorPtr' (aka '_xmlError *') from 'const xmlError *' (aka 'const
_xmlError *') discards qualifiers
2024-03-31T12:35:52.5642120Z if ((xerr = xmlGetLastError()))
2024-03-31T12:35:52.5642790Z ^~~~~~~~~~~~~~~~~
2024-03-31T12:35:52.5646560Z /opt/local/var/macports/build
/_Users_runner_work_macports-ports_macports-
ports_ports_databases_mariadb-10.11/mariadb-10.11/work/server-
mariadb-10.11.1/storage/connect/libdoc.cpp:1106:15: error: assigning to
'xmlErrorPtr' (aka '_xmlError *') from 'const xmlError *' (aka 'const
_xmlError *') discards qualifiers
2024-03-31T12:35:52.5649940Z if ((xerr = xmlGetLastError()))
2024-03-31T12:35:52.5650580Z ^~~~~~~~~~~~~~~~~
2024-03-31T12:35:52.5654580Z /opt/local/var/macports/build
/_Users_runner_work_macports-ports_macports-
ports_ports_databases_mariadb-10.11/mariadb-10.11/work/server-
mariadb-10.11.1/storage/connect/libdoc.cpp:1111:15: error: assigning to
'xmlErrorPtr' (aka '_xmlError *') from 'const xmlError *' (aka 'const
_xmlError *') discards qualifiers
2024-03-31T12:35:52.5658760Z if ((xerr = xmlGetLastError()))
2024-03-31T12:35:52.5659410Z ^~~~~~~~~~~~~~~~~
2024-03-31T12:35:52.5663000Z /opt/local/var/macports/build
/_Users_runner_work_macports-ports_macports-
ports_ports_databases_mariadb-10.11/mariadb-10.11/work/server-
mariadb-10.11.1/storage/connect/libdoc.cpp:1116:15: error: assigning to
'xmlErrorPtr' (aka '_xmlError *') from 'const xmlError *' (aka 'const
_xmlError *') discards qualifiers
2024-03-31T12:35:52.5666350Z if ((xerr = xmlGetLastError()))
2024-03-31T12:35:52.5667020Z ^~~~~~~~~~~~~~~~~
2024-03-31T12:35:52.5667650Z 2 warnings and 12 errors generated.
2024-03-31T12:35:52.5668640Z make[2]: ***
[storage/connect/CMakeFiles/connect.dir/libdoc.cpp.o] Error 1
2024-03-31T12:35:52.5669720Z make[2]: *** Waiting for unfinished jobs....
2024-03-31T12:35:52.7009660Z make[2]: Leaving directory
`/opt/local/var/macports/build/_Users_runner_work_macports-ports_macports-
ports_ports_databases_mariadb-10.11/mariadb-10.11/work/build'
2024-03-31T12:35:52.7014470Z make[1]: ***
[storage/connect/CMakeFiles/connect.dir/all] Error 2
2024-03-31T12:35:52.7019010Z make[1]: Leaving directory
`/opt/local/var/macports/build/_Users_runner_work_macports-ports_macports-
ports_ports_databases_mariadb-10.11/mariadb-10.11/work/build'
2024-03-31T12:35:52.7021110Z make: *** [all] Error 2
}}}
It is broken now due to `libxml`: #69428
--
Ticket URL: <https://trac.macports.org/ticket/68528#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list