[MacPorts] #63421: openssl @ 1.1.1l: tests fail when building on 10.11
MacPorts
noreply at macports.org
Mon Aug 30 20:31:37 UTC 2021
#63421: openssl @ 1.1.1l: tests fail when building on 10.11
-----------------------+----------------------
Reporter: msquire | Owner: larryv
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.7.1
Keywords: elcapitan | Port: openssl
-----------------------+----------------------
'port test' fails on 10.11, specifically the '05-rand_test.t' test. The
port has a patch which includes the relevant CommonCrypto headers in
include/crypto/rand.h if the OS version is >= 10.10 with this conditition:
{{{
# if (defined(__MAC_OS_X_VERSION_MIN_REQUIRED) &&
__MAC_OS_X_VERSION_MIN_REQUIRED >= 101000)
}}}
This is enough to make it build without error, but unfortunately the test
fails. I managed to fix it by changing the 101000 to 101200 so it doesn't
use the CommonCrypto stuff with El Capitan but I don't know if this
problem exists with later versions too. It is possible that in fact the
test is broken on older versions, but I am afraid I don't know enough
about it to be any further help.
--
Ticket URL: <https://trac.macports.org/ticket/63421>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list