Details

    • Bug
    • Status: Open (View Workflow)
    • Blocker
    • Resolution: Unresolved
    • 11.4.5
    • 11.4
    • Compiling
    • 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:

      https://github.com/GNOME/libxml2/commit/696572248fe96c44a60120be5b3ba42a4abcfb31#diff-4d724327c74c8e7b349eb38258524a6228cc3e06b5d10f783557a8f38bcf737bL67

      Replacing BASE_BUFFER_SIZE with

      __XML_TREE_H__

      in plgxml.h fixes the problem.

      Attachments

        Activity

          fazalmajid Fazal Majid created issue -
          fazalmajid Fazal Majid made changes -
          Field Original Value New Value
          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:

          https://github.com/GNOME/libxml2/commit/696572248fe96c44a60120be5b3ba42a4abcfb31#diff-4d724327c74c8e7b349eb38258524a6228cc3e06b5d10f783557a8f38bcf737bL67

          Replacing BASE_BUFFER_SIZE with __XML_TREE_H__ in plgxml.h fixes the problem.
          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:


          {code:c++}
          #if !defined(BASE_BUFFER_SIZE)
          {code}

          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:

          https://github.com/GNOME/libxml2/commit/696572248fe96c44a60120be5b3ba42a4abcfb31#diff-4d724327c74c8e7b349eb38258524a6228cc3e06b5d10f783557a8f38bcf737bL67

          Replacing BASE_BUFFER_SIZE with __XML_TREE_H__ in plgxml.h fixes the problem.
          fazalmajid Fazal Majid made changes -
          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:


          {code:c++}
          #if !defined(BASE_BUFFER_SIZE)
          {code}

          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:

          https://github.com/GNOME/libxml2/commit/696572248fe96c44a60120be5b3ba42a4abcfb31#diff-4d724327c74c8e7b349eb38258524a6228cc3e06b5d10f783557a8f38bcf737bL67

          Replacing BASE_BUFFER_SIZE with __XML_TREE_H__ in plgxml.h fixes the problem.
          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:


          {code:c++}
          #if !defined(BASE_BUFFER_SIZE)
          {code}

          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:

          https://github.com/GNOME/libxml2/commit/696572248fe96c44a60120be5b3ba42a4abcfb31#diff-4d724327c74c8e7b349eb38258524a6228cc3e06b5d10f783557a8f38bcf737bL67

          Replacing BASE_BUFFER_SIZE with {{__XML_TREE_H__}} in plgxml.h fixes the problem.
          fazalmajid Fazal Majid made changes -
          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:


          {code:c++}
          #if !defined(BASE_BUFFER_SIZE)
          {code}

          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:

          https://github.com/GNOME/libxml2/commit/696572248fe96c44a60120be5b3ba42a4abcfb31#diff-4d724327c74c8e7b349eb38258524a6228cc3e06b5d10f783557a8f38bcf737bL67

          Replacing BASE_BUFFER_SIZE with {{__XML_TREE_H__}} in plgxml.h fixes the problem.
          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:


          {code:c++}
          #if !defined(BASE_BUFFER_SIZE)
          {code}

          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:

          https://github.com/GNOME/libxml2/commit/696572248fe96c44a60120be5b3ba42a4abcfb31#diff-4d724327c74c8e7b349eb38258524a6228cc3e06b5d10f783557a8f38bcf737bL67

          Replacing BASE_BUFFER_SIZE with {noformat}__XML_TREE_H__{noformat} in plgxml.h fixes the problem.
          heitbaum Rudi Heitbaum added a comment -

          Also errors with 11.8.1

          heitbaum Rudi Heitbaum added a comment - Also errors with 11.8.1
          serg Sergei Golubchik made changes -
          Assignee Sergey Vojtovich [ svoj ]
          serg Sergei Golubchik made changes -
          Fix Version/s 11.4 [ 29301 ]
          serg Sergei Golubchik made changes -
          Priority Major [ 3 ] Blocker [ 1 ]
          mariadb-AlexHanshaw Alex Hanshaw added a comment -

          Hi svoj
          Are you actively looking at this blocker? Please provide a status update or if you can't work on the issue right now we can reassign it. Please let me know if we need to reassign it.
          Thanks
          Alex

          mariadb-AlexHanshaw Alex Hanshaw added a comment - Hi svoj Are you actively looking at this blocker? Please provide a status update or if you can't work on the issue right now we can reassign it. Please let me know if we need to reassign it. Thanks Alex

          People

            svoj Sergey Vojtovich
            fazalmajid Fazal Majid
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.