Details
-
Bug
-
Status: Open (View Workflow)
-
Blocker
-
Resolution: Unresolved
-
11.4.5
-
None
-
Ubuntu 24.04.2 LTS
Description
MariaDB 11.4.5 fails to build from source when compiling against libxml2 2.14.0.
The proximate error is in the attached file error.txt.
The root cause is that plgxml.h makes an #ifdef check against an undocumented typedef:
#if !defined(BASE_BUFFER_SIZE) |
to detect whether libxml2's tree.h was included, but in this recent commit, the definition of BASE_BUFFER_SIZE was removed from tree.h:
Replacing BASE_BUFFER_SIZE with
__XML_TREE_H__
|
in plgxml.h fixes the problem.
Also errors with 11.8.1