Build failure on Debian Stretch

Bug #1678947 reported by Sergei Glushchenko on 2017-04-03
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
MySQL Server
Unknown
Unknown
Percona Server moved to https://jira.percona.com/projects/PS
New
Undecided
Unassigned
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
Percona XtraDB Cluster moved to https://jira.percona.com/projects/PXC
New
Undecided
Unassigned

Bug Description

09:08:28 /mnt/workspace/percona-xtrabackup-2.4-debian-binary/label_exp/debian-stretch-64bit/percona-xtrabackup-24-2.4.6/vio/viosslfactories.c: In function ‘get_dh2048’:
09:08:28 /mnt/workspace/percona-xtrabackup-2.4-debian-binary/label_exp/debian-stretch-64bit/percona-xtrabackup-24-2.4.6/vio/viosslfactories.c:124:7: error: dereferencing pointer to incomplete type ‘DH {aka struct dh_st}’
09:08:28 dh->p=BN_bin2bn(dh2048_p,sizeof(dh2048_p),NULL);
09:08:28 ^~
09:08:28 /mnt/workspace/percona-xtrabackup-2.4-debian-binary/label_exp/debian-stretch-64bit/percona-xtrabackup-24-2.4.6/vio/viosslfactories.c: In function ‘set_lock_callback_functions’:
09:08:28 /mnt/workspace/percona-xtrabackup-2.4-debian-binary/label_exp/debian-stretch-64bit/percona-xtrabackup-24-2.4.6/vio/viosslfactories.c:374:49: warning: unused parameter ‘init’ [-Wunused-parameter]
09:08:28 static void set_lock_callback_functions(my_bool init)
09:08:28 ^~~~
09:08:28 /mnt/workspace/percona-xtrabackup-2.4-debian-binary/label_exp/debian-stretch-64bit/percona-xtrabackup-24-2.4.6/vio/viosslfactories.c: In function ‘vio_ssl_end’:
09:08:28 /mnt/workspace/percona-xtrabackup-2.4-debian-binary/label_exp/debian-stretch-64bit/percona-xtrabackup-24-2.4.6/vio/viosslfactories.c:398:5: warning: ‘ERR_remove_state’ is deprecated [-Wdeprecated-declarations]
09:08:28 ERR_remove_state(0);
09:08:28 ^~~~~~~~~~~~~~~~
09:08:28 In file included from /usr/include/openssl/ct.h:13:0,
09:08:28 from /usr/include/openssl/ssl.h:61,
09:08:28 from /mnt/workspace/percona-xtrabackup-2.4-debian-binary/label_exp/debian-stretch-64bit/percona-xtrabackup-24-2.4.6/include/violite.h:192,
09:08:28 from /mnt/workspace/percona-xtrabackup-2.4-debian-binary/label_exp/debian-stretch-64bit/percona-xtrabackup-24-2.4.6/vio/vio_priv.h:26,
09:08:28 from /mnt/workspace/percona-xtrabackup-2.4-debian-binary/label_exp/debian-stretch-64bit/percona-xtrabackup-24-2.4.6/vio/viosslfactories.c:16:
09:08:28 /usr/include/openssl/err.h:247:1: note: declared here
09:08:28 DEPRECATEDIN_1_0_0(void ERR_remove_state(unsigned long pid))
09:08:28 ^
09:08:28 At top level:
09:08:28 /mnt/workspace/percona-xtrabackup-2.4-debian-binary/label_exp/debian-stretch-64bit/percona-xtrabackup-24-2.4.6/vio/viosslfactories.c:348:22: warning: ‘openssl_id_function’ defined but not used [-Wunused-function]
09:08:28 static unsigned long openssl_id_function()
09:08:28 ^~~~~~~~~~~~~~~~~~~
09:08:28 /mnt/workspace/percona-xtrabackup-2.4-debian-binary/label_exp/debian-stretch-64bit/percona-xtrabackup-24-2.4.6/vio/viosslfactories.c:338:13: warning: ‘openssl_dynlock_destroy’ defined but not used [-Wunused-function]
09:08:28 static void openssl_dynlock_destroy(openssl_lock_t *lock,
09:08:28 ^~~~~~~~~~~~~~~~~~~~~~~
09:08:28 /mnt/workspace/percona-xtrabackup-2.4-debian-binary/label_exp/debian-stretch-64bit/percona-xtrabackup-24-2.4.6/vio/viosslfactories.c:318:24: warning: ‘openssl_dynlock_create’ defined but not used [-Wunused-function]
09:08:28 static openssl_lock_t *openssl_dynlock_create(const char *file
09:08:28 ^~~~~~~~~~~~~~~~~~~~~~
09:08:28 /mnt/workspace/percona-xtrabackup-2.4-debian-binary/label_exp/debian-stretch-64bit/percona-xtrabackup-24-2.4.6/vio/viosslfactories.c:301:13: warning: ‘openssl_lock_function’ defined but not used [-Wunused-function]
09:08:28 static void openssl_lock_function(int mode, int n,
09:08:28 ^~~~~~~~~~~~~~~~~~~~~
09:08:28 make[4]: Leaving directory '/mnt/workspace/percona-xtrabackup-2.4-debian-binary/label_exp/debian-stretch-64bit/percona-xtrabackup-24-2.4.6'
09:08:28 vio/CMakeFiles/vio.dir/build.make:134: recipe for target 'vio/CMakeFiles/vio.dir/viosslfactories.c.o' failed
09:08:28 make[4]: *** [vio/CMakeFiles/vio.dir/viosslfactories.c.o] Error 1
09:08:28 make[4]: Leaving directory '/mnt/workspace/percona-xtrabackup-2.4-debian-binary/label_exp/debian-stretch-64bit/percona-xtrabackup-24-2.4.6'
09:08:28 CMakeFiles/Makefile2:3013: recipe for target 'vio/CMakeFiles/vio.dir/all' failed
09:08:28 make[3]: *** [vio/CMakeFiles/vio.dir/all] Error 2
09:08:28 make[3]: *** Waiting for unfinished jobs....
09:08:28 [ 14%] Built target GenVersionCheck
09:08:28 [ 14%] Building C object regex/CMakeFiles/regex.dir/regerror.c.o
09:08:28 [ 14%] Building C object regex/CMakeFiles/regex.dir/regexec.c.o
09:08:28 [ 14%] Building C object regex/CMakeFiles/regex.dir/regfree.c.o
09:08:28 [ 14%] Building C object regex/CMakeFiles/regex.dir/reginit.c.o
09:08:28 [ 14%] Linking CXX static library libprotoclib.a
09:08:29 make[4]: Leaving directory '/mnt/workspace/percona-xtrabackup-2.4-debian-binary/label_exp/debian-stretch-64bit/percona-xtrabackup-24-2.4.6'
09:08:29 [ 14%] Built target protoclib
09:08:30 [ 14%] Linking C static library libregex.a
09:08:30 make[4]: Leaving directory '/mnt/workspace/percona-xtrabackup-2.4-debian-binary/label_exp/debian-stretch-64bit/percona-xtrabackup-24-2.4.6'
09:08:30 [ 14%] Built target regex
09:08:30 make[3]: Leaving directory '/mnt/workspace/percona-xtrabackup-2.4-debian-binary/label_exp/debian-stretch-64bit/percona-xtrabackup-24-2.4.6'
09:08:30 Makefile:149: recipe for target 'all' failed
09:08:30 make[2]: *** [all] Error 2
09:08:30 make[2]: Leaving directory '/mnt/workspace/percona-xtrabackup-2.4-debian-binary/label_exp/debian-stretch-64bit/percona-xtrabackup-24-2.4.6'
09:08:30 debian/rules:36: recipe for target 'override_dh_auto_build' failed
09:08:30 make[1]: *** [override_dh_auto_build] Error 2
09:08:30 make[1]: Leaving directory '/mnt/workspace/percona-xtrabackup-2.4-debian-binary/label_exp/debian-stretch-64bit/percona-xtrabackup-24-2.4.6'
09:08:30 debian/rules:42: recipe for target 'build' failed
09:08:30 make: *** [build] Error 2
09:08:30 dpkg-buildpackage: error: debian/rules build gave error exit status 2
09:08:30 Build step 'Execute shell' marked build as failure
09:08:30 Archiving artifacts
09:08:30 SSH: Current build result is [FAILURE], not going to run.
09:08:30 Started calculate disk usage of build
09:08:30 Finished Calculation of disk usage of build in 0 seconds
09:08:30 Started calculate disk usage of workspace
09:08:31 Finished Calculation of disk usage of workspace in 1 second
09:08:31 Finished: FAILURE

Quick fix for xtrabackup (to be replaced with upstream once it released) is pushed
https://github.com/percona/percona-xtrabackup/pull/360
https://github.com/percona/percona-xtrabackup/pull/361

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

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

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

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

Other bug subscribers

Remote bug watches

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