+ 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-fprint-0.2nb2/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/pam-fprint-0.2nb2/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> 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/pkg/include -I/usr/include -I/opt/pkg/include/libfprint -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/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
mv -f .deps/pam_fprint_enroll-pam_fprint_enroll.Tpo .deps/pam_fprint_enroll-pam_fprint_enroll.Po
gcc -I/opt/pkg/include/libfprint -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/usr/include  -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -o pam_fprint_enroll pam_fprint_enroll-pam_fprint_enroll.o -L/opt/pkg/lib -lfprint 
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/pkg/include -I/usr/include -fPIC -I/opt/pkg/include/libfprint -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/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: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,
      |               ^~~~~~~~~~~~
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]: 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 in /data/jenkins/workspace/pkgsrc-upstream-trunk/security/pam-fprint
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/security/pam-fprint