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

opensuse 15.0 builds fail with cpack error

    XMLWordPrintable

    Details

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

      Description

      opensuse 15.0 builds are currently failing with a cpack error:

      CMake Error at /usr/share/cmake/Modules/CPackRPM.cmake:1527 (message):
        CPackRPM: source dir path '/home/buildbot/buildbot/build/mariadb-10.2.17'
        is shorter than debuginfo sources dir path
        '/usr/src/debug/mariadb-10.2.17-linux-x86_64/backup/src_0'! Source dir path
        must be longer than debuginfo sources dir path.  Set
        CPACK_RPM_BUILD_SOURCE_DIRS_PREFIX variable to a shorter value or make
        source dir path longer.  Required for debuginfo packaging.  See
        documentation of CPACK_RPM_DEBUGINFO_PACKAGE variable for details.
      Call Stack (most recent call first):
        /usr/share/cmake/Modules/CPackRPM.cmake:2271 (cpack_rpm_debugsymbol_check)
        /usr/share/cmake/Modules/CPackRPM.cmake:2774 (cpack_rpm_generate_package)
        /home/buildbot/buildbot/build/mariadb-10.2.17/cmake/CPackRPM.cmake:21 (include)
      

      the above is from: http://buildbot.askmonty.org/buildbot/builders/kvm-zyp-opensuse150-amd64/builds/1/steps/compile/logs/stdio

      We ran into the same issue (at least I think it's the same issue) when I first set up builders for Fedora 26, but I don't know what the resolution was. Serg fixed it back then, but I can't find the commit.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              dbart Daniel Bartholomew
              Reporter:
              dbart Daniel Bartholomew
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Git Integration