Error while compiling buf0dump.cc on Ubuntu 13.04

Bug #1262687 reported by Valerii Kravchuk
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona XtraDB Cluster moved to https://jira.percona.com/projects/PXC
Status tracked in 5.6
5.5
Invalid
Undecided
Unassigned
5.6
Confirmed
Undecided
Unassigned

Bug Description

I can not compiled recent PXC 5.6.15 successfully on 64-bit Ubuntu 13.04:

openxs@ao756:~/bzr/pxc-5.6/Percona-XtraDB-Cluster-5.6.15$ bzr version-info
revision-id: <email address hidden>
date: 2013-12-19 16:20:44 +0530
build-date: 2013-12-19 16:25:12 +0200
revno: 658
branch-nick: pxc-5.6
openxs@ao756:~/bzr/pxc-5.6/Percona-XtraDB-Cluster-5.6.15$ cat /etc/lsb-
lsb-base/ lsb-base-logging.sh lsb-release
openxs@ao756:~/bzr/pxc-5.6/Percona-XtraDB-Cluster-5.6.15$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=13.04
DISTRIB_CODENAME=raring
DISTRIB_DESCRIPTION="Ubuntu 13.04"
openxs@ao756:~/bzr/pxc-5.6/Percona-XtraDB-Cluster-5.6.15$ gcc --version
gcc (Ubuntu/Linaro 4.7.3-1ubuntu1) 4.7.3
Copyright (C) 2012 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

openxs@ao756:~/bzr/pxc-5.6/Percona-XtraDB-Cluster-5.6.15$ cmake --version
cmake version 2.8.10.1
openxs@ao756:~/bzr/pxc-5.6/Percona-XtraDB-Cluster-5.6.15$ make
[ 0%] Built target INFO_BIN
[ 0%] Built target INFO_SRC
[ 0%] Built target abi_check
[ 2%] Built target zlib
[ 3%] Built target yassl
[ 5%] Built target taocrypt
[ 10%] Built target edit
[ 15%] Built target strings
[ 26%] Built target mysys
[ 26%] Built target dbug
[ 27%] Built target mysys_ssl
[ 28%] Built target comp_err
[ 28%] Built target GenError
[ 28%] Built target archive
[ 34%] Built target myisam
[ 35%] Built target myisam_ftdump
[ 35%] Built target myisamchk
[ 35%] Built target myisamlog
[ 36%] Built target myisampack
[ 36%] Building CXX object storage/innobase/CMakeFiles/innobase.dir/buf/buf0dump.cc.o
/home/openxs/bzr/pxc-5.6/Percona-XtraDB-Cluster-5.6.15/storage/innobase/buf/buf0dump.cc: In function Б─≤void* buf_dump_thread(void*)Б─≥:
/home/openxs/bzr/pxc-5.6/Percona-XtraDB-Cluster-5.6.15/storage/innobase/buf/buf0dump.cc:591:42: error: Б─≤wsrep_recoveryБ─≥ was not declared in this scope
/home/openxs/bzr/pxc-5.6/Percona-XtraDB-Cluster-5.6.15/storage/innobase/buf/buf0dump.cc:604:33: error: Б─≤wsrep_recoveryБ─≥ was not declared in this scope
make[2]: *** [storage/innobase/CMakeFiles/innobase.dir/buf/buf0dump.cc.o] Error 1
make[1]: *** [storage/innobase/CMakeFiles/innobase.dir/all] Error 2
make: *** [all] Error 2
openxs@ao756:~/bzr/pxc-5.6/Percona-XtraDB-Cluster-5.6.15$ uname -a
Linux ao756 3.8.0-34-generic #49-Ubuntu SMP Tue Nov 12 18:00:10 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

Build steps were usual:

...
1965 make
1966 cd Percona-XtraDB-Cluster-5.6.15
1967 export CFLAGS="-O2 -g -fmessage-length=0 -D_FORTIFY_SOURCE=2"
1968 export CXXFLAGS="-O2 -g -fmessage-length=0 -D_FORTIFY_SOURCE=2"
1969 export LIBS=-lrt
1970 cmake . -DCMAKE_BUILD_TYPE=RelWithDebInfo -DBUILD_CONFIG=mysql_release -DFEATURE_SET=community -DWITH_EMBEDDED_SERVER=OFF -DCMAKE_INSTALL_PREFIX=/home/openxs/dbs/pxc5.6
1971 make
...

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/PXC-1560

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.