=> 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 kore-4.2.3nb4
/bin/mkdir -p /tmp/pkgbuild/www/kore/work.alpha/kore-4.2.3/obj
gcc -O2 -mieee -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/include -DKORE_USE_TASKS -c src/buf.c -o obj/buf.o
gcc -O2 -mieee -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/include -DKORE_USE_TASKS -c src/config.c -o obj/config.o
gcc -O2 -mieee -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/include -DKORE_USE_TASKS -c src/connection.c -o obj/connection.o
cc1: warning: '-fstack-protector' not supported for this target
cc1: warning: '-fstack-protector' not supported for this target
cc1: warning: '-fstack-protector' not supported for this target
gcc -O2 -mieee -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/include -DKORE_USE_TASKS -c src/domain.c -o obj/domain.o
cc1: warning: '-fstack-protector' not supported for this target
gcc -O2 -mieee -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/include -DKORE_USE_TASKS -c src/filemap.c -o obj/filemap.o
gcc -O2 -mieee -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/include -DKORE_USE_TASKS -c src/fileref.c -o obj/fileref.o
cc1: warning: '-fstack-protector' not supported for this target
cc1: warning: '-fstack-protector' not supported for this target
gcc -O2 -mieee -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/include -DKORE_USE_TASKS -c src/json.c -o obj/json.o
cc1: warning: '-fstack-protector' not supported for this target
gcc -O2 -mieee -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/include -DKORE_USE_TASKS -c src/log.c -o obj/log.o
cc1: warning: '-fstack-protector' not supported for this target
gcc -O2 -mieee -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/include -DKORE_USE_TASKS -c src/mem.c -o obj/mem.o
cc1: warning: '-fstack-protector' not supported for this target
gcc -O2 -mieee -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/include -DKORE_USE_TASKS -c src/msg.c -o obj/msg.o
cc1: warning: '-fstack-protector' not supported for this target
gcc -O2 -mieee -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/include -DKORE_USE_TASKS -c src/module.c -o obj/module.o
gcc -O2 -mieee -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/include -DKORE_USE_TASKS -c src/net.c -o obj/net.o
cc1: warning: '-fstack-protector' not supported for this target
cc1: warning: '-fstack-protector' not supported for this target
gcc -O2 -mieee -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/include -DKORE_USE_TASKS -c src/pool.c -o obj/pool.o
cc1: warning: '-fstack-protector' not supported for this target
gcc -O2 -mieee -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/include -DKORE_USE_TASKS -c src/runtime.c -o obj/runtime.o
cc1: warning: '-fstack-protector' not supported for this target
gcc -O2 -mieee -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/include -DKORE_USE_TASKS -c src/sha1.c -o obj/sha1.o
gcc -O2 -mieee -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/include -DKORE_USE_TASKS -c src/sha2.c -o obj/sha2.o
cc1: warning: '-fstack-protector' not supported for this target
cc1: warning: '-fstack-protector' not supported for this target
gcc -O2 -mieee -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/include -DKORE_USE_TASKS -c src/timer.c -o obj/timer.o
cc1: warning: '-fstack-protector' not supported for this target
gcc -O2 -mieee -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/include -DKORE_USE_TASKS -c src/utils.c -o obj/utils.o
cc1: warning: '-fstack-protector' not supported for this target
gcc -O2 -mieee -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/include -DKORE_USE_TASKS -c src/worker.c -o obj/worker.o
cc1: warning: '-fstack-protector' not supported for this target
gcc -O2 -mieee -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/include -DKORE_USE_TASKS -c src/tls_openssl.c -o obj/tls_openssl.o
gcc -O2 -mieee -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/include -DKORE_USE_TASKS -c src/keymgr_openssl.c -o obj/keymgr_openssl.o
cc1: warning: '-fstack-protector' not supported for this target
cc1: warning: '-fstack-protector' not supported for this target
src/tls_openssl.c: In function 'kore_tls_init':
src/tls_openssl.c:97:2: 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 /usr/include/openssl/x509.h:35,
                 from /usr/include/openssl/ssl.h:30,
                 from src/tls_openssl.c:28:
/usr/include/openssl/rsa.h:473:35: note: declared here
  473 | OSSL_DEPRECATEDIN_3_0 RSA_METHOD *RSA_meth_new(const char *name, int flags);
      |                                   ^~~~~~~~~~~~
src/tls_openssl.c:101:2: 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 /usr/include/openssl/x509.h:35,
                 from /usr/include/openssl/ssl.h:30,
                 from src/tls_openssl.c:28:
/usr/include/openssl/rsa.h:550:5: note: declared here
  550 | int RSA_meth_set_init(RSA_METHOD *rsa, int (*init) (RSA *rsa));
      |     ^~~~~~~~~~~~~~~~~
src/tls_openssl.c:102:2: 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 /usr/include/openssl/x509.h:35,
                 from /usr/include/openssl/ssl.h:30,
                 from src/tls_openssl.c:28:
/usr/include/openssl/rsa.h:554:5: note: declared here
  554 | int RSA_meth_set_finish(RSA_METHOD *rsa, int (*finish) (RSA *rsa));
      |     ^~~~~~~~~~~~~~~~~~~
src/tls_openssl.c:103:2: 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 /usr/include/openssl/x509.h:35,
                 from /usr/include/openssl/ssl.h:30,
                 from src/tls_openssl.c:28:
/usr/include/openssl/rsa.h:510:5: note: declared here
  510 | int RSA_meth_set_priv_enc(RSA_METHOD *rsa,
      |     ^~~~~~~~~~~~~~~~~~~~~
src/tls_openssl.c:105:2: 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:
/usr/include/openssl/ec.h:1461:38: note: declared here
 1461 | OSSL_DEPRECATEDIN_3_0 EC_KEY_METHOD *EC_KEY_METHOD_new(const EC_KEY_METHOD *meth);
      |                                      ^~~~~~~~~~~~~~~~~
src/tls_openssl.c:108:2: 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:
/usr/include/openssl/ec.h:1480:28: note: declared here
 1480 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_METHOD_set_sign
      |                            ^~~~~~~~~~~~~~~~~~~~~~
src/tls_openssl.c: In function 'kore_tls_cleanup':
src/tls_openssl.c:124:2: warning: 'RSA_meth_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  124 |  RSA_meth_free(keymgr_rsa_meth);
      |  ^~~~~~~~~~~~~
In file included from /usr/include/openssl/x509.h:35,
                 from /usr/include/openssl/ssl.h:30,
                 from src/tls_openssl.c:28:
/usr/include/openssl/rsa.h:474:28: note: declared here
  474 | OSSL_DEPRECATEDIN_3_0 void RSA_meth_free(RSA_METHOD *meth);
      |                            ^~~~~~~~~~~~~
src/tls_openssl.c:125:2: 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:
/usr/include/openssl/ec.h:1462:28: note: declared here
 1462 | 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:2: 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 /usr/include/openssl/ssl.h:35,
                 from src/tls_openssl.c:28:
/usr/include/openssl/pem.h:469:1: note: declared here
  469 | 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:2: 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 /usr/include/openssl/x509.h:35,
                 from /usr/include/openssl/ssl.h:30,
                 from src/tls_openssl.c:28:
/usr/include/openssl/rsa.h:299:41: note: declared here
  299 | OSSL_DEPRECATEDIN_3_0 const RSA_METHOD *RSA_get_default_method(void);
      |                                         ^~~~~~~~~~~~~~~~~~~~~~
src/tls_openssl.c:191:2: 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 /usr/include/openssl/x509.h:35,
                 from /usr/include/openssl/ssl.h:30,
                 from src/tls_openssl.c:28:
/usr/include/openssl/rsa.h:490:5: note: declared here
  490 | int RSA_meth_set_pub_enc(RSA_METHOD *rsa,
      |     ^~~~~~~~~~~~~~~~~~~~
src/tls_openssl.c:191:2: 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 /usr/include/openssl/x509.h:35,
                 from /usr/include/openssl/ssl.h:30,
                 from src/tls_openssl.c:28:
/usr/include/openssl/rsa.h:485:7: note: declared here
  485 | int (*RSA_meth_get_pub_enc(const RSA_METHOD *meth)) (int flen,
      |       ^~~~~~~~~~~~~~~~~~~~
src/tls_openssl.c:192:2: 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 /usr/include/openssl/x509.h:35,
                 from /usr/include/openssl/ssl.h:30,
                 from src/tls_openssl.c:28:
/usr/include/openssl/rsa.h:500:5: note: declared here
  500 | int RSA_meth_set_pub_dec(RSA_METHOD *rsa,
      |     ^~~~~~~~~~~~~~~~~~~~
src/tls_openssl.c:192:2: 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 /usr/include/openssl/x509.h:35,
                 from /usr/include/openssl/ssl.h:30,
                 from src/tls_openssl.c:28:
/usr/include/openssl/rsa.h:495:7: note: declared here
  495 | int (*RSA_meth_get_pub_dec(const RSA_METHOD *meth)) (int flen,
      |       ^~~~~~~~~~~~~~~~~~~~
src/tls_openssl.c:193:2: 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 /usr/include/openssl/x509.h:35,
                 from /usr/include/openssl/ssl.h:30,
                 from src/tls_openssl.c:28:
/usr/include/openssl/rsa.h:540:5: note: declared here
  540 | int RSA_meth_set_bn_mod_exp(RSA_METHOD *rsa,
      |     ^~~~~~~~~~~~~~~~~~~~~~~
src/tls_openssl.c:193:2: 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 /usr/include/openssl/x509.h:35,
                 from /usr/include/openssl/ssl.h:30,
                 from src/tls_openssl.c:28:
/usr/include/openssl/rsa.h:533:7: note: declared here
  533 | 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:3: 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 /usr/include/openssl/x509.h:28,
                 from /usr/include/openssl/ssl.h:30,
                 from src/tls_openssl.c:28:
/usr/include/openssl/evp.h:1350:16: note: declared here
 1350 | struct rsa_st *EVP_PKEY_get1_RSA(EVP_PKEY *pkey);
      |                ^~~~~~~~~~~~~~~~~
src/tls_openssl.c:285:3: warning: 'RSA_set_ex_data' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  285 |   RSA_set_app_data(rsa, dom);
      |   ^~~~~~~~~~~~~~~~
In file included from /usr/include/openssl/x509.h:35,
                 from /usr/include/openssl/ssl.h:30,
                 from src/tls_openssl.c:28:
/usr/include/openssl/rsa.h:445:27: note: declared here
  445 | OSSL_DEPRECATEDIN_3_0 int RSA_set_ex_data(RSA *r, int idx, void *arg);
      |                           ^~~~~~~~~~~~~~~
src/tls_openssl.c:286:3: warning: 'RSA_set_method' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  286 |   RSA_set_method(rsa, keymgr_rsa_meth);
      |   ^~~~~~~~~~~~~~
In file included from /usr/include/openssl/x509.h:35,
                 from /usr/include/openssl/ssl.h:30,
                 from src/tls_openssl.c:28:
/usr/include/openssl/rsa.h:302:27: note: declared here
  302 | OSSL_DEPRECATEDIN_3_0 int RSA_set_method(RSA *rsa, const RSA_METHOD *meth);
      |                           ^~~~~~~~~~~~~~
src/tls_openssl.c:289:3: 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 /usr/include/openssl/x509.h:28,
                 from /usr/include/openssl/ssl.h:30,
                 from src/tls_openssl.c:28:
/usr/include/openssl/evp.h:1376:19: note: declared here
 1376 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey);
      |                   ^~~~~~~~~~~~~~~~~~~~
src/tls_openssl.c:291:3: 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:
/usr/include/openssl/ec.h:1083:27: note: declared here
 1083 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_ex_data(EC_KEY *key, int idx, void *arg);
      |                           ^~~~~~~~~~~~~~~~~~
src/tls_openssl.c:292:3: 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:
/usr/include/openssl/ec.h:1283:27: note: declared here
 1283 | 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:3: warning: 'RSA_set_flags' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  836 |   RSA_set_flags(rsa, RSA_flags(rsa) |
      |   ^~~~~~~~~~~~~
In file included from /usr/include/openssl/x509.h:35,
                 from /usr/include/openssl/ssl.h:30,
                 from src/tls_openssl.c:28:
/usr/include/openssl/rsa.h:243:28: note: declared here
  243 | OSSL_DEPRECATEDIN_3_0 void RSA_set_flags(RSA *r, int flags);
      |                            ^~~~~~~~~~~~~
src/tls_openssl.c:836:3: warning: 'RSA_flags' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  836 |   RSA_set_flags(rsa, RSA_flags(rsa) |
      |   ^~~~~~~~~~~~~
In file included from /usr/include/openssl/x509.h:35,
                 from /usr/include/openssl/ssl.h:30,
                 from src/tls_openssl.c:28:
/usr/include/openssl/rsa.h:296:27: note: declared here
  296 | 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:2: 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 /usr/include/openssl/x509.h:35,
                 from /usr/include/openssl/ssl.h:30,
                 from src/tls_openssl.c:28:
/usr/include/openssl/rsa.h:446:29: note: declared here
  446 | OSSL_DEPRECATEDIN_3_0 void *RSA_get_ex_data(const RSA *r, int idx);
      |                             ^~~~~~~~~~~~~~~
src/tls_openssl.c:878:7: warning: 'RSA_size' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  878 |       (int)keymgr_buflen == RSA_size(rsa)) {
      |       ^
In file included from /usr/include/openssl/x509.h:35,
                 from /usr/include/openssl/ssl.h:30,
                 from src/tls_openssl.c:28:
/usr/include/openssl/rsa.h:204:27: note: declared here
  204 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa);
      |                           ^~~~~~~~
src/tls_openssl.c:879:4: warning: 'RSA_size' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  879 |    ret = RSA_size(rsa);
      |    ^~~
In file included from /usr/include/openssl/x509.h:35,
                 from /usr/include/openssl/ssl.h:30,
                 from src/tls_openssl.c:28:
/usr/include/openssl/rsa.h:204:27: note: declared here
  204 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa);
      |                           ^~~~~~~~
src/tls_openssl.c:880:4: warning: 'RSA_size' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  880 |    memcpy(to, keymgr_buf, RSA_size(rsa));
      |    ^~~~~~
In file included from /usr/include/openssl/x509.h:35,
                 from /usr/include/openssl/ssl.h:30,
                 from src/tls_openssl.c:28:
/usr/include/openssl/rsa.h:204:27: note: declared here
  204 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa);
      |                           ^~~~~~~~
src/tls_openssl.c:880:4: warning: 'RSA_size' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  880 |    memcpy(to, keymgr_buf, RSA_size(rsa));
      |    ^~~~~~
In file included from /usr/include/openssl/x509.h:35,
                 from /usr/include/openssl/ssl.h:30,
                 from src/tls_openssl.c:28:
/usr/include/openssl/rsa.h:204:27: note: declared here
  204 | 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:2: 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:
/usr/include/openssl/ec.h:1084:29: note: declared here
 1084 | OSSL_DEPRECATEDIN_3_0 void *EC_KEY_get_ex_data(const EC_KEY *key, int idx);
      |                             ^~~~~~~~~~~~~~~~~~
gcc -O2 -mieee -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/include -DKORE_USE_TASKS -c src/auth.c -o obj/auth.o
cc1: warning: '-fstack-protector' not supported for this target
src/keymgr_openssl.c: In function 'keymgr_rsa_encrypt':
src/keymgr_openssl.c:695:2: 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:
/usr/include/openssl/evp.h:1348:22: note: declared here
 1348 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey);
      |                      ^~~~~~~~~~~~~~~~~
src/keymgr_openssl.c:695:6: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  695 |  rsa = EVP_PKEY_get0_RSA(key->pkey);
      |      ^
src/keymgr_openssl.c:697:2: 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:
/usr/include/openssl/rsa.h:204:27: note: declared here
  204 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa);
      |                           ^~~~~~~~
src/keymgr_openssl.c:701:2: 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:
/usr/include/openssl/rsa.h:285:5: note: declared here
  285 | int RSA_private_encrypt(int flen, const unsigned char *from, unsigned char *to,
      |     ^~~~~~~~~~~~~~~~~~~
src/keymgr_openssl.c:703:2: 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:
/usr/include/openssl/rsa.h:204:27: note: declared here
  204 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa);
      |                           ^~~~~~~~
src/keymgr_openssl.c: In function 'keymgr_ecdsa_sign':
src/keymgr_openssl.c:719:2: 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:
/usr/include/openssl/evp.h:1374:25: note: declared here
 1374 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey);
      |                         ^~~~~~~~~~~~~~~~~~~~
src/keymgr_openssl.c:719:5: 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:2: warning: 'ECDSA_size' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  721 |  len = ECDSA_size(ec);
      |  ^~~
In file included from /usr/include/openssl/x509.h:32,
                 from /usr/include/openssl/pem.h:23,
                 from src/keymgr_openssl.c:47:
/usr/include/openssl/ec.h:1455:27: note: declared here
 1455 | OSSL_DEPRECATEDIN_3_0 int ECDSA_size(const EC_KEY *eckey);
      |                           ^~~~~~~~~~
src/keymgr_openssl.c:725:2: 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 /usr/include/openssl/x509.h:32,
                 from /usr/include/openssl/pem.h:23,
                 from src/keymgr_openssl.c:47:
/usr/include/openssl/ec.h:1414:27: note: declared here
 1414 | OSSL_DEPRECATEDIN_3_0 int ECDSA_sign(int type, const unsigned char *dgst,
      |                           ^~~~~~~~~~
gcc -O2 -mieee -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/include -DKORE_USE_TASKS -c src/accesslog.c -o obj/accesslog.o
cc1: warning: '-fstack-protector' not supported for this target
gcc -O2 -mieee -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/include -DKORE_USE_TASKS -c src/http.c -o obj/http.o
cc1: warning: '-fstack-protector' not supported for this target
gcc -O2 -mieee -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/include -DKORE_USE_TASKS -c src/route.c -o obj/route.o
cc1: warning: '-fstack-protector' not supported for this target
gcc -O2 -mieee -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/include -DKORE_USE_TASKS -c src/validator.c -o obj/validator.o
cc1: warning: '-fstack-protector' not supported for this target
gcc -O2 -mieee -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/include -DKORE_USE_TASKS -c src/websocket.c -o obj/websocket.o
cc1: warning: '-fstack-protector' not supported for this target
gcc -O2 -mieee -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/include -DKORE_USE_TASKS -c src/tasks.c -o obj/tasks.o
cc1: warning: '-fstack-protector' not supported for this target
gcc -O2 -mieee -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/include -DKORE_USE_TASKS -c src/bsd.c -o obj/bsd.o
cc1: warning: '-fstack-protector' not supported for this target
gcc -O2 -mieee -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/include -DKORE_USE_TASKS -I/usr/include  -c -o obj/version.o obj/version.c
cc1: warning: '-fstack-protector' not supported for this target
/usr/pkg/bin/gmake -C kodev
gmake[1]: Entering directory '/tmp/pkgbuild/www/kore/work.alpha/kore-4.2.3/kodev'
gcc -O2 -mieee -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/include -DKORE_USE_TASKS -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wshadow -Wpointer-arith -Wcast-qual -Wsign-compare -Iincludes -std=c99 -pedantic -DPREFIX='"/usr/pkg"' -c ../src/cli.c -o obj/cli.o
cc1: warning: '-fstack-protector' not supported for this target
../src/cli.c: In function 'cli_build_asset':
../src/cli.c:1266:2: warning: 'SHA256_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1266 |  (void)SHA256_Init(&sctx);
      |  ^
In file included from /usr/include/openssl/x509.h:40,
                 from /usr/include/openssl/pem.h:23,
                 from ../src/cli.c:27:
/usr/include/openssl/sha.h:77:27: note: declared here
   77 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c);
      |                           ^~~~~~~~~~~
../src/cli.c:1267:2: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1267 |  (void)SHA256_Update(&sctx, base, st.st_size);
      |  ^
In file included from /usr/include/openssl/x509.h:40,
                 from /usr/include/openssl/pem.h:23,
                 from ../src/cli.c:27:
/usr/include/openssl/sha.h:78:27: note: declared here
   78 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c,
      |                           ^~~~~~~~~~~~~
../src/cli.c:1268:2: warning: 'SHA256_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1268 |  (void)SHA256_Final(digest, &sctx);
      |  ^
In file included from /usr/include/openssl/x509.h:40,
                 from /usr/include/openssl/pem.h:23,
                 from ../src/cli.c:27:
/usr/include/openssl/sha.h:80:27: note: declared here
   80 | 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:2: warning: 'RSA_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1474 |  if ((kpair = RSA_new()) == NULL)
      |  ^~
In file included from /usr/include/openssl/x509.h:35,
                 from /usr/include/openssl/pem.h:23,
                 from ../src/cli.c:27:
/usr/include/openssl/rsa.h:201:28: note: declared here
  201 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void);
      |                            ^~~~~~~
../src/cli.c:1481:2: 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 /usr/include/openssl/x509.h:35,
                 from /usr/include/openssl/pem.h:23,
                 from ../src/cli.c:27:
/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,
      |                           ^~~~~~~~~~~~~~~~~~~
../src/cli.c:1486:2: warning: 'EVP_PKEY_assign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1486 |  if (!EVP_PKEY_assign_RSA(pkey, kpair))
      |  ^~
In file included from /usr/include/openssl/pem.h:22,
                 from ../src/cli.c:27:
/usr/include/openssl/evp.h:1330:5: note: declared here
 1330 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key);
      |     ^~~~~~~~~~~~~~~
gcc -O2 -mieee -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/include -DKORE_USE_TASKS -c src/kore.c -o obj/kore.o
cc1: warning: '-fstack-protector' not supported for this target
gcc 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/bsd.o obj/version.o -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -rdynamic -L/usr/lib -lssl -lcrypto -lpthread -o kore
gcc obj/cli.o -lcrypto -o kodev
gmake[1]: Leaving directory '/tmp/pkgbuild/www/kore/work.alpha/kore-4.2.3/kodev'
cd /tmp/pkgbuild/www/kore/work.alpha/kore-4.2.3; /usr/bin/env USETOOLS=no CC=gcc CFLAGS=-O2\ -mieee\ -I/usr/include CPPFLAGS=-I/usr/include CXX=c++ CXXFLAGS=-O2\ -mieee\ -I/usr/include COMPILER_RPATH_FLAG=-Wl,-R F77=gfortran FC=gfortran FFLAGS=-O\ -mieee LANG=C LC_ALL=C LC_COLLATE=C LC_CTYPE=C LC_MESSAGES=C LC_MONETARY=C LC_NUMERIC=C LC_TIME=C LDFLAGS=-L/usr/lib\ -Wl,-R/usr/lib\ -Wl,-R/usr/pkg/lib LINKER_RPATH_FLAG=-R PATH=/tmp/pkgbuild/www/kore/work.alpha/.cwrapper/bin:/tmp/pkgbuild/www/kore/work.alpha/.buildlink/bin:/tmp/pkgbuild/www/kore/work.alpha/.gcc/bin:/tmp/pkgbuild/www/kore/work.alpha/.tools/bin:/usr/pkg/bin:/sbin:/usr/sbin:/bin:/usr/bin:/usr/pkg/sbin:/usr/pkg/bin:/usr/X11R7/bin:/usr/local/sbin:/usr/local/bin:/usr/pkg/bin:/usr/X11R7/bin PREFIX=/usr/pkg MAKELEVEL=0 CONFIG_SITE= PKG_SYSCONFDIR=/usr/pkg/etc HOME=/tmp/pkgbuild/www/kore/work.alpha/.home CWRAPPERS_CONFIG_DIR=/tmp/pkgbuild/www/kore/work.alpha/.cwrapper/config CPP=cpp LOCALBASE=/usr/pkg X11BASE=/usr/X11R7 PKGMANDIR=man PKGINFODIR=info PKGGNUDIR=gnu/ MAKECONF=/dev/null OBJECT_FMT=ELF USETOOLS=no BSD_INSTALL_PROGRAM=/usr/bin/install\ -c\ -s\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_SCRIPT=/usr/bin/install\ -c\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_LIB=/usr/bin/install\ -c\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_DATA=/usr/bin/install\ -c\ -o\ pbulk\ -g\ users\ -m\ 644 BSD_INSTALL_MAN=/usr/bin/install\ -c\ -o\ pbulk\ -g\ users\ -m\ 644 BSD_INSTALL=/usr/bin/install BSD_INSTALL_PROGRAM_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_SCRIPT_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_LIB_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_DATA_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_MAN_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_GAME=/usr/bin/install\ -c\ -s\ -o\ pbulk\ -g\ users\ -m\ 2555 BSD_INSTALL_GAME_DATA=/usr/bin/install\ -c\ -o\ pbulk\ -g\ users\ -m\ 664 BSD_INSTALL_GAME_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ users\ -m\ 775 INSTALL_INFO= MAKEINFO=/tmp/pkgbuild/www/kore/work.alpha/.tools/bin/makeinfo FLEX= BISON= ITSTOOL=/tmp/pkgbuild/www/kore/work.alpha/.tools/bin/itstool GDBUS_CODEGEN=/tmp/pkgbuild/www/kore/work.alpha/.tools/bin/gdbus-codegen PKG_CONFIG=/tmp/pkgbuild/www/kore/work.alpha/.tools/bin/pkg-config PKG_CONFIG_LIBDIR=/tmp/pkgbuild/www/kore/work.alpha/.buildlink/lib/pkgconfig:/tmp/pkgbuild/www/kore/work.alpha/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/tmp/pkgbuild/www/kore/work.alpha/.pkg-config.log PKG_CONFIG_PATH= CWRAPPERS_CONFIG_DIR=/tmp/pkgbuild/www/kore/work.alpha/.cwrapper/config /usr/pkg/bin/gmake tools-build
for t in kore-serve; do \
	cd tools/$t; \
	env \
	    KODEV_OUTPUT=/tmp/pkgbuild/www/kore/work.alpha/kore-4.2.3 \
	    KORE_SOURCE=/tmp/pkgbuild/www/kore/work.alpha/kore-4.2.3 \
	    KORE_BUILD_FLAVOR=netbsd \
	    /tmp/pkgbuild/www/kore/work.alpha/kore-4.2.3/kodev/kodev build; \
	cd /tmp/pkgbuild/www/kore/work.alpha/kore-4.2.3; \
done
cc1: warning: '-fstack-protector' not supported for this target
cc1: warning: '-fstack-protector' not supported for this target
cc1: warning: '-fstack-protector' not supported for this target
cc1: warning: '-fstack-protector' not supported for this target
cc1: warning: '-fstack-protector' not supported for this target
cc1: warning: '-fstack-protector' not supported for this target
cc1: warning: '-fstack-protector' not supported for this target
cc1: warning: '-fstack-protector' not supported for this target
cc1: warning: '-fstack-protector' not supported for this target
cc1: warning: '-fstack-protector' not supported for this target
cc1: warning: '-fstack-protector' not supported for this target
cc1: warning: '-fstack-protector' not supported for this target
cc1: warning: '-fstack-protector' not supported for this target
cc1: warning: '-fstack-protector' not supported for this target
cc1: warning: '-fstack-protector' not supported for this target
cc1: warning: '-fstack-protector' not supported for this target
cc1: warning: '-fstack-protector' not supported for this target
cc1: warning: '-fstack-protector' not supported for this target
cc1: warning: '-fstack-protector' not supported for this target
cc1: warning: '-fstack-protector' not supported for this target
cc1: warning: '-fstack-protector' not supported for this target
src/tls_openssl.c: In function 'kore_tls_init':
src/tls_openssl.c:97:2: 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 /usr/include/openssl/x509.h:35,
                 from /usr/include/openssl/ssl.h:30,
                 from src/tls_openssl.c:28:
/usr/include/openssl/rsa.h:473:35: note: declared here
  473 | OSSL_DEPRECATEDIN_3_0 RSA_METHOD *RSA_meth_new(const char *name, int flags);
      |                                   ^~~~~~~~~~~~
src/tls_openssl.c:101:2: 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 /usr/include/openssl/x509.h:35,
                 from /usr/include/openssl/ssl.h:30,
                 from src/tls_openssl.c:28:
/usr/include/openssl/rsa.h:550:5: note: declared here
  550 | int RSA_meth_set_init(RSA_METHOD *rsa, int (*init) (RSA *rsa));
      |     ^~~~~~~~~~~~~~~~~
src/tls_openssl.c:102:2: 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 /usr/include/openssl/x509.h:35,
                 from /usr/include/openssl/ssl.h:30,
                 from src/tls_openssl.c:28:
/usr/include/openssl/rsa.h:554:5: note: declared here
  554 | int RSA_meth_set_finish(RSA_METHOD *rsa, int (*finish) (RSA *rsa));
      |     ^~~~~~~~~~~~~~~~~~~
src/tls_openssl.c:103:2: 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 /usr/include/openssl/x509.h:35,
                 from /usr/include/openssl/ssl.h:30,
                 from src/tls_openssl.c:28:
/usr/include/openssl/rsa.h:510:5: note: declared here
  510 | int RSA_meth_set_priv_enc(RSA_METHOD *rsa,
      |     ^~~~~~~~~~~~~~~~~~~~~
src/tls_openssl.c:105:2: 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:
/usr/include/openssl/ec.h:1461:38: note: declared here
 1461 | OSSL_DEPRECATEDIN_3_0 EC_KEY_METHOD *EC_KEY_METHOD_new(const EC_KEY_METHOD *meth);
      |                                      ^~~~~~~~~~~~~~~~~
src/tls_openssl.c:108:2: 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:
/usr/include/openssl/ec.h:1480:28: note: declared here
 1480 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_METHOD_set_sign
      |                            ^~~~~~~~~~~~~~~~~~~~~~
src/tls_openssl.c: In function 'kore_tls_cleanup':
src/tls_openssl.c:124:2: warning: 'RSA_meth_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  124 |  RSA_meth_free(keymgr_rsa_meth);
      |  ^~~~~~~~~~~~~
In file included from /usr/include/openssl/x509.h:35,
                 from /usr/include/openssl/ssl.h:30,
                 from src/tls_openssl.c:28:
/usr/include/openssl/rsa.h:474:28: note: declared here
  474 | OSSL_DEPRECATEDIN_3_0 void RSA_meth_free(RSA_METHOD *meth);
      |                            ^~~~~~~~~~~~~
src/tls_openssl.c:125:2: 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:
/usr/include/openssl/ec.h:1462:28: note: declared here
 1462 | 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:2: 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 /usr/include/openssl/ssl.h:35,
                 from src/tls_openssl.c:28:
/usr/include/openssl/pem.h:469:1: note: declared here
  469 | 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:2: 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 /usr/include/openssl/x509.h:35,
                 from /usr/include/openssl/ssl.h:30,
                 from src/tls_openssl.c:28:
/usr/include/openssl/rsa.h:299:41: note: declared here
  299 | OSSL_DEPRECATEDIN_3_0 const RSA_METHOD *RSA_get_default_method(void);
      |                                         ^~~~~~~~~~~~~~~~~~~~~~
src/tls_openssl.c:191:2: 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 /usr/include/openssl/x509.h:35,
                 from /usr/include/openssl/ssl.h:30,
                 from src/tls_openssl.c:28:
/usr/include/openssl/rsa.h:490:5: note: declared here
  490 | int RSA_meth_set_pub_enc(RSA_METHOD *rsa,
      |     ^~~~~~~~~~~~~~~~~~~~
src/tls_openssl.c:191:2: 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 /usr/include/openssl/x509.h:35,
                 from /usr/include/openssl/ssl.h:30,
                 from src/tls_openssl.c:28:
/usr/include/openssl/rsa.h:485:7: note: declared here
  485 | int (*RSA_meth_get_pub_enc(const RSA_METHOD *meth)) (int flen,
      |       ^~~~~~~~~~~~~~~~~~~~
src/tls_openssl.c:192:2: 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 /usr/include/openssl/x509.h:35,
                 from /usr/include/openssl/ssl.h:30,
                 from src/tls_openssl.c:28:
/usr/include/openssl/rsa.h:500:5: note: declared here
  500 | int RSA_meth_set_pub_dec(RSA_METHOD *rsa,
      |     ^~~~~~~~~~~~~~~~~~~~
src/tls_openssl.c:192:2: 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 /usr/include/openssl/x509.h:35,
                 from /usr/include/openssl/ssl.h:30,
                 from src/tls_openssl.c:28:
/usr/include/openssl/rsa.h:495:7: note: declared here
  495 | int (*RSA_meth_get_pub_dec(const RSA_METHOD *meth)) (int flen,
      |       ^~~~~~~~~~~~~~~~~~~~
src/tls_openssl.c:193:2: 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 /usr/include/openssl/x509.h:35,
                 from /usr/include/openssl/ssl.h:30,
                 from src/tls_openssl.c:28:
/usr/include/openssl/rsa.h:540:5: note: declared here
  540 | int RSA_meth_set_bn_mod_exp(RSA_METHOD *rsa,
      |     ^~~~~~~~~~~~~~~~~~~~~~~
src/tls_openssl.c:193:2: 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 /usr/include/openssl/x509.h:35,
                 from /usr/include/openssl/ssl.h:30,
                 from src/tls_openssl.c:28:
/usr/include/openssl/rsa.h:533:7: note: declared here
  533 | 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:3: 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 /usr/include/openssl/x509.h:28,
                 from /usr/include/openssl/ssl.h:30,
                 from src/tls_openssl.c:28:
/usr/include/openssl/evp.h:1350:16: note: declared here
 1350 | struct rsa_st *EVP_PKEY_get1_RSA(EVP_PKEY *pkey);
      |                ^~~~~~~~~~~~~~~~~
src/tls_openssl.c:285:3: warning: 'RSA_set_ex_data' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  285 |   RSA_set_app_data(rsa, dom);
      |   ^~~~~~~~~~~~~~~~
In file included from /usr/include/openssl/x509.h:35,
                 from /usr/include/openssl/ssl.h:30,
                 from src/tls_openssl.c:28:
/usr/include/openssl/rsa.h:445:27: note: declared here
  445 | OSSL_DEPRECATEDIN_3_0 int RSA_set_ex_data(RSA *r, int idx, void *arg);
      |                           ^~~~~~~~~~~~~~~
src/tls_openssl.c:286:3: warning: 'RSA_set_method' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  286 |   RSA_set_method(rsa, keymgr_rsa_meth);
      |   ^~~~~~~~~~~~~~
In file included from /usr/include/openssl/x509.h:35,
                 from /usr/include/openssl/ssl.h:30,
                 from src/tls_openssl.c:28:
/usr/include/openssl/rsa.h:302:27: note: declared here
  302 | OSSL_DEPRECATEDIN_3_0 int RSA_set_method(RSA *rsa, const RSA_METHOD *meth);
      |                           ^~~~~~~~~~~~~~
src/tls_openssl.c:289:3: 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 /usr/include/openssl/x509.h:28,
                 from /usr/include/openssl/ssl.h:30,
                 from src/tls_openssl.c:28:
/usr/include/openssl/evp.h:1376:19: note: declared here
 1376 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey);
      |                   ^~~~~~~~~~~~~~~~~~~~
src/tls_openssl.c:291:3: 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:
/usr/include/openssl/ec.h:1083:27: note: declared here
 1083 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_ex_data(EC_KEY *key, int idx, void *arg);
      |                           ^~~~~~~~~~~~~~~~~~
src/tls_openssl.c:292:3: 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:
/usr/include/openssl/ec.h:1283:27: note: declared here
 1283 | 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:3: warning: 'RSA_set_flags' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  836 |   RSA_set_flags(rsa, RSA_flags(rsa) |
      |   ^~~~~~~~~~~~~
In file included from /usr/include/openssl/x509.h:35,
                 from /usr/include/openssl/ssl.h:30,
                 from src/tls_openssl.c:28:
/usr/include/openssl/rsa.h:243:28: note: declared here
  243 | OSSL_DEPRECATEDIN_3_0 void RSA_set_flags(RSA *r, int flags);
      |                            ^~~~~~~~~~~~~
src/tls_openssl.c:836:3: warning: 'RSA_flags' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  836 |   RSA_set_flags(rsa, RSA_flags(rsa) |
      |   ^~~~~~~~~~~~~
In file included from /usr/include/openssl/x509.h:35,
                 from /usr/include/openssl/ssl.h:30,
                 from src/tls_openssl.c:28:
/usr/include/openssl/rsa.h:296:27: note: declared here
  296 | 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:2: 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 /usr/include/openssl/x509.h:35,
                 from /usr/include/openssl/ssl.h:30,
                 from src/tls_openssl.c:28:
/usr/include/openssl/rsa.h:446:29: note: declared here
  446 | OSSL_DEPRECATEDIN_3_0 void *RSA_get_ex_data(const RSA *r, int idx);
      |                             ^~~~~~~~~~~~~~~
src/tls_openssl.c:878:7: warning: 'RSA_size' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  878 |       (int)keymgr_buflen == RSA_size(rsa)) {
      |       ^
In file included from /usr/include/openssl/x509.h:35,
                 from /usr/include/openssl/ssl.h:30,
                 from src/tls_openssl.c:28:
/usr/include/openssl/rsa.h:204:27: note: declared here
  204 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa);
      |                           ^~~~~~~~
src/tls_openssl.c:879:4: warning: 'RSA_size' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  879 |    ret = RSA_size(rsa);
      |    ^~~
In file included from /usr/include/openssl/x509.h:35,
                 from /usr/include/openssl/ssl.h:30,
                 from src/tls_openssl.c:28:
/usr/include/openssl/rsa.h:204:27: note: declared here
  204 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa);
      |                           ^~~~~~~~
src/tls_openssl.c:880:4: warning: 'RSA_size' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  880 |    memcpy(to, keymgr_buf, RSA_size(rsa));
      |    ^~~~~~
In file included from /usr/include/openssl/x509.h:35,
                 from /usr/include/openssl/ssl.h:30,
                 from src/tls_openssl.c:28:
/usr/include/openssl/rsa.h:204:27: note: declared here
  204 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa);
      |                           ^~~~~~~~
src/tls_openssl.c:880:4: warning: 'RSA_size' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  880 |    memcpy(to, keymgr_buf, RSA_size(rsa));
      |    ^~~~~~
In file included from /usr/include/openssl/x509.h:35,
                 from /usr/include/openssl/ssl.h:30,
                 from src/tls_openssl.c:28:
/usr/include/openssl/rsa.h:204:27: note: declared here
  204 | 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:2: 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:
/usr/include/openssl/ec.h:1084:29: note: declared here
 1084 | OSSL_DEPRECATEDIN_3_0 void *EC_KEY_get_ex_data(const EC_KEY *key, int idx);
      |                             ^~~~~~~~~~~~~~~~~~
cc1: warning: '-fstack-protector' not supported for this target
src/keymgr_openssl.c: In function 'keymgr_rsa_encrypt':
src/keymgr_openssl.c:695:2: 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:
/usr/include/openssl/evp.h:1348:22: note: declared here
 1348 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey);
      |                      ^~~~~~~~~~~~~~~~~
src/keymgr_openssl.c:695:6: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  695 |  rsa = EVP_PKEY_get0_RSA(key->pkey);
      |      ^
src/keymgr_openssl.c:697:2: 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:
/usr/include/openssl/rsa.h:204:27: note: declared here
  204 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa);
      |                           ^~~~~~~~
src/keymgr_openssl.c:701:2: 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:
/usr/include/openssl/rsa.h:285:5: note: declared here
  285 | int RSA_private_encrypt(int flen, const unsigned char *from, unsigned char *to,
      |     ^~~~~~~~~~~~~~~~~~~
src/keymgr_openssl.c:703:2: 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:
/usr/include/openssl/rsa.h:204:27: note: declared here
  204 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa);
      |                           ^~~~~~~~
src/keymgr_openssl.c: In function 'keymgr_ecdsa_sign':
src/keymgr_openssl.c:719:2: 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:
/usr/include/openssl/evp.h:1374:25: note: declared here
 1374 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey);
      |                         ^~~~~~~~~~~~~~~~~~~~
src/keymgr_openssl.c:719:5: 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:2: warning: 'ECDSA_size' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  721 |  len = ECDSA_size(ec);
      |  ^~~
In file included from /usr/include/openssl/x509.h:32,
                 from /usr/include/openssl/pem.h:23,
                 from src/keymgr_openssl.c:47:
/usr/include/openssl/ec.h:1455:27: note: declared here
 1455 | OSSL_DEPRECATEDIN_3_0 int ECDSA_size(const EC_KEY *eckey);
      |                           ^~~~~~~~~~
src/keymgr_openssl.c:725:2: 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 /usr/include/openssl/x509.h:32,
                 from /usr/include/openssl/pem.h:23,
                 from src/keymgr_openssl.c:47:
/usr/include/openssl/ec.h:1414:27: note: declared here
 1414 | OSSL_DEPRECATEDIN_3_0 int ECDSA_sign(int type, const unsigned char *dgst,
      |                           ^~~~~~~~~~
cc1: warning: '-fstack-protector' not supported for this target
cc1: warning: '-fstack-protector' not supported for this target
cc1: warning: '-fstack-protector' not supported for this target
cc1: warning: '-fstack-protector' not supported for this target
cc1: warning: '-fstack-protector' not supported for this target
cc1: warning: '-fstack-protector' not supported for this target
cc1: warning: '-fstack-protector' not supported for this target
cc1: warning: '-fstack-protector' not supported for this target
cc1: error: '-fstack-protector' not supported for this target [-Werror]
cc1: all warnings being treated as errors
building kore (/tmp/pkgbuild/www/kore/work.alpha/kore-4.2.3)
building kore-serve (netbsd)
CFLAGS=-std=c99 -Werror -Wall -Wmissing-declarations -Wshadow -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wsign-compare -fPIC -Isrc -Isrc/includes -I/tmp/pkgbuild/www/kore/work.alpha/kore-4.2.3/include -DTLS_BACKEND_OPENSSL -DKORE_SINGLE_BINARY  -O2 -mieee -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
LDFLAGS=-L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -rdynamic -lssl -lcrypto -rdynamic -lssl -lcrypto -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -rdynamic -lssl -lcrypto
adding config conf/kore-serve.conf
building asset builtin_kore.conf
compiling kore-serve.c
kore build: subprocess trouble, check output