Uploaded image for project: 'Percona XtraBackup'
  1. Percona XtraBackup
  2. PXB-737

LP #1511267: xtrabackup 2.3 can not be built from GitHub sources

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      Description

      **Reported in Launchpad by Valerii Kravchuk last update 11-12-2015 01:48:37

      I tried to follow the manual (https://www.percona.com/doc/percona-xtrabackup/2.3/installation/compiling_xtrabackup.html) to build recent xtrabackup 2.3.x from GitHub sources:

      [openxs@chief percona-xtrabackup]$ fc -l
      ...
      1017 cd git
      1018 rm -rf percona-xtrabackup/
      1019 df -H
      1020 git clone https://github.com/percona/percona-xtrabackup.git
      1021 cd percona-xtrabackup/
      1022 git branches -r
      1023 git branch -r
      1024 git branch
      1025 git checkout 2.3
      1026 git branch
      1027 cmake -DBUILD_CONFIG=xtrabackup_release -DWITH_MAN_PAGES=OFF
      1028 make
      [openxs@chief percona-xtrabackup]$

      cmake ended up successfully, but unfortunately make failed like this:

      [ 77%] Building C object storage/innobase/xtrabackup/src/CMakeFiles/xtrabackup.dir/xbstream_write.c.o
      [ 77%] Building CXX object storage/innobase/xtrabackup/src/CMakeFiles/xtrabackup.dir/backup_mysql.cc.o
      [ 77%] Building CXX object storage/innobase/xtrabackup/src/CMakeFiles/xtrabackup.dir/backup_copy.cc.o
      /home/openxs/git/percona-xtrabackup/storage/innobase/xtrabackup/src/backup_copy.cc:51:30: fatal error: version_check_pl.h: No such file or directory
      compilation terminated.
      make[2]: *** [storage/innobase/xtrabackup/src/CMakeFiles/xtrabackup.dir/backup_copy.cc.o] Error 1
      make[1]: *** [storage/innobase/xtrabackup/src/CMakeFiles/xtrabackup.dir/all] Error 2
      make: *** [all] Error 2

      and I can not find the missing version_check_pl.h anywhere in the system:

      [openxs@chief percona-xtrabackup]$ find / -name version_check_pl.h 2>/dev/null
      [openxs@chief percona-xtrabackup]$ echo $?
      1
      [openxs@chief percona-xtrabackup]$

      Surely I can hack the code to remove references to this file and simplify/remove Perl version check (why is it needed at all I wonder?), but it would be niceto provide sources at GitHub that can be built based on the manualk without any modifications.

        Smart Checklist

          Attachments

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              lpjirasync lpjirasync (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: