+ 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_p11-0.3.1/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/pam_p11-0.3.1/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for pam_p11-0.3.1 /opt/pkg/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/pkg/include -I/usr/include -I/opt/pkg/include -I/opt/pkg/include -DLOCALEDIR=\"/opt/pkg/share/locale\" -DLIBDIR=\"/opt/pkg/lib\" -DTEST -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/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/pkg/include -I/usr/include -I/opt/pkg/include -I/opt/pkg/include -DLOCALEDIR=\"/opt/pkg/share/locale\" -DLIBDIR=\"/opt/pkg/lib\" -DTEST -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/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/pkg/include -I/usr/include -I/opt/pkg/include -I/opt/pkg/include -DLOCALEDIR=\"/opt/pkg/share/locale\" -DLIBDIR=\"/opt/pkg/lib\" -DTEST -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/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 gcc -DHAVE_CONFIG_H -I. -I.. -I/opt/pkg/include -I/usr/include -I/opt/pkg/include -I/opt/pkg/include -DLOCALEDIR=\"/opt/pkg/share/locale\" -DLIBDIR=\"/opt/pkg/lib\" -DTEST -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/usr/include -Wall -Wextra -Wno-unused-parameter -Werror -MT test_login-base64.o -MD -MP -MF .deps/test_login-base64.Tpo -c -o test_login-base64.o `test -f 'base64.c' || echo './'`base64.c gcc -DHAVE_CONFIG_H -I. -I.. -I/opt/pkg/include -I/usr/include -I/opt/pkg/include -I/opt/pkg/include -DLOCALEDIR=\"/opt/pkg/share/locale\" -DLIBDIR=\"/opt/pkg/lib\" -DTEST -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/usr/include -Wall -Wextra -Wno-unused-parameter -Werror -MT test_login-match_openssh.o -MD -MP -MF .deps/test_login-match_openssh.Tpo -c -o test_login-match_openssh.o `test -f 'match_openssh.c' || echo './'`match_openssh.c gcc -DHAVE_CONFIG_H -I. -I.. -I/opt/pkg/include -I/usr/include -I/opt/pkg/include -I/opt/pkg/include -DLOCALEDIR=\"/opt/pkg/share/locale\" -DLIBDIR=\"/opt/pkg/lib\" -DTEST -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/usr/include -Wall -Wextra -Wno-unused-parameter -Werror -MT test_login-match_opensc.o -MD -MP -MF .deps/test_login-match_opensc.Tpo -c -o test_login-match_opensc.o `test -f 'match_opensc.c' || echo './'`match_opensc.c gcc -DHAVE_CONFIG_H -I. -I.. -I/opt/pkg/include -I/usr/include -I/opt/pkg/include -I/opt/pkg/include -DLOCALEDIR=\"/opt/pkg/share/locale\" -DLIBDIR=\"/opt/pkg/lib\" -DTEST -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/usr/include -Wall -Wextra -Wno-unused-parameter -Werror -MT test_passwd-test.o -MD -MP -MF .deps/test_passwd-test.Tpo -c -o test_passwd-test.o `test -f 'test.c' || echo './'`test.c gcc -DHAVE_CONFIG_H -I. -I.. -I/opt/pkg/include -I/usr/include -I/opt/pkg/include -I/opt/pkg/include -DLOCALEDIR=\"/opt/pkg/share/locale\" -DLIBDIR=\"/opt/pkg/lib\" -DTEST -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/usr/include -Wall -Wextra -Wno-unused-parameter -Werror -MT test_passwd-passwd.o -MD -MP -MF .deps/test_passwd-passwd.Tpo -c -o test_passwd-passwd.o `test -f 'passwd.c' || echo './'`passwd.c In file included from login.c:23: /usr/include/security/pam_modules.h:38:2: error: unknown type name 'pam_handle_t' 38 | pam_handle_t *pamh, | ^~~~~~~~~~~~ /usr/include/security/pam_modules.h:45:2: error: unknown type name 'pam_handle_t' 45 | pam_handle_t *pamh, | ^~~~~~~~~~~~ /usr/include/security/pam_modules.h:52:2: error: unknown type name 'pam_handle_t' 52 | pam_handle_t *pamh, | ^~~~~~~~~~~~ /usr/include/security/pam_modules.h:59:2: error: unknown type name 'pam_handle_t' 59 | pam_handle_t *pamh, | ^~~~~~~~~~~~ /usr/include/security/pam_modules.h:66:2: error: unknown type name 'pam_handle_t' 66 | pam_handle_t *pamh, | ^~~~~~~~~~~~ /usr/include/security/pam_modules.h:80:2: error: unknown type name 'pam_handle_t' 80 | pam_handle_t *pamh, | ^~~~~~~~~~~~ /usr/include/security/pam_modules.h:92:2: error: unknown type name 'pam_handle_t' 92 | pam_handle_t *pamh, /* PAM handle */ | ^~~~~~~~~~~~ /usr/include/security/pam_modules.h:95:18: 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:8: 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.... In file included from passwd.c:23: /usr/include/security/pam_modules.h:38:2: error: unknown type name 'pam_handle_t' 38 | pam_handle_t *pamh, | ^~~~~~~~~~~~ /usr/include/security/pam_modules.h:45:2: error: unknown type name 'pam_handle_t' 45 | pam_handle_t *pamh, | ^~~~~~~~~~~~ /usr/include/security/pam_modules.h:52:2: error: unknown type name 'pam_handle_t' 52 | pam_handle_t *pamh, | ^~~~~~~~~~~~ /usr/include/security/pam_modules.h:59:2: error: unknown type name 'pam_handle_t' 59 | pam_handle_t *pamh, | ^~~~~~~~~~~~ /usr/include/security/pam_modules.h:66:2: error: unknown type name 'pam_handle_t' 66 | pam_handle_t *pamh, | ^~~~~~~~~~~~ /usr/include/security/pam_modules.h:80:2: error: unknown type name 'pam_handle_t' 80 | pam_handle_t *pamh, | ^~~~~~~~~~~~ /usr/include/security/pam_modules.h:92:2: error: unknown type name 'pam_handle_t' 92 | pam_handle_t *pamh, /* PAM handle */ | ^~~~~~~~~~~~ /usr/include/security/pam_modules.h:95:18: 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:8: error: unknown type name 'pam_handle_t' 104 | const pam_handle_t *pamh, | ^~~~~~~~~~~~ passwd.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); | ^~~~~~~~~~~~ passwd.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:646: test_passwd-passwd.o] Error 1 test.c: In function 'main': test.c:52:3: error: 'misc_conv' undeclared (first use in this function) 52 | misc_conv, | ^~~~~~~~~ test.c:52:3: note: each undeclared identifier is reported only once for each function it appears in gmake[2]: *** [Makefile:632: test_passwd-test.o] Error 1 test.c: In function 'main': test.c:52:3: error: 'misc_conv' undeclared (first use in this function) 52 | misc_conv, | ^~~~~~~~~ test.c:52:3: note: each undeclared identifier is reported only once for each function it appears in mv -f .deps/test_login-base64.Tpo .deps/test_login-base64.Po gmake[2]: *** [Makefile:548: test_login-test.o] Error 1 pam_p11.c: In function 'pam_vprompt': pam_p11.c:88:50: error: passing argument 3 of 'pam_get_item' from incompatible pointer type [-Werror=incompatible-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:10: note: expected 'void **' but argument is of type 'const void **' 189 | void ** item /* Address of place to put pointer */ | ~~~~~~~~^~~~ pam_p11.c:90:21: error: passing argument 2 of 'conv->conv' from incompatible pointer type [-Werror=incompatible-pointer-types] 90 | || conv->conv(1, (const struct pam_message **) msgp, &resp, conv->appdata_ptr) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | const struct pam_message ** pam_p11.c:90:21: 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:25: error: passing argument 2 of 'pam_get_user' from incompatible pointer type [-Werror=incompatible-pointer-types] 285 | r = pam_get_user(pamh, user, NULL); | ^~~~ | | | const char ** In file included from pam_p11.c:63: /usr/include/security/pam_appl.h:227:9: note: expected 'char **' but argument is of type 'const char **' 227 | char **user, /* User Name */ | ~~~~~~~^~~~ mv -f .deps/test_login-match_opensc.Tpo .deps/test_login-match_opensc.Po mv -f .deps/test_login-match_openssh.Tpo .deps/test_login-match_openssh.Po cc1: all warnings being treated as errors gmake[2]: *** [Makefile:576: test_login-pam_p11.o] Error 1 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 in /data/jenkins/workspace/pkgsrc-upstream-bulktest/security/pam-p11 *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/security/pam-p11