xtrabackup 2.2 and 2.3 failed to compile in source tree subdirectory

Bug #1402450 reported by Sergei Glushchenko
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona XtraBackup moved to https://jira.percona.com/projects/PXB
Fix Released
Sergei Glushchenko
Fix Released
Sergei Glushchenko
Fix Released
Sergei Glushchenko

Bug Description

Clone bzr repo create subdirectory "obj" in it, run

$ cd obj
$ cmake ..
$ make

Make will fail with following error message:

 70%] Building CXX object storage/innobase/xtrabackup/src/CMakeFiles/xtrabackup.dir/xtrabackup.cc.o
/Users/sergei/percona/repo/xb-bug1368846/2.2-xb-bug1368846/storage/innobase/xtrabackup/src/xtrabackup.cc:74:10: fatal error:
      'xtrabackup_version.h' file not found
#include "xtrabackup_version.h"
1 error generated.
make[2]: *** [storage/innobase/xtrabackup/src/CMakeFiles/xtrabackup.dir/xtrabackup.cc.o] Error 1
make[1]: *** [storage/innobase/xtrabackup/src/CMakeFiles/xtrabackup.dir/all] Error 2
make: *** [all] Error 2

Related branches

Revision history for this message
Shahriyar Rzayev (rzayev-sehriyar) wrote :

Percona now uses JIRA for bug reports so this bug report is migrated to: https://jira.percona.com/browse/PXB-930

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.