+ local run_cmd + run_cmd=run_su + shift + run_su /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/pam_p11-0.3.1nb1/work.log + su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/pam_p11-0.3.1nb1/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for pam_p11-0.3.1nb1 /usr/pkg/bin/gmake all-recursive gmake[1]: Entering directory '/home/pbulk/build/security/pam-p11/work/pam_p11-0.3.1' Making all in po gmake[2]: Entering directory '/home/pbulk/build/security/pam-p11/work/pam_p11-0.3.1/po' gmake[2]: Nothing to be done for 'all'. gmake[2]: Leaving directory '/home/pbulk/build/security/pam-p11/work/pam_p11-0.3.1/po' Making all in src gmake[2]: Entering directory '/home/pbulk/build/security/pam-p11/work/pam_p11-0.3.1/src' cc -DHAVE_CONFIG_H -I. -I.. -DNO_STATIC_MODULES -DNO_STATIC_MODULES -I/usr/include -I/usr/pkg/include -I/usr/pkg/include -DLOCALEDIR=\"/usr/pkg/share/locale\" -DLIBDIR=\"/usr/pkg/lib\" -DTEST -pipe -O2 -DNO_STATIC_MODULES -DNO_STATIC_MODULES -I/usr/include -I/usr/pkg/include -Wall -Wextra -Wno-unused-parameter -Werror -MT test_login-test.o -MD -MP -MF .deps/test_login-test.Tpo -c -o test_login-test.o `test -f 'test.c' || echo './'`test.c cc -DHAVE_CONFIG_H -I. -I.. -DNO_STATIC_MODULES -DNO_STATIC_MODULES -I/usr/include -I/usr/pkg/include -I/usr/pkg/include -DLOCALEDIR=\"/usr/pkg/share/locale\" -DLIBDIR=\"/usr/pkg/lib\" -DTEST -pipe -O2 -DNO_STATIC_MODULES -DNO_STATIC_MODULES -I/usr/include -I/usr/pkg/include -Wall -Wextra -Wno-unused-parameter -Werror -MT test_login-login.o -MD -MP -MF .deps/test_login-login.Tpo -c -o test_login-login.o `test -f 'login.c' || echo './'`login.c mv -f .deps/test_login-login.Tpo .deps/test_login-login.Po cc -DHAVE_CONFIG_H -I. -I.. -DNO_STATIC_MODULES -DNO_STATIC_MODULES -I/usr/include -I/usr/pkg/include -I/usr/pkg/include -DLOCALEDIR=\"/usr/pkg/share/locale\" -DLIBDIR=\"/usr/pkg/lib\" -DTEST -pipe -O2 -DNO_STATIC_MODULES -DNO_STATIC_MODULES -I/usr/include -I/usr/pkg/include -Wall -Wextra -Wno-unused-parameter -Werror -MT test_login-pam_p11.o -MD -MP -MF .deps/test_login-pam_p11.Tpo -c -o test_login-pam_p11.o `test -f 'pam_p11.c' || echo './'`pam_p11.c mv -f .deps/test_login-test.Tpo .deps/test_login-test.Po cc -DHAVE_CONFIG_H -I. -I.. -DNO_STATIC_MODULES -DNO_STATIC_MODULES -I/usr/include -I/usr/pkg/include -I/usr/pkg/include -DLOCALEDIR=\"/usr/pkg/share/locale\" -DLIBDIR=\"/usr/pkg/lib\" -DTEST -pipe -O2 -DNO_STATIC_MODULES -DNO_STATIC_MODULES -I/usr/include -I/usr/pkg/include -Wall -Wextra -Wno-unused-parameter -Werror -MT test_login-base64.o -MD -MP -MF .deps/test_login-base64.Tpo -c -o test_login-base64.o `test -f 'base64.c' || echo './'`base64.c mv -f .deps/test_login-base64.Tpo .deps/test_login-base64.Po cc -DHAVE_CONFIG_H -I. -I.. -DNO_STATIC_MODULES -DNO_STATIC_MODULES -I/usr/include -I/usr/pkg/include -I/usr/pkg/include -DLOCALEDIR=\"/usr/pkg/share/locale\" -DLIBDIR=\"/usr/pkg/lib\" -DTEST -pipe -O2 -DNO_STATIC_MODULES -DNO_STATIC_MODULES -I/usr/include -I/usr/pkg/include -Wall -Wextra -Wno-unused-parameter -Werror -MT test_login-match_openssh.o -MD -MP -MF .deps/test_login-match_openssh.Tpo -c -o test_login-match_openssh.o `test -f 'match_openssh.c' || echo './'`match_openssh.c match_openssh.c: In function 'ssh1_line_to_key': match_openssh.c:71:2: error: 'RSA_new' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 71 | rsa = RSA_new(); | ^~~ In file included from /usr/include/openssl/x509.h:35, from match_openssh.c:11: /usr/include/openssl/rsa.h:201:28: note: declared here 201 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void); | ^~~~~~~ match_openssh.c:142:2: error: 'RSA_set0_key' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 142 | if (!RSA_set0_key(rsa, rsa_n, rsa_e, NULL)) | ^~ In file included from /usr/include/openssl/x509.h:35, from match_openssh.c:11: /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); | ^~~~~~~~~~~~ match_openssh.c:145:2: error: 'EVP_PKEY_assign' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 145 | EVP_PKEY_assign_RSA(key, rsa); | ^~~~~~~~~~~~~~~~~~~ In file included from match_openssh.c:9: /usr/include/openssl/evp.h:1328:5: note: declared here 1328 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key); | ^~~~~~~~~~~~~~~ match_openssh.c: In function 'ssh2_line_to_key': match_openssh.c:232:2: error: 'RSA_new' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 232 | rsa = RSA_new(); | ^~~ In file included from /usr/include/openssl/x509.h:35, from match_openssh.c:11: /usr/include/openssl/rsa.h:201:28: note: declared here 201 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void); | ^~~~~~~ match_openssh.c:235:2: error: 'RSA_set0_key' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 235 | if (!RSA_set0_key(rsa, rsa_n, rsa_e, NULL)) { | ^~ In file included from /usr/include/openssl/x509.h:35, from match_openssh.c:11: /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); | ^~~~~~~~~~~~ match_openssh.c:237:3: error: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 237 | RSA_free(rsa); | ^~~~~~~~ In file included from /usr/include/openssl/x509.h:35, from match_openssh.c:11: /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ match_openssh.c:241:2: error: 'EVP_PKEY_assign' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 241 | EVP_PKEY_assign_RSA(key, rsa); | ^~~~~~~~~~~~~~~~~~~ In file included from match_openssh.c:9: /usr/include/openssl/evp.h:1328:5: note: declared here 1328 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key); | ^~~~~~~~~~~~~~~ match_openssh.c: In function 'ssh_nistp_line_to_key': match_openssh.c:338:2: error: 'EC_KEY_new_by_curve_name' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 338 | ec_key = EC_KEY_new_by_curve_name(nid); | ^~~~~~ In file included from /usr/include/openssl/x509.h:32, from match_openssh.c:11: /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); | ^~~~~~~~~~~~~~~~~~~~~~~~ match_openssh.c:346:2: error: 'EC_KEY_set_public_key_affine_coordinates' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 346 | if (!EC_KEY_set_public_key_affine_coordinates(ec_key, x, y)) { | ^~ In file included from /usr/include/openssl/x509.h:32, from match_openssh.c:11: /usr/include/openssl/ec.h:1122:27: note: declared here 1122 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_public_key_affine_coordinates(EC_KEY *key, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ match_openssh.c:347:3: error: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 347 | EC_KEY_free(ec_key); | ^~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:32, from match_openssh.c:11: /usr/include/openssl/ec.h:1003:28: note: declared here 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ match_openssh.c:354:2: error: 'EVP_PKEY_assign' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 354 | EVP_PKEY_assign_EC_KEY(key, ec_key); | ^~~~~~~~~~~~~~~~~~~~~~ In file included from match_openssh.c:9: /usr/include/openssl/evp.h:1328:5: note: declared here 1328 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key); | ^~~~~~~~~~~~~~~ match_openssh.c: In function 'match_user_openssh': match_openssh.c:403:3: error: 'EVP_PKEY_cmp' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 403 | if (1 == EVP_PKEY_cmp(authkey, key)) { | ^~ In file included from match_openssh.c:9: /usr/include/openssl/evp.h:1418:5: note: declared here 1418 | int EVP_PKEY_cmp(const EVP_PKEY *a, const EVP_PKEY *b); | ^~~~~~~~~~~~ mv -f .deps/test_login-pam_p11.Tpo .deps/test_login-pam_p11.Po cc -DHAVE_CONFIG_H -I. -I.. -DNO_STATIC_MODULES -DNO_STATIC_MODULES -I/usr/include -I/usr/pkg/include -I/usr/pkg/include -DLOCALEDIR=\"/usr/pkg/share/locale\" -DLIBDIR=\"/usr/pkg/lib\" -DTEST -pipe -O2 -DNO_STATIC_MODULES -DNO_STATIC_MODULES -I/usr/include -I/usr/pkg/include -Wall -Wextra -Wno-unused-parameter -Werror -MT test_login-match_opensc.o -MD -MP -MF .deps/test_login-match_opensc.Tpo -c -o test_login-match_opensc.o `test -f 'match_opensc.c' || echo './'`match_opensc.c cc1: all warnings being treated as errors gmake[2]: *** [Makefile:604: test_login-match_openssh.o] Error 1 gmake[2]: *** Waiting for unfinished jobs.... match_opensc.c: In function 'match_user_opensc': match_opensc.c:51:3: error: 'EVP_PKEY_cmp' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 51 | if (1 == EVP_PKEY_cmp(authkey, key)) { | ^~ In file included from /usr/include/openssl/pem.h:22, from match_opensc.c:11: /usr/include/openssl/evp.h:1418:5: note: declared here 1418 | int EVP_PKEY_cmp(const EVP_PKEY *a, const EVP_PKEY *b); | ^~~~~~~~~~~~ cc1: all warnings being treated as errors gmake[2]: *** [Makefile:618: test_login-match_opensc.o] Error 1 gmake[2]: Leaving directory '/home/pbulk/build/security/pam-p11/work/pam_p11-0.3.1/src' gmake[1]: *** [Makefile:499: all-recursive] Error 1 gmake[1]: Leaving directory '/home/pbulk/build/security/pam-p11/work/pam_p11-0.3.1' gmake: *** [Makefile:410: all] Error 2 *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-netbsd-trunk-x86_64/security/pam-p11 *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-netbsd-trunk-x86_64/security/pam-p11