+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/pam_p11-0.3.1nb2/work.log + su pbulk -c '"$@"' make /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/pam_p11-0.3.1nb2/work.log ===> Building for pam_p11-0.3.1nb2 /opt/local/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' gcc -DHAVE_CONFIG_H -I. -I.. -I/opt/local/include -I/usr/include -I/opt/local/include -I/opt/local/include -DLOCALEDIR=\"/opt/local/lib/locale\" -DLIBDIR=\"/opt/local/lib\" -DTEST -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/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 gcc -DHAVE_CONFIG_H -I. -I.. -I/opt/local/include -I/usr/include -I/opt/local/include -I/opt/local/include -DLOCALEDIR=\"/opt/local/lib/locale\" -DLIBDIR=\"/opt/local/lib\" -DTEST -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/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 gcc -DHAVE_CONFIG_H -I. -I.. -I/opt/local/include -I/usr/include -I/opt/local/include -I/opt/local/include -DLOCALEDIR=\"/opt/local/lib/locale\" -DLIBDIR=\"/opt/local/lib\" -DTEST -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/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 In file included from login.c:23: /usr/include/security/pam_modules.h:38:9: error: unknown type name 'pam_handle_t' 38 | pam_handle_t *pamh, | ^~~~~~~~~~~~ /usr/include/security/pam_modules.h:45:9: error: unknown type name 'pam_handle_t' 45 | pam_handle_t *pamh, | ^~~~~~~~~~~~ /usr/include/security/pam_modules.h:52:9: error: unknown type name 'pam_handle_t' 52 | pam_handle_t *pamh, | ^~~~~~~~~~~~ /usr/include/security/pam_modules.h:59:9: error: unknown type name 'pam_handle_t' 59 | pam_handle_t *pamh, | ^~~~~~~~~~~~ /usr/include/security/pam_modules.h:66:9: error: unknown type name 'pam_handle_t' 66 | pam_handle_t *pamh, | ^~~~~~~~~~~~ /usr/include/security/pam_modules.h:80:9: error: unknown type name 'pam_handle_t' 80 | pam_handle_t *pamh, | ^~~~~~~~~~~~ /usr/include/security/pam_modules.h:92:9: error: unknown type name 'pam_handle_t' 92 | pam_handle_t *pamh, /* PAM handle */ | ^~~~~~~~~~~~ /usr/include/security/pam_modules.h:95:25: error: unknown type name 'pam_handle_t' 95 | void (*cleanup)(pam_handle_t *pamh, void *data, int pam_end_status) | ^~~~~~~~~~~~ /usr/include/security/pam_modules.h:104:15: error: unknown type name 'pam_handle_t' 104 | const pam_handle_t *pamh, | ^~~~~~~~~~~~ login.c:25:24: error: unknown type name 'pam_handle_t' 25 | extern int pam_sm_test(pam_handle_t *pamh, int flags, int argc, const char **argv); | ^~~~~~~~~~~~ login.c:27:17: error: unknown type name 'pam_handle_t' 27 | int pam_sm_test(pam_handle_t *pamh, int flags, int argc, const char **argv) | ^~~~~~~~~~~~ gmake[2]: *** [Makefile:562: test_login-login.o] Error 1 gmake[2]: *** Waiting for unfinished jobs.... test.c: In function 'main': test.c:52:17: error: 'misc_conv' undeclared (first use in this function) 52 | misc_conv, | ^~~~~~~~~ test.c:52:17: note: each undeclared identifier is reported only once for each function it appears in gmake[2]: *** [Makefile:548: test_login-test.o] Error 1 pam_p11.c: In function 'pam_vprompt': pam_p11.c:88:57: warning: passing argument 3 of 'pam_get_item' from incompatible pointer type [-Wincompatible-pointer-types] 88 | if (PAM_SUCCESS != pam_get_item(pamh, PAM_CONV, (const void **) &conv) | ^~~~~~~~~~~~~~~~~~~~~ | | | const void ** In file included from pam_p11.c:63: /usr/include/security/pam_appl.h:189:17: note: expected 'void **' but argument is of type 'const void **' 189 | void ** item /* Address of place to put pointer */ | ~~~~~~~~^~~~ pam_p11.c:90:42: warning: passing argument 2 of 'conv->conv' from incompatible pointer type [-Wincompatible-pointer-types] 90 | || conv->conv(1, (const struct pam_message **) msgp, &resp, conv->appdata_ptr) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | const struct pam_message ** pam_p11.c:90:42: note: expected 'struct pam_message **' but argument is of type 'const struct pam_message **' pam_p11.c: In function 'module_refresh': pam_p11.c:285:32: warning: passing argument 2 of 'pam_get_user' from incompatible pointer type [-Wincompatible-pointer-types] 285 | r = pam_get_user(pamh, user, NULL); | ^~~~ | | | const char ** /usr/include/security/pam_appl.h:227:16: note: expected 'char **' but argument is of type 'const char **' 227 | char **user, /* User Name */ | ~~~~~~~^~~~ mv -f .deps/test_login-pam_p11.Tpo .deps/test_login-pam_p11.Po 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 making "all" in /data/jenkins/workspace/pkgsrc-trunk-x86_64/security/pam-p11 *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-trunk-x86_64/security/pam-p11