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 moved to https://jira.percona.com/projects/PS
Status tracked in 5.7
5.5
Fix Released
High
Zsolt Parragi
5.6
Fix Released
High
Zsolt Parragi
5.7
In Progress
High
Zsolt Parragi
Percona XtraBackup moved to https://jira.percona.com/projects/PXB
Status tracked in 2.4
2.3
Fix Released
High
Sergei Glushchenko
2.4
Fix Released
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

tags: added: upstream

Percona now uses JIRA for bug reports so this bug report is migrated to: https://jira.percona.com/browse/PXB-512

Percona now uses JIRA for bug reports so this bug report is migrated to: https://jira.percona.com/browse/PS-1120

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