+ local run_cmd + run_cmd=run_su + shift + run_su /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/cjose-0.6.1nb1/work.log + su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/cjose-0.6.1nb1/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for cjose-0.6.1nb1 --- all-recursive --- Making all in . Making all in include Making all in src --- libcjose_la-version.lo --- --- libcjose_la-util.lo --- --- libcjose_la-version.lo --- /bin/sh ../libtool --tag=CC --mode=compile cc -DPACKAGE_NAME=\"cjose\" -DPACKAGE_TARNAME=\"cjose\" -DPACKAGE_VERSION=\"0.6.1\" -DPACKAGE_STRING=\"cjose\ 0.6.1\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"cjose\" -DVERSION=\"0.6.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBCRYPTO=1 -DHAVE_LIBJANSSON=1 -I. -I/include -I/usr/include -I/usr/pkg/include -std=gnu99 --pedantic -Wall -Werror -g -O2 -I../include -pipe -O2 -I/usr/include -I/usr/pkg/include -MT libcjose_la-version.lo -MD -MP -MF .deps/libcjose_la-version.Tpo -c -o libcjose_la-version.lo `test -f 'version.c' || echo './'`version.c --- libcjose_la-util.lo --- /bin/sh ../libtool --tag=CC --mode=compile cc -DPACKAGE_NAME=\"cjose\" -DPACKAGE_TARNAME=\"cjose\" -DPACKAGE_VERSION=\"0.6.1\" -DPACKAGE_STRING=\"cjose\ 0.6.1\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"cjose\" -DVERSION=\"0.6.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBCRYPTO=1 -DHAVE_LIBJANSSON=1 -I. -I/include -I/usr/include -I/usr/pkg/include -std=gnu99 --pedantic -Wall -Werror -g -O2 -I../include -pipe -O2 -I/usr/include -I/usr/pkg/include -MT libcjose_la-util.lo -MD -MP -MF .deps/libcjose_la-util.Tpo -c -o libcjose_la-util.lo `test -f 'util.c' || echo './'`util.c libtool: compile: cc -DPACKAGE_NAME=\"cjose\" -DPACKAGE_TARNAME=\"cjose\" -DPACKAGE_VERSION=\"0.6.1\" "-DPACKAGE_STRING=\"cjose 0.6.1\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"cjose\" -DVERSION=\"0.6.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBCRYPTO=1 -DHAVE_LIBJANSSON=1 -I. -I/home/pbulk/build/textproc/cjose/work/.buildlink/include -std=gnu99 --pedantic -Wall -Werror -g -O2 -I../include -pipe -O2 -MT libcjose_la-util.lo -MD -MP -MF .deps/libcjose_la-util.Tpo -c util.c -fPIC -DPIC -o .libs/libcjose_la-util.o --- libcjose_la-version.lo --- libtool: compile: cc -DPACKAGE_NAME=\"cjose\" -DPACKAGE_TARNAME=\"cjose\" -DPACKAGE_VERSION=\"0.6.1\" "-DPACKAGE_STRING=\"cjose 0.6.1\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"cjose\" -DVERSION=\"0.6.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBCRYPTO=1 -DHAVE_LIBJANSSON=1 -I. -I/home/pbulk/build/textproc/cjose/work/.buildlink/include -std=gnu99 --pedantic -Wall -Werror -g -O2 -I../include -pipe -O2 -MT libcjose_la-version.lo -MD -MP -MF .deps/libcjose_la-version.Tpo -c version.c -fPIC -DPIC -o .libs/libcjose_la-version.o libtool: compile: cc -DPACKAGE_NAME=\"cjose\" -DPACKAGE_TARNAME=\"cjose\" -DPACKAGE_VERSION=\"0.6.1\" "-DPACKAGE_STRING=\"cjose 0.6.1\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"cjose\" -DVERSION=\"0.6.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBCRYPTO=1 -DHAVE_LIBJANSSON=1 -I. -I/home/pbulk/build/textproc/cjose/work/.buildlink/include -std=gnu99 --pedantic -Wall -Werror -g -O2 -I../include -pipe -O2 -MT libcjose_la-version.lo -MD -MP -MF .deps/libcjose_la-version.Tpo -c version.c -o libcjose_la-version.o >/dev/null 2>&1 mv -f .deps/libcjose_la-version.Tpo .deps/libcjose_la-version.Plo --- libcjose_la-base64.lo --- /bin/sh ../libtool --tag=CC --mode=compile cc -DPACKAGE_NAME=\"cjose\" -DPACKAGE_TARNAME=\"cjose\" -DPACKAGE_VERSION=\"0.6.1\" -DPACKAGE_STRING=\"cjose\ 0.6.1\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"cjose\" -DVERSION=\"0.6.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBCRYPTO=1 -DHAVE_LIBJANSSON=1 -I. -I/include -I/usr/include -I/usr/pkg/include -std=gnu99 --pedantic -Wall -Werror -g -O2 -I../include -pipe -O2 -I/usr/include -I/usr/pkg/include -MT libcjose_la-base64.lo -MD -MP -MF .deps/libcjose_la-base64.Tpo -c -o libcjose_la-base64.lo `test -f 'base64.c' || echo './'`base64.c --- libcjose_la-util.lo --- libtool: compile: cc -DPACKAGE_NAME=\"cjose\" -DPACKAGE_TARNAME=\"cjose\" -DPACKAGE_VERSION=\"0.6.1\" "-DPACKAGE_STRING=\"cjose 0.6.1\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"cjose\" -DVERSION=\"0.6.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBCRYPTO=1 -DHAVE_LIBJANSSON=1 -I. -I/home/pbulk/build/textproc/cjose/work/.buildlink/include -std=gnu99 --pedantic -Wall -Werror -g -O2 -I../include -pipe -O2 -MT libcjose_la-util.lo -MD -MP -MF .deps/libcjose_la-util.Tpo -c util.c -o libcjose_la-util.o >/dev/null 2>&1 --- libcjose_la-base64.lo --- libtool: compile: cc -DPACKAGE_NAME=\"cjose\" -DPACKAGE_TARNAME=\"cjose\" -DPACKAGE_VERSION=\"0.6.1\" "-DPACKAGE_STRING=\"cjose 0.6.1\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"cjose\" -DVERSION=\"0.6.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBCRYPTO=1 -DHAVE_LIBJANSSON=1 -I. -I/home/pbulk/build/textproc/cjose/work/.buildlink/include -std=gnu99 --pedantic -Wall -Werror -g -O2 -I../include -pipe -O2 -MT libcjose_la-base64.lo -MD -MP -MF .deps/libcjose_la-base64.Tpo -c base64.c -fPIC -DPIC -o .libs/libcjose_la-base64.o --- libcjose_la-util.lo --- mv -f .deps/libcjose_la-util.Tpo .deps/libcjose_la-util.Plo --- libcjose_la-concatkdf.lo --- /bin/sh ../libtool --tag=CC --mode=compile cc -DPACKAGE_NAME=\"cjose\" -DPACKAGE_TARNAME=\"cjose\" -DPACKAGE_VERSION=\"0.6.1\" -DPACKAGE_STRING=\"cjose\ 0.6.1\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"cjose\" -DVERSION=\"0.6.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBCRYPTO=1 -DHAVE_LIBJANSSON=1 -I. -I/include -I/usr/include -I/usr/pkg/include -std=gnu99 --pedantic -Wall -Werror -g -O2 -I../include -pipe -O2 -I/usr/include -I/usr/pkg/include -MT libcjose_la-concatkdf.lo -MD -MP -MF .deps/libcjose_la-concatkdf.Tpo -c -o libcjose_la-concatkdf.lo `test -f 'concatkdf.c' || echo './'`concatkdf.c libtool: compile: cc -DPACKAGE_NAME=\"cjose\" -DPACKAGE_TARNAME=\"cjose\" -DPACKAGE_VERSION=\"0.6.1\" "-DPACKAGE_STRING=\"cjose 0.6.1\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"cjose\" -DVERSION=\"0.6.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBCRYPTO=1 -DHAVE_LIBJANSSON=1 -I. -I/home/pbulk/build/textproc/cjose/work/.buildlink/include -std=gnu99 --pedantic -Wall -Werror -g -O2 -I../include -pipe -O2 -MT libcjose_la-concatkdf.lo -MD -MP -MF .deps/libcjose_la-concatkdf.Tpo -c concatkdf.c -fPIC -DPIC -o .libs/libcjose_la-concatkdf.o --- libcjose_la-base64.lo --- libtool: compile: cc -DPACKAGE_NAME=\"cjose\" -DPACKAGE_TARNAME=\"cjose\" -DPACKAGE_VERSION=\"0.6.1\" "-DPACKAGE_STRING=\"cjose 0.6.1\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"cjose\" -DVERSION=\"0.6.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBCRYPTO=1 -DHAVE_LIBJANSSON=1 -I. -I/home/pbulk/build/textproc/cjose/work/.buildlink/include -std=gnu99 --pedantic -Wall -Werror -g -O2 -I../include -pipe -O2 -MT libcjose_la-base64.lo -MD -MP -MF .deps/libcjose_la-base64.Tpo -c base64.c -o libcjose_la-base64.o >/dev/null 2>&1 --- libcjose_la-concatkdf.lo --- libtool: compile: cc -DPACKAGE_NAME=\"cjose\" -DPACKAGE_TARNAME=\"cjose\" -DPACKAGE_VERSION=\"0.6.1\" "-DPACKAGE_STRING=\"cjose 0.6.1\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"cjose\" -DVERSION=\"0.6.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBCRYPTO=1 -DHAVE_LIBJANSSON=1 -I. -I/home/pbulk/build/textproc/cjose/work/.buildlink/include -std=gnu99 --pedantic -Wall -Werror -g -O2 -I../include -pipe -O2 -MT libcjose_la-concatkdf.lo -MD -MP -MF .deps/libcjose_la-concatkdf.Tpo -c concatkdf.c -o libcjose_la-concatkdf.o >/dev/null 2>&1 --- libcjose_la-base64.lo --- mv -f .deps/libcjose_la-base64.Tpo .deps/libcjose_la-base64.Plo --- libcjose_la-jwk.lo --- /bin/sh ../libtool --tag=CC --mode=compile cc -DPACKAGE_NAME=\"cjose\" -DPACKAGE_TARNAME=\"cjose\" -DPACKAGE_VERSION=\"0.6.1\" -DPACKAGE_STRING=\"cjose\ 0.6.1\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"cjose\" -DVERSION=\"0.6.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBCRYPTO=1 -DHAVE_LIBJANSSON=1 -I. -I/include -I/usr/include -I/usr/pkg/include -std=gnu99 --pedantic -Wall -Werror -g -O2 -I../include -pipe -O2 -I/usr/include -I/usr/pkg/include -MT libcjose_la-jwk.lo -MD -MP -MF .deps/libcjose_la-jwk.Tpo -c -o libcjose_la-jwk.lo `test -f 'jwk.c' || echo './'`jwk.c libtool: compile: cc -DPACKAGE_NAME=\"cjose\" -DPACKAGE_TARNAME=\"cjose\" -DPACKAGE_VERSION=\"0.6.1\" "-DPACKAGE_STRING=\"cjose 0.6.1\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"cjose\" -DVERSION=\"0.6.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBCRYPTO=1 -DHAVE_LIBJANSSON=1 -I. -I/home/pbulk/build/textproc/cjose/work/.buildlink/include -std=gnu99 --pedantic -Wall -Werror -g -O2 -I../include -pipe -O2 -MT libcjose_la-jwk.lo -MD -MP -MF .deps/libcjose_la-jwk.Tpo -c jwk.c -fPIC -DPIC -o .libs/libcjose_la-jwk.o --- libcjose_la-concatkdf.lo --- mv -f .deps/libcjose_la-concatkdf.Tpo .deps/libcjose_la-concatkdf.Plo --- libcjose_la-jwe.lo --- /bin/sh ../libtool --tag=CC --mode=compile cc -DPACKAGE_NAME=\"cjose\" -DPACKAGE_TARNAME=\"cjose\" -DPACKAGE_VERSION=\"0.6.1\" -DPACKAGE_STRING=\"cjose\ 0.6.1\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"cjose\" -DVERSION=\"0.6.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBCRYPTO=1 -DHAVE_LIBJANSSON=1 -I. -I/include -I/usr/include -I/usr/pkg/include -std=gnu99 --pedantic -Wall -Werror -g -O2 -I../include -pipe -O2 -I/usr/include -I/usr/pkg/include -MT libcjose_la-jwe.lo -MD -MP -MF .deps/libcjose_la-jwe.Tpo -c -o libcjose_la-jwe.lo `test -f 'jwe.c' || echo './'`jwe.c --- libcjose_la-jwk.lo --- jwk.c: In function '_cjose_jwk_rsa_get': jwk.c:58:5: error: 'RSA_get0_key' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 58 | RSA_get0_key(rsa, (const BIGNUM **)rsa_n, (const BIGNUM **)rsa_e, (const BIGNUM **)rsa_d); | ^~~~~~~~~~~~ In file included from ../include/cjose/util.h:21, from jwk.c:12: /usr/include/openssl/rsa.h:217:28: note: declared here 217 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, | ^~~~~~~~~~~~ jwk.c: In function '_cjose_jwk_rsa_set': jwk.c:82:5: error: 'RSA_set0_key' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 82 | return RSA_set0_key(rsa, rsa_n, rsa_e, rsa_d) == 1; | ^~~~~~ In file included from ../include/cjose/util.h:21, from jwk.c:12: /usr/include/openssl/rsa.h:207:27: note: declared here 207 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d); | ^~~~~~~~~~~~ jwk.c: In function '_cjose_jwk_rsa_get_factors': jwk.c:94:5: error: 'RSA_get0_factors' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 94 | RSA_get0_factors(rsa, (const BIGNUM **)p, (const BIGNUM **)q); | ^~~~~~~~~~~~~~~~ In file included from ../include/cjose/util.h:21, from jwk.c:12: /usr/include/openssl/rsa.h:220:28: note: declared here 220 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_factors(const RSA *r, | ^~~~~~~~~~~~~~~~ jwk.c: In function '_cjose_jwk_rsa_set_factors': jwk.c:111:5: error: 'RSA_set0_factors' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 111 | RSA_set0_factors(rsa, rsa_p, rsa_q); | ^~~~~~~~~~~~~~~~ In file included from ../include/cjose/util.h:21, from jwk.c:12: /usr/include/openssl/rsa.h:208:27: note: declared here 208 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_factors(RSA *r, BIGNUM *p, BIGNUM *q); | ^~~~~~~~~~~~~~~~ jwk.c: In function '_cjose_jwk_rsa_get_crt': jwk.c:121:5: error: 'RSA_get0_crt_params' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 121 | RSA_get0_crt_params(rsa, (const BIGNUM **)dmp1, (const BIGNUM **)dmq1, (const BIGNUM **)iqmp); | ^~~~~~~~~~~~~~~~~~~ In file included from ../include/cjose/util.h:21, from jwk.c:12: /usr/include/openssl/rsa.h:225:28: note: declared here 225 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_crt_params(const RSA *r, | ^~~~~~~~~~~~~~~~~~~ jwk.c: In function '_cjose_jwk_rsa_set_crt': jwk.c:142:5: error: 'RSA_set0_crt_params' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 142 | RSA_set0_crt_params(rsa, rsa_dmp1, rsa_dmq1, rsa_iqmp); | ^~~~~~~~~~~~~~~~~~~ In file included from ../include/cjose/util.h:21, from jwk.c:12: /usr/include/openssl/rsa.h:209:27: note: declared here 209 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_crt_params(RSA *r, | ^~~~~~~~~~~~~~~~~~~ jwk.c: In function '_EC_free': jwk.c:636:13: error: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 636 | EC_KEY_free(ec); | ^~~~~~~~~~~ In file included from include/jwk_int.h:20, from jwk.c:8: /usr/include/openssl/ec.h:1003:28: note: declared here 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ jwk.c: In function '_EC_public_fields': jwk.c:670:5: error: 'EC_KEY_get0_public_key' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 670 | pub = EC_KEY_get0_public_key(keydata->key); | ^~~ In file included from include/jwk_int.h:20, from jwk.c:8: /usr/include/openssl/ec.h:1062:39: note: declared here 1062 | OSSL_DEPRECATEDIN_3_0 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~~~~ jwk.c:671:5: error: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 671 | params = EC_KEY_get0_group(keydata->key); | ^~~~~~ In file included from include/jwk_int.h:20, from jwk.c:8: /usr/include/openssl/ec.h:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ jwk.c:686:5: error: 'EC_POINT_get_affine_coordinates_GFp' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 686 | if (1 != EC_POINT_get_affine_coordinates_GFp(params, pub, bnX, bnY, NULL)) | ^~ In file included from include/jwk_int.h:20, from jwk.c:8: /usr/include/openssl/ec.h:659:27: note: declared here 659 | OSSL_DEPRECATEDIN_3_0 int EC_POINT_get_affine_coordinates_GFp | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jwk.c: In function '_EC_private_fields': jwk.c:760:5: error: 'EC_KEY_get0_private_key' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 760 | const BIGNUM *bnD = EC_KEY_get0_private_key(keydata->key); | ^~~~~ In file included from include/jwk_int.h:20, from jwk.c:8: /usr/include/openssl/ec.h:1048:37: note: declared here 1048 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *EC_KEY_get0_private_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~~~~~ jwk.c: In function 'cjose_jwk_create_EC_random': jwk.c:819:5: error: 'EC_KEY_new_by_curve_name' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 819 | ec = EC_KEY_new_by_curve_name(crv); | ^~ In file included from include/jwk_int.h:20, from jwk.c:8: /usr/include/openssl/ec.h:998:31: note: declared here 998 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new_by_curve_name(int nid); | ^~~~~~~~~~~~~~~~~~~~~~~~ jwk.c:826:5: error: 'EC_KEY_generate_key' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 826 | if (1 != EC_KEY_generate_key(ec)) | ^~ In file included from include/jwk_int.h:20, from jwk.c:8: /usr/include/openssl/ec.h:1101:27: note: declared here 1101 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_generate_key(EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~ jwk.c:848:9: error: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 848 | EC_KEY_free(ec); | ^~~~~~~~~~~ In file included from include/jwk_int.h:20, from jwk.c:8: /usr/include/openssl/ec.h:1003:28: note: declared here 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ jwk.c: In function 'cjose_jwk_create_EC_spec': jwk.c:879:5: error: 'EC_KEY_new_by_curve_name' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 879 | ec = EC_KEY_new_by_curve_name(spec->crv); | ^~ In file included from include/jwk_int.h:20, from jwk.c:8: /usr/include/openssl/ec.h:998:31: note: declared here 998 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new_by_curve_name(int nid); | ^~~~~~~~~~~~~~~~~~~~~~~~ jwk.c:886:5: error: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 886 | params = (EC_GROUP *)EC_KEY_get0_group(ec); | ^~~~~~ In file included from include/jwk_int.h:20, from jwk.c:8: /usr/include/openssl/ec.h:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ jwk.c:902:9: error: 'EC_KEY_set_private_key' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 902 | if (1 != EC_KEY_set_private_key(ec, bnD)) | ^~ In file included from include/jwk_int.h:20, from jwk.c:8: /usr/include/openssl/ec.h:1056:27: note: declared here 1056 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_private_key(EC_KEY *key, const BIGNUM *prv); | ^~~~~~~~~~~~~~~~~~~~~~ jwk.c:942:9: error: 'EC_POINT_set_affine_coordinates_GFp' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 942 | if (1 != EC_POINT_set_affine_coordinates_GFp(params, Q, bnX, bnY, NULL)) | ^~ In file included from include/jwk_int.h:20, from jwk.c:8: /usr/include/openssl/ec.h:646:27: note: declared here 646 | OSSL_DEPRECATEDIN_3_0 int EC_POINT_set_affine_coordinates_GFp | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jwk.c:950:5: error: 'EC_KEY_set_public_key' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 950 | if (1 != EC_KEY_set_public_key(ec, Q)) | ^~ In file included from include/jwk_int.h:20, from jwk.c:8: /usr/include/openssl/ec.h:1070:27: note: declared here 1070 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_public_key(EC_KEY *key, const EC_POINT *pub); | ^~~~~~~~~~~~~~~~~~~~~ jwk.c:973:9: error: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 973 | EC_KEY_free(ec); | ^~~~~~~~~~~ In file included from include/jwk_int.h:20, from jwk.c:8: /usr/include/openssl/ec.h:1003:28: note: declared here 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ jwk.c: In function '_RSA_new': jwk.c:1034:5: error: 'RSA_size' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 1034 | jwk->keysize = RSA_size(rsa) * 8; | ^~~ In file included from ../include/cjose/util.h:21, from jwk.c:12: /usr/include/openssl/rsa.h:204:27: note: declared here 204 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); | ^~~~~~~~ jwk.c: In function '_RSA_free': jwk.c:1047:9: error: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 1047 | RSA_free(rsa); | ^~~~~~~~ In file included from ../include/cjose/util.h:21, from jwk.c:12: /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ jwk.c: In function 'cjose_jwk_create_RSA_random': jwk.c:1182:5: error: 'RSA_new' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 1182 | rsa = RSA_new(); | ^~~ In file included from ../include/cjose/util.h:21, from jwk.c:12: /usr/include/openssl/rsa.h:201:28: note: declared here 201 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void); | ^~~~~~~ jwk.c:1196:5: error: 'RSA_generate_key_ex' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 1196 | if (0 == RSA_generate_key_ex(rsa, keysize, bn, NULL)) | ^~ In file included from ../include/cjose/util.h:21, from jwk.c:12: /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, | ^~~~~~~~~~~~~~~~~~~ jwk.c:1212:9: error: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 1212 | RSA_free(rsa); | ^~~~~~~~ In file included from ../include/cjose/util.h:21, from jwk.c:12: /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ jwk.c: In function 'cjose_jwk_create_RSA_spec': jwk.c:1234:5: error: 'RSA_new' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 1234 | rsa = RSA_new(); | ^~~ In file included from ../include/cjose/util.h:21, from jwk.c:12: /usr/include/openssl/rsa.h:201:28: note: declared here 201 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void); | ^~~~~~~ jwk.c:1265:9: error: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 1265 | RSA_free(rsa); | ^~~~~~~~ In file included from ../include/cjose/util.h:21, from jwk.c:12: /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ jwk.c: In function '_cjose_jwk_evp_key_from_ec_key': jwk.c:1680:5: error: 'EVP_PKEY_set1_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 1680 | if (1 != EVP_PKEY_set1_EC_KEY(*key, ((struct _ec_keydata_int *)(jwk->keydata))->key)) | ^~ In file included from /usr/include/openssl/rand.h:23, from jwk.c:22: /usr/include/openssl/evp.h:1370:5: note: declared here 1370 | int EVP_PKEY_set1_EC_KEY(EVP_PKEY *pkey, struct ec_key_st *key); | ^~~~~~~~~~~~~~~~~~~~ --- libcjose_la-jwe.lo --- libtool: compile: cc -DPACKAGE_NAME=\"cjose\" -DPACKAGE_TARNAME=\"cjose\" -DPACKAGE_VERSION=\"0.6.1\" "-DPACKAGE_STRING=\"cjose 0.6.1\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"cjose\" -DVERSION=\"0.6.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBCRYPTO=1 -DHAVE_LIBJANSSON=1 -I. -I/home/pbulk/build/textproc/cjose/work/.buildlink/include -std=gnu99 --pedantic -Wall -Werror -g -O2 -I../include -pipe -O2 -MT libcjose_la-jwe.lo -MD -MP -MF .deps/libcjose_la-jwe.Tpo -c jwe.c -fPIC -DPIC -o .libs/libcjose_la-jwe.o jwe.c: In function '_cjose_jwe_encrypt_ek_aes_kw': jwe.c:515:5: error: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 515 | if (AES_set_encrypt_key(jwk->keydata, jwk->keysize, &akey) < 0) | ^~ In file included from jwe.c:19: /usr/include/openssl/aes.h:51:5: note: declared here 51 | int AES_set_encrypt_key(const unsigned char *userKey, const int bits, | ^~~~~~~~~~~~~~~~~~~ jwe.c:528:5: error: 'AES_wrap_key' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 528 | int len = AES_wrap_key(&akey, NULL, recipient->enc_key.raw, jwe->cek, jwe->cek_len); | ^~~ In file included from jwe.c:19: /usr/include/openssl/aes.h:97:5: note: declared here 97 | int AES_wrap_key(AES_KEY *key, const unsigned char *iv, | ^~~~~~~~~~~~ jwe.c: In function '_cjose_jwe_decrypt_ek_aes_kw': jwe.c:558:5: error: 'AES_set_decrypt_key' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 558 | if (AES_set_decrypt_key(jwk->keydata, jwk->keysize, &akey) < 0) | ^~ In file included from jwe.c:19: /usr/include/openssl/aes.h:54:5: note: declared here 54 | int AES_set_decrypt_key(const unsigned char *userKey, const int bits, | ^~~~~~~~~~~~~~~~~~~ jwe.c:570:5: error: 'AES_unwrap_key' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 570 | int len = AES_unwrap_key(&akey, (const unsigned char *)NULL, jwe->cek, (const unsigned char *)recipient->enc_key.raw, | ^~~ In file included from jwe.c:19: /usr/include/openssl/aes.h:101:5: note: declared here 101 | int AES_unwrap_key(AES_KEY *key, const unsigned char *iv, | ^~~~~~~~~~~~~~ jwe.c: In function '_cjose_jwe_encrypt_ek_rsa_padding': jwe.c:609:5: error: 'RSA_size' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 609 | recipient->enc_key.raw_len = RSA_size((RSA *)jwk->keydata); | ^~~~~~~~~ In file included from ../include/cjose/util.h:21, from jwe.c:11: /usr/include/openssl/rsa.h:204:27: note: declared here 204 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); | ^~~~~~~~ jwe.c:626:5: error: 'RSA_public_encrypt' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 626 | if (RSA_public_encrypt(jwe->cek_len, jwe->cek, recipient->enc_key.raw, (RSA *)jwk->keydata, padding) | ^~ In file included from ../include/cjose/util.h:21, from jwe.c:11: /usr/include/openssl/rsa.h:282:5: note: declared here 282 | int RSA_public_encrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~ jwe.c: In function '_cjose_jwe_decrypt_ek_rsa_padding': jwe.c:655:5: error: 'RSA_size' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 655 | size_t buflen = RSA_size((RSA *)jwk->keydata); | ^~~~~~ In file included from ../include/cjose/util.h:21, from jwe.c:11: /usr/include/openssl/rsa.h:204:27: note: declared here 204 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); | ^~~~~~~~ jwe.c:662:5: error: 'RSA_private_decrypt' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 662 | jwe->cek_len = RSA_private_decrypt(recipient->enc_key.raw_len, recipient->enc_key.raw, jwe->cek, (RSA *)jwk->keydata, padding); | ^~~ In file included from ../include/cjose/util.h:21, from jwe.c:11: /usr/include/openssl/rsa.h:291:5: note: declared here 291 | int RSA_private_decrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~~ --- libcjose_la-jwk.lo --- cc1: all warnings being treated as errors *** [libcjose_la-jwk.lo] Error code 1 bmake[1]: stopped in /home/pbulk/build/textproc/cjose/work/cjose-0.6.1/src --- libcjose_la-jwe.lo --- cc1: all warnings being treated as errors *** [libcjose_la-jwe.lo] Error code 1 bmake[1]: stopped in /home/pbulk/build/textproc/cjose/work/cjose-0.6.1/src 2 errors bmake[1]: stopped in /home/pbulk/build/textproc/cjose/work/cjose-0.6.1/src *** [all-recursive] Error code 1 bmake: stopped in /home/pbulk/build/textproc/cjose/work/cjose-0.6.1 1 error bmake: stopped in /home/pbulk/build/textproc/cjose/work/cjose-0.6.1 *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-netbsd-trunk-x86_64/textproc/cjose *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-netbsd-trunk-x86_64/textproc/cjose