Uploaded image for project: 'Percona Server'
  1. Percona Server
  2. PS-1105

LP #1702903: Cannot build Percona Server on Debian Stretch

    Details

    • Type: Bug
    • Status: Done
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      Description

      **Reported in Launchpad by EvgeniyPatlan last update 24-07-2017 12:11:03

      It is not possible to build Percona-Server on stretch due to issues with openssl1.1
      [ 7%] Building CXX object mysys_ssl/CMakeFiles/mysys_ssl.dir/my_aes_openssl.cc.o
      /root/mysql-server/mysys_ssl/my_aes_openssl.cc: In function 'int my_aes_encrypt(const unsigned char*, uint32, unsigned char*, const unsigned char*, uint32, my_aes_opmode, const unsigned char*, bool)':
      /root/mysql-server/mysys_ssl/my_aes_openssl.cc:125:18: error: aggregate 'EVP_CIPHER_CTX ctx' has incomplete type and cannot be defined
      EVP_CIPHER_CTX ctx;
      ^~~
      /root/mysql-server/mysys_ssl/my_aes_openssl.cc: In function 'int my_aes_decrypt(const unsigned char*, uint32, unsigned char*, const unsigned char*, uint32, my_aes_opmode, const unsigned char*, bool)':
      /root/mysql-server/mysys_ssl/my_aes_openssl.cc:162:18: error: aggregate 'EVP_CIPHER_CTX ctx' has incomplete type and cannot be defined
      EVP_CIPHER_CTX ctx;
      ^~~
      mysys_ssl/CMakeFiles/mysys_ssl.dir/build.make:302: recipe for target 'mysys_ssl/CMakeFiles/mysys_ssl.dir/my_aes_openssl.cc.o' failed
      make[2]: *** [mysys_ssl/CMakeFiles/mysys_ssl.dir/my_aes_openssl.cc.o] Error 1
      CMakeFiles/Makefile2:5309: recipe for target 'mysys_ssl/CMakeFiles/mysys_ssl.dir/all' failed
      make[1]: *** [mysys_ssl/CMakeFiles/mysys_ssl.dir/all] Error 2
      Makefile:160: recipe for target 'all' failed
      make: *** [all] Error 2

      Using the patch attached to this ticket I was able to build binaries

        Smart Checklist

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                lpjirasync lpjirasync (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: