+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/libp11-0.4.12/work.log + su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/libp11-0.4.12/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for libp11-0.4.12 Making all in src make[1]: Entering directory `/home/pbulk/build/security/libp11/work/libp11-0.4.12/src' /bin/make all-am make[2]: Entering directory `/home/pbulk/build/security/libp11/work/libp11-0.4.12/src' CC pkcs11_la-eng_front.lo CC pkcs11_la-eng_back.lo eng_front.c: In function 'get_ctx': eng_front.c:95:3: warning: 'ENGINE_get_ex_data' is deprecated (declared at /home/pbulk/build/security/libp11/work/.buildlink/include/openssl/engine.h:534): Since OpenSSL 3.0 [-Wdeprecated-declarations] ctx = ENGINE_get_ex_data(engine, pkcs11_idx); ^ eng_front.c:99:3: warning: 'ENGINE_set_ex_data' is deprecated (declared at /home/pbulk/build/security/libp11/work/.buildlink/include/openssl/engine.h:533): Since OpenSSL 3.0 [-Wdeprecated-declarations] ENGINE_set_ex_data(engine, pkcs11_idx, ctx); ^ eng_front.c: In function 'engine_destroy': eng_front.c:126:2: warning: 'ENGINE_set_ex_data' is deprecated (declared at /home/pbulk/build/security/libp11/work/.buildlink/include/openssl/engine.h:533): Since OpenSSL 3.0 [-Wdeprecated-declarations] ENGINE_set_ex_data(engine, pkcs11_idx, NULL); ^ eng_front.c: In function 'load_privkey': eng_front.c:193:2: warning: 'EVP_PKEY_set1_engine' is deprecated (declared at /home/pbulk/build/security/libp11/work/.buildlink/include/openssl/evp.h:1333): Since OpenSSL 3.0 [-Wdeprecated-declarations] if (pkey && !EVP_PKEY_set1_engine(pkey, engine)) { ^ eng_front.c: In function 'bind_helper': eng_front.c:215:2: warning: 'ENGINE_set_id' is deprecated (declared at /home/pbulk/build/security/libp11/work/.buildlink/include/openssl/engine.h:495): Since OpenSSL 3.0 [-Wdeprecated-declarations] if (!ENGINE_set_id(e, PKCS11_ENGINE_ID) || ^ eng_front.c:216:4: warning: 'ENGINE_set_destroy_function' is deprecated (declared at /home/pbulk/build/security/libp11/work/.buildlink/include/openssl/engine.h:503): Since OpenSSL 3.0 [-Wdeprecated-declarations] !ENGINE_set_destroy_function(e, engine_destroy) || ^ eng_front.c:217:4: warning: 'ENGINE_set_init_function' is deprecated (declared at /home/pbulk/build/security/libp11/work/.buildlink/include/openssl/engine.h:505): Since OpenSSL 3.0 [-Wdeprecated-declarations] !ENGINE_set_init_function(e, engine_init) || ^ eng_front.c:218:4: warning: 'ENGINE_set_finish_function' is deprecated (declared at /home/pbulk/build/security/libp11/work/.buildlink/include/openssl/engine.h:507): Since OpenSSL 3.0 [-Wdeprecated-declarations] !ENGINE_set_finish_function(e, engine_finish) || ^ eng_front.c:219:4: warning: 'ENGINE_set_ctrl_function' is deprecated (declared at /home/pbulk/build/security/libp11/work/.buildlink/include/openssl/engine.h:509): Since OpenSSL 3.0 [-Wdeprecated-declarations] !ENGINE_set_ctrl_function(e, engine_ctrl) || ^ eng_front.c:220:4: warning: 'ENGINE_set_cmd_defns' is deprecated (declared at /home/pbulk/build/security/libp11/work/.buildlink/include/openssl/engine.h:526): Since OpenSSL 3.0 [-Wdeprecated-declarations] !ENGINE_set_cmd_defns(e, engine_cmd_defns) || ^ eng_front.c:221:4: warning: 'ENGINE_set_name' is deprecated (declared at /home/pbulk/build/security/libp11/work/.buildlink/include/openssl/engine.h:496): Since OpenSSL 3.0 [-Wdeprecated-declarations] !ENGINE_set_name(e, PKCS11_ENGINE_NAME) || ^ eng_front.c:223:4: warning: 'ENGINE_set_RSA' is deprecated (declared at /home/pbulk/build/security/libp11/work/.buildlink/include/openssl/engine.h:497): Since OpenSSL 3.0 [-Wdeprecated-declarations] !ENGINE_set_RSA(e, PKCS11_get_rsa_method()) || ^ eng_front.c:228:4: warning: 'ENGINE_set_EC' is deprecated (declared at /home/pbulk/build/security/libp11/work/.buildlink/include/openssl/engine.h:499): Since OpenSSL 3.0 [-Wdeprecated-declarations] !ENGINE_set_EC(e, PKCS11_get_ec_key_method()) || ^ eng_front.c:238:4: warning: 'ENGINE_set_pkey_meths' is deprecated (declared at /home/pbulk/build/security/libp11/work/.buildlink/include/openssl/engine.h:522): Since OpenSSL 3.0 [-Wdeprecated-declarations] !ENGINE_set_pkey_meths(e, PKCS11_pkey_meths) || ^ eng_front.c:239:4: warning: 'ENGINE_set_load_pubkey_function' is deprecated (declared at /home/pbulk/build/security/libp11/work/.buildlink/include/openssl/engine.h:513): Since OpenSSL 3.0 [-Wdeprecated-declarations] !ENGINE_set_load_pubkey_function(e, load_pubkey) || ^ eng_front.c:240:4: warning: 'ENGINE_set_load_privkey_function' is deprecated (declared at /home/pbulk/build/security/libp11/work/.buildlink/include/openssl/engine.h:511): Since OpenSSL 3.0 [-Wdeprecated-declarations] !ENGINE_set_load_privkey_function(e, load_privkey)) { ^ CC pkcs11_la-eng_parse.lo CC pkcs11_la-eng_err.lo CC libp11_la-libpkcs11.lo CC libp11_la-p11_attr.lo p11_attr.c: In function 'pkcs11_zap_attrs': p11_attr.c:167:2: error: 'for' loop initial declarations are only allowed in C99 mode for (unsigned i = 0; i < 32; i++) { ^ p11_attr.c:167:2: note: use option -std=c99 or -std=gnu99 to compile your code make[2]: *** [libp11_la-p11_attr.lo] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory `/home/pbulk/build/security/libp11/work/libp11-0.4.12/src' make[1]: *** [all] Error 2 make[1]: Leaving directory `/home/pbulk/build/security/libp11/work/libp11-0.4.12/src' make: *** [all-recursive] Error 1 *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/security/libp11 *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/security/libp11