* Package: www-servers/kore-4.2.3:0 * Repository: gentoo * Maintainer: xgqt@gentoo.org * USE: abi_x86_64 acme amd64 curl elibc_glibc kernel_linux openssl threads * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking kore-4.2.3.tar.gz to /var/tmp/portage/www-servers/kore-4.2.3/work >>> Source unpacked in /var/tmp/portage/www-servers/kore-4.2.3/work >>> Preparing source in /var/tmp/portage/www-servers/kore-4.2.3/work/kore-4.2.3 ... * Applying kore-4.2.3-makefile.patch ... [ ok ] * Applying kore-4.2.3-kodev-makefile.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/www-servers/kore-4.2.3/work/kore-4.2.3 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/www-servers/kore-4.2.3/work/kore-4.2.3 ... make -j5 x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0 -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"' -DTLS_BACKEND_OPENSSL -DKORE_NO_HTTP -DKORE_USE_TASKS -DKORE_USE_ACME -DKORE_USE_CURL -D_GNU_SOURCE=1 -c src/buf.c -o obj/buf.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0 -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"' -DTLS_BACKEND_OPENSSL -DKORE_NO_HTTP -DKORE_USE_TASKS -DKORE_USE_ACME -DKORE_USE_CURL -D_GNU_SOURCE=1 -c src/config.c -o obj/config.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0 -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"' -DTLS_BACKEND_OPENSSL -DKORE_NO_HTTP -DKORE_USE_TASKS -DKORE_USE_ACME -DKORE_USE_CURL -D_GNU_SOURCE=1 -c src/connection.c -o obj/connection.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0 -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"' -DTLS_BACKEND_OPENSSL -DKORE_NO_HTTP -DKORE_USE_TASKS -DKORE_USE_ACME -DKORE_USE_CURL -D_GNU_SOURCE=1 -c src/domain.c -o obj/domain.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0 -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"' -DTLS_BACKEND_OPENSSL -DKORE_NO_HTTP -DKORE_USE_TASKS -DKORE_USE_ACME -DKORE_USE_CURL -D_GNU_SOURCE=1 -c src/filemap.c -o obj/filemap.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0 -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"' -DTLS_BACKEND_OPENSSL -DKORE_NO_HTTP -DKORE_USE_TASKS -DKORE_USE_ACME -DKORE_USE_CURL -D_GNU_SOURCE=1 -c src/fileref.c -o obj/fileref.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0 -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"' -DTLS_BACKEND_OPENSSL -DKORE_NO_HTTP -DKORE_USE_TASKS -DKORE_USE_ACME -DKORE_USE_CURL -D_GNU_SOURCE=1 -c src/json.c -o obj/json.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0 -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"' -DTLS_BACKEND_OPENSSL -DKORE_NO_HTTP -DKORE_USE_TASKS -DKORE_USE_ACME -DKORE_USE_CURL -D_GNU_SOURCE=1 -c src/log.c -o obj/log.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0 -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"' -DTLS_BACKEND_OPENSSL -DKORE_NO_HTTP -DKORE_USE_TASKS -DKORE_USE_ACME -DKORE_USE_CURL -D_GNU_SOURCE=1 -c src/mem.c -o obj/mem.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0 -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"' -DTLS_BACKEND_OPENSSL -DKORE_NO_HTTP -DKORE_USE_TASKS -DKORE_USE_ACME -DKORE_USE_CURL -D_GNU_SOURCE=1 -c src/msg.c -o obj/msg.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0 -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"' -DTLS_BACKEND_OPENSSL -DKORE_NO_HTTP -DKORE_USE_TASKS -DKORE_USE_ACME -DKORE_USE_CURL -D_GNU_SOURCE=1 -c src/module.c -o obj/module.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0 -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"' -DTLS_BACKEND_OPENSSL -DKORE_NO_HTTP -DKORE_USE_TASKS -DKORE_USE_ACME -DKORE_USE_CURL -D_GNU_SOURCE=1 -c src/net.c -o obj/net.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0 -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"' -DTLS_BACKEND_OPENSSL -DKORE_NO_HTTP -DKORE_USE_TASKS -DKORE_USE_ACME -DKORE_USE_CURL -D_GNU_SOURCE=1 -c src/pool.c -o obj/pool.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0 -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"' -DTLS_BACKEND_OPENSSL -DKORE_NO_HTTP -DKORE_USE_TASKS -DKORE_USE_ACME -DKORE_USE_CURL -D_GNU_SOURCE=1 -c src/runtime.c -o obj/runtime.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0 -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"' -DTLS_BACKEND_OPENSSL -DKORE_NO_HTTP -DKORE_USE_TASKS -DKORE_USE_ACME -DKORE_USE_CURL -D_GNU_SOURCE=1 -c src/sha1.c -o obj/sha1.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0 -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"' -DTLS_BACKEND_OPENSSL -DKORE_NO_HTTP -DKORE_USE_TASKS -DKORE_USE_ACME -DKORE_USE_CURL -D_GNU_SOURCE=1 -c src/sha2.c -o obj/sha2.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0 -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"' -DTLS_BACKEND_OPENSSL -DKORE_NO_HTTP -DKORE_USE_TASKS -DKORE_USE_ACME -DKORE_USE_CURL -D_GNU_SOURCE=1 -c src/timer.c -o obj/timer.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0 -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"' -DTLS_BACKEND_OPENSSL -DKORE_NO_HTTP -DKORE_USE_TASKS -DKORE_USE_ACME -DKORE_USE_CURL -D_GNU_SOURCE=1 -c src/utils.c -o obj/utils.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0 -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"' -DTLS_BACKEND_OPENSSL -DKORE_NO_HTTP -DKORE_USE_TASKS -DKORE_USE_ACME -DKORE_USE_CURL -D_GNU_SOURCE=1 -c src/worker.c -o obj/worker.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0 -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"' -DTLS_BACKEND_OPENSSL -DKORE_NO_HTTP -DKORE_USE_TASKS -DKORE_USE_ACME -DKORE_USE_CURL -D_GNU_SOURCE=1 -c src/tls_openssl.c -o obj/tls_openssl.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0 -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"' -DTLS_BACKEND_OPENSSL -DKORE_NO_HTTP -DKORE_USE_TASKS -DKORE_USE_ACME -DKORE_USE_CURL -D_GNU_SOURCE=1 -c src/keymgr_openssl.c -o obj/keymgr_openssl.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0 -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"' -DTLS_BACKEND_OPENSSL -DKORE_NO_HTTP -DKORE_USE_TASKS -DKORE_USE_ACME -DKORE_USE_CURL -D_GNU_SOURCE=1 -c src/tasks.c -o obj/tasks.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0 -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"' -DTLS_BACKEND_OPENSSL -DKORE_NO_HTTP -DKORE_USE_TASKS -DKORE_USE_ACME -DKORE_USE_CURL -D_GNU_SOURCE=1 -c src/acme.c -o obj/acme.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 /usr/include/openssl/x509.h:36, from /usr/include/openssl/ssl.h:31, from src/tls_openssl.c:28: /usr/include/openssl/rsa.h:479:35: note: declared here 479 | 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); | ^~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:556:5: note: declared here 556 | 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); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:560:5: note: declared here 560 | 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); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:516:5: note: declared here 516 | 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: /usr/include/openssl/ec.h:1464:38: note: declared here 1464 | 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, | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1483:28: note: declared here 1483 | 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); | ^~~~~~~~~~~~~ /usr/include/openssl/rsa.h:480:28: note: declared here 480 | 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); | ^~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1465:28: note: declared here 1465 | 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 /usr/include/openssl/ssl.h:36: /usr/include/openssl/pem.h:472:1: note: declared here 472 | 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) | ^~ /usr/include/openssl/rsa.h:305:41: note: declared here 305 | 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)); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:496:5: note: declared here 496 | 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)); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:491:7: note: declared here 491 | 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)); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:506:5: note: declared here 506 | 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)); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:501:7: note: declared here 501 | 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)); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:546:5: note: declared here 546 | 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)); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:539:7: note: declared here 539 | 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 /usr/include/openssl/x509.h:29: /usr/include/openssl/evp.h:1351:16: note: declared here 1351 | 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); | ^~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:451:27: note: declared here 451 | 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); | ^~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:308:27: note: declared here 308 | 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) | ^~ /usr/include/openssl/evp.h:1377:19: note: declared here 1377 | 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); | ^~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1086:27: note: declared here 1086 | 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); | ^~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1286:27: note: declared here 1286 | 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/keymgr_openssl.c: In function ‘keymgr_rsa_encrypt’: 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) | | ^~~~~~~~~~~~~ /usr/include/openssl/rsa.h:249:28: note: declared here 249 | OSSL_DEPRECATEDIN_3_0 void RSA_set_flags(RSA *r, int flags); | ^~~~~~~~~~~~~ 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); | ^~~ 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) | | ^~~~~~~~~~~~~ /usr/include/openssl/rsa.h:302:27: note: declared here 302 | OSSL_DEPRECATEDIN_3_0 int RSA_flags(const RSA *r); | ^~~~~~~~~ src/tls_openssl.c: In function ‘tls_keymgr_rsa_privenc’: In file included from src/keymgr_openssl.c:44: /usr/include/openssl/evp.h:1349:22: note: declared here 1349 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ 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) | ^~ /usr/include/openssl/rsa.h:452:29: note: declared here 452 | OSSL_DEPRECATEDIN_3_0 void *RSA_get_ex_data(const RSA *r, int idx); | ^~~~~~~~~~~~~~~ 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: /usr/include/openssl/rsa.h:210:27: note: declared here 210 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); | ^~~~~~~~ src/tls_openssl.c:878:21: warning: ‘RSA_size’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 878 | (int)keymgr_buflen == RSA_size(rsa)) { | ^ /usr/include/openssl/rsa.h:210:27: note: declared here 210 | 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, | ^~~ src/tls_openssl.c:879:25: warning: ‘RSA_size’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 879 | ret = RSA_size(rsa); | ^~~ /usr/include/openssl/rsa.h:210:27: note: declared here 210 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); | ^~~~~~~~ /usr/include/openssl/rsa.h:291:5: note: declared here 291 | int RSA_private_encrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~~ 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)); | ^~~~~~ /usr/include/openssl/rsa.h:210:27: note: declared here 210 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); | ^~~~~~~~ src/keymgr_openssl.c:703:9: warning: ‘RSA_size’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 703 | if (ret != RSA_size(rsa)) | ^~ /usr/include/openssl/rsa.h:210:27: note: declared here 210 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); | ^~~~~~~~ src/keymgr_openssl.c: In function ‘keymgr_ecdsa_sign’: src/tls_openssl.c: In function ‘tls_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); | ^~ 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) | ^~ /usr/include/openssl/evp.h:1375:25: note: declared here 1375 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1087:29: note: declared here 1087 | OSSL_DEPRECATEDIN_3_0 void *EC_KEY_get_ex_data(const EC_KEY *key, int idx); | ^~~~~~~~~~~~~~~~~~ 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 /usr/include/openssl/x509.h:33, from /usr/include/openssl/pem.h:23, from src/keymgr_openssl.c:47: /usr/include/openssl/ec.h:1458:27: note: declared here 1458 | 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, | ^~ /usr/include/openssl/ec.h:1417:27: note: declared here 1417 | OSSL_DEPRECATEDIN_3_0 int ECDSA_sign(int type, const unsigned char *dgst, | ^~~~~~~~~~ src/keymgr_openssl.c: In function ‘keymgr_acme_init’: src/keymgr_openssl.c:796:9: warning: ‘EVP_PKEY_get0_RSA’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 796 | rsa = EVP_PKEY_get0_RSA(key->pkey); | ^~~ /usr/include/openssl/evp.h:1349:22: note: declared here 1349 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ src/keymgr_openssl.c:796:13: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 796 | rsa = EVP_PKEY_get0_RSA(key->pkey); | ^ src/keymgr_openssl.c:797:9: warning: ‘RSA_get0_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 797 | RSA_get0_key(rsa, &bn, &be, NULL); | ^~~~~~~~~~~~ /usr/include/openssl/rsa.h:223:28: note: declared here 223 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, | ^~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0 -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"' -DTLS_BACKEND_OPENSSL -DKORE_NO_HTTP -DKORE_USE_TASKS -DKORE_USE_ACME -DKORE_USE_CURL -D_GNU_SOURCE=1 -c src/curl.c -o obj/curl.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0 -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"' -DTLS_BACKEND_OPENSSL -DKORE_NO_HTTP -DKORE_USE_TASKS -DKORE_USE_ACME -DKORE_USE_CURL -D_GNU_SOURCE=1 -c src/linux.c -o obj/linux.o src/acme.c: In function ‘kore_acme_run’: src/acme.c:319:9: warning: implicit declaration of function ‘http_init’; did you mean ‘net_init’? [-Wimplicit-function-declaration] 319 | http_init(); | ^~~~~~~~~ | net_init In file included from include/kore/kore.h:27, from src/curl.c:21: src/curl.c: In function ‘kore_curl_cleanup’: src/curl.c:206:24: error: invalid use of undefined type ‘struct http_header’ 206 | next = TAILQ_NEXT(hdr, list); | ^~~~~~~~~~ src/acme.c: In function ‘acme_parse_directory’: src/curl.c:207:17: error: invalid use of undefined type ‘struct http_header’ 207 | TAILQ_REMOVE(&client->http.resp_hdrs, hdr, list); | ^~~~~~~~~~~~ src/acme.c:387:36: error: ‘HTTP_METHOD_GET’ undeclared (first use in this function) 387 | acme_request_prepare(&req, HTTP_METHOD_GET, acme_provider, NULL, 0); | ^~~~~~~~~~~~~~~ src/acme.c:387:36: note: each undeclared identifier is reported only once for each function it appears in src/curl.c:207:17: error: invalid use of undefined type ‘struct http_header’ 207 | TAILQ_REMOVE(&client->http.resp_hdrs, hdr, list); | ^~~~~~~~~~~~ src/curl.c:207:17: error: invalid use of undefined type ‘struct http_header’ 207 | TAILQ_REMOVE(&client->http.resp_hdrs, hdr, list); | ^~~~~~~~~~~~ src/curl.c:207:17: error: invalid use of undefined type ‘struct http_header’ 207 | TAILQ_REMOVE(&client->http.resp_hdrs, hdr, list); | ^~~~~~~~~~~~ src/curl.c:207:17: error: invalid use of undefined type ‘struct http_header’ 207 | TAILQ_REMOVE(&client->http.resp_hdrs, hdr, list); | ^~~~~~~~~~~~ src/curl.c:207:17: error: invalid use of undefined type ‘struct http_header’ 207 | TAILQ_REMOVE(&client->http.resp_hdrs, hdr, list); | ^~~~~~~~~~~~ src/curl.c:208:32: error: ‘http_header_pool’ undeclared (first use in this function); did you mean ‘http_header’? 208 | kore_pool_put(&http_header_pool, hdr); | ^~~~~~~~~~~~~~~~ | http_header src/curl.c:208:32: note: each undeclared identifier is reported only once for each function it appears in src/acme.c:394:37: error: ‘HTTP_STATUS_OK’ undeclared (first use in this function); did you mean ‘ASYNC_STATUS_OK’? 394 | if (req.curl.http.status != HTTP_STATUS_OK) { | ^~~~~~~~~~~~~~ | ASYNC_STATUS_OK src/curl.c: In function ‘kore_curl_bind_request’: src/curl.c:305:9: warning: implicit declaration of function ‘http_request_sleep’ [-Wimplicit-function-declaration] 305 | http_request_sleep(req); | ^~~~~~~~~~~~~~~~~~ src/curl.c:308:30: error: invalid use of undefined type ‘struct http_request’ 308 | LIST_INSERT_HEAD(&req->chandles, client, list); | ^~ src/curl.c:308:30: error: invalid use of undefined type ‘struct http_request’ 308 | LIST_INSERT_HEAD(&req->chandles, client, list); | ^~ src/curl.c:308:30: error: invalid use of undefined type ‘struct http_request’ 308 | LIST_INSERT_HEAD(&req->chandles, client, list); | ^~ src/curl.c:308:30: error: invalid use of undefined type ‘struct http_request’ 308 | LIST_INSERT_HEAD(&req->chandles, client, list); | ^~ make -C kodev src/acme.c: In function ‘acme_nonce_fetch’: src/acme.c:431:36: error: ‘HTTP_METHOD_HEAD’ undeclared (first use in this function) 431 | acme_request_prepare(&req, HTTP_METHOD_HEAD, nonce_url, NULL, 0); | ^~~~~~~~~~~~~~~~ src/acme.c:436:37: error: ‘HTTP_STATUS_OK’ undeclared (first use in this function); did you mean ‘ASYNC_STATUS_OK’? 436 | if (req.curl.http.status != HTTP_STATUS_OK) { | ^~~~~~~~~~~~~~ | ASYNC_STATUS_OK src/curl.c: In function ‘kore_curl_http_setup’: src/curl.c:409:14: error: ‘HTTP_METHOD_GET’ undeclared (first use in this function) 409 | case HTTP_METHOD_GET: | ^~~~~~~~~~~~~~~ make[1]: Entering directory '/var/tmp/portage/www-servers/kore-4.2.3/work/kore-4.2.3/kodev' x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0 -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"' -DTLS_BACKEND_OPENSSL -DKORE_NO_HTTP -DKORE_USE_TASKS -DKORE_USE_ACME -DKORE_USE_CURL -D_GNU_SOURCE=1 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wshadow -Wpointer-arith -Wcast-qual -Wsign-compare -Iincludes -std=c99 -pedantic -DPREFIX='"/usr"' -D_GNU_SOURCE=1 -c ../src/cli.c -o obj/cli.o src/acme.c: In function ‘acme_account_reg_submit’: src/acme.c:511:36: error: ‘HTTP_METHOD_POST’ undeclared (first use in this function) 511 | acme_request_prepare(&req, HTTP_METHOD_POST, account_url, | ^~~~~~~~~~~~~~~~ src/curl.c:410:14: error: ‘HTTP_METHOD_OPTIONS’ undeclared (first use in this function) 410 | case HTTP_METHOD_OPTIONS: | ^~~~~~~~~~~~~~~~~~~ src/acme.c:518:14: error: ‘HTTP_STATUS_OK’ undeclared (first use in this function); did you mean ‘ASYNC_STATUS_OK’? 518 | case HTTP_STATUS_OK: | ^~~~~~~~~~~~~~ | ASYNC_STATUS_OK src/curl.c:412:14: error: ‘HTTP_METHOD_HEAD’ undeclared (first use in this function) 412 | case HTTP_METHOD_HEAD: | ^~~~~~~~~~~~~~~~ src/acme.c:519:14: error: ‘HTTP_STATUS_CREATED’ undeclared (first use in this function) 519 | case HTTP_STATUS_CREATED: | ^~~~~~~~~~~~~~~~~~~ src/acme.c: In function ‘acme_order_create_submit’: src/acme.c:581:36: error: ‘HTTP_METHOD_POST’ undeclared (first use in this function) 581 | acme_request_prepare(&req, HTTP_METHOD_POST, order_url, | ^~~~~~~~~~~~~~~~ src/curl.c:415:14: error: ‘HTTP_METHOD_PUT’ undeclared (first use in this function) 415 | case HTTP_METHOD_PUT: | ^~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0 -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"' -DTLS_BACKEND_OPENSSL -DKORE_NO_HTTP -DKORE_USE_TASKS -DKORE_USE_ACME -DKORE_USE_CURL -D_GNU_SOURCE=1 -c src/seccomp.c -o obj/seccomp.o src/acme.c:590:37: error: ‘HTTP_STATUS_CREATED’ undeclared (first use in this function) 590 | if (req.curl.http.status != HTTP_STATUS_CREATED) { | ^~~~~~~~~~~~~~~~~~~ src/curl.c:419:14: error: ‘HTTP_METHOD_PATCH’ undeclared (first use in this function) 419 | case HTTP_METHOD_PATCH: | ^~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0 -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"' -DTLS_BACKEND_OPENSSL -DKORE_NO_HTTP -DKORE_USE_TASKS -DKORE_USE_ACME -DKORE_USE_CURL -D_GNU_SOURCE=1 -c -o obj/version.o obj/version.c src/acme.c: In function ‘acme_order_update_submit’: src/acme.c:705:36: error: ‘HTTP_METHOD_POST’ undeclared (first use in this function) 705 | acme_request_prepare(&req, HTTP_METHOD_POST, order->id, | ^~~~~~~~~~~~~~~~ ../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 /usr/include/openssl/x509.h:41, from /usr/include/openssl/pem.h:23, from ../src/cli.c:27: /usr/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); | ^ /usr/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); | ^ /usr/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 /usr/include/openssl/x509.h:36: /usr/include/openssl/rsa.h:207:28: note: declared here 207 | 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)) | ^~ /usr/include/openssl/rsa.h:266:27: note: declared here 266 | 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 /usr/include/openssl/pem.h:22: /usr/include/openssl/evp.h:1331:5: note: declared here 1331 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key); | ^~~~~~~~~~~~~~~ src/acme.c:714:37: error: ‘HTTP_STATUS_OK’ undeclared (first use in this function); did you mean ‘ASYNC_STATUS_OK’? 714 | if (req.curl.http.status != HTTP_STATUS_OK) { | ^~~~~~~~~~~~~~ | ASYNC_STATUS_OK x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0 -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"' -DTLS_BACKEND_OPENSSL -DKORE_NO_HTTP -DKORE_USE_TASKS -DKORE_USE_ACME -DKORE_USE_CURL -D_GNU_SOURCE=1 -c src/kore.c -o obj/kore.o src/curl.c:420:14: error: ‘HTTP_METHOD_DELETE’ undeclared (first use in this function) 420 | case HTTP_METHOD_DELETE: | ^~~~~~~~~~~~~~~~~~ src/acme.c: In function ‘acme_order_fetch_certificate_submit’: src/acme.c:945:36: error: ‘HTTP_METHOD_POST’ undeclared (first use in this function) 945 | acme_request_prepare(&req, HTTP_METHOD_POST, order->certloc, | ^~~~~~~~~~~~~~~~ src/curl.c:421:25: warning: implicit declaration of function ‘http_method_text’ [-Wimplicit-function-declaration] 421 | mname = http_method_text(method); | ^~~~~~~~~~~~~~~~ src/curl.c:421:23: warning: assignment to ‘const char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 421 | mname = http_method_text(method); | ^ src/acme.c:954:37: error: ‘HTTP_STATUS_OK’ undeclared (first use in this function); did you mean ‘ASYNC_STATUS_OK’? 954 | if (req.curl.http.status != HTTP_STATUS_OK) { | ^~~~~~~~~~~~~~ | ASYNC_STATUS_OK src/curl.c:423:14: error: ‘HTTP_METHOD_POST’ undeclared (first use in this function) 423 | case HTTP_METHOD_POST: | ^~~~~~~~~~~~~~~~ src/acme.c: In function ‘acme_order_auth_deactivate’: src/acme.c:1026:44: error: ‘HTTP_METHOD_GET’ undeclared (first use in this function) 1026 | acme_request_prepare(&req, HTTP_METHOD_GET, auth->url, NULL, 0); | ^~~~~~~~~~~~~~~ src/curl.c: In function ‘kore_curl_http_get_header’: src/curl.c:494:9: error: invalid use of undefined type ‘struct http_header’ 494 | TAILQ_FOREACH(hdr, &(client->http.resp_hdrs), list) { | ^~~~~~~~~~~~~ src/curl.c:495:36: error: invalid use of undefined type ‘struct http_header’ 495 | if (!strcasecmp(hdr->header, header)) { | ^~ src/curl.c:496:35: error: invalid use of undefined type ‘struct http_header’ 496 | *out = hdr->value; | ^~ src/acme.c: In function ‘acme_order_auth_update_submit’: src/acme.c:1130:36: error: ‘HTTP_METHOD_POST’ undeclared (first use in this function) 1130 | acme_request_prepare(&req, HTTP_METHOD_POST, auth->url, | ^~~~~~~~~~~~~~~~ src/acme.c:1136:37: error: ‘HTTP_STATUS_OK’ undeclared (first use in this function); did you mean ‘ASYNC_STATUS_OK’? 1136 | if (req.curl.http.status != HTTP_STATUS_OK) { | ^~~~~~~~~~~~~~ | ASYNC_STATUS_OK src/curl.c: In function ‘kore_curl_http_parse_headers’: src/curl.c:509:57: error: ‘HTTP_REQ_HEADER_MAX’ undeclared (first use in this function) 509 | char *value, *hbuf, *headers[HTTP_REQ_HEADER_MAX]; | ^~~~~~~~~~~~~~~~~~~ src/acme.c: In function ‘acme_generic_submit’: src/acme.c:1395:36: error: ‘HTTP_METHOD_POST’ undeclared (first use in this function) 1395 | acme_request_prepare(&req, HTTP_METHOD_POST, op->udata, | ^~~~~~~~~~~~~~~~ src/acme.c:1401:37: error: ‘HTTP_STATUS_OK’ undeclared (first use in this function); did you mean ‘ASYNC_STATUS_OK’? 1401 | if (req.curl.http.status != HTTP_STATUS_OK) { | ^~~~~~~~~~~~~~ | ASYNC_STATUS_OK src/curl.c:523:30: warning: implicit declaration of function ‘http_validate_header’ [-Wimplicit-function-declaration] 523 | if ((value = http_validate_header(headers[i])) == NULL) | ^~~~~~~~~~~~~~~~~~~~ src/acme.c: In function ‘acme_request_run’: src/acme.c:1466:38: error: ‘HTTP_STATUS_BAD_REQUEST’ undeclared (first use in this function) 1466 | if (req->curl.http.status == HTTP_STATUS_BAD_REQUEST) { | ^~~~~~~~~~~~~~~~~~~~~~~ src/curl.c:529:38: error: ‘http_header_pool’ undeclared (first use in this function); did you mean ‘http_header’? 529 | hdr = kore_pool_get(&http_header_pool); | ^~~~~~~~~~~~~~~~ | http_header src/curl.c:530:20: error: invalid use of undefined type ‘struct http_header’ 530 | hdr->header = headers[i]; | ^~ src/curl.c:531:20: error: invalid use of undefined type ‘struct http_header’ 531 | hdr->value = value; | ^~ src/curl.c:532:17: error: invalid use of undefined type ‘struct http_header’ 532 | TAILQ_INSERT_TAIL(&(client->http.resp_hdrs), hdr, list); | ^~~~~~~~~~~~~~~~~ src/curl.c:532:17: error: invalid use of undefined type ‘struct http_header’ 532 | TAILQ_INSERT_TAIL(&(client->http.resp_hdrs), hdr, list); | ^~~~~~~~~~~~~~~~~ src/curl.c:532:17: error: invalid use of undefined type ‘struct http_header’ 532 | TAILQ_INSERT_TAIL(&(client->http.resp_hdrs), hdr, list); | ^~~~~~~~~~~~~~~~~ src/curl.c:509:49: warning: unused variable ‘headers’ [-Wunused-variable] 509 | char *value, *hbuf, *headers[HTTP_REQ_HEADER_MAX]; | ^~~~~~~ make: *** [Makefile:278: obj/acme.o] Error 1 make: *** Waiting for unfinished jobs.... src/curl.c: In function ‘curl_process’: src/curl.c:636:25: warning: implicit declaration of function ‘http_request_wakeup’ [-Wimplicit-function-declaration] 636 | http_request_wakeup(client->req); | ^~~~~~~~~~~~~~~~~~~ make: *** [Makefile:278: obj/curl.o] Error 1 x86_64-pc-linux-gnu-gcc obj/cli.o -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0 -rdynamic -lssl -lcrypto -lpthread -lcurl -ldl -lcrypto -o kodev make[1]: Leaving directory '/var/tmp/portage/www-servers/kore-4.2.3/work/kore-4.2.3/kodev' * ERROR: www-servers/kore-4.2.3::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=www-servers/kore-4.2.3::gentoo'`, * the complete build log and the output of `emerge -pqv '=www-servers/kore-4.2.3::gentoo'`. * The complete build log is located at '/var/log/portage/www-servers:kore-4.2.3:20230902-204729.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/www-servers/kore-4.2.3/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/www-servers/kore-4.2.3/temp/environment'. * Working directory: '/var/tmp/portage/www-servers/kore-4.2.3/work/kore-4.2.3' * S: '/var/tmp/portage/www-servers/kore-4.2.3/work/kore-4.2.3'