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

Re-running recursion when configuring with make and building with ninja generator

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Not a Bug
    • Affects Version/s: None
    • Fix Version/s: N/A
    • Component/s: Server
    • Labels:
      None

      Description

      I'm not sure is this expected behavior, but when we configure the builds with Unix makefile generator and build them with ninja generator we got the recursion of re-running of CMake files ending with build files have completed for OQGraph target.
      I haven't tested opposite or with other types of generators.
      I would expect failure with some message at the beginning - not compatible generators.
      The solution is to use cmake's native build option cmake --build . , but however seems something is happening (maybe some sort of conversions of Makes files to ninja files?).
      Example of the recursion:

      $ ninja
      [0/1] Re-running CMake...
      CMake Warning (dev) at CMakeLists.txt:30 (PROJECT):
        Policy CMP0048 is not set: project() command manages VERSION variables.
        Run "cmake --help-policy CMP0048" for policy details.  Use the cmake_policy
        command to set the policy and suppress this warning.
       
        The following variable(s) would be set to empty:
       
          CMAKE_PROJECT_VERSION
          CMAKE_PROJECT_VERSION_MAJOR
          CMAKE_PROJECT_VERSION_MINOR
          CMAKE_PROJECT_VERSION_PATCH
      This warning is for project developers.  Use -Wno-dev to suppress it.
       
      -- Running cmake version 3.20.0-rc4
      -- MariaDB 10.7.0
      -- Updating submodules
      Submodule path 'libmariadb': checked out '2ca0c22fd36c1b34115352e22c5f6b7d23c2c04a'
      CMake Deprecation Warning at wsrep-lib/CMakeLists.txt:5 (cmake_minimum_required):
        Compatibility with CMake < 2.8.12 will be removed from a future version of
        CMake.
       
        Update the VERSION argument <min> value or use a ...<max> suffix to tell
        CMake that the project does not need compatibility with older versions.
       
       
      -- Wsrep-lib version: 1.0.0
      == Configuring MariaDB Connector/C
      -- MariaDB Connector/C 3.2.5
      CMake Deprecation Warning at storage/mroonga/vendor/groonga/CMakeLists.txt:18 (cmake_minimum_required):
        Compatibility with CMake < 2.8.12 will be removed from a future version of
        CMake.
       
        Update the VERSION argument <min> value or use a ...<max> suffix to tell
        CMake that the project does not need compatibility with older versions.
       
       
      CMake Deprecation Warning at storage/mroonga/vendor/groonga/vendor/plugins/groonga-normalizer-mysql/CMakeLists.txt:18 (cmake_minimum_required):
        Compatibility with CMake < 2.8.12 will be removed from a future version of
        CMake.
       
        Update the VERSION argument <min> value or use a ...<max> suffix to tell
        CMake that the project does not need compatibility with older versions.
       
       
      -- Configuring OQGraph
      -- Configuring done
      -- Generating done
      -- Build files have been written to: /home/anel/mariadb/builds/10.7
      [0/1] Re-running CMake...
      CMake Warning (dev) at CMakeLists.txt:30 (PROJECT):
        Policy CMP0048 is not set: project() command manages VERSION variables.
        Run "cmake --help-policy CMP0048" for policy details.  Use the cmake_policy
        command to set the policy and suppress this warning.
       
        The following variable(s) would be set to empty:
       
          CMAKE_PROJECT_VERSION
          CMAKE_PROJECT_VERSION_MAJOR
          CMAKE_PROJECT_VERSION_MINOR
          CMAKE_PROJECT_VERSION_PATCH
      This warning is for project developers.  Use -Wno-dev to suppress it.
       
      -- Running cmake version 3.20.0-rc4
      -- MariaDB 10.7.0
      -- Updating submodules
      CMake Deprecation Warning at wsrep-lib/CMakeLists.txt:5 (cmake_minimum_required):
        Compatibility with CMake < 2.8.12 will be removed from a future version of
        CMake.
       
        Update the VERSION argument <min> value or use a ...<max> suffix to tell
        CMake that the project does not need compatibility with older versions.
       
       
      -- Wsrep-lib version: 1.0.0
      == Configuring MariaDB Connector/C
      CMake Deprecation Warning at storage/mroonga/vendor/groonga/CMakeLists.txt:18 (cmake_minimum_required):
        Compatibility with CMake < 2.8.12 will be removed from a future version of
        CMake.
       
        Update the VERSION argument <min> value or use a ...<max> suffix to tell
        CMake that the project does not need compatibility with older versions.
       
       
      CMake Deprecation Warning at storage/mroonga/vendor/groonga/vendor/plugins/groonga-normalizer-mysql/CMakeLists.txt:18 (cmake_minimum_required):
        Compatibility with CMake < 2.8.12 will be removed from a future version of
        CMake.
       
        Update the VERSION argument <min> value or use a ...<max> suffix to tell
        CMake that the project does not need compatibility with older versions.
       
       
      -- Configuring OQGraph
      -- Configuring done
      -- Generating done
      -- Build files have been written to: /home/anel/mariadb/builds/10.7
      [0/1] Re-running CMake...
      CMake Warning (dev) at CMakeLists.txt:30 (PROJECT):
        Policy CMP0048 is not set: project() command manages VERSION variables.
        Run "cmake --help-policy CMP0048" for policy details.  Use the cmake_policy
        command to set the policy and suppress this warning.
       
        The following variable(s) would be set to empty:
       
          CMAKE_PROJECT_VERSION
          CMAKE_PROJECT_VERSION_MAJOR
          CMAKE_PROJECT_VERSION_MINOR
          CMAKE_PROJECT_VERSION_PATCH
      This warning is for project developers.  Use -Wno-dev to suppress it.
       
      -- Running cmake version 3.20.0-rc4
      -- MariaDB 10.7.0
      -- Updating submodules
      CMake Deprecation Warning at wsrep-lib/CMakeLists.txt:5 (cmake_minimum_required):
        Compatibility with CMake < 2.8.12 will be removed from a future version of
        CMake.
       
        Update the VERSION argument <min> value or use a ...<max> suffix to tell
        CMake that the project does not need compatibility with older versions.
       
       
      -- Wsrep-lib version: 1.0.0
      == Configuring MariaDB Connector/C
      CMake Deprecation Warning at storage/mroonga/vendor/groonga/CMakeLists.txt:18 (cmake_minimum_required):
        Compatibility with CMake < 2.8.12 will be removed from a future version of
        CMake.
       
        Update the VERSION argument <min> value or use a ...<max> suffix to tell
        CMake that the project does not need compatibility with older versions.
       
       
      CMake Deprecation Warning at storage/mroonga/vendor/groonga/vendor/plugins/groonga-normalizer-mysql/CMakeLists.txt:18 (cmake_minimum_required):
        Compatibility with CMake < 2.8.12 will be removed from a future version of
        CMake.
       
        Update the VERSION argument <min> value or use a ...<max> suffix to tell
        CMake that the project does not need compatibility with older versions.
       
       
      -- Configuring OQGraph
      -- Configuring done
      -- Build files have been written to: /home/anel/mariadb/builds/10.7
      [0/1] Re-running CMake...
      CMake Warning (dev) at CMakeLists.txt:30 (PROJECT):
        Policy CMP0048 is not set: project() command manages VERSION variables.
        Run "cmake --help-policy CMP0048" for policy details.  Use the cmake_policy
        command to set the policy and suppress this warning.
       
        The following variable(s) would be set to empty:
       
          CMAKE_PROJECT_VERSION
          CMAKE_PROJECT_VERSION_MAJOR
          CMAKE_PROJECT_VERSION_MINOR
          CMAKE_PROJECT_VERSION_PATCH
      This warning is for project developers.  Use -Wno-dev to suppress it.
       
      -- Running cmake version 3.20.0-rc4
      -- MariaDB 10.7.0
      -- Updating submodules
      CMake Deprecation Warning at wsrep-lib/CMakeLists.txt:5 (cmake_minimum_required):
        Compatibility with CMake < 2.8.12 will be removed from a future version of
        CMake.
       
        Update the VERSION argument <min> value or use a ...<max> suffix to tell
        CMake that the project does not need compatibility with older versions.
       
       
      -- Wsrep-lib version: 1.0.0
      == Configuring MariaDB Connector/C
      CMake Deprecation Warning at storage/mroonga/vendor/groonga/CMakeLists.txt:18 (cmake_minimum_required):
        Compatibility with CMake < 2.8.12 will be removed from a future version of
        CMake.
       
        Update the VERSION argument <min> value or use a ...<max> suffix to tell
        CMake that the project does not need compatibility with older versions.
       
       
      CMake Deprecation Warning at storage/mroonga/vendor/groonga/vendor/plugins/groonga-normalizer-mysql/CMakeLists.txt:18 (cmake_minimum_required):
        Compatibility with CMake < 2.8.12 will be removed from a future version of
        CMake.
       
        Update the VERSION argument <min> value or use a ...<max> suffix to tell
        CMake that the project does not need compatibility with older versions.
       
       
      -- Configuring OQGraph
      -- Configuring done
      -- Generating done
      -- Build files have been written to: /home/anel/mariadb/builds/10.7
      [0/1] Re-running CMake...
      CMake Warning (dev) at CMakeLists.txt:30 (PROJECT):
        Policy CMP0048 is not set: project() command manages VERSION variables.
        Run "cmake --help-policy CMP0048" for policy details.  Use the cmake_policy
        command to set the policy and suppress this warning.
       
        The following variable(s) would be set to empty:
       
          CMAKE_PROJECT_VERSION
          CMAKE_PROJECT_VERSION_MAJOR
          CMAKE_PROJECT_VERSION_MINOR
          CMAKE_PROJECT_VERSION_PATCH
      This warning is for project developers.  Use -Wno-dev to suppress it.
       
      -- Running cmake version 3.20.0-rc4
      -- MariaDB 10.7.0
      -- Updating submodules
      CMake Deprecation Warning at wsrep-lib/CMakeLists.txt:5 (cmake_minimum_required):
        Compatibility with CMake < 2.8.12 will be removed from a future version of
        CMake.
       
        Update the VERSION argument <min> value or use a ...<max> suffix to tell
        CMake that the project does not need compatibility with older versions.
       
       
      -- Wsrep-lib version: 1.0.0
      == Configuring MariaDB Connector/C
      CMake Deprecation Warning at storage/mroonga/vendor/groonga/CMakeLists.txt:18 (cmake_minimum_required):
        Compatibility with CMake < 2.8.12 will be removed from a future version of
        CMake.
       
        Update the VERSION argument <min> value or use a ...<max> suffix to tell
        CMake that the project does not need compatibility with older versions.
       
       
      CMake Deprecation Warning at storage/mroonga/vendor/groonga/vendor/plugins/groonga-normalizer-mysql/CMakeLists.txt:18 (cmake_minimum_required):
        Compatibility with CMake < 2.8.12 will be removed from a future version of
        CMake.
       
        Update the VERSION argument <min> value or use a ...<max> suffix to tell
        CMake that the project does not need compatibility with older versions.
       
       
      -- Configuring OQGraph
      -- Configuring done
      -- Generating done
      -- Build files have been written to: /home/anel/mariadb/builds/10.7
      [0/1] Re-running CMake...
      CMake Warning (dev) at CMakeLists.txt:30 (PROJECT):
        Policy CMP0048 is not set: project() command manages VERSION variables.
        Run "cmake --help-policy CMP0048" for policy details.  Use the cmake_policy
        command to set the policy and suppress this warning.
      
      

        Attachments

          Activity

            People

            Assignee:
            anel Anel Husakovic
            Reporter:
            anel Anel Husakovic
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Git Integration