Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-34313

WITHOUT_SERVER cannot compile mariadb-binlog

Details

    Description

      Our team is getting the following error when trying to compile and install MariaDB Server version 10.6.18 from source with -DWITH_WSREP=ON:

      171.3 [ 90%] Building CXX object client/CMakeFiles/mariadb-binlog.dir/mysqlbinlog.cc.o

      171.3 In file included from /mariadb-10.6.18/sql/log_event_old.cc:35,

      171.3 from /mariadb-10.6.18/client/mysqlbinlog.cc:3251:

      171.3 /mariadb-10.6.18/sql/wsrep_mysqld.h:37:10: fatal error: wsrep/provider.hpp: No such file or directory

      171.3 37 | #include "wsrep/provider.hpp"

      171.3 | ^~~~~~~~~~~~~~~~~~~~

      171.3 compilation terminated.

      171.3 gmake[2]: *** [client/CMakeFiles/mariadb-binlog.dir/build.make:76: client/CMakeFiles/mariadb-binlog.dir/mysqlbinlog.cc.o] Error 1

      171.3 gmake[1]: *** [CMakeFiles/Makefile2:4016: client/CMakeFiles/mariadb-binlog.dir/all] Error 2

      171.3 gmake: *** [Makefile:166: all] Error 2

      Our compilation scripts work with 10.6.17 and previous versions.

      I had a look at the release notes for 10.6.18 but didn't spot anything that I believe could be related to this issue.

      I'm attaching a Dockerfile (based on our compilation script) that reproduces the error. To run the script do:

      DOCKER_BUILDGIT=1 docker build --progress=plain --build-arg VERSION=10.6.18 .

      Attachments

        Issue Links

          Activity

            dlresende Diego Lemos created issue -
            dlresende Diego Lemos made changes -
            Field Original Value New Value
            Description Our team is getting the following error when trying to compile and install MariaDB Server version 10.6.18 from source with -DWITH_WSREP=ON:

            {{171.3 [ 90%] Building CXX object client/CMakeFiles/mariadb-binlog.dir/mysqlbinlog.cc.o
            171.3 In file included from /mariadb-10.6.18/sql/log_event_old.cc:35,
            171.3 from /mariadb-10.6.18/client/mysqlbinlog.cc:3251:
            171.3 /mariadb-10.6.18/sql/wsrep_mysqld.h:37:10: fatal error: wsrep/provider.hpp: No such file or directory
            171.3 37 | #include "wsrep/provider.hpp"
            171.3 | ^~~~~~~~~~~~~~~~~~~~
            171.3 compilation terminated.
            171.3 gmake[2]: *** [client/CMakeFiles/mariadb-binlog.dir/build.make:76: client/CMakeFiles/mariadb-binlog.dir/mysqlbinlog.cc.o] Error 1
            171.3 gmake[1]: *** [CMakeFiles/Makefile2:4016: client/CMakeFiles/mariadb-binlog.dir/all] Error 2
            171.3 gmake: *** [Makefile:166: all] Error 2}}

            Our compilation scripts work with 10.6.17 and previous versions.

            I had a look at the [release notes for 10.6.18|https://mariadb.com/kb/en/mariadb-10-6-18-release-notes/] but didn't spot anything that I believe could be related to this issue.

            I'm attaching a Dockerfile (based on our compilation script) that reproduces the error.

            {{DOCKER_BUILDGIT=1 docker build --progress=plain --build-arg VERSION=10.6.18 .}}

            Our team is getting the following error when trying to compile and install MariaDB Server version 10.6.18 from source with -DWITH_WSREP=ON:

            bq. 171.3 [ 90%] Building CXX object client/CMakeFiles/mariadb-binlog.dir/mysqlbinlog.cc.o
            bq. 171.3 In file included from /mariadb-10.6.18/sql/log_event_old.cc:35,
            bq. 171.3 from /mariadb-10.6.18/client/mysqlbinlog.cc:3251:
            bq. 171.3 /mariadb-10.6.18/sql/wsrep_mysqld.h:37:10: fatal error: wsrep/provider.hpp: No such file or directory
            bq. 171.3 37 | #include "wsrep/provider.hpp"
            bq. 171.3 | ^~~~~~~~~~~~~~~~~~~~
            bq. 171.3 compilation terminated.
            bq. 171.3 gmake[2]: *** [client/CMakeFiles/mariadb-binlog.dir/build.make:76: client/CMakeFiles/mariadb-binlog.dir/mysqlbinlog.cc.o] Error 1
            bq. 171.3 gmake[1]: *** [CMakeFiles/Makefile2:4016: client/CMakeFiles/mariadb-binlog.dir/all] Error 2
            bq. 171.3 gmake: *** [Makefile:166: all] Error 2

            Our compilation scripts work with 10.6.17 and previous versions.

            I had a look at the [release notes for 10.6.18|https://mariadb.com/kb/en/mariadb-10-6-18-release-notes/] but didn't spot anything that I believe could be related to this issue.

            I'm attaching a Dockerfile (based on our compilation script) that reproduces the error. To run the script do:

            {{DOCKER_BUILDGIT=1 docker build --progress=plain --build-arg VERSION=10.6.18 .}}

            dlresende Diego Lemos made changes -
            Description Our team is getting the following error when trying to compile and install MariaDB Server version 10.6.18 from source with -DWITH_WSREP=ON:

            bq. 171.3 [ 90%] Building CXX object client/CMakeFiles/mariadb-binlog.dir/mysqlbinlog.cc.o
            bq. 171.3 In file included from /mariadb-10.6.18/sql/log_event_old.cc:35,
            bq. 171.3 from /mariadb-10.6.18/client/mysqlbinlog.cc:3251:
            bq. 171.3 /mariadb-10.6.18/sql/wsrep_mysqld.h:37:10: fatal error: wsrep/provider.hpp: No such file or directory
            bq. 171.3 37 | #include "wsrep/provider.hpp"
            bq. 171.3 | ^~~~~~~~~~~~~~~~~~~~
            bq. 171.3 compilation terminated.
            bq. 171.3 gmake[2]: *** [client/CMakeFiles/mariadb-binlog.dir/build.make:76: client/CMakeFiles/mariadb-binlog.dir/mysqlbinlog.cc.o] Error 1
            bq. 171.3 gmake[1]: *** [CMakeFiles/Makefile2:4016: client/CMakeFiles/mariadb-binlog.dir/all] Error 2
            bq. 171.3 gmake: *** [Makefile:166: all] Error 2

            Our compilation scripts work with 10.6.17 and previous versions.

            I had a look at the [release notes for 10.6.18|https://mariadb.com/kb/en/mariadb-10-6-18-release-notes/] but didn't spot anything that I believe could be related to this issue.

            I'm attaching a Dockerfile (based on our compilation script) that reproduces the error. To run the script do:

            {{DOCKER_BUILDGIT=1 docker build --progress=plain --build-arg VERSION=10.6.18 .}}

            Our team is getting the following error when trying to compile and install MariaDB Server version 10.6.18 from source with {{-DWITH_WSREP=ON}}:

            bq. 171.3 [ 90%] Building CXX object client/CMakeFiles/mariadb-binlog.dir/mysqlbinlog.cc.o
            bq. 171.3 In file included from /mariadb-10.6.18/sql/log_event_old.cc:35,
            bq. 171.3 from /mariadb-10.6.18/client/mysqlbinlog.cc:3251:
            bq. 171.3 /mariadb-10.6.18/sql/wsrep_mysqld.h:37:10: fatal error: wsrep/provider.hpp: No such file or directory
            bq. 171.3 37 | #include "wsrep/provider.hpp"
            bq. 171.3 | ^~~~~~~~~~~~~~~~~~~~
            bq. 171.3 compilation terminated.
            bq. 171.3 gmake[2]: *** [client/CMakeFiles/mariadb-binlog.dir/build.make:76: client/CMakeFiles/mariadb-binlog.dir/mysqlbinlog.cc.o] Error 1
            bq. 171.3 gmake[1]: *** [CMakeFiles/Makefile2:4016: client/CMakeFiles/mariadb-binlog.dir/all] Error 2
            bq. 171.3 gmake: *** [Makefile:166: all] Error 2

            Our compilation scripts work with 10.6.17 and previous versions.

            I had a look at the [release notes for 10.6.18|https://mariadb.com/kb/en/mariadb-10-6-18-release-notes/] but didn't spot anything that I believe could be related to this issue.

            I'm attaching a Dockerfile (based on our compilation script) that reproduces the error. To run the script do:

            bq. DOCKER_BUILDGIT=1 docker build --progress=plain --build-arg VERSION=10.6.18 .

            danblack Daniel Black made changes -
            Assignee Daniel Black [ danblack ]
            danblack Daniel Black made changes -
            danblack Daniel Black made changes -
            Fix Version/s 10.5 [ 23123 ]
            Fix Version/s 10.6 [ 24028 ]
            danblack Daniel Black made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            danblack Daniel Black made changes -
            Assignee Daniel Black [ danblack ] Julius Goryavsky [ sysprg ]
            Status In Progress [ 3 ] In Review [ 10002 ]
            danblack Daniel Black made changes -
            Labels regression
            danblack Daniel Black made changes -
            Component/s Scripts & Clients [ 11002 ]
            Component/s wsrep [ 11500 ]
            Component/s Server [ 13907 ]
            danblack Daniel Black made changes -
            Summary fatal error: wsrep/provider.hpp: No such file or directory WITHOUT_SERVER cannot compile mariadb-binlog
            danblack Daniel Black made changes -
            issue.field.resolutiondate 2024-06-26 04:08:38.0 2024-06-26 04:08:38.046
            danblack Daniel Black made changes -
            Fix Version/s 10.5.26 [ 29832 ]
            Fix Version/s 10.5 [ 23123 ]
            Fix Version/s 10.6 [ 24028 ]
            Assignee Julius Goryavsky [ sysprg ] Daniel Black [ danblack ]
            Resolution Fixed [ 1 ]
            Status In Review [ 10002 ] Closed [ 6 ]
            JIraAutomate JiraAutomate made changes -
            Fix Version/s 10.6.19 [ 29833 ]
            Fix Version/s 10.11.9 [ 29834 ]
            Fix Version/s 11.1.6 [ 29835 ]
            Fix Version/s 11.2.5 [ 29836 ]
            Fix Version/s 11.4.3 [ 29837 ]

            People

              danblack Daniel Black
              dlresende Diego Lemos
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

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