=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Skipping vulnerability checks.
WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'.
===> 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:   /usr
LIBEVENT_BASE:  /usr
LIBPCAP_BASE:   /usr
LIBNET_BASE:    /usr/pkg
Build options:  -DHAVE_IPFILTER -DHAVE_IPFW -DHAVE_PF
Build info:     V:FILE HDIFF:1 N:83c4edf
uname -a:       NetBSD violet.zia.io 10.0 NetBSD 10.0 (LIBKVER) #0: Tue Jan 19 00:00:00 UTC 2038 root@localhost:/sys/arch/sparc/compile/LIBKVER sparc
------------------------------------------------------------------------------
gcc -c -I/usr/include -I/usr/pkg/include/libnet11 -isystem/usr/include -isystem/usr/include -isystem/usr/pkg/include/libnet11 -isystem/usr/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_IPFILTER -DHAVE_IPFW -DHAVE_PF -O2 -I/usr/include -I/usr/pkg/include/libnet11  -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -o base64.o base64.c
distcc[1060] ERROR: nonblocking connect to 192.168.1.1:3748 failed: Connection refused
distcc[1060] Warning: failed to distribute base64.c to 192.168.1.1:3748, running locally instead
gcc -c -I/usr/include -I/usr/pkg/include/libnet11 -isystem/usr/include -isystem/usr/include -isystem/usr/pkg/include/libnet11 -isystem/usr/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_IPFILTER -DHAVE_IPFW -DHAVE_PF -D"BUILD_PKGNAME=\"sslsplit\"" -D"BUILD_VERSION=\"0.5.5\"" -D"BUILD_DATE=\"2024-05-28\"" -D"BUILD_INFO=\"V:FILE HDIFF:1 N:83c4edf\"" -D"BUILD_FEATURES=\"-DHAVE_IPFILTER -DHAVE_IPFW -DHAVE_PF\"" -O2 -I/usr/include -I/usr/pkg/include/libnet11  -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -o build.o build.c
distcc[27310] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
gcc -c -I/usr/include -I/usr/pkg/include/libnet11 -isystem/usr/include -isystem/usr/include -isystem/usr/pkg/include/libnet11 -isystem/usr/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_IPFILTER -DHAVE_IPFW -DHAVE_PF -O2 -I/usr/include -I/usr/pkg/include/libnet11  -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -o cache.o cache.c
distcc[5101] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
gcc -c -I/usr/include -I/usr/pkg/include/libnet11 -isystem/usr/include -isystem/usr/include -isystem/usr/pkg/include/libnet11 -isystem/usr/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_IPFILTER -DHAVE_IPFW -DHAVE_PF -O2 -I/usr/include -I/usr/pkg/include/libnet11  -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -o cachedsess.o cachedsess.c
distcc[16978] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
gcc -c -I/usr/include -I/usr/pkg/include/libnet11 -isystem/usr/include -isystem/usr/include -isystem/usr/pkg/include/libnet11 -isystem/usr/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_IPFILTER -DHAVE_IPFW -DHAVE_PF -O2 -I/usr/include -I/usr/pkg/include/libnet11  -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -o cachefkcrt.o cachefkcrt.c
distcc[3465] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
gcc -c -I/usr/include -I/usr/pkg/include/libnet11 -isystem/usr/include -isystem/usr/include -isystem/usr/pkg/include/libnet11 -isystem/usr/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_IPFILTER -DHAVE_IPFW -DHAVE_PF -O2 -I/usr/include -I/usr/pkg/include/libnet11  -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -o cachemgr.o cachemgr.c
distcc[10606] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
gcc -c -I/usr/include -I/usr/pkg/include/libnet11 -isystem/usr/include -isystem/usr/include -isystem/usr/pkg/include/libnet11 -isystem/usr/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_IPFILTER -DHAVE_IPFW -DHAVE_PF -O2 -I/usr/include -I/usr/pkg/include/libnet11  -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -o cachessess.o cachessess.c
distcc[14278] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
gcc -c -I/usr/include -I/usr/pkg/include/libnet11 -isystem/usr/include -isystem/usr/include -isystem/usr/pkg/include/libnet11 -isystem/usr/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_IPFILTER -DHAVE_IPFW -DHAVE_PF -O2 -I/usr/include -I/usr/pkg/include/libnet11  -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -o cachetgcrt.o cachetgcrt.c
distcc[28207] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
gcc -c -I/usr/include -I/usr/pkg/include/libnet11 -isystem/usr/include -isystem/usr/include -isystem/usr/pkg/include/libnet11 -isystem/usr/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_IPFILTER -DHAVE_IPFW -DHAVE_PF -O2 -I/usr/include -I/usr/pkg/include/libnet11  -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -o cert.o cert.c
distcc[14477] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
gcc -c -I/usr/include -I/usr/pkg/include/libnet11 -isystem/usr/include -isystem/usr/include -isystem/usr/pkg/include/libnet11 -isystem/usr/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_IPFILTER -DHAVE_IPFW -DHAVE_PF -O2 -I/usr/include -I/usr/pkg/include/libnet11  -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -o dynbuf.o dynbuf.c
distcc[29319] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
gcc -c -I/usr/include -I/usr/pkg/include/libnet11 -isystem/usr/include -isystem/usr/include -isystem/usr/pkg/include/libnet11 -isystem/usr/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_IPFILTER -DHAVE_IPFW -DHAVE_PF -O2 -I/usr/include -I/usr/pkg/include/libnet11  -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -o log.o log.c
distcc[7672] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
gcc -c -I/usr/include -I/usr/pkg/include/libnet11 -isystem/usr/include -isystem/usr/include -isystem/usr/pkg/include/libnet11 -isystem/usr/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_IPFILTER -DHAVE_IPFW -DHAVE_PF -O2 -I/usr/include -I/usr/pkg/include/libnet11  -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -o logbuf.o logbuf.c
distcc[21113] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
In file included from logpkt.h:39,
                 from log.c:36:
/tmp/pkgbuild/security/sslsplit/work.sparc/.buildlink/include/libnet11/libnet.h:62: warning: "_GNU_SOURCE" redefined
   62 | #define _GNU_SOURCE
      | 
<command-line>: note: this is the location of the previous definition
gcc -c -I/usr/include -I/usr/pkg/include/libnet11 -isystem/usr/include -isystem/usr/include -isystem/usr/pkg/include/libnet11 -isystem/usr/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_IPFILTER -DHAVE_IPFW -DHAVE_PF -O2 -I/usr/include -I/usr/pkg/include/libnet11  -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -o logger.o logger.c
distcc[17988] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
gcc -c -I/usr/include -I/usr/pkg/include/libnet11 -isystem/usr/include -isystem/usr/include -isystem/usr/pkg/include/libnet11 -isystem/usr/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_IPFILTER -DHAVE_IPFW -DHAVE_PF -O2 -I/usr/include -I/usr/pkg/include/libnet11  -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -o logpkt.o logpkt.c
distcc[29739] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
In file included from logpkt.h:39,
                 from logpkt.c:29:
/tmp/pkgbuild/security/sslsplit/work.sparc/.buildlink/include/libnet11/libnet.h:62: warning: "_GNU_SOURCE" redefined
   62 | #define _GNU_SOURCE
      | 
<command-line>: note: this is the location of the previous definition
logpkt.c: In function 'logpkt_pcap_build':
logpkt.c:351:3: warning: converting a packed 'ip4_hdr_t' pointer (alignment 1) to a 'uint16_t' {aka 'short unsigned int'} pointer (alignment 2) may result in an unaligned pointer value [-Waddress-of-packed-member]
  351 |   CHKSUM_ADD_RANGE(sum, ip4_hdr, sizeof(ip4_hdr_t));
      |   ^~~~~~~~~~~~~~~~
logpkt.c:81:9: note: defined here
   81 | typedef struct __attribute__((packed)) {
      |         ^~~~~~
logpkt.c:399:2: warning: converting a packed 'tcp_hdr_t' pointer (alignment 1) to a 'uint16_t' {aka 'short unsigned int'} pointer (alignment 2) may result in an unaligned pointer value [-Waddress-of-packed-member]
  399 |  CHKSUM_ADD_RANGE(sum, tcp_hdr, sizeof(tcp_hdr_t) + payloadlen);
      |  ^~~~~~~~~~~~~~~~
logpkt.c:103:9: note: defined here
  103 | typedef struct __attribute__((packed)) {
      |         ^~~~~~
gcc -c -I/usr/include -I/usr/pkg/include/libnet11 -isystem/usr/include -isystem/usr/include -isystem/usr/pkg/include/libnet11 -isystem/usr/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_IPFILTER -DHAVE_IPFW -DHAVE_PF -O2 -I/usr/include -I/usr/pkg/include/libnet11  -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -o main.o main.c
distcc[13221] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
gcc -c -I/usr/include -I/usr/pkg/include/libnet11 -isystem/usr/include -isystem/usr/include -isystem/usr/pkg/include/libnet11 -isystem/usr/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_IPFILTER -DHAVE_IPFW -DHAVE_PF -O2 -I/usr/include -I/usr/pkg/include/libnet11  -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -o nat.o nat.c
distcc[25732] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
In file included from main.c:60:
/tmp/pkgbuild/security/sslsplit/work.sparc/.buildlink/include/libnet11/libnet.h:62: warning: "_GNU_SOURCE" redefined
   62 | #define _GNU_SOURCE
      | 
<command-line>: note: this is the location of the previous definition
gcc -c -I/usr/include -I/usr/pkg/include/libnet11 -isystem/usr/include -isystem/usr/include -isystem/usr/pkg/include/libnet11 -isystem/usr/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_IPFILTER -DHAVE_IPFW -DHAVE_PF -O2 -I/usr/include -I/usr/pkg/include/libnet11  -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -o opts.o opts.c
distcc[21873] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
gcc -c -I/usr/include -I/usr/pkg/include/libnet11 -isystem/usr/include -isystem/usr/include -isystem/usr/pkg/include/libnet11 -isystem/usr/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_IPFILTER -DHAVE_IPFW -DHAVE_PF -O2 -I/usr/include -I/usr/pkg/include/libnet11  -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -o privsep.o privsep.c
distcc[7794] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
opts.c: In function 'opts_free':
opts.c:131:3: warning: 'DH_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  131 |   DH_free(opts->dh);
      |   ^~~~~~~
In file included from /usr/include/openssl/dsa.h:51,
                 from /usr/include/openssl/x509.h:36,
                 from /usr/include/openssl/ssl.h:30,
                 from ssl.h:35,
                 from opts.h:34,
                 from opts.c:29:
/usr/include/openssl/dh.h:204:28: note: declared here
  204 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh);
      |                            ^~~~~~~
opts.c: In function 'opts_set_dh':
opts.c:765:3: warning: 'DH_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  765 |   DH_free(opts->dh);
      |   ^~~~~~~
In file included from /usr/include/openssl/dsa.h:51,
                 from /usr/include/openssl/x509.h:36,
                 from /usr/include/openssl/ssl.h:30,
                 from ssl.h:35,
                 from opts.h:34,
                 from opts.c:29:
/usr/include/openssl/dh.h:204:28: note: declared here
  204 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh);
      |                            ^~~~~~~
opts.c: In function 'opts_set_ecdhcurve':
opts.c:794:2: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  794 |  EC_KEY_free(ec);
      |  ^~~~~~~~~~~
In file included from /usr/include/openssl/x509.h:32,
                 from /usr/include/openssl/ssl.h:30,
                 from ssl.h:35,
                 from opts.h:34,
                 from opts.c:29:
/usr/include/openssl/ec.h:1003:28: note: declared here
 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key);
      |                            ^~~~~~~~~~~
gcc -c -I/usr/include -I/usr/pkg/include/libnet11 -isystem/usr/include -isystem/usr/include -isystem/usr/pkg/include/libnet11 -isystem/usr/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_IPFILTER -DHAVE_IPFW -DHAVE_PF -O2 -I/usr/include -I/usr/pkg/include/libnet11  -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -o proc.o proc.c
distcc[2488] ERROR: nonblocking connect to 192.168.1.1:3748 failed: Connection refused
distcc[2488] Warning: failed to distribute proc.c to 192.168.1.1:3748, running locally instead
gcc -c -I/usr/include -I/usr/pkg/include/libnet11 -isystem/usr/include -isystem/usr/include -isystem/usr/pkg/include/libnet11 -isystem/usr/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_IPFILTER -DHAVE_IPFW -DHAVE_PF -O2 -I/usr/include -I/usr/pkg/include/libnet11  -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -o proxy.o proxy.c
distcc[8823] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
gcc -c -I/usr/include -I/usr/pkg/include/libnet11 -isystem/usr/include -isystem/usr/include -isystem/usr/pkg/include/libnet11 -isystem/usr/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_IPFILTER -DHAVE_IPFW -DHAVE_PF -O2 -I/usr/include -I/usr/pkg/include/libnet11  -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -o pxyconn.o pxyconn.c
distcc[24479] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
pxyconn.c: In function 'pxy_srcsslctx_create':
pxyconn.c:788:3: warning: 'SSL_CTX_set_tmp_dh_callback' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  788 |   SSL_CTX_set_tmp_dh_callback(sslctx, ssl_tmp_dh_callback);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ssl.h:35,
                 from opts.h:34,
                 from pxyconn.h:32,
                 from pxyconn.c:29:
/usr/include/openssl/ssl.h:2227:6: note: declared here
 2227 | void SSL_CTX_set_tmp_dh_callback(SSL_CTX *ctx,
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~
pxyconn.c:795:3: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  795 |   EC_KEY_free(ecdh);
      |   ^~~~~~~~~~~
In file included from /usr/include/openssl/x509.h:32,
                 from /usr/include/openssl/ssl.h:30,
                 from ssl.h:35,
                 from opts.h:34,
                 from pxyconn.h:32,
                 from pxyconn.c:29:
/usr/include/openssl/ec.h:1003:28: note: declared here
 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key);
      |                            ^~~~~~~~~~~
pxyconn.c:799:3: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  799 |   EC_KEY_free(ecdh);
      |   ^~~~~~~~~~~
In file included from /usr/include/openssl/x509.h:32,
                 from /usr/include/openssl/ssl.h:30,
                 from ssl.h:35,
                 from opts.h:34,
                 from pxyconn.h:32,
                 from pxyconn.c:29:
/usr/include/openssl/ec.h:1003:28: note: declared here
 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key);
      |                            ^~~~~~~~~~~
pxyconn.c: In function 'pxy_bev_eventcb':
pxyconn.c:2202:19: warning: implicit declaration of function 'ERR_GET_FUNC'; did you mean 'ERR_GET_LIB'? [-Wimplicit-function-declaration]
 2202 |                   ERR_GET_FUNC(sslerr),
      |                   ^~~~~~~~~~~~
      |                   ERR_GET_LIB
pxyconn.c:2204:19: warning: 'ERR_func_error_string' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2204 |                   ERR_func_error_string(sslerr) : "-");
      |                   ^~~~~~~~~~~~~~~~~~~~~
In file included from ssl.h:36,
                 from opts.h:34,
                 from pxyconn.h:32,
                 from pxyconn.c:29:
/usr/include/openssl/err.h:458:35: note: declared here
  458 | OSSL_DEPRECATEDIN_3_0 const char *ERR_func_error_string(unsigned long e);
      |                                   ^~~~~~~~~~~~~~~~~~~~~
pxyconn.c:2214:20: warning: 'ERR_func_error_string' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2214 |                    ERR_func_error_string(sslerr));
      |                    ^~~~~~~~~~~~~~~~~~~~~
In file included from ssl.h:36,
                 from opts.h:34,
                 from pxyconn.h:32,
                 from pxyconn.c:29:
/usr/include/openssl/err.h:458:35: note: declared here
  458 | OSSL_DEPRECATEDIN_3_0 const char *ERR_func_error_string(unsigned long e);
      |                                   ^~~~~~~~~~~~~~~~~~~~~
pxyconn.c:2232:19: warning: 'ERR_func_error_string' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2232 |                   ERR_func_error_string(sslerr) : "-");
      |                   ^~~~~~~~~~~~~~~~~~~~~
In file included from ssl.h:36,
                 from opts.h:34,
                 from pxyconn.h:32,
                 from pxyconn.c:29:
/usr/include/openssl/err.h:458:35: note: declared here
  458 | OSSL_DEPRECATEDIN_3_0 const char *ERR_func_error_string(unsigned long e);
      |                                   ^~~~~~~~~~~~~~~~~~~~~
pxyconn.c:2242:20: warning: 'ERR_func_error_string' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2242 |                    ERR_func_error_string(sslerr));
      |                    ^~~~~~~~~~~~~~~~~~~~~
In file included from ssl.h:36,
                 from opts.h:34,
                 from pxyconn.h:32,
                 from pxyconn.c:29:
/usr/include/openssl/err.h:458:35: note: declared here
  458 | OSSL_DEPRECATEDIN_3_0 const char *ERR_func_error_string(unsigned long e);
      |                                   ^~~~~~~~~~~~~~~~~~~~~
gcc -c -I/usr/include -I/usr/pkg/include/libnet11 -isystem/usr/include -isystem/usr/include -isystem/usr/pkg/include/libnet11 -isystem/usr/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_IPFILTER -DHAVE_IPFW -DHAVE_PF -O2 -I/usr/include -I/usr/pkg/include/libnet11  -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -o pxythrmgr.o pxythrmgr.c
distcc[1262] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
gcc -c -I/usr/include -I/usr/pkg/include/libnet11 -isystem/usr/include -isystem/usr/include -isystem/usr/pkg/include/libnet11 -isystem/usr/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_IPFILTER -DHAVE_IPFW -DHAVE_PF -O2 -I/usr/include -I/usr/pkg/include/libnet11  -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -o ssl.o ssl.c
distcc[9589] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
ssl.c: In function 'ssl_engine':
ssl.c:530:2: warning: 'ENGINE_by_id' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  530 |  engine = ENGINE_by_id(name);
      |  ^~~~~~
In file included from ssl.c:44:
/usr/include/openssl/engine.h:336:31: note: declared here
  336 | OSSL_DEPRECATEDIN_3_0 ENGINE *ENGINE_by_id(const char *id);
      |                               ^~~~~~~~~~~~
ssl.c:534:2: warning: 'ENGINE_set_default' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  534 |  if (!ENGINE_set_default(engine, ENGINE_METHOD_ALL))
      |  ^~
In file included from ssl.c:44:
/usr/include/openssl/engine.h:708:27: note: declared here
  708 | OSSL_DEPRECATEDIN_3_0 int ENGINE_set_default(ENGINE *e, unsigned int flags);
      |                           ^~~~~~~~~~~~~~~~~~
ssl.c: In function 'ssl_tmp_dh_callback':
ssl.c:738:2: warning: 'DH_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  738 |  if (!(dh = DH_new())) {
      |  ^~
In file included from /usr/include/openssl/dsa.h:51,
                 from /usr/include/openssl/x509.h:36,
                 from /usr/include/openssl/ssl.h:30,
                 from ssl.h:35,
                 from ssl.c:29:
/usr/include/openssl/dh.h:203:27: note: declared here
  203 | OSSL_DEPRECATEDIN_3_0 DH *DH_new(void);
      |                           ^~~~~~
ssl.c:744:3: warning: 'DH_set0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  744 |   rv = DH_set0_pqg(dh,
      |   ^~
In file included from /usr/include/openssl/dsa.h:51,
                 from /usr/include/openssl/x509.h:36,
                 from /usr/include/openssl/ssl.h:30,
                 from ssl.h:35,
                 from ssl.c:29:
/usr/include/openssl/dh.h:259:27: note: declared here
  259 | OSSL_DEPRECATEDIN_3_0 int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g);
      |                           ^~~~~~~~~~~
ssl.c:750:3: warning: 'DH_set0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  750 |   rv = DH_set0_pqg(dh,
      |   ^~
In file included from /usr/include/openssl/dsa.h:51,
                 from /usr/include/openssl/x509.h:36,
                 from /usr/include/openssl/ssl.h:30,
                 from ssl.h:35,
                 from ssl.c:29:
/usr/include/openssl/dh.h:259:27: note: declared here
  259 | OSSL_DEPRECATEDIN_3_0 int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g);
      |                           ^~~~~~~~~~~
ssl.c:756:3: warning: 'DH_set0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  756 |   rv = DH_set0_pqg(dh,
      |   ^~
In file included from /usr/include/openssl/dsa.h:51,
                 from /usr/include/openssl/x509.h:36,
                 from /usr/include/openssl/ssl.h:30,
                 from ssl.h:35,
                 from ssl.c:29:
/usr/include/openssl/dh.h:259:27: note: declared here
  259 | OSSL_DEPRECATEDIN_3_0 int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g);
      |                           ^~~~~~~~~~~
ssl.c:762:3: warning: 'DH_set0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  762 |   rv = DH_set0_pqg(dh,
      |   ^~
In file included from /usr/include/openssl/dsa.h:51,
                 from /usr/include/openssl/x509.h:36,
                 from /usr/include/openssl/ssl.h:30,
                 from ssl.h:35,
                 from ssl.c:29:
/usr/include/openssl/dh.h:259:27: note: declared here
  259 | OSSL_DEPRECATEDIN_3_0 int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g);
      |                           ^~~~~~~~~~~
ssl.c:771:3: warning: 'DH_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  771 |   DH_free(dh);
      |   ^~~~~~~
In file included from /usr/include/openssl/dsa.h:51,
                 from /usr/include/openssl/x509.h:36,
                 from /usr/include/openssl/ssl.h:30,
                 from ssl.h:35,
                 from ssl.c:29:
/usr/include/openssl/dh.h:204:28: note: declared here
  204 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh);
      |                            ^~~~~~~
ssl.c:776:3: warning: 'DH_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  776 |   DH_free(dh);
      |   ^~~~~~~
In file included from /usr/include/openssl/dsa.h:51,
                 from /usr/include/openssl/x509.h:36,
                 from /usr/include/openssl/ssl.h:30,
                 from ssl.h:35,
                 from ssl.c:29:
/usr/include/openssl/dh.h:204:28: note: declared here
  204 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh);
      |                            ^~~~~~~
ssl.c: In function 'ssl_dh_load':
ssl.c:798:2: warning: 'PEM_read_DHparams' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  798 |  dh = PEM_read_DHparams(fh, NULL, NULL, NULL);
      |  ^~
In file included from /usr/include/openssl/ssl.h:35,
                 from ssl.h:35,
                 from ssl.c:29:
/usr/include/openssl/pem.h:469:1: note: declared here
  469 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, DHparams, DH)
      | ^~~~~~~~~~~~~~~~~~~
ssl.c: In function 'ssl_ec_by_name':
ssl.c:820:2: warning: 'EC_KEY_new_by_curve_name' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  820 |  return EC_KEY_new_by_curve_name(nid);
      |  ^~~~~~
In file included from /usr/include/openssl/x509.h:32,
                 from /usr/include/openssl/ssl.h:30,
                 from ssl.h:35,
                 from ssl.c:29:
/usr/include/openssl/ec.h:998:31: note: declared here
  998 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new_by_curve_name(int nid);
      |                               ^~~~~~~~~~~~~~~~~~~~~~~~
ssl.c: In function 'ssl_key_genrsa':
ssl.c:1370:2: warning: 'RSA_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1370 |  rsa = RSA_new();
      |  ^~~
In file included from /usr/include/openssl/x509.h:35,
                 from /usr/include/openssl/ssl.h:30,
                 from ssl.h:35,
                 from ssl.c:29:
/usr/include/openssl/rsa.h:201:28: note: declared here
  201 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void);
      |                            ^~~~~~~
ssl.c:1373:2: warning: 'RSA_generate_key_ex' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1373 |  rv = RSA_generate_key_ex(rsa, keysize, bn, NULL);
      |  ^~
In file included from /usr/include/openssl/x509.h:35,
                 from /usr/include/openssl/ssl.h:30,
                 from ssl.h:35,
                 from ssl.c:29:
/usr/include/openssl/rsa.h:260:27: note: declared here
  260 | OSSL_DEPRECATEDIN_3_0 int RSA_generate_key_ex(RSA *rsa, int bits, BIGNUM *e,
      |                           ^~~~~~~~~~~~~~~~~~~
ssl.c:1376:3: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1376 |   RSA_free(rsa);
      |   ^~~~~~~~
In file included from /usr/include/openssl/x509.h:35,
                 from /usr/include/openssl/ssl.h:30,
                 from ssl.h:35,
                 from ssl.c:29:
/usr/include/openssl/rsa.h:293:28: note: declared here
  293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r);
      |                            ^~~~~~~~
ssl.c:1385:2: warning: 'EVP_PKEY_assign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1385 |  EVP_PKEY_assign_RSA(pkey, rsa); /* does not increment refcount */
      |  ^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/openssl/x509.h:28,
                 from /usr/include/openssl/ssl.h:30,
                 from ssl.h:35,
                 from ssl.c:29:
/usr/include/openssl/evp.h:1330:5: note: declared here
 1330 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key);
      |     ^~~~~~~~~~~~~~~
ssl.c: In function 'ssl_dh_refcount_inc':
ssl.c:1506:2: warning: 'DH_up_ref' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1506 |  DH_up_ref(dh);
      |  ^~~~~~~~~
In file included from /usr/include/openssl/dsa.h:51,
                 from /usr/include/openssl/x509.h:36,
                 from /usr/include/openssl/ssl.h:30,
                 from ssl.h:35,
                 from ssl.c:29:
/usr/include/openssl/dh.h:205:27: note: declared here
  205 | OSSL_DEPRECATEDIN_3_0 int DH_up_ref(DH *dh);
      |                           ^~~~~~~~~
gcc -c -I/usr/include -I/usr/pkg/include/libnet11 -isystem/usr/include -isystem/usr/include -isystem/usr/pkg/include/libnet11 -isystem/usr/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_IPFILTER -DHAVE_IPFW -DHAVE_PF -O2 -I/usr/include -I/usr/pkg/include/libnet11  -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -o sys.o sys.c
distcc[1271] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
gcc -c -I/usr/include -I/usr/pkg/include/libnet11 -isystem/usr/include -isystem/usr/include -isystem/usr/pkg/include/libnet11 -isystem/usr/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_IPFILTER -DHAVE_IPFW -DHAVE_PF -O2 -I/usr/include -I/usr/pkg/include/libnet11  -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -o thrqueue.o thrqueue.c
distcc[6255] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
gcc -c -I/usr/include -I/usr/pkg/include/libnet11 -isystem/usr/include -isystem/usr/include -isystem/usr/pkg/include/libnet11 -isystem/usr/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_IPFILTER -DHAVE_IPFW -DHAVE_PF -O2 -I/usr/include -I/usr/pkg/include/libnet11  -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -o url.o url.c
distcc[6121] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
gcc -c -I/usr/include -I/usr/pkg/include/libnet11 -isystem/usr/include -isystem/usr/include -isystem/usr/pkg/include/libnet11 -isystem/usr/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_IPFILTER -DHAVE_IPFW -DHAVE_PF -O2 -I/usr/include -I/usr/pkg/include/libnet11  -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -o util.o util.c
distcc[15062] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
sed -e 's,/usr/local/etc/sslsplit,/usr/pkg/etc/sslsplit,' -e 's,@@VERSION@@,0.5.5,' -e 's,@@DATE@@,2024-05-28,' <sslsplit.conf.in >sslsplit.conf
sed -e 's,/usr/local/etc/sslsplit,/usr/pkg/etc/sslsplit,' -e 's,@@VERSION@@,0.5.5,' -e 's,@@DATE@@,2024-05-28,' <sslsplit.1.in >sslsplit.1
sed -e 's,/usr/local/etc/sslsplit,/usr/pkg/etc/sslsplit,' -e 's,@@VERSION@@,0.5.5,' -e 's,@@DATE@@,2024-05-28,' <sslsplit.conf.5.in >sslsplit.conf.5
gcc -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib/libnet11 -Wl,-R/usr/pkg/lib -L/usr/lib -L/usr/lib -L/usr/pkg/lib/libnet11 -L/usr/lib -pthread -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: pxyconn.o: in function `pxy_bev_eventcb':
pxyconn.c:(.text+0x35b4): undefined reference to `ERR_GET_FUNC'
ld: pxyconn.c:(.text+0x3648): undefined reference to `ERR_GET_FUNC'
ld: pxyconn.c:(.text+0x3c64): undefined reference to `ERR_GET_FUNC'
ld: pxyconn.c:(.text+0x3cf8): undefined reference to `ERR_GET_FUNC'
ld: pxyconn.c:(.text+0x3fbc): undefined reference to `ERR_GET_FUNC'
ld: pxyconn.o:pxyconn.c:(.text+0x41a8): more undefined references to `ERR_GET_FUNC' follow
distcc[12314] ERROR: compile (null) on localhost failed
gmake: *** [GNUmakefile:477: sslsplit] Error 1
*** Error code 2

Stop.
make[1]: stopped in /usr/pkgsrc/security/sslsplit
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/security/sslsplit