Build failure on Ubuntu artful

Bug #1729241 reported by Sergei Glushchenko on 2017-11-01
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Percona Server
Status tracked in 5.7
5.5
High
Zsolt Parragi
5.6
High
Zsolt Parragi
5.7
High
Zsolt Parragi
Percona XtraBackup
Status tracked in 2.4
2.3
High
Sergei Glushchenko
2.4
High
Sergei Glushchenko

Bug Description

[ 92%] Building CXX object sql/CMakeFiles/sql.dir/string_service.cc.o
[ 92%] Building CXX object sql/CMakeFiles/sql.dir/sql_acl.cc.o
/root/percona-xtrabackup/sql/sql_acl.cc: In function ‘int replace_user_table(THD*, TABLE*, LEX_USER*, ulong, bool, bool, bool)’:
/root/percona-xtrabackup/sql/sql_acl.cc:3017:59: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
     if (combo->plugin.str == NULL || combo->plugin.str == '\0')
                                                           ^~~~
sql/CMakeFiles/sql.dir/build.make:1613: recipe for target 'sql/CMakeFiles/sql.dir/sql_acl.cc.o' failed
make[2]: *** [sql/CMakeFiles/sql.dir/sql_acl.cc.o] Error 1
CMakeFiles/Makefile2:3874: recipe for target 'sql/CMakeFiles/sql.dir/all' failed
make[1]: *** [sql/CMakeFiles/sql.dir/all] Error 2
Makefile:151: recipe for target 'all' failed
make: *** [all] Error 2

This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers