mysqld is not built using usual cmake commands in recent 5.6
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Percona Server moved to https://jira.percona.com/projects/PS | Status tracked in 5.7 | |||||
5.1 |
Won't Fix
|
Undecided
|
Unassigned | |||
5.5 |
New
|
High
|
Unassigned | |||
5.6 |
Triaged
|
High
|
Unassigned | |||
5.7 |
New
|
High
|
Unassigned |
Bug Description
With the following recent Percona Server 5.6 source that I've got from Launchpad:
openxs@
revision-id: <email address hidden>
date: 2013-12-03 07:54:17 +0200
build-date: 2013-12-12 12:53:09 +0200
revno: 508
branch-nick: percona-5.6
I can not get mysqld binary created (only mysqld-debug) using usual build steps:
...
[100%] Built target mysqlshow
Scanning dependencies of target mysqlslap
[100%] Building C object client/
Linking CXX executable mysqlslap
[100%] Built target mysqlslap
Scanning dependencies of target mysqltest
[100%] Building CXX object client/
Linking CXX executable mysqltest
[100%] Built target mysqltest
Scanning dependencies of target mysql_tzinfo_to_sql
[100%] Building CXX object sql/CMakeFiles/
Linking CXX executable mysql_tzinfo_to_sql
[100%] Built target mysql_tzinfo_to_sql
[100%] Building CXX object sql/CMakeFiles/
Linking CXX executable mysqld-debug
[100%] Built target mysqld
[100%] Building CXX object sql/CMakeFiles/
Linking CXX shared module udf_example.so
[100%] Built target udf_example
[100%] Building CXX object mysql-test/
Linking CXX executable my_safe_process
[100%] Built target my_safe_process
openxs@
openxs@
./sql/mysqld-debug
openxs@
[ 6%] Built target strings
[ 8%] Built target taocrypt
[ 11%] Built target zlib
[ 12%] Built target yassl
[ 26%] Built target mysys
[ 26%] Built target dbug
[ 27%] Built target mysys_ssl
[ 27%] Built target comp_err
[ 27%] Built target GenError
[ 28%] Built target slave
[ 31%] Built target binlog
[ 31%] Built target gen_lex_hash
[ 31%] Built target GenServerSource
[ 31%] Built target archive
[ 38%] Built target myisam
[ 38%] Built target blackhole
[ 56%] Built target innobase
[ 60%] Built target heap
[ 62%] Built target myisammrg
[ 62%] Built target federated
[ 62%] Built target csv
[ 62%] Built target gen_pfs_lex_token
[ 73%] Built target perfschema
[ 75%] Built target vio
[ 76%] Built target regex
[ 76%] Built target partition
[ 98%] Built target sql
[ 98%] Built target rpl
[100%] Built target master
[100%] Built target mysqld
openxs@
openxs@
Build steps where like these (from fc -l):
...
1806 cd bzr/percona-5.6
1807 make
1808 export CFLAGS="-O2 -g -fmessage-length=0 -D_FORTIFY_
1809 export CXXFLAGS="-O2 -g -fmessage-length=0 -D_FORTIFY_
1810 export LIBS=-lrt
1811 cd Percona-
1812 cmake . -DCMAKE_
1813 make
1814 find . -name mysqld
1815 find . -name mysqld-debug
1816 make mysqld
...
There is no problem with 5.5 using the same cmake flags, and there was no problem like this with older PS 5.6.x (5.6.12 at least)
tags: | added: pkg |
Some details about the build environment:
openxs@ ao756:~ /bzr/percona- 5.6/Percona- Server- 5.6.14- rel62.0$ cat /etc/lsb-release RELEASE= 13.04 CODENAME= raring DESCRIPTION= "Ubuntu 13.04" ao756:~ /bzr/percona- 5.6/Percona- Server- 5.6.14- rel62.0$ gcc --version
DISTRIB_ID=Ubuntu
DISTRIB_
DISTRIB_
DISTRIB_
openxs@
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/percona- 5.6/Percona- Server- 5.6.14- rel62.0$ cmake --version
cmake version 2.8.10.1