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

cpack doesn't work with Ninja

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Won't Fix
    • 10.5
    • N/A
    • Packaging
    • None
    • CentOS7

    Description

      I tested on 10.5. Maybe it is reproducible even earlier.

      $env|grep CMAKE
      CMAKE_GENERATOR=Ninja
      CMAKE_BUILD_PARALLEL_LEVEL=8
       
      $ cmake -DRPM=centos7 ../../src/10.5
      $ cpack -G RPM .
      

      In CPackGenerator -> set(CPACK_CMAKE_GENERATOR "Ninja") .
      Note when we unset CMAKE_GENERATOR it uses MakeFiles and has different error, that is already known MDEV-16758 and MDEV-22276 comment
      Attachments or errors provided.

      Attachments

        1. cpackconfig.cmake.txt
          20 kB
          Anel Husakovic
        2. stdout_stderr_cpack.txt
          25 kB
          Anel Husakovic

        Issue Links

          Activity

            People

              serg Sergei Golubchik
              anel Anel Husakovic
              Votes:
              0 Vote for this issue
              Watchers:
              3 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.