=> Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for sslsplit-0.5.5nb2 ------------------------------------------------------------------------------ SSLsplit 0.5.5 ------------------------------------------------------------------------------ Report bugs at https://github.com/droe/sslsplit/issues/new Please supply this header for diagnostics when reporting build issues Before reporting bugs, make sure to try the latest develop branch first: % git clone -b develop https://github.com/droe/sslsplit.git ------------------------------------------------------------------------------ Via pkg-config: OPENSSL_BASE: /opt/pkg LIBEVENT_BASE: /opt/pkg LIBPCAP_BASE: /opt/pkg LIBNET_BASE: /opt/pkg Build options: -DHAVE_PF Build info: OSX:13.6.4 XNU:4903.241.1:fallback:8796.141.3.703.2 V:FILE HDIFF:1 N:83c4edf OSX_VERSION: 13.6.4 XNU_VERSION: 4903.241.1 (fallback, have 8796.141.3.703.2) uname -a: Darwin pkgsrc-mac-0.local 22.6.0 Darwin Kernel Version 22.6.0: Sun Dec 17 22:12:45 PST 2023; root:xnu-8796.141.3.703.2~2/RELEASE_ARM64_T6000 x86_64 ------------------------------------------------------------------------------ clang -c -I/opt/pkg/include -I/opt/pkg/include/libnet11 -isystem./xnu/xnu-4903.241.1 -isystem/opt/pkg/include -isystem/opt/pkg/include -isystem/opt/pkg/include/libnet11 -isystem/opt/pkg/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_PF -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/libnet11 -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -o base64.o base64.c clang -c -I/opt/pkg/include -I/opt/pkg/include/libnet11 -isystem./xnu/xnu-4903.241.1 -isystem/opt/pkg/include -isystem/opt/pkg/include -isystem/opt/pkg/include/libnet11 -isystem/opt/pkg/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_PF -D"BUILD_PKGNAME=\"sslsplit\"" -D"BUILD_VERSION=\"0.5.5\"" -D"BUILD_DATE=\"2024-02-22\"" -D"BUILD_INFO=\"OSX:13.6.4 XNU:4903.241.1:fallback:8796.141.3.703.2 V:FILE HDIFF:1 N:83c4edf\"" -D"BUILD_FEATURES=\"-DHAVE_PF\"" -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/libnet11 -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -o build.o build.c clang -c -I/opt/pkg/include -I/opt/pkg/include/libnet11 -isystem./xnu/xnu-4903.241.1 -isystem/opt/pkg/include -isystem/opt/pkg/include -isystem/opt/pkg/include/libnet11 -isystem/opt/pkg/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_PF -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/libnet11 -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -o cache.o cache.c clang -c -I/opt/pkg/include -I/opt/pkg/include/libnet11 -isystem./xnu/xnu-4903.241.1 -isystem/opt/pkg/include -isystem/opt/pkg/include -isystem/opt/pkg/include/libnet11 -isystem/opt/pkg/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_PF -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/libnet11 -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -o cachedsess.o cachedsess.c clang -c -I/opt/pkg/include -I/opt/pkg/include/libnet11 -isystem./xnu/xnu-4903.241.1 -isystem/opt/pkg/include -isystem/opt/pkg/include -isystem/opt/pkg/include/libnet11 -isystem/opt/pkg/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_PF -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/libnet11 -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -o cachefkcrt.o cachefkcrt.c clang -c -I/opt/pkg/include -I/opt/pkg/include/libnet11 -isystem./xnu/xnu-4903.241.1 -isystem/opt/pkg/include -isystem/opt/pkg/include -isystem/opt/pkg/include/libnet11 -isystem/opt/pkg/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_PF -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/libnet11 -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -o cachemgr.o cachemgr.c clang -c -I/opt/pkg/include -I/opt/pkg/include/libnet11 -isystem./xnu/xnu-4903.241.1 -isystem/opt/pkg/include -isystem/opt/pkg/include -isystem/opt/pkg/include/libnet11 -isystem/opt/pkg/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_PF -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/libnet11 -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -o cachessess.o cachessess.c clang -c -I/opt/pkg/include -I/opt/pkg/include/libnet11 -isystem./xnu/xnu-4903.241.1 -isystem/opt/pkg/include -isystem/opt/pkg/include -isystem/opt/pkg/include/libnet11 -isystem/opt/pkg/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_PF -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/libnet11 -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -o cachetgcrt.o cachetgcrt.c clang -c -I/opt/pkg/include -I/opt/pkg/include/libnet11 -isystem./xnu/xnu-4903.241.1 -isystem/opt/pkg/include -isystem/opt/pkg/include -isystem/opt/pkg/include/libnet11 -isystem/opt/pkg/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_PF -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/libnet11 -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -o cert.o cert.c clang -c -I/opt/pkg/include -I/opt/pkg/include/libnet11 -isystem./xnu/xnu-4903.241.1 -isystem/opt/pkg/include -isystem/opt/pkg/include -isystem/opt/pkg/include/libnet11 -isystem/opt/pkg/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_PF -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/libnet11 -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -o dynbuf.o dynbuf.c clang -c -I/opt/pkg/include -I/opt/pkg/include/libnet11 -isystem./xnu/xnu-4903.241.1 -isystem/opt/pkg/include -isystem/opt/pkg/include -isystem/opt/pkg/include/libnet11 -isystem/opt/pkg/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_PF -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/libnet11 -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -o log.o log.c In file included from log.c:36: In file included from ./logpkt.h:39: /Users/pbulk/build/security/sslsplit/work/.buildlink/include/libnet11/libnet.h:62:9: warning: '_GNU_SOURCE' macro redefined [-Wmacro-redefined] #define _GNU_SOURCE ^ :1:9: note: previous definition is here #define _GNU_SOURCE 1 ^ log.c:1677:46: warning: argument 'clisock' of type 'int[5]' with mismatched bound [-Warray-parameter] log_init(opts_t *opts, proxy_ctx_t *ctx, int clisock[5]) ^ ./log.h:97:42: note: previously declared as 'int[3]' here int log_init(opts_t *, proxy_ctx_t *, int[3]) NONNULL(1,2) WUNRES; ^ 2 warnings generated. clang -c -I/opt/pkg/include -I/opt/pkg/include/libnet11 -isystem./xnu/xnu-4903.241.1 -isystem/opt/pkg/include -isystem/opt/pkg/include -isystem/opt/pkg/include/libnet11 -isystem/opt/pkg/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_PF -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/libnet11 -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -o logbuf.o logbuf.c clang -c -I/opt/pkg/include -I/opt/pkg/include/libnet11 -isystem./xnu/xnu-4903.241.1 -isystem/opt/pkg/include -isystem/opt/pkg/include -isystem/opt/pkg/include/libnet11 -isystem/opt/pkg/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_PF -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/libnet11 -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -o logger.o logger.c clang -c -I/opt/pkg/include -I/opt/pkg/include/libnet11 -isystem./xnu/xnu-4903.241.1 -isystem/opt/pkg/include -isystem/opt/pkg/include -isystem/opt/pkg/include/libnet11 -isystem/opt/pkg/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_PF -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/libnet11 -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -o logpkt.o logpkt.c In file included from logpkt.c:29: In file included from ./logpkt.h:39: /Users/pbulk/build/security/sslsplit/work/.buildlink/include/libnet11/libnet.h:62:9: warning: '_GNU_SOURCE' macro redefined [-Wmacro-redefined] #define _GNU_SOURCE ^ :1:9: note: previous definition is here #define _GNU_SOURCE 1 ^ 1 warning generated. clang -c -I/opt/pkg/include -I/opt/pkg/include/libnet11 -isystem./xnu/xnu-4903.241.1 -isystem/opt/pkg/include -isystem/opt/pkg/include -isystem/opt/pkg/include/libnet11 -isystem/opt/pkg/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_PF -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/libnet11 -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -o main.o main.c In file included from main.c:60: /Users/pbulk/build/security/sslsplit/work/.buildlink/include/libnet11/libnet.h:62:9: warning: '_GNU_SOURCE' macro redefined [-Wmacro-redefined] #define _GNU_SOURCE ^ :1:9: note: previous definition is here #define _GNU_SOURCE 1 ^ 1 warning generated. clang -c -I/opt/pkg/include -I/opt/pkg/include/libnet11 -isystem./xnu/xnu-4903.241.1 -isystem/opt/pkg/include -isystem/opt/pkg/include -isystem/opt/pkg/include/libnet11 -isystem/opt/pkg/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_PF -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/libnet11 -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -o nat.o nat.c clang -c -I/opt/pkg/include -I/opt/pkg/include/libnet11 -isystem./xnu/xnu-4903.241.1 -isystem/opt/pkg/include -isystem/opt/pkg/include -isystem/opt/pkg/include/libnet11 -isystem/opt/pkg/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_PF -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/libnet11 -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -o opts.o opts.c opts.c:131:3: warning: 'DH_free' is deprecated [-Wdeprecated-declarations] DH_free(opts->dh); ^ /Users/pbulk/build/security/sslsplit/work/.buildlink/include/openssl/dh.h:207:1: note: 'DH_free' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); ^ /Users/pbulk/build/security/sslsplit/work/.buildlink/include/openssl/macros.h:193:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/pbulk/build/security/sslsplit/work/.buildlink/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ opts.c:765:3: warning: 'DH_free' is deprecated [-Wdeprecated-declarations] DH_free(opts->dh); ^ /Users/pbulk/build/security/sslsplit/work/.buildlink/include/openssl/dh.h:207:1: note: 'DH_free' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); ^ /Users/pbulk/build/security/sslsplit/work/.buildlink/include/openssl/macros.h:193:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/pbulk/build/security/sslsplit/work/.buildlink/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ opts.c:794:2: warning: 'EC_KEY_free' is deprecated [-Wdeprecated-declarations] EC_KEY_free(ec); ^ /Users/pbulk/build/security/sslsplit/work/.buildlink/include/openssl/ec.h:1006:1: note: 'EC_KEY_free' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); ^ /Users/pbulk/build/security/sslsplit/work/.buildlink/include/openssl/macros.h:193:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/pbulk/build/security/sslsplit/work/.buildlink/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ 3 warnings generated. clang -c -I/opt/pkg/include -I/opt/pkg/include/libnet11 -isystem./xnu/xnu-4903.241.1 -isystem/opt/pkg/include -isystem/opt/pkg/include -isystem/opt/pkg/include/libnet11 -isystem/opt/pkg/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_PF -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/libnet11 -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -o privsep.o privsep.c clang -c -I/opt/pkg/include -I/opt/pkg/include/libnet11 -isystem./xnu/xnu-4903.241.1 -isystem/opt/pkg/include -isystem/opt/pkg/include -isystem/opt/pkg/include/libnet11 -isystem/opt/pkg/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_PF -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/libnet11 -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -o proc.o proc.c clang -c -I/opt/pkg/include -I/opt/pkg/include/libnet11 -isystem./xnu/xnu-4903.241.1 -isystem/opt/pkg/include -isystem/opt/pkg/include -isystem/opt/pkg/include/libnet11 -isystem/opt/pkg/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_PF -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/libnet11 -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -o proxy.o proxy.c clang -c -I/opt/pkg/include -I/opt/pkg/include/libnet11 -isystem./xnu/xnu-4903.241.1 -isystem/opt/pkg/include -isystem/opt/pkg/include -isystem/opt/pkg/include/libnet11 -isystem/opt/pkg/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_PF -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/libnet11 -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -o pxyconn.o pxyconn.c pxyconn.c:788:3: warning: 'SSL_CTX_set_tmp_dh_callback' is deprecated [-Wdeprecated-declarations] SSL_CTX_set_tmp_dh_callback(sslctx, ssl_tmp_dh_callback); ^ /Users/pbulk/build/security/sslsplit/work/.buildlink/include/openssl/ssl.h:2229:1: note: 'SSL_CTX_set_tmp_dh_callback' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 ^ /Users/pbulk/build/security/sslsplit/work/.buildlink/include/openssl/macros.h:193:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/pbulk/build/security/sslsplit/work/.buildlink/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ pxyconn.c:795:3: warning: 'EC_KEY_free' is deprecated [-Wdeprecated-declarations] EC_KEY_free(ecdh); ^ /Users/pbulk/build/security/sslsplit/work/.buildlink/include/openssl/ec.h:1006:1: note: 'EC_KEY_free' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); ^ /Users/pbulk/build/security/sslsplit/work/.buildlink/include/openssl/macros.h:193:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/pbulk/build/security/sslsplit/work/.buildlink/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ pxyconn.c:799:3: warning: 'EC_KEY_free' is deprecated [-Wdeprecated-declarations] EC_KEY_free(ecdh); ^ /Users/pbulk/build/security/sslsplit/work/.buildlink/include/openssl/ec.h:1006:1: note: 'EC_KEY_free' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); ^ /Users/pbulk/build/security/sslsplit/work/.buildlink/include/openssl/macros.h:193:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/pbulk/build/security/sslsplit/work/.buildlink/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ pxyconn.c:2202:19: warning: call to undeclared function 'ERR_GET_FUNC'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ERR_GET_FUNC(sslerr), ^ pxyconn.c:2204:19: warning: 'ERR_func_error_string' is deprecated [-Wdeprecated-declarations] ERR_func_error_string(sslerr) : "-"); ^ /Users/pbulk/build/security/sslsplit/work/.buildlink/include/openssl/err.h:459:1: note: 'ERR_func_error_string' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 const char *ERR_func_error_string(unsigned long e); ^ /Users/pbulk/build/security/sslsplit/work/.buildlink/include/openssl/macros.h:193:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/pbulk/build/security/sslsplit/work/.buildlink/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ pxyconn.c:2214:20: warning: 'ERR_func_error_string' is deprecated [-Wdeprecated-declarations] ERR_func_error_string(sslerr)); ^ /Users/pbulk/build/security/sslsplit/work/.buildlink/include/openssl/err.h:459:1: note: 'ERR_func_error_string' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 const char *ERR_func_error_string(unsigned long e); ^ /Users/pbulk/build/security/sslsplit/work/.buildlink/include/openssl/macros.h:193:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/pbulk/build/security/sslsplit/work/.buildlink/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ pxyconn.c:2230:19: warning: call to undeclared function 'ERR_GET_FUNC'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ERR_GET_FUNC(sslerr), ^ pxyconn.c:2232:19: warning: 'ERR_func_error_string' is deprecated [-Wdeprecated-declarations] ERR_func_error_string(sslerr) : "-"); ^ /Users/pbulk/build/security/sslsplit/work/.buildlink/include/openssl/err.h:459:1: note: 'ERR_func_error_string' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 const char *ERR_func_error_string(unsigned long e); ^ /Users/pbulk/build/security/sslsplit/work/.buildlink/include/openssl/macros.h:193:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/pbulk/build/security/sslsplit/work/.buildlink/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ pxyconn.c:2242:20: warning: 'ERR_func_error_string' is deprecated [-Wdeprecated-declarations] ERR_func_error_string(sslerr)); ^ /Users/pbulk/build/security/sslsplit/work/.buildlink/include/openssl/err.h:459:1: note: 'ERR_func_error_string' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 const char *ERR_func_error_string(unsigned long e); ^ /Users/pbulk/build/security/sslsplit/work/.buildlink/include/openssl/macros.h:193:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/pbulk/build/security/sslsplit/work/.buildlink/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ 9 warnings generated. clang -c -I/opt/pkg/include -I/opt/pkg/include/libnet11 -isystem./xnu/xnu-4903.241.1 -isystem/opt/pkg/include -isystem/opt/pkg/include -isystem/opt/pkg/include/libnet11 -isystem/opt/pkg/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_PF -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/libnet11 -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -o pxythrmgr.o pxythrmgr.c clang -c -I/opt/pkg/include -I/opt/pkg/include/libnet11 -isystem./xnu/xnu-4903.241.1 -isystem/opt/pkg/include -isystem/opt/pkg/include -isystem/opt/pkg/include/libnet11 -isystem/opt/pkg/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_PF -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/libnet11 -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -o ssl.o ssl.c ssl.c:530:11: warning: 'ENGINE_by_id' is deprecated [-Wdeprecated-declarations] engine = ENGINE_by_id(name); ^ /Users/pbulk/build/security/sslsplit/work/.buildlink/include/openssl/engine.h:336:1: note: 'ENGINE_by_id' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 ENGINE *ENGINE_by_id(const char *id); ^ /Users/pbulk/build/security/sslsplit/work/.buildlink/include/openssl/macros.h:193:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/pbulk/build/security/sslsplit/work/.buildlink/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ssl.c:534:7: warning: 'ENGINE_set_default' is deprecated [-Wdeprecated-declarations] if (!ENGINE_set_default(engine, ENGINE_METHOD_ALL)) ^ /Users/pbulk/build/security/sslsplit/work/.buildlink/include/openssl/engine.h:708:1: note: 'ENGINE_set_default' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 int ENGINE_set_default(ENGINE *e, unsigned int flags); ^ /Users/pbulk/build/security/sslsplit/work/.buildlink/include/openssl/macros.h:193:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/pbulk/build/security/sslsplit/work/.buildlink/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ssl.c:738:13: warning: 'DH_new' is deprecated [-Wdeprecated-declarations] if (!(dh = DH_new())) { ^ /Users/pbulk/build/security/sslsplit/work/.buildlink/include/openssl/dh.h:206:1: note: 'DH_new' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 DH *DH_new(void); ^ /Users/pbulk/build/security/sslsplit/work/.buildlink/include/openssl/macros.h:193:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/pbulk/build/security/sslsplit/work/.buildlink/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ssl.c:744:8: warning: 'DH_set0_pqg' is deprecated [-Wdeprecated-declarations] rv = DH_set0_pqg(dh, ^ /Users/pbulk/build/security/sslsplit/work/.buildlink/include/openssl/dh.h:262:1: note: 'DH_set0_pqg' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g); ^ /Users/pbulk/build/security/sslsplit/work/.buildlink/include/openssl/macros.h:193:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/pbulk/build/security/sslsplit/work/.buildlink/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ssl.c:750:8: warning: 'DH_set0_pqg' is deprecated [-Wdeprecated-declarations] rv = DH_set0_pqg(dh, ^ /Users/pbulk/build/security/sslsplit/work/.buildlink/include/openssl/dh.h:262:1: note: 'DH_set0_pqg' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g); ^ /Users/pbulk/build/security/sslsplit/work/.buildlink/include/openssl/macros.h:193:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/pbulk/build/security/sslsplit/work/.buildlink/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ssl.c:756:8: warning: 'DH_set0_pqg' is deprecated [-Wdeprecated-declarations] rv = DH_set0_pqg(dh, ^ /Users/pbulk/build/security/sslsplit/work/.buildlink/include/openssl/dh.h:262:1: note: 'DH_set0_pqg' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g); ^ /Users/pbulk/build/security/sslsplit/work/.buildlink/include/openssl/macros.h:193:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/pbulk/build/security/sslsplit/work/.buildlink/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ssl.c:762:8: warning: 'DH_set0_pqg' is deprecated [-Wdeprecated-declarations] rv = DH_set0_pqg(dh, ^ /Users/pbulk/build/security/sslsplit/work/.buildlink/include/openssl/dh.h:262:1: note: 'DH_set0_pqg' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g); ^ /Users/pbulk/build/security/sslsplit/work/.buildlink/include/openssl/macros.h:193:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/pbulk/build/security/sslsplit/work/.buildlink/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ssl.c:771:3: warning: 'DH_free' is deprecated [-Wdeprecated-declarations] DH_free(dh); ^ /Users/pbulk/build/security/sslsplit/work/.buildlink/include/openssl/dh.h:207:1: note: 'DH_free' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); ^ /Users/pbulk/build/security/sslsplit/work/.buildlink/include/openssl/macros.h:193:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/pbulk/build/security/sslsplit/work/.buildlink/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ssl.c:776:3: warning: 'DH_free' is deprecated [-Wdeprecated-declarations] DH_free(dh); ^ /Users/pbulk/build/security/sslsplit/work/.buildlink/include/openssl/dh.h:207:1: note: 'DH_free' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); ^ /Users/pbulk/build/security/sslsplit/work/.buildlink/include/openssl/macros.h:193:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/pbulk/build/security/sslsplit/work/.buildlink/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ssl.c:798:7: warning: 'PEM_read_DHparams' is deprecated [-Wdeprecated-declarations] dh = PEM_read_DHparams(fh, NULL, NULL, NULL); ^ /Users/pbulk/build/security/sslsplit/work/.buildlink/include/openssl/pem.h:472:21: note: 'PEM_read_DHparams' has been explicitly marked deprecated here DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, DHparams, DH) ^ /Users/pbulk/build/security/sslsplit/work/.buildlink/include/openssl/macros.h:193:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/pbulk/build/security/sslsplit/work/.buildlink/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ssl.c:820:9: warning: 'EC_KEY_new_by_curve_name' is deprecated [-Wdeprecated-declarations] return EC_KEY_new_by_curve_name(nid); ^ /Users/pbulk/build/security/sslsplit/work/.buildlink/include/openssl/ec.h:1001:1: note: 'EC_KEY_new_by_curve_name' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new_by_curve_name(int nid); ^ /Users/pbulk/build/security/sslsplit/work/.buildlink/include/openssl/macros.h:193:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/pbulk/build/security/sslsplit/work/.buildlink/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ssl.c:1370:8: warning: 'RSA_new' is deprecated [-Wdeprecated-declarations] rsa = RSA_new(); ^ /Users/pbulk/build/security/sslsplit/work/.buildlink/include/openssl/rsa.h:207:1: note: 'RSA_new' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void); ^ /Users/pbulk/build/security/sslsplit/work/.buildlink/include/openssl/macros.h:193:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/pbulk/build/security/sslsplit/work/.buildlink/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ssl.c:1373:7: warning: 'RSA_generate_key_ex' is deprecated [-Wdeprecated-declarations] rv = RSA_generate_key_ex(rsa, keysize, bn, NULL); ^ /Users/pbulk/build/security/sslsplit/work/.buildlink/include/openssl/rsa.h:266:1: note: 'RSA_generate_key_ex' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 int RSA_generate_key_ex(RSA *rsa, int bits, BIGNUM *e, ^ /Users/pbulk/build/security/sslsplit/work/.buildlink/include/openssl/macros.h:193:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/pbulk/build/security/sslsplit/work/.buildlink/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ssl.c:1376:3: warning: 'RSA_free' is deprecated [-Wdeprecated-declarations] RSA_free(rsa); ^ /Users/pbulk/build/security/sslsplit/work/.buildlink/include/openssl/rsa.h:299:1: note: 'RSA_free' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); ^ /Users/pbulk/build/security/sslsplit/work/.buildlink/include/openssl/macros.h:193:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/pbulk/build/security/sslsplit/work/.buildlink/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ssl.c:1385:2: warning: 'EVP_PKEY_assign' is deprecated [-Wdeprecated-declarations] EVP_PKEY_assign_RSA(pkey, rsa); /* does not increment refcount */ ^ /Users/pbulk/build/security/sslsplit/work/.buildlink/include/openssl/evp.h:498:41: note: expanded from macro 'EVP_PKEY_assign_RSA' # define EVP_PKEY_assign_RSA(pkey,rsa) EVP_PKEY_assign((pkey),EVP_PKEY_RSA,\ ^ /Users/pbulk/build/security/sslsplit/work/.buildlink/include/openssl/evp.h:1332:1: note: 'EVP_PKEY_assign' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 ^ /Users/pbulk/build/security/sslsplit/work/.buildlink/include/openssl/macros.h:193:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/pbulk/build/security/sslsplit/work/.buildlink/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ssl.c:1506:2: warning: 'DH_up_ref' is deprecated [-Wdeprecated-declarations] DH_up_ref(dh); ^ /Users/pbulk/build/security/sslsplit/work/.buildlink/include/openssl/dh.h:208:1: note: 'DH_up_ref' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 int DH_up_ref(DH *dh); ^ /Users/pbulk/build/security/sslsplit/work/.buildlink/include/openssl/macros.h:193:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/pbulk/build/security/sslsplit/work/.buildlink/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ 16 warnings generated. clang -c -I/opt/pkg/include -I/opt/pkg/include/libnet11 -isystem./xnu/xnu-4903.241.1 -isystem/opt/pkg/include -isystem/opt/pkg/include -isystem/opt/pkg/include/libnet11 -isystem/opt/pkg/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_PF -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/libnet11 -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -o sys.o sys.c clang -c -I/opt/pkg/include -I/opt/pkg/include/libnet11 -isystem./xnu/xnu-4903.241.1 -isystem/opt/pkg/include -isystem/opt/pkg/include -isystem/opt/pkg/include/libnet11 -isystem/opt/pkg/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_PF -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/libnet11 -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -o thrqueue.o thrqueue.c clang -c -I/opt/pkg/include -I/opt/pkg/include/libnet11 -isystem./xnu/xnu-4903.241.1 -isystem/opt/pkg/include -isystem/opt/pkg/include -isystem/opt/pkg/include/libnet11 -isystem/opt/pkg/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_PF -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/libnet11 -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -o url.o url.c clang -c -I/opt/pkg/include -I/opt/pkg/include/libnet11 -isystem./xnu/xnu-4903.241.1 -isystem/opt/pkg/include -isystem/opt/pkg/include -isystem/opt/pkg/include/libnet11 -isystem/opt/pkg/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_PF -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/libnet11 -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -o util.o util.c clang -L/opt/pkg/lib -L/opt/pkg/lib/libnet11 -L/opt/pkg/lib -L/opt/pkg/lib -L/opt/pkg/lib/libnet11 -L/opt/pkg/lib -o sslsplit base64.o build.o cache.o cachedsess.o cachefkcrt.o cachemgr.o cachessess.o cachetgcrt.o cert.o dynbuf.o log.o logbuf.o logger.o logpkt.o main.o nat.o opts.o privsep.o proc.o proxy.o pxyconn.o pxythrmgr.o ssl.o sys.o thrqueue.o url.o util.o -lssl -lcrypto -lz -levent -levent_openssl -levent_pthreads -lnet -lpcap ld: Undefined symbols: _ERR_GET_FUNC, referenced from: _pxy_bev_eventcb in pxyconn.o _pxy_bev_eventcb in pxyconn.o _pxy_bev_eventcb in pxyconn.o _pxy_bev_eventcb in pxyconn.o _pxy_bev_eventcb in pxyconn.o _pxy_bev_eventcb in pxyconn.o clang: error: linker command failed with exit code 1 (use -v to see invocation) gmake: *** [GNUmakefile:477: sslsplit] Error 1 *** Error code 2 Stop. bmake[1]: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-x86_64/security/sslsplit *** Error code 1 Stop. bmake: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-x86_64/security/sslsplit