[MacPorts] #69428: Mariadb fails to build on MacOS Ventura/Sonoma

MacPorts noreply at macports.org
Sat Mar 2 03:20:47 UTC 2024


#69428: Mariadb fails to build on MacOS Ventura/Sonoma
------------------------------------------------------+--------------------
  Reporter:  amstilp                                  |      Owner:  (none)
      Type:  defect                                   |     Status:  new
  Priority:  Normal                                   |  Milestone:
 Component:  ports                                    |    Version:
Resolution:                                           |   Keywords:
      Port:  mariadb-10.4 mariadb-10.5 mariadb-10.11  |
------------------------------------------------------+--------------------

Comment (by kencu):

 {{{
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_mariadb-10.4/mariadb-10.4/work
 /server-mariadb-10.4.27/storage/connect/libdoc.cpp:1094:17: error:
 assigning to 'xmlErrorPtr' (aka '_xmlError *') from 'const xmlError *'
 (aka 'const _xmlError *') discards qualifiers
 :info:build     if ((xerr = xmlGetLastError()))
 :info:build                 ^~~~~~~~~~~~~~~~~
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_mariadb-10.4/mariadb-10.4/work
 /server-mariadb-10.4.27/storage/connect/libdoc.cpp:1099:17: error:
 assigning to 'xmlErrorPtr' (aka '_xmlError *') from 'const xmlError *'
 (aka 'const _xmlError *') discards qualifiers
 :info:build     if ((xerr = xmlGetLastError()))
 :info:build                 ^~~~~~~~~~~~~~~~~
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_mariadb-10.4/mariadb-10.4/work
 /server-mariadb-10.4.27/storage/connect/libdoc.cpp:1106:15: error:
 assigning to 'xmlErrorPtr' (aka '_xmlError *') from 'const xmlError *'
 (aka 'const _xmlError *') discards qualifiers
 :info:build   if ((xerr = xmlGetLastError()))
 :info:build               ^~~~~~~~~~~~~~~~~
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_mariadb-10.4/mariadb-10.4/work
 /server-mariadb-10.4.27/storage/connect/libdoc.cpp:1111:15: error:
 assigning to 'xmlErrorPtr' (aka '_xmlError *') from 'const xmlError *'
 (aka 'const _xmlError *') discards qualifiers
 :info:build   if ((xerr = xmlGetLastError()))
 :info:build               ^~~~~~~~~~~~~~~~~
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_mariadb-10.4/mariadb-10.4/work
 /server-mariadb-10.4.27/storage/connect/libdoc.cpp:1116:15: error:
 assigning to 'xmlErrorPtr' (aka '_xmlError *') from 'const xmlError *'
 (aka 'const _xmlError *') discards qualifiers
 :info:build   if ((xerr = xmlGetLastError()))
 :info:build               ^~~~~~~~~~~~~~~~~
 :info:build 2 warnings and 12 errors generated.
 }}}

 yes, there was an unfortunate API change with libxml2 2.12+.

 Unfortunately it is going to be likely that a whole lot of  things are now
 broken.

 See for example:

 https://github.com/macports/macports-
 ports/commit/915fbf4e3d488321c05f7ff2123282979bb9af46

-- 
Ticket URL: <https://trac.macports.org/ticket/69428#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list