+ 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/kore-4.2.3nb9/work.log
+ su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/kore-4.2.3nb9/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for kore-4.2.3nb9
/bin/mkdir -p /home/pbulk/build/www/kore/work/kore-4.2.3/obj
cc -pipe -O2 -I/usr/pkg/include -DLDAP_DEPRECATED -I/usr/include -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wshadow -Wpointer-arith -Wcast-qual -Wsign-compare -Iinclude/kore -Iobj -std=c99 -pedantic -Wtype-limits -fno-common -DPREFIX='"/usr/pkg"' -fstack-protector-all -DTLS_BACKEND_OPENSSL -I/usr/pkg/include -DKORE_USE_TASKS -I/usr/pkg/include -DKORE_USE_CURL -D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -c src/buf.c -o obj/buf.o
cc -pipe -O2 -I/usr/pkg/include -DLDAP_DEPRECATED -I/usr/include -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wshadow -Wpointer-arith -Wcast-qual -Wsign-compare -Iinclude/kore -Iobj -std=c99 -pedantic -Wtype-limits -fno-common -DPREFIX='"/usr/pkg"' -fstack-protector-all -DTLS_BACKEND_OPENSSL -I/usr/pkg/include -DKORE_USE_TASKS -I/usr/pkg/include -DKORE_USE_CURL -D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -c src/config.c -o obj/config.o
cc -pipe -O2 -I/usr/pkg/include -DLDAP_DEPRECATED -I/usr/include -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wshadow -Wpointer-arith -Wcast-qual -Wsign-compare -Iinclude/kore -Iobj -std=c99 -pedantic -Wtype-limits -fno-common -DPREFIX='"/usr/pkg"' -fstack-protector-all -DTLS_BACKEND_OPENSSL -I/usr/pkg/include -DKORE_USE_TASKS -I/usr/pkg/include -DKORE_USE_CURL -D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -c src/connection.c -o obj/connection.o
cc -pipe -O2 -I/usr/pkg/include -DLDAP_DEPRECATED -I/usr/include -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wshadow -Wpointer-arith -Wcast-qual -Wsign-compare -Iinclude/kore -Iobj -std=c99 -pedantic -Wtype-limits -fno-common -DPREFIX='"/usr/pkg"' -fstack-protector-all -DTLS_BACKEND_OPENSSL -I/usr/pkg/include -DKORE_USE_TASKS -I/usr/pkg/include -DKORE_USE_CURL -D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -c src/domain.c -o obj/domain.o
cc -pipe -O2 -I/usr/pkg/include -DLDAP_DEPRECATED -I/usr/include -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wshadow -Wpointer-arith -Wcast-qual -Wsign-compare -Iinclude/kore -Iobj -std=c99 -pedantic -Wtype-limits -fno-common -DPREFIX='"/usr/pkg"' -fstack-protector-all -DTLS_BACKEND_OPENSSL -I/usr/pkg/include -DKORE_USE_TASKS -I/usr/pkg/include -DKORE_USE_CURL -D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -c src/filemap.c -o obj/filemap.o
cc -pipe -O2 -I/usr/pkg/include -DLDAP_DEPRECATED -I/usr/include -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wshadow -Wpointer-arith -Wcast-qual -Wsign-compare -Iinclude/kore -Iobj -std=c99 -pedantic -Wtype-limits -fno-common -DPREFIX='"/usr/pkg"' -fstack-protector-all -DTLS_BACKEND_OPENSSL -I/usr/pkg/include -DKORE_USE_TASKS -I/usr/pkg/include -DKORE_USE_CURL -D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -c src/fileref.c -o obj/fileref.o
cc -pipe -O2 -I/usr/pkg/include -DLDAP_DEPRECATED -I/usr/include -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wshadow -Wpointer-arith -Wcast-qual -Wsign-compare -Iinclude/kore -Iobj -std=c99 -pedantic -Wtype-limits -fno-common -DPREFIX='"/usr/pkg"' -fstack-protector-all -DTLS_BACKEND_OPENSSL -I/usr/pkg/include -DKORE_USE_TASKS -I/usr/pkg/include -DKORE_USE_CURL -D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -c src/json.c -o obj/json.o
cc -pipe -O2 -I/usr/pkg/include -DLDAP_DEPRECATED -I/usr/include -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wshadow -Wpointer-arith -Wcast-qual -Wsign-compare -Iinclude/kore -Iobj -std=c99 -pedantic -Wtype-limits -fno-common -DPREFIX='"/usr/pkg"' -fstack-protector-all -DTLS_BACKEND_OPENSSL -I/usr/pkg/include -DKORE_USE_TASKS -I/usr/pkg/include -DKORE_USE_CURL -D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -c src/log.c -o obj/log.o
cc -pipe -O2 -I/usr/pkg/include -DLDAP_DEPRECATED -I/usr/include -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wshadow -Wpointer-arith -Wcast-qual -Wsign-compare -Iinclude/kore -Iobj -std=c99 -pedantic -Wtype-limits -fno-common -DPREFIX='"/usr/pkg"' -fstack-protector-all -DTLS_BACKEND_OPENSSL -I/usr/pkg/include -DKORE_USE_TASKS -I/usr/pkg/include -DKORE_USE_CURL -D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -c src/mem.c -o obj/mem.o
cc -pipe -O2 -I/usr/pkg/include -DLDAP_DEPRECATED -I/usr/include -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wshadow -Wpointer-arith -Wcast-qual -Wsign-compare -Iinclude/kore -Iobj -std=c99 -pedantic -Wtype-limits -fno-common -DPREFIX='"/usr/pkg"' -fstack-protector-all -DTLS_BACKEND_OPENSSL -I/usr/pkg/include -DKORE_USE_TASKS -I/usr/pkg/include -DKORE_USE_CURL -D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -c src/msg.c -o obj/msg.o
cc -pipe -O2 -I/usr/pkg/include -DLDAP_DEPRECATED -I/usr/include -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wshadow -Wpointer-arith -Wcast-qual -Wsign-compare -Iinclude/kore -Iobj -std=c99 -pedantic -Wtype-limits -fno-common -DPREFIX='"/usr/pkg"' -fstack-protector-all -DTLS_BACKEND_OPENSSL -I/usr/pkg/include -DKORE_USE_TASKS -I/usr/pkg/include -DKORE_USE_CURL -D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -c src/module.c -o obj/module.o
cc -pipe -O2 -I/usr/pkg/include -DLDAP_DEPRECATED -I/usr/include -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wshadow -Wpointer-arith -Wcast-qual -Wsign-compare -Iinclude/kore -Iobj -std=c99 -pedantic -Wtype-limits -fno-common -DPREFIX='"/usr/pkg"' -fstack-protector-all -DTLS_BACKEND_OPENSSL -I/usr/pkg/include -DKORE_USE_TASKS -I/usr/pkg/include -DKORE_USE_CURL -D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -c src/net.c -o obj/net.o
cc -pipe -O2 -I/usr/pkg/include -DLDAP_DEPRECATED -I/usr/include -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wshadow -Wpointer-arith -Wcast-qual -Wsign-compare -Iinclude/kore -Iobj -std=c99 -pedantic -Wtype-limits -fno-common -DPREFIX='"/usr/pkg"' -fstack-protector-all -DTLS_BACKEND_OPENSSL -I/usr/pkg/include -DKORE_USE_TASKS -I/usr/pkg/include -DKORE_USE_CURL -D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -c src/pool.c -o obj/pool.o
cc -pipe -O2 -I/usr/pkg/include -DLDAP_DEPRECATED -I/usr/include -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wshadow -Wpointer-arith -Wcast-qual -Wsign-compare -Iinclude/kore -Iobj -std=c99 -pedantic -Wtype-limits -fno-common -DPREFIX='"/usr/pkg"' -fstack-protector-all -DTLS_BACKEND_OPENSSL -I/usr/pkg/include -DKORE_USE_TASKS -I/usr/pkg/include -DKORE_USE_CURL -D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -c src/runtime.c -o obj/runtime.o
cc -pipe -O2 -I/usr/pkg/include -DLDAP_DEPRECATED -I/usr/include -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wshadow -Wpointer-arith -Wcast-qual -Wsign-compare -Iinclude/kore -Iobj -std=c99 -pedantic -Wtype-limits -fno-common -DPREFIX='"/usr/pkg"' -fstack-protector-all -DTLS_BACKEND_OPENSSL -I/usr/pkg/include -DKORE_USE_TASKS -I/usr/pkg/include -DKORE_USE_CURL -D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -c src/sha1.c -o obj/sha1.o
cc -pipe -O2 -I/usr/pkg/include -DLDAP_DEPRECATED -I/usr/include -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wshadow -Wpointer-arith -Wcast-qual -Wsign-compare -Iinclude/kore -Iobj -std=c99 -pedantic -Wtype-limits -fno-common -DPREFIX='"/usr/pkg"' -fstack-protector-all -DTLS_BACKEND_OPENSSL -I/usr/pkg/include -DKORE_USE_TASKS -I/usr/pkg/include -DKORE_USE_CURL -D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -c src/sha2.c -o obj/sha2.o
cc -pipe -O2 -I/usr/pkg/include -DLDAP_DEPRECATED -I/usr/include -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wshadow -Wpointer-arith -Wcast-qual -Wsign-compare -Iinclude/kore -Iobj -std=c99 -pedantic -Wtype-limits -fno-common -DPREFIX='"/usr/pkg"' -fstack-protector-all -DTLS_BACKEND_OPENSSL -I/usr/pkg/include -DKORE_USE_TASKS -I/usr/pkg/include -DKORE_USE_CURL -D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -c src/timer.c -o obj/timer.o
cc -pipe -O2 -I/usr/pkg/include -DLDAP_DEPRECATED -I/usr/include -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wshadow -Wpointer-arith -Wcast-qual -Wsign-compare -Iinclude/kore -Iobj -std=c99 -pedantic -Wtype-limits -fno-common -DPREFIX='"/usr/pkg"' -fstack-protector-all -DTLS_BACKEND_OPENSSL -I/usr/pkg/include -DKORE_USE_TASKS -I/usr/pkg/include -DKORE_USE_CURL -D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -c src/utils.c -o obj/utils.o
cc -pipe -O2 -I/usr/pkg/include -DLDAP_DEPRECATED -I/usr/include -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wshadow -Wpointer-arith -Wcast-qual -Wsign-compare -Iinclude/kore -Iobj -std=c99 -pedantic -Wtype-limits -fno-common -DPREFIX='"/usr/pkg"' -fstack-protector-all -DTLS_BACKEND_OPENSSL -I/usr/pkg/include -DKORE_USE_TASKS -I/usr/pkg/include -DKORE_USE_CURL -D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -c src/worker.c -o obj/worker.o
cc -pipe -O2 -I/usr/pkg/include -DLDAP_DEPRECATED -I/usr/include -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wshadow -Wpointer-arith -Wcast-qual -Wsign-compare -Iinclude/kore -Iobj -std=c99 -pedantic -Wtype-limits -fno-common -DPREFIX='"/usr/pkg"' -fstack-protector-all -DTLS_BACKEND_OPENSSL -I/usr/pkg/include -DKORE_USE_TASKS -I/usr/pkg/include -DKORE_USE_CURL -D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -c src/tls_openssl.c -o obj/tls_openssl.o
src/tls_openssl.c: In function 'kore_tls_init':
src/tls_openssl.c:97:9: warning: 'RSA_meth_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
   97 |         if ((keymgr_rsa_meth = RSA_meth_new("kore RSA keymgr method",
      |         ^~
In file included from /home/pbulk/build/www/kore/work/.buildlink/include/openssl/x509.h:36,
                 from /home/pbulk/build/www/kore/work/.buildlink/include/openssl/ssl.h:32,
                 from src/tls_openssl.c:28:
/home/pbulk/build/www/kore/work/.buildlink/include/openssl/rsa.h:484:35: note: declared here
  484 | OSSL_DEPRECATEDIN_3_0 RSA_METHOD *RSA_meth_new(const char *name, int flags);
      |                                   ^~~~~~~~~~~~
src/tls_openssl.c:101:9: warning: 'RSA_meth_set_init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  101 |         RSA_meth_set_init(keymgr_rsa_meth, tls_keymgr_rsa_init);
      |         ^~~~~~~~~~~~~~~~~
In file included from /home/pbulk/build/www/kore/work/.buildlink/include/openssl/x509.h:36,
                 from /home/pbulk/build/www/kore/work/.buildlink/include/openssl/ssl.h:32,
                 from src/tls_openssl.c:28:
/home/pbulk/build/www/kore/work/.buildlink/include/openssl/rsa.h:561:5: note: declared here
  561 | int RSA_meth_set_init(RSA_METHOD *rsa, int (*init) (RSA *rsa));
      |     ^~~~~~~~~~~~~~~~~
src/tls_openssl.c:102:9: warning: 'RSA_meth_set_finish' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  102 |         RSA_meth_set_finish(keymgr_rsa_meth, tls_keymgr_rsa_finish);
      |         ^~~~~~~~~~~~~~~~~~~
In file included from /home/pbulk/build/www/kore/work/.buildlink/include/openssl/x509.h:36,
                 from /home/pbulk/build/www/kore/work/.buildlink/include/openssl/ssl.h:32,
                 from src/tls_openssl.c:28:
/home/pbulk/build/www/kore/work/.buildlink/include/openssl/rsa.h:565:5: note: declared here
  565 | int RSA_meth_set_finish(RSA_METHOD *rsa, int (*finish) (RSA *rsa));
      |     ^~~~~~~~~~~~~~~~~~~
src/tls_openssl.c:103:9: warning: 'RSA_meth_set_priv_enc' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  103 |         RSA_meth_set_priv_enc(keymgr_rsa_meth, tls_keymgr_rsa_privenc);
      |         ^~~~~~~~~~~~~~~~~~~~~
In file included from /home/pbulk/build/www/kore/work/.buildlink/include/openssl/x509.h:36,
                 from /home/pbulk/build/www/kore/work/.buildlink/include/openssl/ssl.h:32,
                 from src/tls_openssl.c:28:
/home/pbulk/build/www/kore/work/.buildlink/include/openssl/rsa.h:521:5: note: declared here
  521 | int RSA_meth_set_priv_enc(RSA_METHOD *rsa,
      |     ^~~~~~~~~~~~~~~~~~~~~
src/tls_openssl.c:105:9: warning: 'EC_KEY_METHOD_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  105 |         if ((keymgr_ec_meth = EC_KEY_METHOD_new(NULL)) == NULL)
      |         ^~
In file included from src/tls_openssl.c:25:
/home/pbulk/build/www/kore/work/.buildlink/include/openssl/ec.h:1480:38: note: declared here
 1480 | OSSL_DEPRECATEDIN_3_0 EC_KEY_METHOD *EC_KEY_METHOD_new(const EC_KEY_METHOD *meth);
      |                                      ^~~~~~~~~~~~~~~~~
src/tls_openssl.c:108:9: warning: 'EC_KEY_METHOD_set_sign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  108 |         EC_KEY_METHOD_set_sign(keymgr_ec_meth,
      |         ^~~~~~~~~~~~~~~~~~~~~~
In file included from src/tls_openssl.c:25:
/home/pbulk/build/www/kore/work/.buildlink/include/openssl/ec.h:1499:28: note: declared here
 1499 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_METHOD_set_sign
      |                            ^~~~~~~~~~~~~~~~~~~~~~
src/tls_openssl.c: In function 'kore_tls_cleanup':
src/tls_openssl.c:124:9: warning: 'RSA_meth_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  124 |         RSA_meth_free(keymgr_rsa_meth);
      |         ^~~~~~~~~~~~~
In file included from /home/pbulk/build/www/kore/work/.buildlink/include/openssl/x509.h:36,
                 from /home/pbulk/build/www/kore/work/.buildlink/include/openssl/ssl.h:32,
                 from src/tls_openssl.c:28:
/home/pbulk/build/www/kore/work/.buildlink/include/openssl/rsa.h:485:28: note: declared here
  485 | OSSL_DEPRECATEDIN_3_0 void RSA_meth_free(RSA_METHOD *meth);
      |                            ^~~~~~~~~~~~~
src/tls_openssl.c:125:9: warning: 'EC_KEY_METHOD_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  125 |         EC_KEY_METHOD_free(keymgr_ec_meth);
      |         ^~~~~~~~~~~~~~~~~~
In file included from src/tls_openssl.c:25:
/home/pbulk/build/www/kore/work/.buildlink/include/openssl/ec.h:1481:28: note: declared here
 1481 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_METHOD_free(EC_KEY_METHOD *meth);
      |                            ^~~~~~~~~~~~~~~~~~
src/tls_openssl.c: In function 'kore_tls_dh_load':
src/tls_openssl.c:159:9: warning: 'PEM_read_bio_DHparams' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  159 |         dh_params = PEM_read_bio_DHparams(bio, NULL, NULL, NULL);
      |         ^~~~~~~~~
In file included from /home/pbulk/build/www/kore/work/.buildlink/include/openssl/ssl.h:37,
                 from src/tls_openssl.c:28:
/home/pbulk/build/www/kore/work/.buildlink/include/openssl/pem.h:74:11: note: declared here
   74 |     type *PEM_##readname##_##name(INTYPE *out, type **x,                \
      |           ^~~~
/home/pbulk/build/www/kore/work/.buildlink/include/openssl/pem.h:272:10: note: in expansion of macro 'PEM_read_cb_fnsig'
  272 |     attr PEM_read_cb_fnsig(name, type, BIO, read_bio);
      |          ^~~~~~~~~~~~~~~~~
/home/pbulk/build/www/kore/work/.buildlink/include/openssl/pem.h:336:5: note: in expansion of macro 'DECLARE_PEM_read_bio_attr'
  336 |     DECLARE_PEM_read_bio_attr(attr, name, type)                             \
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/www/kore/work/.buildlink/include/openssl/pem.h:346:5: note: in expansion of macro 'DECLARE_PEM_read_attr'
  346 |     DECLARE_PEM_read_attr(attr, name, type)                                 \
      |     ^~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/www/kore/work/.buildlink/include/openssl/pem.h:473:1: note: in expansion of macro 'DECLARE_PEM_rw_attr'
  473 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, DHparams, DH)
      | ^~~~~~~~~~~~~~~~~~~
src/tls_openssl.c: In function 'kore_tls_keymgr_init':
src/tls_openssl.c:188:9: warning: 'RSA_get_default_method' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  188 |         if ((meth = RSA_get_default_method()) == NULL)
      |         ^~
In file included from /home/pbulk/build/www/kore/work/.buildlink/include/openssl/x509.h:36,
                 from /home/pbulk/build/www/kore/work/.buildlink/include/openssl/ssl.h:32,
                 from src/tls_openssl.c:28:
/home/pbulk/build/www/kore/work/.buildlink/include/openssl/rsa.h:310:41: note: declared here
  310 | OSSL_DEPRECATEDIN_3_0 const RSA_METHOD *RSA_get_default_method(void);
      |                                         ^~~~~~~~~~~~~~~~~~~~~~
src/tls_openssl.c:191:9: warning: 'RSA_meth_set_pub_enc' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  191 |         RSA_meth_set_pub_enc(keymgr_rsa_meth, RSA_meth_get_pub_enc(meth));
      |         ^~~~~~~~~~~~~~~~~~~~
In file included from /home/pbulk/build/www/kore/work/.buildlink/include/openssl/x509.h:36,
                 from /home/pbulk/build/www/kore/work/.buildlink/include/openssl/ssl.h:32,
                 from src/tls_openssl.c:28:
/home/pbulk/build/www/kore/work/.buildlink/include/openssl/rsa.h:501:5: note: declared here
  501 | int RSA_meth_set_pub_enc(RSA_METHOD *rsa,
      |     ^~~~~~~~~~~~~~~~~~~~
src/tls_openssl.c:191:9: warning: 'RSA_meth_get_pub_enc' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  191 |         RSA_meth_set_pub_enc(keymgr_rsa_meth, RSA_meth_get_pub_enc(meth));
      |         ^~~~~~~~~~~~~~~~~~~~
In file included from /home/pbulk/build/www/kore/work/.buildlink/include/openssl/x509.h:36,
                 from /home/pbulk/build/www/kore/work/.buildlink/include/openssl/ssl.h:32,
                 from src/tls_openssl.c:28:
/home/pbulk/build/www/kore/work/.buildlink/include/openssl/rsa.h:496:7: note: declared here
  496 | int (*RSA_meth_get_pub_enc(const RSA_METHOD *meth)) (int flen,
      |       ^~~~~~~~~~~~~~~~~~~~
src/tls_openssl.c:192:9: warning: 'RSA_meth_set_pub_dec' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  192 |         RSA_meth_set_pub_dec(keymgr_rsa_meth, RSA_meth_get_pub_dec(meth));
      |         ^~~~~~~~~~~~~~~~~~~~
In file included from /home/pbulk/build/www/kore/work/.buildlink/include/openssl/x509.h:36,
                 from /home/pbulk/build/www/kore/work/.buildlink/include/openssl/ssl.h:32,
                 from src/tls_openssl.c:28:
/home/pbulk/build/www/kore/work/.buildlink/include/openssl/rsa.h:511:5: note: declared here
  511 | int RSA_meth_set_pub_dec(RSA_METHOD *rsa,
      |     ^~~~~~~~~~~~~~~~~~~~
src/tls_openssl.c:192:9: warning: 'RSA_meth_get_pub_dec' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  192 |         RSA_meth_set_pub_dec(keymgr_rsa_meth, RSA_meth_get_pub_dec(meth));
      |         ^~~~~~~~~~~~~~~~~~~~
In file included from /home/pbulk/build/www/kore/work/.buildlink/include/openssl/x509.h:36,
                 from /home/pbulk/build/www/kore/work/.buildlink/include/openssl/ssl.h:32,
                 from src/tls_openssl.c:28:
/home/pbulk/build/www/kore/work/.buildlink/include/openssl/rsa.h:506:7: note: declared here
  506 | int (*RSA_meth_get_pub_dec(const RSA_METHOD *meth)) (int flen,
      |       ^~~~~~~~~~~~~~~~~~~~
src/tls_openssl.c:193:9: warning: 'RSA_meth_set_bn_mod_exp' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  193 |         RSA_meth_set_bn_mod_exp(keymgr_rsa_meth, RSA_meth_get_bn_mod_exp(meth));
      |         ^~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/pbulk/build/www/kore/work/.buildlink/include/openssl/x509.h:36,
                 from /home/pbulk/build/www/kore/work/.buildlink/include/openssl/ssl.h:32,
                 from src/tls_openssl.c:28:
/home/pbulk/build/www/kore/work/.buildlink/include/openssl/rsa.h:551:5: note: declared here
  551 | int RSA_meth_set_bn_mod_exp(RSA_METHOD *rsa,
      |     ^~~~~~~~~~~~~~~~~~~~~~~
src/tls_openssl.c:193:9: warning: 'RSA_meth_get_bn_mod_exp' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  193 |         RSA_meth_set_bn_mod_exp(keymgr_rsa_meth, RSA_meth_get_bn_mod_exp(meth));
      |         ^~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/pbulk/build/www/kore/work/.buildlink/include/openssl/x509.h:36,
                 from /home/pbulk/build/www/kore/work/.buildlink/include/openssl/ssl.h:32,
                 from src/tls_openssl.c:28:
/home/pbulk/build/www/kore/work/.buildlink/include/openssl/rsa.h:544:7: note: declared here
  544 | int (*RSA_meth_get_bn_mod_exp(const RSA_METHOD *meth)) (BIGNUM *r,
      |       ^~~~~~~~~~~~~~~~~~~~~~~
src/tls_openssl.c: In function 'kore_tls_domain_setup':
src/tls_openssl.c:283:17: warning: 'EVP_PKEY_get1_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  283 |                 if ((rsa = EVP_PKEY_get1_RSA(pkey)) == NULL)
      |                 ^~
In file included from /home/pbulk/build/www/kore/work/.buildlink/include/openssl/x509.h:29,
                 from /home/pbulk/build/www/kore/work/.buildlink/include/openssl/ssl.h:32,
                 from src/tls_openssl.c:28:
/home/pbulk/build/www/kore/work/.buildlink/include/openssl/evp.h:1358:16: note: declared here
 1358 | struct rsa_st *EVP_PKEY_get1_RSA(EVP_PKEY *pkey);
      |                ^~~~~~~~~~~~~~~~~
src/tls_openssl.c:285:17: warning: 'RSA_set_ex_data' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  285 |                 RSA_set_app_data(rsa, dom);
      |                 ^~~~~~~~~~~~~~~~
In file included from /home/pbulk/build/www/kore/work/.buildlink/include/openssl/x509.h:36,
                 from /home/pbulk/build/www/kore/work/.buildlink/include/openssl/ssl.h:32,
                 from src/tls_openssl.c:28:
/home/pbulk/build/www/kore/work/.buildlink/include/openssl/rsa.h:456:27: note: declared here
  456 | OSSL_DEPRECATEDIN_3_0 int RSA_set_ex_data(RSA *r, int idx, void *arg);
      |                           ^~~~~~~~~~~~~~~
src/tls_openssl.c:286:17: warning: 'RSA_set_method' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  286 |                 RSA_set_method(rsa, keymgr_rsa_meth);
      |                 ^~~~~~~~~~~~~~
In file included from /home/pbulk/build/www/kore/work/.buildlink/include/openssl/x509.h:36,
                 from /home/pbulk/build/www/kore/work/.buildlink/include/openssl/ssl.h:32,
                 from src/tls_openssl.c:28:
/home/pbulk/build/www/kore/work/.buildlink/include/openssl/rsa.h:313:27: note: declared here
  313 | OSSL_DEPRECATEDIN_3_0 int RSA_set_method(RSA *rsa, const RSA_METHOD *meth);
      |                           ^~~~~~~~~~~~~~
src/tls_openssl.c:289:17: warning: 'EVP_PKEY_get1_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  289 |                 if ((eckey = EVP_PKEY_get1_EC_KEY(pkey)) == NULL)
      |                 ^~
In file included from /home/pbulk/build/www/kore/work/.buildlink/include/openssl/x509.h:29,
                 from /home/pbulk/build/www/kore/work/.buildlink/include/openssl/ssl.h:32,
                 from src/tls_openssl.c:28:
/home/pbulk/build/www/kore/work/.buildlink/include/openssl/evp.h:1384:19: note: declared here
 1384 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey);
      |                   ^~~~~~~~~~~~~~~~~~~~
src/tls_openssl.c:291:17: warning: 'EC_KEY_set_ex_data' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  291 |                 EC_KEY_set_ex_data(eckey, 0, dom);
      |                 ^~~~~~~~~~~~~~~~~~
In file included from src/tls_openssl.c:25:
/home/pbulk/build/www/kore/work/.buildlink/include/openssl/ec.h:1102:27: note: declared here
 1102 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_ex_data(EC_KEY *key, int idx, void *arg);
      |                           ^~~~~~~~~~~~~~~~~~
src/tls_openssl.c:292:17: warning: 'EC_KEY_set_method' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  292 |                 EC_KEY_set_method(eckey, keymgr_ec_meth);
      |                 ^~~~~~~~~~~~~~~~~
In file included from src/tls_openssl.c:25:
/home/pbulk/build/www/kore/work/.buildlink/include/openssl/ec.h:1302:27: note: declared here
 1302 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_method(EC_KEY *key, const EC_KEY_METHOD *meth);
      |                           ^~~~~~~~~~~~~~~~~
src/tls_openssl.c: In function 'tls_keymgr_rsa_init':
src/tls_openssl.c:836:17: warning: 'RSA_set_flags' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  836 |                 RSA_set_flags(rsa, RSA_flags(rsa) |
      |                 ^~~~~~~~~~~~~
In file included from /home/pbulk/build/www/kore/work/.buildlink/include/openssl/x509.h:36,
                 from /home/pbulk/build/www/kore/work/.buildlink/include/openssl/ssl.h:32,
                 from src/tls_openssl.c:28:
/home/pbulk/build/www/kore/work/.buildlink/include/openssl/rsa.h:254:28: note: declared here
  254 | OSSL_DEPRECATEDIN_3_0 void RSA_set_flags(RSA *r, int flags);
      |                            ^~~~~~~~~~~~~
src/tls_openssl.c:836:17: warning: 'RSA_flags' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  836 |                 RSA_set_flags(rsa, RSA_flags(rsa) |
      |                 ^~~~~~~~~~~~~
In file included from /home/pbulk/build/www/kore/work/.buildlink/include/openssl/x509.h:36,
                 from /home/pbulk/build/www/kore/work/.buildlink/include/openssl/ssl.h:32,
                 from src/tls_openssl.c:28:
/home/pbulk/build/www/kore/work/.buildlink/include/openssl/rsa.h:307:27: note: declared here
  307 | OSSL_DEPRECATEDIN_3_0 int RSA_flags(const RSA *r);
      |                           ^~~~~~~~~
src/tls_openssl.c: In function 'tls_keymgr_rsa_privenc':
src/tls_openssl.c:857:9: warning: 'RSA_get_ex_data' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  857 |         if ((dom = RSA_get_app_data(rsa)) == NULL)
      |         ^~
In file included from /home/pbulk/build/www/kore/work/.buildlink/include/openssl/x509.h:36,
                 from /home/pbulk/build/www/kore/work/.buildlink/include/openssl/ssl.h:32,
                 from src/tls_openssl.c:28:
/home/pbulk/build/www/kore/work/.buildlink/include/openssl/rsa.h:457:29: note: declared here
  457 | OSSL_DEPRECATEDIN_3_0 void *RSA_get_ex_data(const RSA *r, int idx);
      |                             ^~~~~~~~~~~~~~~
src/tls_openssl.c:878:21: warning: 'RSA_size' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  878 |                     (int)keymgr_buflen == RSA_size(rsa)) {
      |                     ^
In file included from /home/pbulk/build/www/kore/work/.buildlink/include/openssl/x509.h:36,
                 from /home/pbulk/build/www/kore/work/.buildlink/include/openssl/ssl.h:32,
                 from src/tls_openssl.c:28:
/home/pbulk/build/www/kore/work/.buildlink/include/openssl/rsa.h:215:27: note: declared here
  215 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa);
      |                           ^~~~~~~~
src/tls_openssl.c:879:25: warning: 'RSA_size' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  879 |                         ret = RSA_size(rsa);
      |                         ^~~
In file included from /home/pbulk/build/www/kore/work/.buildlink/include/openssl/x509.h:36,
                 from /home/pbulk/build/www/kore/work/.buildlink/include/openssl/ssl.h:32,
                 from src/tls_openssl.c:28:
/home/pbulk/build/www/kore/work/.buildlink/include/openssl/rsa.h:215:27: note: declared here
  215 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa);
      |                           ^~~~~~~~
src/tls_openssl.c:880:25: warning: 'RSA_size' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  880 |                         memcpy(to, keymgr_buf, RSA_size(rsa));
      |                         ^~~~~~
In file included from /home/pbulk/build/www/kore/work/.buildlink/include/openssl/x509.h:36,
                 from /home/pbulk/build/www/kore/work/.buildlink/include/openssl/ssl.h:32,
                 from src/tls_openssl.c:28:
/home/pbulk/build/www/kore/work/.buildlink/include/openssl/rsa.h:215:27: note: declared here
  215 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa);
      |                           ^~~~~~~~
src/tls_openssl.c: In function 'tls_keymgr_ecdsa_sign':
src/tls_openssl.c:914:9: warning: 'EC_KEY_get_ex_data' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  914 |         if ((dom = EC_KEY_get_ex_data(eckey, 0)) == NULL)
      |         ^~
In file included from src/tls_openssl.c:25:
/home/pbulk/build/www/kore/work/.buildlink/include/openssl/ec.h:1103:29: note: declared here
 1103 | OSSL_DEPRECATEDIN_3_0 void *EC_KEY_get_ex_data(const EC_KEY *key, int idx);
      |                             ^~~~~~~~~~~~~~~~~~
cc -pipe -O2 -I/usr/pkg/include -DLDAP_DEPRECATED -I/usr/include -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wshadow -Wpointer-arith -Wcast-qual -Wsign-compare -Iinclude/kore -Iobj -std=c99 -pedantic -Wtype-limits -fno-common -DPREFIX='"/usr/pkg"' -fstack-protector-all -DTLS_BACKEND_OPENSSL -I/usr/pkg/include -DKORE_USE_TASKS -I/usr/pkg/include -DKORE_USE_CURL -D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -c src/keymgr_openssl.c -o obj/keymgr_openssl.o
src/keymgr_openssl.c: In function 'keymgr_rsa_encrypt':
src/keymgr_openssl.c:695:9: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  695 |         rsa = EVP_PKEY_get0_RSA(key->pkey);
      |         ^~~
In file included from src/keymgr_openssl.c:44:
/home/pbulk/build/www/kore/work/.buildlink/include/openssl/evp.h:1356:22: note: declared here
 1356 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey);
      |                      ^~~~~~~~~~~~~~~~~
src/keymgr_openssl.c:695:13: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  695 |         rsa = EVP_PKEY_get0_RSA(key->pkey);
      |             ^
src/keymgr_openssl.c:697:9: warning: 'RSA_size' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  697 |         keylen = RSA_size(rsa);
      |         ^~~~~~
In file included from src/keymgr_openssl.c:45:
/home/pbulk/build/www/kore/work/.buildlink/include/openssl/rsa.h:215:27: note: declared here
  215 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa);
      |                           ^~~~~~~~
src/keymgr_openssl.c:701:9: warning: 'RSA_private_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  701 |         ret = RSA_private_encrypt(req->data_len, req->data,
      |         ^~~
In file included from src/keymgr_openssl.c:45:
/home/pbulk/build/www/kore/work/.buildlink/include/openssl/rsa.h:296:5: note: declared here
  296 | int RSA_private_encrypt(int flen, const unsigned char *from, unsigned char *to,
      |     ^~~~~~~~~~~~~~~~~~~
src/keymgr_openssl.c:703:9: warning: 'RSA_size' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  703 |         if (ret != RSA_size(rsa))
      |         ^~
In file included from src/keymgr_openssl.c:45:
/home/pbulk/build/www/kore/work/.buildlink/include/openssl/rsa.h:215:27: note: declared here
  215 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa);
      |                           ^~~~~~~~
src/keymgr_openssl.c: In function 'keymgr_ecdsa_sign':
src/keymgr_openssl.c:719:9: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  719 |         ec = EVP_PKEY_get0_EC_KEY(key->pkey);
      |         ^~
In file included from src/keymgr_openssl.c:44:
/home/pbulk/build/www/kore/work/.buildlink/include/openssl/evp.h:1382:25: note: declared here
 1382 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey);
      |                         ^~~~~~~~~~~~~~~~~~~~
src/keymgr_openssl.c:719:12: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  719 |         ec = EVP_PKEY_get0_EC_KEY(key->pkey);
      |            ^
src/keymgr_openssl.c:721:9: warning: 'ECDSA_size' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  721 |         len = ECDSA_size(ec);
      |         ^~~
In file included from /home/pbulk/build/www/kore/work/.buildlink/include/openssl/x509.h:33,
                 from /home/pbulk/build/www/kore/work/.buildlink/include/openssl/pem.h:23,
                 from src/keymgr_openssl.c:47:
/home/pbulk/build/www/kore/work/.buildlink/include/openssl/ec.h:1474:27: note: declared here
 1474 | OSSL_DEPRECATEDIN_3_0 int ECDSA_size(const EC_KEY *eckey);
      |                           ^~~~~~~~~~
src/keymgr_openssl.c:725:9: warning: 'ECDSA_sign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  725 |         if (ECDSA_sign(EVP_PKEY_NONE, req->data, req->data_len,
      |         ^~
In file included from /home/pbulk/build/www/kore/work/.buildlink/include/openssl/x509.h:33,
                 from /home/pbulk/build/www/kore/work/.buildlink/include/openssl/pem.h:23,
                 from src/keymgr_openssl.c:47:
/home/pbulk/build/www/kore/work/.buildlink/include/openssl/ec.h:1433:27: note: declared here
 1433 | OSSL_DEPRECATEDIN_3_0 int ECDSA_sign(int type, const unsigned char *dgst,
      |                           ^~~~~~~~~~
cc -pipe -O2 -I/usr/pkg/include -DLDAP_DEPRECATED -I/usr/include -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wshadow -Wpointer-arith -Wcast-qual -Wsign-compare -Iinclude/kore -Iobj -std=c99 -pedantic -Wtype-limits -fno-common -DPREFIX='"/usr/pkg"' -fstack-protector-all -DTLS_BACKEND_OPENSSL -I/usr/pkg/include -DKORE_USE_TASKS -I/usr/pkg/include -DKORE_USE_CURL -D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -c src/auth.c -o obj/auth.o
cc -pipe -O2 -I/usr/pkg/include -DLDAP_DEPRECATED -I/usr/include -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wshadow -Wpointer-arith -Wcast-qual -Wsign-compare -Iinclude/kore -Iobj -std=c99 -pedantic -Wtype-limits -fno-common -DPREFIX='"/usr/pkg"' -fstack-protector-all -DTLS_BACKEND_OPENSSL -I/usr/pkg/include -DKORE_USE_TASKS -I/usr/pkg/include -DKORE_USE_CURL -D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -c src/accesslog.c -o obj/accesslog.o
cc -pipe -O2 -I/usr/pkg/include -DLDAP_DEPRECATED -I/usr/include -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wshadow -Wpointer-arith -Wcast-qual -Wsign-compare -Iinclude/kore -Iobj -std=c99 -pedantic -Wtype-limits -fno-common -DPREFIX='"/usr/pkg"' -fstack-protector-all -DTLS_BACKEND_OPENSSL -I/usr/pkg/include -DKORE_USE_TASKS -I/usr/pkg/include -DKORE_USE_CURL -D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -c src/http.c -o obj/http.o
cc -pipe -O2 -I/usr/pkg/include -DLDAP_DEPRECATED -I/usr/include -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wshadow -Wpointer-arith -Wcast-qual -Wsign-compare -Iinclude/kore -Iobj -std=c99 -pedantic -Wtype-limits -fno-common -DPREFIX='"/usr/pkg"' -fstack-protector-all -DTLS_BACKEND_OPENSSL -I/usr/pkg/include -DKORE_USE_TASKS -I/usr/pkg/include -DKORE_USE_CURL -D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -c src/route.c -o obj/route.o
cc -pipe -O2 -I/usr/pkg/include -DLDAP_DEPRECATED -I/usr/include -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wshadow -Wpointer-arith -Wcast-qual -Wsign-compare -Iinclude/kore -Iobj -std=c99 -pedantic -Wtype-limits -fno-common -DPREFIX='"/usr/pkg"' -fstack-protector-all -DTLS_BACKEND_OPENSSL -I/usr/pkg/include -DKORE_USE_TASKS -I/usr/pkg/include -DKORE_USE_CURL -D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -c src/validator.c -o obj/validator.o
cc -pipe -O2 -I/usr/pkg/include -DLDAP_DEPRECATED -I/usr/include -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wshadow -Wpointer-arith -Wcast-qual -Wsign-compare -Iinclude/kore -Iobj -std=c99 -pedantic -Wtype-limits -fno-common -DPREFIX='"/usr/pkg"' -fstack-protector-all -DTLS_BACKEND_OPENSSL -I/usr/pkg/include -DKORE_USE_TASKS -I/usr/pkg/include -DKORE_USE_CURL -D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -c src/websocket.c -o obj/websocket.o
cc -pipe -O2 -I/usr/pkg/include -DLDAP_DEPRECATED -I/usr/include -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wshadow -Wpointer-arith -Wcast-qual -Wsign-compare -Iinclude/kore -Iobj -std=c99 -pedantic -Wtype-limits -fno-common -DPREFIX='"/usr/pkg"' -fstack-protector-all -DTLS_BACKEND_OPENSSL -I/usr/pkg/include -DKORE_USE_TASKS -I/usr/pkg/include -DKORE_USE_CURL -D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -c src/tasks.c -o obj/tasks.o
cc -pipe -O2 -I/usr/pkg/include -DLDAP_DEPRECATED -I/usr/include -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wshadow -Wpointer-arith -Wcast-qual -Wsign-compare -Iinclude/kore -Iobj -std=c99 -pedantic -Wtype-limits -fno-common -DPREFIX='"/usr/pkg"' -fstack-protector-all -DTLS_BACKEND_OPENSSL -I/usr/pkg/include -DKORE_USE_TASKS -I/usr/pkg/include -DKORE_USE_CURL -D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -c src/curl.c -o obj/curl.o
cc -pipe -O2 -I/usr/pkg/include -DLDAP_DEPRECATED -I/usr/include -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wshadow -Wpointer-arith -Wcast-qual -Wsign-compare -Iinclude/kore -Iobj -std=c99 -pedantic -Wtype-limits -fno-common -DPREFIX='"/usr/pkg"' -fstack-protector-all -DTLS_BACKEND_OPENSSL -I/usr/pkg/include -DKORE_USE_TASKS -I/usr/pkg/include -DKORE_USE_CURL -D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -c src/linux.c -o obj/linux.o
cc -pipe -O2 -I/usr/pkg/include -DLDAP_DEPRECATED -I/usr/include -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wshadow -Wpointer-arith -Wcast-qual -Wsign-compare -Iinclude/kore -Iobj -std=c99 -pedantic -Wtype-limits -fno-common -DPREFIX='"/usr/pkg"' -fstack-protector-all -DTLS_BACKEND_OPENSSL -I/usr/pkg/include -DKORE_USE_TASKS -I/usr/pkg/include -DKORE_USE_CURL -D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -c src/seccomp.c -o obj/seccomp.o
cc -pipe -O2 -I/usr/pkg/include -DLDAP_DEPRECATED -I/usr/include -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wshadow -Wpointer-arith -Wcast-qual -Wsign-compare -Iinclude/kore -Iobj -std=c99 -pedantic -Wtype-limits -fno-common -DPREFIX='"/usr/pkg"' -fstack-protector-all -DTLS_BACKEND_OPENSSL -I/usr/pkg/include -DKORE_USE_TASKS -I/usr/pkg/include -DKORE_USE_CURL -D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -DLDAP_DEPRECATED -I/usr/include  -c -o obj/version.o obj/version.c
/bin/make -C kodev
make[1]: Entering directory '/home/pbulk/build/www/kore/work/kore-4.2.3/kodev'
cc -pipe -O2 -I/usr/pkg/include -DLDAP_DEPRECATED -I/usr/include -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wshadow -Wpointer-arith -Wcast-qual -Wsign-compare -Iinclude/kore -Iobj -std=c99 -pedantic -Wtype-limits -fno-common -DPREFIX='"/usr/pkg"' -fstack-protector-all -DTLS_BACKEND_OPENSSL -I/usr/pkg/include -DKORE_USE_TASKS -I/usr/pkg/include -DKORE_USE_CURL -D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wshadow -Wpointer-arith -Wcast-qual -Wsign-compare -Iincludes -std=c99 -pedantic -DPREFIX='"/usr/pkg"' -D_GNU_SOURCE=1 -c ../src/cli.c -o obj/cli.o
cc -pipe -O2 -I/usr/pkg/include -DLDAP_DEPRECATED -I/usr/include -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wshadow -Wpointer-arith -Wcast-qual -Wsign-compare -Iinclude/kore -Iobj -std=c99 -pedantic -Wtype-limits -fno-common -DPREFIX='"/usr/pkg"' -fstack-protector-all -DTLS_BACKEND_OPENSSL -I/usr/pkg/include -DKORE_USE_TASKS -I/usr/pkg/include -DKORE_USE_CURL -D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -c src/kore.c -o obj/kore.o
../src/cli.c: In function 'cli_build_asset':
../src/cli.c:1266:9: warning: 'SHA256_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1266 |         (void)SHA256_Init(&sctx);
      |         ^
In file included from /home/pbulk/build/www/kore/work/.buildlink/include/openssl/x509.h:41,
                 from /home/pbulk/build/www/kore/work/.buildlink/include/openssl/pem.h:23,
                 from ../src/cli.c:27:
/home/pbulk/build/www/kore/work/.buildlink/include/openssl/sha.h:73:27: note: declared here
   73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c);
      |                           ^~~~~~~~~~~
../src/cli.c:1267:9: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1267 |         (void)SHA256_Update(&sctx, base, st.st_size);
      |         ^
In file included from /home/pbulk/build/www/kore/work/.buildlink/include/openssl/x509.h:41,
                 from /home/pbulk/build/www/kore/work/.buildlink/include/openssl/pem.h:23,
                 from ../src/cli.c:27:
/home/pbulk/build/www/kore/work/.buildlink/include/openssl/sha.h:74:27: note: declared here
   74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c,
      |                           ^~~~~~~~~~~~~
../src/cli.c:1268:9: warning: 'SHA256_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1268 |         (void)SHA256_Final(digest, &sctx);
      |         ^
In file included from /home/pbulk/build/www/kore/work/.buildlink/include/openssl/x509.h:41,
                 from /home/pbulk/build/www/kore/work/.buildlink/include/openssl/pem.h:23,
                 from ../src/cli.c:27:
/home/pbulk/build/www/kore/work/.buildlink/include/openssl/sha.h:76:27: note: declared here
   76 | OSSL_DEPRECATEDIN_3_0 int SHA256_Final(unsigned char *md, SHA256_CTX *c);
      |                           ^~~~~~~~~~~~
../src/cli.c: In function 'cli_generate_certs':
../src/cli.c:1474:9: warning: 'RSA_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1474 |         if ((kpair = RSA_new()) == NULL)
      |         ^~
In file included from /home/pbulk/build/www/kore/work/.buildlink/include/openssl/x509.h:36,
                 from /home/pbulk/build/www/kore/work/.buildlink/include/openssl/pem.h:23,
                 from ../src/cli.c:27:
/home/pbulk/build/www/kore/work/.buildlink/include/openssl/rsa.h:212:28: note: declared here
  212 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void);
      |                            ^~~~~~~
../src/cli.c:1481:9: warning: 'RSA_generate_key_ex' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1481 |         if (!RSA_generate_key_ex(kpair, 2048, e, NULL))
      |         ^~
In file included from /home/pbulk/build/www/kore/work/.buildlink/include/openssl/x509.h:36,
                 from /home/pbulk/build/www/kore/work/.buildlink/include/openssl/pem.h:23,
                 from ../src/cli.c:27:
/home/pbulk/build/www/kore/work/.buildlink/include/openssl/rsa.h:271:27: note: declared here
  271 | OSSL_DEPRECATEDIN_3_0 int RSA_generate_key_ex(RSA *rsa, int bits, BIGNUM *e,
      |                           ^~~~~~~~~~~~~~~~~~~
../src/cli.c:1486:9: warning: 'EVP_PKEY_assign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1486 |         if (!EVP_PKEY_assign_RSA(pkey, kpair))
      |         ^~
In file included from /home/pbulk/build/www/kore/work/.buildlink/include/openssl/pem.h:22,
                 from ../src/cli.c:27:
/home/pbulk/build/www/kore/work/.buildlink/include/openssl/evp.h:1338:5: note: declared here
 1338 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key);
      |     ^~~~~~~~~~~~~~~
cc obj/kore.o obj/buf.o obj/config.o obj/connection.o obj/domain.o obj/filemap.o obj/fileref.o obj/json.o obj/log.o obj/mem.o obj/msg.o obj/module.o obj/net.o obj/pool.o obj/runtime.o obj/sha1.o obj/sha2.o obj/timer.o obj/utils.o obj/worker.o obj/tls_openssl.o obj/keymgr_openssl.o obj/auth.o obj/accesslog.o obj/http.o obj/route.o obj/validator.o obj/websocket.o obj/tasks.o obj/curl.o obj/linux.o obj/seccomp.o obj/version.o -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib64 -Wl,-R/usr/lib64 -rdynamic -L/usr/pkg/lib -lssl -lcrypto -lpthread -Wl,-zrelro -L/usr/lib64 -Wl,-R/usr/lib64 -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -L/usr/pkg/lib -L/usr/pkg/lib -L/usr/pkg/lib -L/usr/pkg/lib -L/usr/pkg/lib -lcurl -ldl -o kore
cc obj/cli.o -lcrypto -o kodev
/bin/ld: cannot find -lcrypto
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:38: kodev] Error 1
make[1]: Leaving directory '/home/pbulk/build/www/kore/work/kore-4.2.3/kodev'
make: *** [Makefile:198: kodev/kodev] Error 2
*** Error code 2

Stop.
bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/www/kore
*** Error code 1

Stop.
bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/www/kore