[Bug 232214] devel/p4: fails to build on 12.0-ALPHA9

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Oct 13 03:15:42 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=232214

            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 at FreeBSD.org
          Reporter: asomers at 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' 
      (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.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list