+ 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-yubico-2.17nb21/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/pam-yubico-2.17nb21/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for pam-yubico-2.17nb21
  CC       pam_yubico_la-pam_yubico.lo
pam_yubico.c: In function 'authorize_user_token_ldap':
pam_yubico.c:320:12: warning: implicit declaration of function 'ldap_initialize' [-Wimplicit-function-declaration]
  320 |       rc = ldap_initialize (&ld, cfg->ldap_uri);
      |            ^~~~~~~~~~~~~~~
pam_yubico.c: In function 'display_error':
pam_yubico.c:445:42: warning: passing argument 3 of 'pam_get_item' from incompatible pointer type [-Wincompatible-pointer-types]
  445 |   retval = pam_get_item (pamh, PAM_CONV, (const void **) &conv);
      |                                          ^~~~~~~~~~~~~~~~~~~~~
      |                                          |
      |                                          const void **
In file included from drop_privs.h:39,
                 from pam_yubico.c:46:
/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_yubico.c:452:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  452 |   msg[0].msg = message;
      |              ^
pam_yubico.c:454:26: warning: passing argument 2 of 'conv->conv' from incompatible pointer type [-Wincompatible-pointer-types]
  454 |   retval = conv->conv(1, pmsg, &resp, conv->appdata_ptr);
      |                          ^~~~
      |                          |
      |                          const struct pam_message **
pam_yubico.c:454:26: note: expected 'struct pam_message **' but argument is of type 'const struct pam_message **'
pam_yubico.c: In function 'pam_sm_authenticate':
pam_yubico.c:824:32: warning: passing argument 2 of 'pam_get_user' from incompatible pointer type [-Wincompatible-pointer-types]
  824 |   retval = pam_get_user (pamh, &user, NULL);
      |                                ^~~~~
      |                                |
      |                                const char **
In file included from drop_privs.h:39,
                 from pam_yubico.c:46:
/usr/include/security/pam_appl.h:227:9: note: expected 'char **' but argument is of type 'const char **'
  227 |  char **user,    /* User Name */
      |  ~~~~~~~^~~~
pam_yubico.c:844:49: warning: passing argument 3 of 'pam_get_item' from incompatible pointer type [-Wincompatible-pointer-types]
  844 |       retval = pam_get_item (pamh, PAM_AUTHTOK, (const void **) &password);
      |                                                 ^~~~~~~~~~~~~~~~~~~~~~~~~
      |                                                 |
      |                                                 const void **
In file included from drop_privs.h:39,
                 from pam_yubico.c:46:
/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_yubico.c:925:46: warning: passing argument 3 of 'pam_get_item' from incompatible pointer type [-Wincompatible-pointer-types]
  925 |       retval = pam_get_item (pamh, PAM_CONV, (const void **) &conv);
      |                                              ^~~~~~~~~~~~~~~~~~~~~
      |                                              |
      |                                              const void **
In file included from drop_privs.h:39,
                 from pam_yubico.c:46:
/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_yubico.c:955:35: warning: passing argument 2 of 'conv->conv' from incompatible pointer type [-Wincompatible-pointer-types]
  955 |       retval = conv->conv (nargs, pmsg, &resp, conv->appdata_ptr);
      |                                   ^~~~
      |                                   |
      |                                   const struct pam_message **
pam_yubico.c:955:35: note: expected 'struct pam_message **' but argument is of type 'const struct pam_message **'
*** [pam_yubico_la-pam_yubico.lo] Error code 1

bmake: stopped in /home/pbulk/build/security/pam-yubico/work/pam_yubico-2.17
1 error

bmake: stopped in /home/pbulk/build/security/pam-yubico/work/pam_yubico-2.17
*** Error code 2

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/security/pam-yubico
*** Error code 1

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