=> "/opt/local/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-trunk-x86_64/security/pam-yubico", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] ===> Building for pam-yubico-2.27nb14 --- all-recursive --- Making all in . --- ykpamcfg.o --- --- drop_privs.lo --- CC drop_privs.lo --- ykpamcfg.o --- CC ykpamcfg.o --- util.lo --- CC util.lo --- pam_yubico.lo --- CC 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 '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 /tmp/work/security/pam-yubico/work/yubico-pam-2.27 bmake[1]: 1 error bmake[1]: stopped making "all-am" in /tmp/work/security/pam-yubico/work/yubico-pam-2.27 bmake: stopped making "all" in /tmp/work/security/pam-yubico/work/yubico-pam-2.27 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-trunk-x86_64/security/pam-yubico *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-trunk-x86_64/security/pam-yubico