Uploaded image for project: 'MariaDB Connector/C'
  1. MariaDB Connector/C
  2. CONC-647

cmake won't create tar.gz packages unless run with root permissions

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • None
    • 3.3.7
    • Build
    • None

    Description

      Starting with this commit, as can be seen in buildbot here, Connector/C builds started failing the zlib portion of the cmake CPack steps when creating the tar.gz binary packages.

      From the output of the build logs it looks like the CPack packaging steps are trying to write to /usr/local/lib , /usr/local/include , and other directories like it is doing a "make install" instead of a "make package".

      Here's an example build log: https://buildbot.mariadb.net/buildbot/builders/cc-bullseye-amd64/builds/95/steps/compile/logs/stdio

      The only way to work around this seems to be to run cmake as root (e.g. with sudo), but you should not have to do that.

      Attachments

        Activity

          People

            georg Georg Richter
            dbart Daniel Bartholomew
            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.