devel/p4 fails to build on 12.0-ALPHA9 and later due to the OpenSSL upgrade to 1.1.1. Here is the compile error: net/netsslcredentials.cc:221:16: error: member access into incomplete type 'EVP_PKEY' (aka 'evp_pkey_st') if (privateKey->type != EVP_PKEY_RSA) The problem is that older versions of openssl defined the evp_pkey_st struct, but 1.1.1 merely forward-declares it. I've tried newer versions of p4; they all exhibit the same problem. The latest version, 2018.1, is actually worse; it has an additional error: net/netssltransport.cc:117:36: error: use of undeclared identifier 'CRYPTO_NUM_LOCKS' static pthread_mutex_t mutexArray[ CRYPTO_NUM_LOCKS ]; There are three options to fix it: 1) Disable SSL support 2) Link against security/openssl from ports instead of from base 3) Ask Perforce for a fix.
Ken, since you're still a license-paying customer, would you please ask Perforce to fix the build with OpenSSL 1.1.1 ?
*** This bug has been marked as a duplicate of bug 229021 ***