+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/sslsplit-0.5.5nb1/work.log + su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/sslsplit-0.5.5nb1/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for sslsplit-0.5.5nb1 ------------------------------------------------------------------------------ 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/pkg LIBEVENT_BASE: /usr/pkg LIBPCAP_BASE: /usr/pkg LIBNET_BASE: /usr/pkg Build options: -DHAVE_NETFILTER Build info: V:FILE HDIFF:1 N:83c4edf uname -a: Linux pkgsrc-el9 5.14.0-284.18.1.el9_2.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Jun 22 17:36:46 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux ------------------------------------------------------------------------------ cc -c -I/usr/pkg/include -I/usr/pkg/include/libnet11 -isystem/usr/pkg/include -isystem/usr/pkg/include -isystem/usr/pkg/include/libnet11 -isystem/usr/pkg/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_NETFILTER -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/libnet11 -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -o base64.o base64.c cc -c -I/usr/pkg/include -I/usr/pkg/include/libnet11 -isystem/usr/pkg/include -isystem/usr/pkg/include -isystem/usr/pkg/include/libnet11 -isystem/usr/pkg/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_NETFILTER -D"BUILD_PKGNAME=\"sslsplit\"" -D"BUILD_VERSION=\"0.5.5\"" -D"BUILD_DATE=\"2023-09-03\"" -D"BUILD_INFO=\"V:FILE HDIFF:1 N:83c4edf\"" -D"BUILD_FEATURES=\"-DHAVE_NETFILTER\"" -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/libnet11 -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -o build.o build.c cc -c -I/usr/pkg/include -I/usr/pkg/include/libnet11 -isystem/usr/pkg/include -isystem/usr/pkg/include -isystem/usr/pkg/include/libnet11 -isystem/usr/pkg/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_NETFILTER -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/libnet11 -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -o cache.o cache.c cc -c -I/usr/pkg/include -I/usr/pkg/include/libnet11 -isystem/usr/pkg/include -isystem/usr/pkg/include -isystem/usr/pkg/include/libnet11 -isystem/usr/pkg/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_NETFILTER -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/libnet11 -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -o cachedsess.o cachedsess.c cc -c -I/usr/pkg/include -I/usr/pkg/include/libnet11 -isystem/usr/pkg/include -isystem/usr/pkg/include -isystem/usr/pkg/include/libnet11 -isystem/usr/pkg/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_NETFILTER -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/libnet11 -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -o cachefkcrt.o cachefkcrt.c cc -c -I/usr/pkg/include -I/usr/pkg/include/libnet11 -isystem/usr/pkg/include -isystem/usr/pkg/include -isystem/usr/pkg/include/libnet11 -isystem/usr/pkg/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_NETFILTER -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/libnet11 -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -o cachemgr.o cachemgr.c cc -c -I/usr/pkg/include -I/usr/pkg/include/libnet11 -isystem/usr/pkg/include -isystem/usr/pkg/include -isystem/usr/pkg/include/libnet11 -isystem/usr/pkg/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_NETFILTER -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/libnet11 -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -o cachessess.o cachessess.c cc -c -I/usr/pkg/include -I/usr/pkg/include/libnet11 -isystem/usr/pkg/include -isystem/usr/pkg/include -isystem/usr/pkg/include/libnet11 -isystem/usr/pkg/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_NETFILTER -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/libnet11 -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -o cachetgcrt.o cachetgcrt.c cc -c -I/usr/pkg/include -I/usr/pkg/include/libnet11 -isystem/usr/pkg/include -isystem/usr/pkg/include -isystem/usr/pkg/include/libnet11 -isystem/usr/pkg/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_NETFILTER -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/libnet11 -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -o cert.o cert.c cc -c -I/usr/pkg/include -I/usr/pkg/include/libnet11 -isystem/usr/pkg/include -isystem/usr/pkg/include -isystem/usr/pkg/include/libnet11 -isystem/usr/pkg/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_NETFILTER -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/libnet11 -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -o dynbuf.o dynbuf.c cc -c -I/usr/pkg/include -I/usr/pkg/include/libnet11 -isystem/usr/pkg/include -isystem/usr/pkg/include -isystem/usr/pkg/include/libnet11 -isystem/usr/pkg/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_NETFILTER -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/libnet11 -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -o log.o log.c cc -c -I/usr/pkg/include -I/usr/pkg/include/libnet11 -isystem/usr/pkg/include -isystem/usr/pkg/include -isystem/usr/pkg/include/libnet11 -isystem/usr/pkg/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_NETFILTER -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/libnet11 -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -o logbuf.o logbuf.c In file included from logpkt.h:39, from log.c:36: /home/pbulk/build/security/sslsplit/work/.buildlink/include/libnet11/libnet.h:62: warning: "_GNU_SOURCE" redefined 62 | #define _GNU_SOURCE | : note: this is the location of the previous definition log.c:1677:46: warning: argument 3 of type 'int[5]' with mismatched bound [-Warray-parameter=] 1677 | log_init(opts_t *opts, proxy_ctx_t *ctx, int clisock[5]) | ~~~~^~~~~~~~~~ In file included from log.c:29: log.h:97:39: note: previously declared as 'int[3]' 97 | int log_init(opts_t *, proxy_ctx_t *, int[3]) NONNULL(1,2) WUNRES; | ^~~~~~ cc -c -I/usr/pkg/include -I/usr/pkg/include/libnet11 -isystem/usr/pkg/include -isystem/usr/pkg/include -isystem/usr/pkg/include/libnet11 -isystem/usr/pkg/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_NETFILTER -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/libnet11 -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -o logger.o logger.c cc -c -I/usr/pkg/include -I/usr/pkg/include/libnet11 -isystem/usr/pkg/include -isystem/usr/pkg/include -isystem/usr/pkg/include/libnet11 -isystem/usr/pkg/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_NETFILTER -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/libnet11 -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -o logpkt.o logpkt.c In file included from logpkt.h:39, from logpkt.c:29: /home/pbulk/build/security/sslsplit/work/.buildlink/include/libnet11/libnet.h:62: warning: "_GNU_SOURCE" redefined 62 | #define _GNU_SOURCE | : note: this is the location of the previous definition logpkt.c: In function 'logpkt_pcap_build': logpkt.c:351:17: 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:9: 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)) { | ^~~~~~ log.c: In function 'log_init': log.c:1716:17: warning: array subscript 3 is outside array bounds of 'int[3]' [-Warray-bounds] 1716 | privsep_client_close(clisock[3]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ log.c:1677:46: note: while referencing 'clisock' 1677 | log_init(opts_t *opts, proxy_ctx_t *ctx, int clisock[5]) | ~~~~^~~~~~~~~~ log.c:1712:38: warning: array subscript 3 is outside array bounds of 'int[3]' [-Warray-bounds] 1712 | content_pcap_clisock = clisock[3]; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ log.c:1677:46: note: while referencing 'clisock' 1677 | log_init(opts_t *opts, proxy_ctx_t *ctx, int clisock[5]) | ~~~~^~~~~~~~~~ log.c:1731:17: warning: array subscript 4 is outside array bounds of 'int[3]' [-Warray-bounds] 1731 | privsep_client_close(clisock[4]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ log.c:1677:46: note: while referencing 'clisock' 1677 | log_init(opts_t *opts, proxy_ctx_t *ctx, int clisock[5]) | ~~~~^~~~~~~~~~ log.c:1727:30: warning: array subscript 4 is outside array bounds of 'int[3]' [-Warray-bounds] 1727 | cert_clisock = clisock[4]; | ~~~~~~~~~~~~~^~~~~~~~~~~~ log.c:1677:46: note: while referencing 'clisock' 1677 | log_init(opts_t *opts, proxy_ctx_t *ctx, int clisock[5]) | ~~~~^~~~~~~~~~ cc -c -I/usr/pkg/include -I/usr/pkg/include/libnet11 -isystem/usr/pkg/include -isystem/usr/pkg/include -isystem/usr/pkg/include/libnet11 -isystem/usr/pkg/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_NETFILTER -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/libnet11 -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -o main.o main.c cc -c -I/usr/pkg/include -I/usr/pkg/include/libnet11 -isystem/usr/pkg/include -isystem/usr/pkg/include -isystem/usr/pkg/include/libnet11 -isystem/usr/pkg/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_NETFILTER -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/libnet11 -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -o nat.o nat.c In file included from main.c:60: /home/pbulk/build/security/sslsplit/work/.buildlink/include/libnet11/libnet.h:62: warning: "_GNU_SOURCE" redefined 62 | #define _GNU_SOURCE | : note: this is the location of the previous definition main.c: In function 'main_version': main.c:123:27: warning: implicit declaration of function 'libnet_version'; did you mean 'nat_version'? [-Wimplicit-function-declaration] 123 | const char *lnv = libnet_version(); | ^~~~~~~~~~~~~~ | nat_version main.c:123:27: warning: initialization of 'const char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] cc -c -I/usr/pkg/include -I/usr/pkg/include/libnet11 -isystem/usr/pkg/include -isystem/usr/pkg/include -isystem/usr/pkg/include/libnet11 -isystem/usr/pkg/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_NETFILTER -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/libnet11 -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -o opts.o opts.c cc -c -I/usr/pkg/include -I/usr/pkg/include/libnet11 -isystem/usr/pkg/include -isystem/usr/pkg/include -isystem/usr/pkg/include/libnet11 -isystem/usr/pkg/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_NETFILTER -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/libnet11 -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -o privsep.o privsep.c cc -c -I/usr/pkg/include -I/usr/pkg/include/libnet11 -isystem/usr/pkg/include -isystem/usr/pkg/include -isystem/usr/pkg/include/libnet11 -isystem/usr/pkg/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_NETFILTER -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/libnet11 -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -o proc.o proc.c cc -c -I/usr/pkg/include -I/usr/pkg/include/libnet11 -isystem/usr/pkg/include -isystem/usr/pkg/include -isystem/usr/pkg/include/libnet11 -isystem/usr/pkg/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_NETFILTER -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/libnet11 -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -o proxy.o proxy.c cc -c -I/usr/pkg/include -I/usr/pkg/include/libnet11 -isystem/usr/pkg/include -isystem/usr/pkg/include -isystem/usr/pkg/include/libnet11 -isystem/usr/pkg/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_NETFILTER -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/libnet11 -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -o pxyconn.o pxyconn.c cc -c -I/usr/pkg/include -I/usr/pkg/include/libnet11 -isystem/usr/pkg/include -isystem/usr/pkg/include -isystem/usr/pkg/include/libnet11 -isystem/usr/pkg/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_NETFILTER -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/libnet11 -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -o pxythrmgr.o pxythrmgr.c cc -c -I/usr/pkg/include -I/usr/pkg/include/libnet11 -isystem/usr/pkg/include -isystem/usr/pkg/include -isystem/usr/pkg/include/libnet11 -isystem/usr/pkg/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_NETFILTER -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/libnet11 -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -o ssl.o ssl.c cc -c -I/usr/pkg/include -I/usr/pkg/include/libnet11 -isystem/usr/pkg/include -isystem/usr/pkg/include -isystem/usr/pkg/include/libnet11 -isystem/usr/pkg/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_NETFILTER -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/libnet11 -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -o sys.o sys.c cc -c -I/usr/pkg/include -I/usr/pkg/include/libnet11 -isystem/usr/pkg/include -isystem/usr/pkg/include -isystem/usr/pkg/include/libnet11 -isystem/usr/pkg/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_NETFILTER -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/libnet11 -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -o thrqueue.o thrqueue.c cc -c -I/usr/pkg/include -I/usr/pkg/include/libnet11 -isystem/usr/pkg/include -isystem/usr/pkg/include -isystem/usr/pkg/include/libnet11 -isystem/usr/pkg/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_NETFILTER -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/libnet11 -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -o url.o url.c cc -c -I/usr/pkg/include -I/usr/pkg/include/libnet11 -isystem/usr/pkg/include -isystem/usr/pkg/include -isystem/usr/pkg/include/libnet11 -isystem/usr/pkg/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_NETFILTER -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/libnet11 -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -o util.o util.c sed -e 's,/usr/local/etc/sslsplit,/usr/pkg/etc/sslsplit,' -e 's,@@VERSION@@,0.5.5,' -e 's,@@DATE@@,2023-09-03,' sslsplit.conf sed -e 's,/usr/local/etc/sslsplit,/usr/pkg/etc/sslsplit,' -e 's,@@VERSION@@,0.5.5,' -e 's,@@DATE@@,2023-09-03,' sslsplit.1 sed -e 's,/usr/local/etc/sslsplit,/usr/pkg/etc/sslsplit,' -e 's,@@VERSION@@,0.5.5,' -e 's,@@DATE@@,2023-09-03,' sslsplit.conf.5 cc -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib/libnet11 -L/usr/pkg/lib -L/usr/pkg/lib -L/usr/pkg/lib/libnet11 -L/usr/pkg/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 /bin/ld: main.o: in function `main_version': main.c:(.text+0x30c): undefined reference to `libnet_version' collect2: error: ld returned 1 exit status make: *** [GNUmakefile:477: sslsplit] Error 1 *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/security/sslsplit *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/security/sslsplit