Compilation error with -DWITH_LIBWRAP=ON
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona Server moved to https://jira.percona.com/projects/PS |
Fix Released
|
Medium
|
Sergei Glushchenko | ||
5.1 |
Invalid
|
Undecided
|
Unassigned | ||
5.5 |
Invalid
|
Undecided
|
Unassigned | ||
5.6 |
Fix Released
|
Medium
|
Sergei Glushchenko |
Bug Description
Compilation of 5.6.13-rel61.0 fails if WITH_LIBWRAP is set to "ON". Below is excerpt from build log:
/usr/bin/cmake -E cmake_progress_
[ 96%] Building CXX object sql/CMakeFiles/
cd /home/users/
/home/users/
/home/users/
Related branches
- Alexey Kopytov (community): Approve
-
Diff: 13 lines (+2/-1)1 file modifiedPercona-Server/sql/mysqld.cc (+2/-1)
Confirmed with 5.6.14 (current from bzr) on Ubuntu 13.04 also:
... sql.dir/ sql_client. cc.o bzr/percona- 5.6/Percona- Server- 5.6.14- rel61.1/ sql/mysqld. cc: In function Б─≤void handle_ connections_ sockets( )Б─≥: bzr/percona- 5.6/Percona- Server- 5.6.14- rel61.1/ sql/mysqld. cc:6498: 58: error: Б─≤ip_sockБ─≥ was not declared in this scope /sql.dir/ mysqld. cc.o] Error 1 /sql.dir/ all] Error 2 ao756:~ /bzr/percona- 5.6/Percona- Server- 5.6.14- rel61.1$
[ 99%] Building CXX object sql/CMakeFiles/
/home/openxs/
/home/openxs/
make[2]: *** [sql/CMakeFiles
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [sql/CMakeFiles
make: *** [all] Error 2
openxs@
The following commands were used:
... BUILD_TYPE= RelWithDebInfo -DBUILD_ CONFIG= mysql_release -DFEATURE_ SET=community -DWITH_ EMBEDDED_ SERVER= OFF -DWITH_LIBWRAP=ON -DCMAKE_ INSTALL_ PREFIX= /home/openxs/ dbs/p5. 6
1267 cmake . -DCMAKE_
1268 make -j 2