Bug 227263 - update databases/percona57-server to 5.7.21-20, fix build with libressl
Summary: update databases/percona57-server to 5.7.21-20, fix build with libressl
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Some People
Assignee: Mark Felder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-04-03 17:19 UTC by M. Macha
Modified: 2019-02-10 23:46 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (feld)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description M. Macha 2018-04-03 17:19:55 UTC
Hi,

I'm unable to update databases/percona57-server to 5.7.21-20 while building with  libressl-2.6.4

make.conf is:

DEFAULT_VERSIONS+= mysql=5.7p ssl=libressl
WITH= PKGNG OPENSSL_PORT

FORCE_MAKE_JOBS=yes
MAKE_JOBS_NUMBER=8
CPUTYPE?=ivybridge

COMPILER_TYPE=clang
WITH_CLANG=yes
WITH_CLANG_EXTRA=yes
CC=clang
CXX=clang++
CPP=clang-cpp



Build log:

[ 18%] Building CXX object mysys_ssl/CMakeFiles/mysys_ssl.dir/my_aes_openssl.cc.o
cd /usr/ports/databases/percona57-server/work/percona-server-5.7.21-20/mysys_ssl && /usr/local/libexec/ccache/clang++  -DHAVE_CONFIG_H -DHAVE_LIBEVENT1 -DHAVE_OPENSSL -I/usr/ports/databases/percona57-server/work/percona-server-5.7.21-20/include -I/usr/ports/databases/percona57-server/work/percona-server-5.7.21-20/extra/rapidjson/include -I/usr/ports/databases/percona57-server/work/percona-server-5.7.21-20/libbinlogevents/include -I/usr/ports/databases/percona57-server/work/percona-server-5.7.21-20/libbinlogevents/export -I/usr/ports/databases/percona57-server/work/percona-server-5.7.21-20/mysys_ssl -I/usr/ports/databases/percona57-server/work/percona-server-5.7.21-20/mysys -I/usr/local/include -isystem /usr/ports/databases/percona57-server/work/boost_1_59_0 -O2 -pipe -march=ivybridge -fstack-protector -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include -Wall -Wextra -Wformat-security -Wvla -Woverloaded-virtual -Wno-unused-parameter -Wno-null-conversion -Wno-unused-private-field -O2 -pipe -march=ivybridge -fstack-protector -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include -DDBUG_OFF -DNDEBUG -fPIC   -std=gnu++98 -o CMakeFiles/mysys_ssl.dir/my_aes_openssl.cc.o -c /usr/ports/databases/percona57-server/work/percona-server-5.7.21-20/mysys_ssl/my_aes_openssl.cc
--- mysys_ssl/CMakeFiles/mysys_ssl.dir/my_crypt.cc.o ---
/usr/ports/databases/percona57-server/work/percona-server-5.7.21-20/mysys_ssl/my_crypt.cc:104:3: error: use of undeclared identifier 'EVP_CIPHER_CTX_reset'; did you mean 'EVP_CIPHER_CTX_free'?
  EVP_CIPHER_CTX_reset(ctx);
  ^~~~~~~~~~~~~~~~~~~~
  EVP_CIPHER_CTX_free
/usr/local/include/openssl/evp.h:642:6: note: 'EVP_CIPHER_CTX_free' declared here
void EVP_CIPHER_CTX_free(EVP_CIPHER_CTX *a);
     ^
/usr/ports/databases/percona57-server/work/percona-server-5.7.21-20/mysys_ssl/my_crypt.cc:174:19: error: use of undeclared identifier 'EVP_CIPHER_CTX_buf_noconst'
      uchar *buf= EVP_CIPHER_CTX_buf_noconst(ctx);
                  ^
/usr/ports/databases/percona57-server/work/percona-server-5.7.21-20/mysys_ssl/my_crypt.cc:388:23: error: use of undeclared identifier 'RAND_OpenSSL'
  RAND_METHOD *rand = RAND_OpenSSL();
                      ^
3 errors generated.
*** [mysys_ssl/CMakeFiles/mysys_ssl.dir/my_crypt.cc.o] Error code 1

make[4]: stopped in /usr/ports/databases/percona57-server/work/percona-server-5.7.21-20
1 error
Comment 1 w.schwarzenfeld freebsd_triage 2019-02-10 23:46:53 UTC
Is this still a problem?