[debian-mysql] Bug#1106617: mariadb ftbfs with libxm 2.14.x from experimental

Matthias Klose doko at debian.org
Tue May 27 08:25:31 BST 2025


Package: src:mariadb
Version: 11.8.1-4
Tags: ftbfs sid forky
User: debian-xml-sgml-pkgs at lists.alioth.debian.org
Usertags: libxml2.14

[this bug is NOT targeted to the upcoming trixie release]

http://qa-logs.debian.net/2025/05/23/mariadb_11.8.1-4_unstable_libxml2.log

[...]
In file included from /<<PKGBUILDDIR>>/storage/connect/libdoc.cpp:35:
/<<PKGBUILDDIR>>/storage/connect/plgxml.h:10:32: error: 
‘XML_ELEMENT_NODE’ conflicts with a previous declaration
    10 |      XML_ELEMENT_NODE       =  1,
       |                                ^
In file included from /usr/include/libxml2/libxml/parser.h:16,
                  from /<<PKGBUILDDIR>>/storage/connect/libdoc.cpp:8:
/usr/include/libxml2/libxml/tree.h:175:5: note: previous declaration 
‘xmlElementType XML_ELEMENT_NODE’
   175 |     XML_ELEMENT_NODE=           1,
       |     ^~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/storage/connect/plgxml.h:11:32: error: 
‘XML_ATTRIBUTE_NODE’ conflicts with a previous declaration
    11 |      XML_ATTRIBUTE_NODE     =  2,
       |                                ^
/usr/include/libxml2/libxml/tree.h:176:5: note: previous declaration 
‘xmlElementType XML_ATTRIBUTE_NODE’
   176 |     XML_ATTRIBUTE_NODE=         2,
       |     ^~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/storage/connect/plgxml.h:12:32: error: ‘XML_TEXT_NODE’ 
conflicts with a previous declaration
    12 |      XML_TEXT_NODE          =  3,
       |                                ^
/usr/include/libxml2/libxml/tree.h:177:5: note: previous declaration 
‘xmlElementType XML_TEXT_NODE’
   177 |     XML_TEXT_NODE=              3,
       |     ^~~~~~~~~~~~~
/<<PKGBUILDDIR>>/storage/connect/plgxml.h:13:32: error: 
‘XML_CDATA_SECTION_NODE’ conflicts with a previous declaration
    13 |      XML_CDATA_SECTION_NODE =  4,
       |                                ^
/usr/include/libxml2/libxml/tree.h:178:5: note: previous declaration 
‘xmlElementType XML_CDATA_SECTION_NODE’
   178 |     XML_CDATA_SECTION_NODE=     4,
       |     ^~~~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/storage/connect/plgxml.h:14:32: error: 
‘XML_ENTITY_REF_NODE’ conflicts with a previous declaration
    14 |      XML_ENTITY_REF_NODE    =  5,
       |                                ^
/usr/include/libxml2/libxml/tree.h:179:5: note: previous declaration 
‘xmlElementType XML_ENTITY_REF_NODE’
   179 |     XML_ENTITY_REF_NODE=        5,
       |     ^~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/storage/connect/plgxml.h:15:32: error: 
‘XML_ENTITY_NODE’ conflicts with a previous declaration
    15 |      XML_ENTITY_NODE        =  6,
       |                                ^
/usr/include/libxml2/libxml/tree.h:180:5: note: previous declaration 
‘xmlElementType XML_ENTITY_NODE’
   180 |     XML_ENTITY_NODE=            6,  /* unused */
       |     ^~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/storage/connect/plgxml.h:16:32: error: ‘XML_PI_NODE’ 
conflicts with a previous declaration
    16 |      XML_PI_NODE            =  7,
       |                                ^
/usr/include/libxml2/libxml/tree.h:181:5: note: previous declaration 
‘xmlElementType XML_PI_NODE’
   181 |     XML_PI_NODE=                7,
       |     ^~~~~~~~~~~
/<<PKGBUILDDIR>>/storage/connect/plgxml.h:17:32: error: 
‘XML_COMMENT_NODE’ conflicts with a previous declaration
    17 |      XML_COMMENT_NODE       =  8,
       |                                ^
/usr/include/libxml2/libxml/tree.h:182:5: note: previous declaration 
‘xmlElementType XML_COMMENT_NODE’
   182 |     XML_COMMENT_NODE=           8,
       |     ^~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/storage/connect/plgxml.h:18:32: error: 
‘XML_DOCUMENT_NODE’ conflicts with a previous declaration
    18 |      XML_DOCUMENT_NODE      =  9,
       |                                ^
/usr/include/libxml2/libxml/tree.h:183:5: note: previous declaration 
‘xmlElementType XML_DOCUMENT_NODE’
   183 |     XML_DOCUMENT_NODE=          9,
       |     ^~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/storage/connect/plgxml.h:19:31: error: 
‘XML_DOCUMENT_TYPE_NODE’ conflicts with a previous declaration
    19 |      XML_DOCUMENT_TYPE_NODE = 10,
       |                               ^~
/usr/include/libxml2/libxml/tree.h:184:5: note: previous declaration 
‘xmlElementType XML_DOCUMENT_TYPE_NODE’
   184 |     XML_DOCUMENT_TYPE_NODE=     10, /* unused */
       |     ^~~~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/storage/connect/plgxml.h:20:31: error: 
‘XML_DOCUMENT_FRAG_NODE’ conflicts with a previous declaration
    20 |      XML_DOCUMENT_FRAG_NODE = 11,
       |                               ^~
/usr/include/libxml2/libxml/tree.h:185:5: note: previous declaration 
‘xmlElementType XML_DOCUMENT_FRAG_NODE’
   185 |     XML_DOCUMENT_FRAG_NODE=     11,
       |     ^~~~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/storage/connect/plgxml.h:21:31: error: 
‘XML_NOTATION_NODE’ conflicts with a previous declaration
    21 |      XML_NOTATION_NODE      = 12,
       |                               ^~
/usr/include/libxml2/libxml/tree.h:186:5: note: previous declaration 
‘xmlElementType XML_NOTATION_NODE’
   186 |     XML_NOTATION_NODE=          12, /* unused */
       |     ^~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/storage/connect/plgxml.h:22:31: error: 
‘XML_HTML_DOCUMENT_NODE’ conflicts with a previous declaration
    22 |      XML_HTML_DOCUMENT_NODE = 13,
       |                               ^~
/usr/include/libxml2/libxml/tree.h:187:5: note: previous declaration 
‘xmlElementType XML_HTML_DOCUMENT_NODE’
   187 |     XML_HTML_DOCUMENT_NODE=     13,
       |     ^~~~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/storage/connect/plgxml.h:23:31: error: ‘XML_DTD_NODE’ 
conflicts with a previous declaration
    23 |      XML_DTD_NODE           = 14,
       |                               ^~
/usr/include/libxml2/libxml/tree.h:188:5: note: previous declaration 
‘xmlElementType XML_DTD_NODE’
   188 |     XML_DTD_NODE=               14,
       |     ^~~~~~~~~~~~
/<<PKGBUILDDIR>>/storage/connect/plgxml.h:24:31: error: 
‘XML_ELEMENT_DECL’ conflicts with a previous declaration
    24 |      XML_ELEMENT_DECL       = 15,
       |                               ^~
/usr/include/libxml2/libxml/tree.h:189:5: note: previous declaration 
‘xmlElementType XML_ELEMENT_DECL’
   189 |     XML_ELEMENT_DECL=           15,
       |     ^~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/storage/connect/plgxml.h:25:31: error: 
‘XML_ATTRIBUTE_DECL’ conflicts with a previous declaration
    25 |      XML_ATTRIBUTE_DECL     = 16,
       |                               ^~
/usr/include/libxml2/libxml/tree.h:190:5: note: previous declaration 
‘xmlElementType XML_ATTRIBUTE_DECL’
   190 |     XML_ATTRIBUTE_DECL=         16,
       |     ^~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/storage/connect/plgxml.h:26:31: error: 
‘XML_ENTITY_DECL’ conflicts with a previous declaration
    26 |      XML_ENTITY_DECL        = 17,
       |                               ^~
/usr/include/libxml2/libxml/tree.h:191:5: note: previous declaration 
‘xmlElementType XML_ENTITY_DECL’
   191 |     XML_ENTITY_DECL=            17,
       |     ^~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/storage/connect/plgxml.h:27:31: error: 
‘XML_NAMESPACE_DECL’ conflicts with a previous declaration
    27 |      XML_NAMESPACE_DECL     = 18,
       |                               ^~
/usr/include/libxml2/libxml/tree.h:192:5: note: previous declaration 
‘xmlElementType XML_NAMESPACE_DECL’
   192 |     XML_NAMESPACE_DECL=         18,
       |     ^~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/storage/connect/plgxml.h:28:31: error: 
‘XML_XINCLUDE_START’ conflicts with a previous declaration
    28 |      XML_XINCLUDE_START     = 19,
       |                               ^~
/usr/include/libxml2/libxml/tree.h:193:5: note: previous declaration 
‘xmlElementType XML_XINCLUDE_START’
   193 |     XML_XINCLUDE_START=         19,
       |     ^~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/storage/connect/plgxml.h:29:31: error: 
‘XML_XINCLUDE_END’ conflicts with a previous declaration
    29 |      XML_XINCLUDE_END       = 20,
       |                               ^~
/usr/include/libxml2/libxml/tree.h:194:5: note: previous declaration 
‘xmlElementType XML_XINCLUDE_END’
   194 |     XML_XINCLUDE_END=           20
       |     ^~~~~~~~~~~~~~~~
/usr/include/libxml2/libxml/tree.h:200:32: error: expected identifier 
before numeric constant
   200 | #define XML_DOCB_DOCUMENT_NODE 21
       |                                ^~
/<<PKGBUILDDIR>>/storage/connect/plgxml.h:30:6: note: in expansion of 
macro ‘XML_DOCB_DOCUMENT_NODE’
    30 |      XML_DOCB_DOCUMENT_NODE = 21};
       |      ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/libxml2/libxml/tree.h:200:32: error: expected ‘}’ before 
numeric constant
   200 | #define XML_DOCB_DOCUMENT_NODE 21
       |                                ^~
/<<PKGBUILDDIR>>/storage/connect/plgxml.h:30:6: note: in expansion of 
macro ‘XML_DOCB_DOCUMENT_NODE’
    30 |      XML_DOCB_DOCUMENT_NODE = 21};
       |      ^~~~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/storage/connect/plgxml.h:9:18: note: to match this ‘{’
     9 | enum ElementType {               // libxml2
       |                  ^
/usr/include/libxml2/libxml/tree.h:200:32: error: expected 
unqualified-id before numeric constant
   200 | #define XML_DOCB_DOCUMENT_NODE 21
       |                                ^~
/<<PKGBUILDDIR>>/storage/connect/plgxml.h:30:6: note: in expansion of 
macro ‘XML_DOCB_DOCUMENT_NODE’
    30 |      XML_DOCB_DOCUMENT_NODE = 21};
       |      ^~~~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/storage/connect/plgxml.h:30:33: error: expected 
declaration before ‘}’ token
    30 |      XML_DOCB_DOCUMENT_NODE = 21};
       |                                 ^
make[4]: *** [storage/connect/CMakeFiles/connect.dir/build.make:796: 
storage/connect/CMakeFiles/connect.dir/libdoc.cpp.o] Error 1
make[4]: Leaving directory '/<<PKGBUILDDIR>>/builddir'
make[3]: *** [CMakeFiles/Makefile2:6799: 
storage/connect/CMakeFiles/connect.dir/all] Error 2



More information about the pkg-mysql-maint mailing list