+ 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-fprint-0.2nb2/work.log
+ su pbulk -c '"$@"' make /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/pam-fprint-0.2nb2/work.log
===> Building for pam-fprint-0.2nb2
Making all in src
gmake[1]: Entering directory '/home/pbulk/build/security/pam-fprint/work/pam_fprint-0.2/src'
gcc -DPACKAGE_NAME=\"pam_fprint\" -DPACKAGE_TARNAME=\"pam_fprint\" -DPACKAGE_VERSION=\"0.2\" -DPACKAGE_STRING=\"pam_fprint\ 0.2\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"pam_fprint\" -DVERSION=\"0.2\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -I.   -I/opt/local/include -I/usr/include -I/opt/local/include/libfprint -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -MT pam_fprint_enroll-pam_fprint_enroll.o -MD -MP -MF .deps/pam_fprint_enroll-pam_fprint_enroll.Tpo -c -o pam_fprint_enroll-pam_fprint_enroll.o `test -f 'pam_fprint_enroll.c' || echo './'`pam_fprint_enroll.c
gcc -DPACKAGE_NAME=\"pam_fprint\" -DPACKAGE_TARNAME=\"pam_fprint\" -DPACKAGE_VERSION=\"0.2\" -DPACKAGE_STRING=\"pam_fprint\ 0.2\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"pam_fprint\" -DVERSION=\"0.2\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -I.   -I/opt/local/include -I/usr/include -fPIC -I/opt/local/include/libfprint -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -MT pam_fprint_so-pam_fprint.o -MD -MP -MF .deps/pam_fprint_so-pam_fprint.Tpo -c -o pam_fprint_so-pam_fprint.o `test -f 'pam_fprint.c' || echo './'`pam_fprint.c
In file included from pam_fprint.c:30:
/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,
      |               ^~~~~~~~~~~~
pam_fprint.c: In function 'send_info_msg':
pam_fprint.c:44:38: warning: passing argument 3 of 'pam_get_item' from incompatible pointer type [-Wincompatible-pointer-types]
   44 |     r = pam_get_item(pamh, PAM_CONV, (const void **) &pc);
      |                                      ^~~~~~~~~~~~~~~~~~~
      |                                      |
      |                                      const void **
In file included from pam_fprint.c:31:
/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_fprint.c:51:28: warning: passing argument 2 of 'pc->conv' from incompatible pointer type [-Wincompatible-pointer-types]
   51 |         return pc->conv(1, &msgp, &resp, pc->appdata_ptr);
      |                            ^~~~~
      |                            |
      |                            const struct pam_message **
pam_fprint.c:51:28: note: expected 'struct pam_message **' but argument is of type 'const struct pam_message **'
pam_fprint.c: In function 'send_err_msg':
pam_fprint.c:65:38: warning: passing argument 3 of 'pam_get_item' from incompatible pointer type [-Wincompatible-pointer-types]
   65 |     r = pam_get_item(pamh, PAM_CONV, (const void **) &pc);
      |                                      ^~~~~~~~~~~~~~~~~~~
      |                                      |
      |                                      const void **
/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_fprint.c:72:28: warning: passing argument 2 of 'pc->conv' from incompatible pointer type [-Wincompatible-pointer-types]
   72 |         return pc->conv(1, &msgp, &resp, pc->appdata_ptr);
      |                            ^~~~~
      |                            |
      |                            const struct pam_message **
pam_fprint.c:72:28: note: expected 'struct pam_message **' but argument is of type 'const struct pam_message **'
pam_fprint.c: At top level:
pam_fprint.c:217:11: error: expected ';' before 'int'
  217 | PAM_EXTERN int pam_sm_authenticate(pam_handle_t *pamh, int flags, int argc,
      |           ^~~~
      |           ;
pam_fprint.c: In function 'pam_sm_authenticate':
pam_fprint.c:228:39: warning: passing argument 3 of 'pam_get_item' from incompatible pointer type [-Wincompatible-pointer-types]
  228 |         pam_get_item(pamh, PAM_RHOST, (const void **)(const void*) &rhost);
      |                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                       |
      |                                       const void **
/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_fprint.c:234:32: warning: passing argument 2 of 'pam_get_user' from incompatible pointer type [-Wincompatible-pointer-types]
  234 |         r = pam_get_user(pamh, &username, 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 */
      |         ~~~~~~~^~~~
pam_fprint.c: At top level:
pam_fprint.c:256:11: error: expected ';' before 'int'
  256 | PAM_EXTERN int pam_sm_setcred(pam_handle_t *pamh, int flags, int argc,
      |           ^~~~
      |           ;
pam_fprint.c:262:11: error: expected ';' before 'int'
  262 | PAM_EXTERN int pam_sm_chauthtok(pam_handle_t *pamh, int flags, int argc,
      |           ^~~~
      |           ;
gmake[1]: *** [Makefile:293: pam_fprint_so-pam_fprint.o] Error 1
gmake[1]: *** Waiting for unfinished jobs....
mv -f .deps/pam_fprint_enroll-pam_fprint_enroll.Tpo .deps/pam_fprint_enroll-pam_fprint_enroll.Po
gmake[1]: Leaving directory '/home/pbulk/build/security/pam-fprint/work/pam_fprint-0.2/src'
gmake: *** [Makefile:204: all-recursive] Error 1
*** Error code 2

Stop.
bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-trunk-x86_64/security/pam-fprint
*** Error code 1

Stop.
bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-trunk-x86_64/security/pam-fprint