=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/security/pam-p11", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] ===> Building for pam_p11-0.3.1nb2 /opt/pkg/bin/gmake all-recursive gmake[1]: Entering directory '/home/pbulk/work/security/pam-p11/work/pam_p11-0.3.1' Making all in po gmake[2]: Entering directory '/home/pbulk/work/security/pam-p11/work/pam_p11-0.3.1/po' gmake[2]: Nothing to be done for 'all'. gmake[2]: Leaving directory '/home/pbulk/work/security/pam-p11/work/pam_p11-0.3.1/po' Making all in src gmake[2]: Entering directory '/home/pbulk/work/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/lib/locale\" -DLIBDIR=\"/opt/pkg/lib\" -DTEST -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -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/lib/locale\" -DLIBDIR=\"/opt/pkg/lib\" -DTEST -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -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 In file included from login.c:23: /usr/include/security/pam_modules.h:36:9: error: unknown type name 'pam_handle_t' 36 | pam_handle_t *pamh, | ^~~~~~~~~~~~ /usr/include/security/pam_modules.h:43:9: error: unknown type name 'pam_handle_t' 43 | pam_handle_t *pamh, | ^~~~~~~~~~~~ /usr/include/security/pam_modules.h:50:9: error: unknown type name 'pam_handle_t' 50 | pam_handle_t *pamh, | ^~~~~~~~~~~~ /usr/include/security/pam_modules.h:57:9: error: unknown type name 'pam_handle_t' 57 | pam_handle_t *pamh, | ^~~~~~~~~~~~ /usr/include/security/pam_modules.h:64:9: error: unknown type name 'pam_handle_t' 64 | pam_handle_t *pamh, | ^~~~~~~~~~~~ /usr/include/security/pam_modules.h:78:9: error: unknown type name 'pam_handle_t' 78 | pam_handle_t *pamh, | ^~~~~~~~~~~~ /usr/include/security/pam_modules.h:90:9: error: unknown type name 'pam_handle_t' 90 | pam_handle_t *pamh, /* PAM handle */ | ^~~~~~~~~~~~ /usr/include/security/pam_modules.h:93:25: error: unknown type name 'pam_handle_t' 93 | void (*cleanup)(pam_handle_t *pamh, void *data, int pam_end_status) | ^~~~~~~~~~~~ /usr/include/security/pam_modules.h:102:15: error: unknown type name 'pam_handle_t' 102 | 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:558: 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:544: test_login-test.o] Error 1 gmake[2]: Leaving directory '/home/pbulk/work/security/pam-p11/work/pam_p11-0.3.1/src' gmake[1]: *** [Makefile:504: all-recursive] Error 1 gmake[1]: Leaving directory '/home/pbulk/work/security/pam-p11/work/pam_p11-0.3.1' gmake: *** [Makefile:415: all] Error 2 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/security/pam-p11 *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/security/pam-p11