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

galera_recovery: Wrong @sbindir@

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 10.4.6
    • Fix Version/s: 10.4
    • Component/s: Galera, Packaging
    • Labels:
      None
    • Environment:
      Arch Linux
      GCC 9.1.0

      Description

      The (c)make scripts generate a wrong sbindir path.
      With
      -DCMAKE_INSTALL_PREFIX=/usr
      -DINSTALL_SCRIPTDIR=bin

      It generates an sbindir in galera_recovery of "./bin", which breaks galera_recovery, because "./bin" is a relative path to the current working directory. If the wd of the calling process is not /, then the script breaks at that point.

      Build files are available at https://git.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/mariadb

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jplindst Jan Lindström
              Reporter:
              thermi Noel Kuntze
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated: