+ 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/proxytunnel-1.9.0nb7/work.log + su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/proxytunnel-1.9.0nb7/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. ===> Building for proxytunnel-1.9.0nb7 cc -pipe -O2 -I/usr/pkg/include -DHAVE_GETOPT_LONG -DUSE_SSL -DSETPROCTITLE -DSPT_TYPE=2 -DSO_REUSEPORT -c -o proxytunnel.o proxytunnel.c cc -pipe -O2 -I/usr/pkg/include -DHAVE_GETOPT_LONG -DUSE_SSL -DSETPROCTITLE -DSPT_TYPE=2 -DSO_REUSEPORT -c -o base64.o base64.c cc -pipe -O2 -I/usr/pkg/include -DHAVE_GETOPT_LONG -DUSE_SSL -DSETPROCTITLE -DSPT_TYPE=2 -DSO_REUSEPORT -c -o strlcpy.o strlcpy.c cc -pipe -O2 -I/usr/pkg/include -DHAVE_GETOPT_LONG -DUSE_SSL -DSETPROCTITLE -DSPT_TYPE=2 -DSO_REUSEPORT -c -o strlcat.o strlcat.c cc -pipe -O2 -I/usr/pkg/include -DHAVE_GETOPT_LONG -DUSE_SSL -DSETPROCTITLE -DSPT_TYPE=2 -DSO_REUSEPORT -c -o strzcat.o strzcat.c cc -pipe -O2 -I/usr/pkg/include -DHAVE_GETOPT_LONG -DUSE_SSL -DSETPROCTITLE -DSPT_TYPE=2 -DSO_REUSEPORT -c -o setproctitle.o setproctitle.c cc -pipe -O2 -I/usr/pkg/include -DHAVE_GETOPT_LONG -DUSE_SSL -DSETPROCTITLE -DSPT_TYPE=2 -DSO_REUSEPORT -c -o io.o io.c cc -pipe -O2 -I/usr/pkg/include -DHAVE_GETOPT_LONG -DUSE_SSL -DSETPROCTITLE -DSPT_TYPE=2 -DSO_REUSEPORT -c -o http.o http.c cc -pipe -O2 -I/usr/pkg/include -DHAVE_GETOPT_LONG -DUSE_SSL -DSETPROCTITLE -DSPT_TYPE=2 -DSO_REUSEPORT -c -o basicauth.o basicauth.c cc -pipe -O2 -I/usr/pkg/include -DHAVE_GETOPT_LONG -DUSE_SSL -DSETPROCTITLE -DSPT_TYPE=2 -DSO_REUSEPORT -c -o readpassphrase.o readpassphrase.c readpassphrase.c: In function 'readpassphrase': readpassphrase.c:139:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] (void)write(output, prompt, strlen(prompt)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ readpassphrase.c:157:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] (void)write(output, "\n", 1); ^~~~~~~~~~~~~~~~~~~~~~ cc -pipe -O2 -I/usr/pkg/include -DHAVE_GETOPT_LONG -DUSE_SSL -DSETPROCTITLE -DSPT_TYPE=2 -DSO_REUSEPORT -c -o messages.o messages.c cc -pipe -O2 -I/usr/pkg/include -DHAVE_GETOPT_LONG -DUSE_SSL -DSETPROCTITLE -DSPT_TYPE=2 -DSO_REUSEPORT -c -o cmdline.o cmdline.c cc -pipe -O2 -I/usr/pkg/include -DHAVE_GETOPT_LONG -DUSE_SSL -DSETPROCTITLE -DSPT_TYPE=2 -DSO_REUSEPORT -c -o ntlm.o ntlm.c ntlm.c: In function 'hmac_md5': ntlm.c:259:3: warning: 'MD5_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] MD5_Init( &tctx ); ^~~~~~~~ In file included from ntlm.c:32: /home/pbulk/build/net/proxytunnel/work/.buildlink/include/openssl/md5.h:49:27: note: declared here OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c); ^~~~~~~~ ntlm.c:260:3: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] MD5_Update( &tctx, key, key_len ); ^~~~~~~~~~ In file included from ntlm.c:32: /home/pbulk/build/net/proxytunnel/work/.buildlink/include/openssl/md5.h:50:27: note: declared here OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); ^~~~~~~~~~ ntlm.c:261:3: warning: 'MD5_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] MD5_Final( tk, &tctx ); ^~~~~~~~~ In file included from ntlm.c:32: /home/pbulk/build/net/proxytunnel/work/.buildlink/include/openssl/md5.h:51:27: note: declared here OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char *md, MD5_CTX *c); ^~~~~~~~~ ntlm.c:290:2: warning: 'MD5_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] MD5_Init(&context); /* init context for 1st pass */ ^~~~~~~~ In file included from ntlm.c:32: /home/pbulk/build/net/proxytunnel/work/.buildlink/include/openssl/md5.h:49:27: note: declared here OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c); ^~~~~~~~ ntlm.c:291:2: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] MD5_Update(&context, k_ipad, 64); /* start with inner pad */ ^~~~~~~~~~ In file included from ntlm.c:32: /home/pbulk/build/net/proxytunnel/work/.buildlink/include/openssl/md5.h:50:27: note: declared here OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); ^~~~~~~~~~ ntlm.c:292:2: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] MD5_Update(&context, text, text_len); /* then text of datagram */ ^~~~~~~~~~ In file included from ntlm.c:32: /home/pbulk/build/net/proxytunnel/work/.buildlink/include/openssl/md5.h:50:27: note: declared here OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); ^~~~~~~~~~ ntlm.c:293:2: warning: 'MD5_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] MD5_Final(digest, &context); /* finish up 1st pass */ ^~~~~~~~~ In file included from ntlm.c:32: /home/pbulk/build/net/proxytunnel/work/.buildlink/include/openssl/md5.h:51:27: note: declared here OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char *md, MD5_CTX *c); ^~~~~~~~~ ntlm.c:296:2: warning: 'MD5_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] MD5_Init(&context); /* init context for 2nd pass */ ^~~~~~~~ In file included from ntlm.c:32: /home/pbulk/build/net/proxytunnel/work/.buildlink/include/openssl/md5.h:49:27: note: declared here OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c); ^~~~~~~~ ntlm.c:297:2: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] MD5_Update(&context, k_opad, 64); /* start with outer pad */ ^~~~~~~~~~ In file included from ntlm.c:32: /home/pbulk/build/net/proxytunnel/work/.buildlink/include/openssl/md5.h:50:27: note: declared here OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); ^~~~~~~~~~ ntlm.c:298:2: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] MD5_Update(&context, digest, 16); /* then results of 1st hash */ ^~~~~~~~~~ In file included from ntlm.c:32: /home/pbulk/build/net/proxytunnel/work/.buildlink/include/openssl/md5.h:50:27: note: declared here OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); ^~~~~~~~~~ ntlm.c:299:2: warning: 'MD5_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] MD5_Final(digest, &context); /* finish up 2nd pass */ ^~~~~~~~~ In file included from ntlm.c:32: /home/pbulk/build/net/proxytunnel/work/.buildlink/include/openssl/md5.h:51:27: note: declared here OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char *md, MD5_CTX *c); ^~~~~~~~~ ntlm.c: In function 'build_ntlm2_response': ntlm.c:330:2: warning: 'MD4_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] MD4_Init (&passcontext); ^~~~~~~~ In file included from ntlm.c:31: /home/pbulk/build/net/proxytunnel/work/.buildlink/include/openssl/md4.h:50:27: note: declared here OSSL_DEPRECATEDIN_3_0 int MD4_Init(MD4_CTX *c); ^~~~~~~~ ntlm.c:331:2: warning: 'MD4_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] MD4_Update (&passcontext, unipasswd, passlen); ^~~~~~~~~~ In file included from ntlm.c:31: /home/pbulk/build/net/proxytunnel/work/.buildlink/include/openssl/md4.h:51:27: note: declared here OSSL_DEPRECATEDIN_3_0 int MD4_Update(MD4_CTX *c, const void *data, size_t len); ^~~~~~~~~~ ntlm.c:332:2: warning: 'MD4_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] MD4_Final (passdigest, &passcontext); ^~~~~~~~~ In file included from ntlm.c:31: /home/pbulk/build/net/proxytunnel/work/.buildlink/include/openssl/md4.h:52:27: note: declared here OSSL_DEPRECATEDIN_3_0 int MD4_Final(unsigned char *md, MD4_CTX *c); ^~~~~~~~~ cc -pipe -O2 -I/usr/pkg/include -DHAVE_GETOPT_LONG -DUSE_SSL -DSETPROCTITLE -DSPT_TYPE=2 -DSO_REUSEPORT -c -o ptstream.o ptstream.c ptstream.c: In function 'stream_enable_ssl': ptstream.c:154:7: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] meth = SSLv23_client_method(); ^ cc -o proxytunnel -pipe -O2 -I/usr/pkg/include -DHAVE_GETOPT_LONG -DUSE_SSL -DSETPROCTITLE -DSPT_TYPE=2 -DSO_REUSEPORT proxytunnel.o base64.o strlcpy.o strlcat.o strzcat.o setproctitle.o io.o http.o basicauth.o readpassphrase.o messages.o cmdline.o ntlm.o ptstream.o -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lssl -lcrypto