Opened 4 months ago
Last modified 4 months ago
#73746 new defect
mariadb-10.5 @10.5.28 fails to build due to redefinition of libxml2 enumerators
| Reported by: | danaris (Timothy) | Owned by: | |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 2.12.4 |
| Keywords: | haspatch | Cc: | |
| Port: | mariadb-10.5 |
Description
This is essentially the same as #73622, but on mariadb-10.5 instead of 10.6.
Building fails with a long list of errors, starting with
error: redefinition of enumerator 'XML_ELEMENT_NODE' :info:build 10 | XML_ELEMENT_NODE = 1, :info:build | ^ :info:build /opt/local/include/libxml2/libxml/tree.h:168:5: note: previous definition is here :info:build 168 | XML_ELEMENT_NODE= 1, :info:build | ^ :info:build In file included from /opt/local/var/macports/build/mariadb-10.5-10c504e0/work/mariadb-10.5.28/storage/connect/libdoc.cpp:35: :info:build /opt/local/var/macports/build/mariadb-10.5-10c504e0/work/mariadb-10.5.28/storage/connect/plgxml.h:11:6: error: redefinition of enumerator 'XML_ATTRIBUTE_NODE' :info:build 11 | XML_ATTRIBUTE_NODE = 2, :info:build | ^ :info:build /opt/local/include/libxml2/libxml/tree.h:174:5: note: previous definition is here :info:build 174 | XML_ATTRIBUTE_NODE= 2, :info:build | ^
This occurs even after a clean and full rebuild.
Hopefully the fix for 10.6 will also apply to 10.5.
Change History (1)
comment:1 Changed 4 months ago by ryandesign (Ryan Carsten Schmidt)
| Keywords: | haspatch added |
|---|---|
| Port: | mariadb-10.5 added |
Note: See
TracTickets for help on using
tickets.

https://jira.mariadb.org/browse/MDEV-36427 says it was fixed in 10.5.29.
Here is the PR updating mariadb-10.5 to 10.5.29: https://github.com/macports/macports-ports/pull/31625