Percona Server with XtraDB

Compilation error with -DWITH_LIBWRAP=ON

Reported by Marcin Krol on 2013-10-16
26
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Percona Server
Status tracked in 5.6
5.1
Undecided
Unassigned
5.5
Undecided
Unassigned
5.6
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_report /home/users/hawk/rpm/BUILD/Percona-Server-5.6.13-rel61.0/build/CMakeFiles
[ 96%] Building CXX object sql/CMakeFiles/sql.dir/mysqld.cc.o
cd /home/users/hawk/rpm/BUILD/Percona-Server-5.6.13-rel61.0/build/sql && /usr/bin/x86_64-tld-linux-g++ -DHAVE_CONFIG_H -DHAVE_EVENT_SCHEDULER -DHAVE_OPENSSL -DHAVE_POOL_OF_THREADS -DMYSQL_SERVER -fPIC -Wall -Wno-unused-parameter -O3 -g -fabi-version=2 -fno-omit-frame-pointer -fno-strict-aliasing -DDBUG_OFF -DMY_PTHREAD_FASTMUTEX=1 -I/home/users/hawk/rpm/BUILD/Percona-Server-5.6.13-rel61.0/build/include -I/home/users/hawk/rpm/BUILD/Percona-Server-5.6.13-rel61.0/include -I/home/users/hawk/rpm/BUILD/Percona-Server-5.6.13-rel61.0/sql -I/home/users/hawk/rpm/BUILD/Percona-Server-5.6.13-rel61.0/regex -I/home/users/hawk/rpm/BUILD/Percona-Server-5.6.13-rel61.0/build/sql -o CMakeFiles/sql.dir/mysqld.cc.o -c /home/users/hawk/rpm/BUILD/Percona-Server-5.6.13-rel61.0/sql/mysqld.cc
/home/users/hawk/rpm/BUILD/Percona-Server-5.6.13-rel61.0/sql/mysqld.cc: In function 'void handle_connections_sockets()':
/home/users/hawk/rpm/BUILD/Percona-Server-5.6.13-rel61.0/sql/mysqld.cc:6392:58: error: 'ip_sock' was not declared in this scope

Confirmed with 5.6.14 (current from bzr) on Ubuntu 13.04 also:

...
[ 99%] Building CXX object sql/CMakeFiles/sql.dir/sql_client.cc.o
/home/openxs/bzr/percona-5.6/Percona-Server-5.6.14-rel61.1/sql/mysqld.cc: In function Б─≤void handle_connections_sockets()Б─≥:
/home/openxs/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
make[2]: *** [sql/CMakeFiles/sql.dir/mysqld.cc.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [sql/CMakeFiles/sql.dir/all] Error 2
make: *** [all] Error 2
openxs@ao756:~/bzr/percona-5.6/Percona-Server-5.6.14-rel61.1$

The following commands were used:

...
1267 cmake . -DCMAKE_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
1268 make -j 2

This looks like it was introduced by the threadpool-related extra connection port feature. Sergei, can you take a look?

summary: - Compialtion error with -DWITH_LIBWRAP=ON
+ Compilation error with -DWITH_LIBWRAP=ON
Roel Van de Paar (roel11) wrote :

Sergei, ref email (16/11/13 AEST) also.

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

Duplicates of this bug

Other bug subscribers