[Bug 229021] devel/p4 Fails to build with OpenSSL 1.1
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sun Oct 28 03:28:56 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=229021
--- Comment #9 from Alan Somers <asomers at FreeBSD.org> ---
w.schwarzenfeld at utanet.at your patch doesn't work for me, on either 11.2 or
12.0-ALPHA9. Here are the errors on 12.0-ALPHA9:
net/netsslcredentials.cc:221:16: error: member access into incomplete type
'EVP_PKEY'
(aka 'evp_pkey_st')
if (privateKey->type != EVP_PKEY_RSA)
net/netssltransport.cc:117:36: error: use of undeclared identifier
'CRYPTO_NUM_LOCKS'
static pthread_mutex_t mutexArray[ CRYPTO_NUM_LOCKS ];
^
net/netssltransport.cc:259:18: error: out-of-line definition of
'CreateAndInitializeSslContext' does not match any declaration in
'NetSslTransport'
NetSslTransport::CreateAndInitializeSslContext(const char *conntypename)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
net/netssltransport.cc:267:5: error: use of undeclared identifier
'TRANSPORT_PRINT_VAR'
TRANSPORT_PRINT_VAR( SSLDEBUG_FUNCTION, msgbuf );
^
net/netssltransport.cc:296:5: error: use of undeclared identifier
'TRANSPORT_PRINT_VAR'
TRANSPORT_PRINT_VAR( SSLDEBUG_FUNCTION, msgbuf );
^
net/netssltransport.cc:320:33: error: use of undeclared identifier
'P4TUNE_SSL_TLS_VERSION_MIN'
int tlsmin = p4tunable.Get( P4TUNE_SSL_TLS_VERSION_MIN );
^
net/netssltransport.cc:321:33: error: use of undeclared identifier
'P4TUNE_SSL_TLS_VERSION_MAX'
int tlsmax = p4tunable.Get( P4TUNE_SSL_TLS_VERSION_MAX );
net/netssltransport.cc:890:19: error: no member named 'SslProtocolError' in
'MsgRpc'
e->Set( MsgRpc::SslProtocolError ) << sslErrorBuf;
~~~~~~~~^
net/netssltransport.cc:1053:30: error: no member named 'PollMs' in 'KeepAlive'
int p = breakCallback->PollMs();
~~~~~~~~~~~~~ ^
And here are the errors on 11.2:
net/netssltransport.cc:259:18: error: out-of-line definition of
'CreateAndInitializeSslContext' does not match any declaration in
'NetSslTransport'
NetSslTransport::CreateAndInitializeSslContext(const char *conntypename)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
net/netssltransport.cc:267:5: error: use of undeclared identifier
'TRANSPORT_PRINT_VAR'
TRANSPORT_PRINT_VAR( SSLDEBUG_FUNCTION, msgbuf );
^
net/netssltransport.cc:296:5: error: use of undeclared identifier
'TRANSPORT_PRINT_VAR'
TRANSPORT_PRINT_VAR( SSLDEBUG_FUNCTION, msgbuf );
net/netssltransport.cc:320:33: error: use of undeclared identifier
'P4TUNE_SSL_TLS_VERSION_MIN'
int tlsmin = p4tunable.Get( P4TUNE_SSL_TLS_VERSION_MIN );
net/netssltransport.cc:321:33: error: use of undeclared identifier
'P4TUNE_SSL_TLS_VERSION_MAX'
int tlsmax = p4tunable.Get( P4TUNE_SSL_TLS_VERSION_MAX );
^
net/netssltransport.cc:890:19: error: no member named 'SslProtocolError' in
'MsgRpc'
e->Set( MsgRpc::SslProtocolError ) << sslErrorBuf;
~~~~~~~~^
net/netssltransport.cc:1053:30: error: no member named 'PollMs' in 'KeepAlive'
int p = breakCallback->PollMs();
~~~~~~~~~~~~~ ^
Are you suggesting that with your patch, p4 should use the openssl from ports?
If so, that requires patching the Makefile, too.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list