+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/pam-yubico-2.27nb5/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/pam-yubico-2.27nb5/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for pam-yubico-2.27nb5 Making all in . CC ykpamcfg.o CC drop_privs.lo CC util.lo CC pam_yubico.lo pam_yubico.c: In function 'authorize_user_token_ldap': pam_yubico.c:306:12: warning: implicit declaration of function 'ldap_initialize' [-Wimplicit-function-declaration] 306 | rc = ldap_initialize (&ld, cfg->ldap_uri); | ^~~~~~~~~~~~~~~ pam_yubico.c:327:25: error: 'LDAP_OPT_X_TLS_CACERTFILE' undeclared (first use in this function) 327 | ldap_set_option (0, LDAP_OPT_X_TLS_CACERTFILE, cfg->ldap_cacertfile); | ^~~~~~~~~~~~~~~~~~~~~~~~~ pam_yubico.c:327:25: note: each undeclared identifier is reported only once for each function it appears in pam_yubico.c:331:33: error: 'LDAP_OPT_X_TLS_CERTFILE' undeclared (first use in this function) 331 | rc = ldap_set_option (NULL, LDAP_OPT_X_TLS_CERTFILE, cfg->ldap_clientcertfile); | ^~~~~~~~~~~~~~~~~~~~~~~ pam_yubico.c:336:33: error: 'LDAP_OPT_X_TLS_KEYFILE' undeclared (first use in this function) 336 | rc = ldap_set_option (NULL, LDAP_OPT_X_TLS_KEYFILE, cfg->ldap_clientkeyfile); | ^~~~~~~~~~~~~~~~~~~~~~ pam_yubico.c:344:10: warning: implicit declaration of function 'ldap_start_tls_s' [-Wimplicit-function-declaration] 344 | rc = ldap_start_tls_s (ld, NULL, NULL); | ^~~~~~~~~~~~~~~~ In file included from pam_yubico.c:48: pam_yubico.c: In function 'pam_sm_authenticate': ykbzero.h:43:36: warning: implicit declaration of function 'memset_s'; did you mean 'memset'? [-Wimplicit-function-declaration] 43 | #define insecure_memzero(buf, len) memset_s(buf, len, 0, len) | ^~~~~~~~ pam_yubico.c:1312:7: note: in expansion of macro 'insecure_memzero' 1312 | insecure_memzero(onlypasswd, strlen(onlypasswd)); | ^~~~~~~~~~~~~~~~ *** [pam_yubico.lo] Error code 1 bmake[1]: stopped making "all-am" in /home/pbulk/build/security/pam-yubico/work/yubico-pam-2.27 bmake[1]: 1 error bmake[1]: stopped making "all-am" in /home/pbulk/build/security/pam-yubico/work/yubico-pam-2.27 bmake: stopped making "all" in /home/pbulk/build/security/pam-yubico/work/yubico-pam-2.27 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-bulktest/security/pam-yubico *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-bulktest/security/pam-yubico