Compilation failure of PXB 2.3 with -DWITH_DEBUG and -DWITH_SSL=system

Bug #1647551 reported by Sergei Glushchenko
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona XtraBackup moved to https://jira.percona.com/projects/PXB
Status tracked in 2.4
2.3
Fix Released
High
Sergei Glushchenko
2.4
Invalid
Undecided
Unassigned

Bug Description

17:42:05 [ 8%] Building C object regex/CMakeFiles/regex.dir/regerror.c.o
17:42:05 /mnt/workspace/qa.pxb23.build/BUILD_TYPE/debug/label_exp/ubuntu-xenial-64bit/vio/viossl.c: In function 'ssl_do':
17:42:05 /mnt/workspace/qa.pxb23.build/BUILD_TYPE/debug/label_exp/ubuntu-xenial-64bit/vio/viossl.c:405:5: error: ISO C90 forbids mixed declarations and code [-Werror=declaration-after-statement]
17:42:05 int j, n = sk_SSL_COMP_num(ssl_comp_methods);
17:42:05 ^
17:42:05 cc1: all warnings being treated as errors
17:42:05 vio/CMakeFiles/vio.dir/build.make:110: recipe for target 'vio/CMakeFiles/vio.dir/viossl.c.o' failed
17:42:05 make[2]: *** [vio/CMakeFiles/vio.dir/viossl.c.o] Error 1
17:42:05 CMakeFiles/Makefile2:2570: recipe for target 'vio/CMakeFiles/vio.dir/all' failed
17:42:05 make[1]: *** [vio/CMakeFiles/vio.dir/all] Error 2
17:42:05 make[1]: *** Waiting for unfinished jobs....

Revision history for this message
Sergei Glushchenko (sergei.glushchenko) wrote :

Upstream fix: git show --pretty=full 897ab77e7e0b

Revision history for this message
Sergei Glushchenko (sergei.glushchenko) wrote :
Revision history for this message
Shahriyar Rzayev (rzayev-sehriyar) wrote :

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

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

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.