+ 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.27nb10/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/pam-yubico-2.27nb10/work.log ===> Building for pam-yubico-2.27nb10 --- all-recursive --- Making all in . --- ykpamcfg.o --- --- drop_privs.lo --- --- util.lo --- --- pam_yubico.lo --- --- ykpamcfg.o --- CC ykpamcfg.o --- drop_privs.lo --- CC drop_privs.lo --- util.lo --- CC util.lo --- pam_yubico.lo --- CC pam_yubico.lo --- ykpamcfg.1 --- /usr/bin/bash '/home/pbulk/build/security/pam-yubico/work/yubico-pam-2.27/build-aux/missing' a2x -L --format=manpage -a revdate="Version 2.27" ykpamcfg.1.txt --- pam_yubico.lo --- pam_yubico.c: In function 'authorize_user_token': pam_yubico.c:203:15: error: too many arguments to function 'getpwnam_r' 203 | pwres = getpwnam_r (username, &pass, buf, buflen, &p); | ^~~~~~~~~~ In file included from util.h:39, from pam_yubico.c:46: /usr/include/pwd.h:167:23: note: declared here 167 | extern struct passwd *getpwnam_r(const char *, struct passwd *, char *, int); | ^~~~~~~~~~ pam_yubico.c:203:13: warning: assignment to 'int' from 'struct passwd *' makes integer from pointer without a cast [-Wint-conversion] 203 | pwres = getpwnam_r (username, &pass, buf, buflen, &p); | ^ 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); | ^~~~~~~~~~~~~~~~ pam_yubico.c: In function 'do_challenge_response': pam_yubico.c:558:11: error: too many arguments to function 'getpwnam_r' 558 | pwres = getpwnam_r (username, &pass, pwbuf, pwbuflen, &p); | ^~~~~~~~~~ /usr/include/pwd.h:167:23: note: declared here 167 | extern struct passwd *getpwnam_r(const char *, struct passwd *, char *, int); | ^~~~~~~~~~ pam_yubico.c:558:9: warning: assignment to 'int' from 'struct passwd *' makes integer from pointer without a cast [-Wint-conversion] 558 | pwres = getpwnam_r (username, &pass, pwbuf, pwbuflen, &p); | ^ 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-trunk/security/pam-yubico *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/security/pam-yubico