Various failures in "make test" on M2 MAC
Compiling and make install works (with the patch included below), but "make check" has various failures: 84%: Checks: 193, Failures: 0, Errors: 30 I first tested the release version and then switched to the develop branch: No differences noticed. I don't know what to make of the ASAN messages and whether they are related to the test failures but there are definitely also non ASAN related failures. I'm not sure whether I'm the first person to test on a arm64 Mac with macos 15.2 or whether nobody so far cared to run "make check".
Find below
- uname -a
- sslproxy -V
- "make test" output
jmayer@newegg:~/work/sslproxy/git(develop)$ uname -a Darwin newegg 24.2.0 Darwin Kernel Version 24.2.0: Fri Dec 6 18:56:34 PST 2024; root:xnu-11215.61.5~2/RELEASE_ARM64_T6020 arm64
jmayer@newegg:~/work/sslproxy/git(develop)$ sslproxy -V sslproxy(20551,0x208894240) malloc: nano zone abandoned due to inability to reserve vm space. SSLproxy v0.9.7-2-g50792a5-dirty (built 2025-01-01) Copyright (c) 2017-2024, Soner Tari [email protected] https://github.com/sonertari/SSLproxy Copyright (c) 2009-2019, Daniel Roethlisberger [email protected] https://www.roe.ch/SSLsplit Build info: OSX:15.2 XNU:6153.101.6:fallback:11215.61.5 V:GIT Features: -DHAVE_PF -DWITHOUT_USERAUTH NAT engines: pf* Local process info support: no compiled against OpenSSL 3.5.0-dev (30500000) rtlinked against OpenSSL 3.5.0-dev (30500000) OpenSSL has support for TLS extensions TLS Server Name Indication (SNI) supported OpenSSL is thread-safe with THREADID OpenSSL has engine support Using SSL_MODE_RELEASE_BUFFERS SSL/TLS protocol availability: tls10 tls11 tls12 tls13 SSL/TLS algorithm availability: !SHA0 RSA DSA ECDSA DH ECDH EC OpenSSL option availability: SSL_OP_NO_COMPRESSION SSL_OP_NO_TICKET SSL_OP_ALLOW_UNSAFE_LEGACY_RENEGOTIATION SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS SSL_OP_NO_SESSION_RESUMPTION_ON_RENEGOTIATION SSL_OP_TLS_ROLLBACK_BUG compiled against libevent 2.2.1-alpha-dev rtlinked against libevent 2.2.1-alpha-dev compiled against libnet 1.3 rtlinked against libnet 1.3 compiled against libpcap n/a rtlinked against libpcap 1.11.0-PRE-GIT 12 CPU cores detected
0001-Make-it-compile-run-on-a-M2-mac-with-macos-15.2-Sono.patch
I have tested your changes on an arm64 macOS 15.4.1, and have committed them to the develop branch, but haven't pushed them yet. I have also suppressed the deprecation warnings for engines in unit tests with OpenSSL 3.x, which I'm sure you have seen too. Thanks for reporting.