Date: Sat, 13 Oct 2018 03:15:40 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 232214] devel/p4: fails to build on 12.0-ALPHA9 Message-ID: <bug-232214-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D232214 Bug ID: 232214 Summary: devel/p4: fails to build on 12.0-ALPHA9 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: asomers@FreeBSD.org 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'=20 (aka 'evp_pkey_st') if (privateKey->type !=3D EVP_PKEY_RSA) The problem is that older versions of openssl defined the evp_pkey_st struc= t, 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 wors= e; 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. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-232214-7788>