+ 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/cntlm-0.35.1nb1/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/cntlm-0.35.1nb1/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for cntlm-0.35.1nb1
Compiling utils.c
Compiling ntlm.c
ntlm.c: In function 'ntlm2_calc_resp':
ntlm.c:78:53: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'int64_t' {aka 'long int'} [-Wformat=]
   78 |   printf("NTLMv2:\n\t    Nonce: %s\n\tTimestamp: %lld\n", tmp, tw);
      |                                                  ~~~^          ~~
      |                                                     |          |
      |                                                     |          int64_t {aka long int}
      |                                                     long long int
      |                                                  %ld
ntlm.c: In function 'ntlm_hash_lm_password':
ntlm.c:154:2: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=]
  154 |  uppercase(strncpy(pass, password, MIN(14, strlen(password))));
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ntlm.c:29:
ntlm.c:154:44: note: length computed here
  154 |  uppercase(strncpy(pass, password, MIN(14, strlen(password))));
utils.h:32:28: note: in definition of macro 'MIN'
   32 | #define MIN(a, b)  ((a) < (b) ? (a) : (b))
      |                            ^
Compiling xcrypt.c
Compiling config.c
Compiling socket.c
Compiling acl.c
Compiling auth.c
Compiling http.c
Compiling proxy.c
proxy.c: In function 'proxy_thread':
proxy.c:919:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  919 |  int cd = (int)client;
      |           ^
proxy.c:914:21: warning: variable 'errdata' set but not used [-Wunused-but-set-variable]
  914 |  rr_data_t data[2], errdata;
      |                     ^~~~~~~
proxy.c: In function 'socks5_thread':
proxy.c:1390:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
 1390 |  int cd = (int)client;
      |           ^
proxy.c: In function 'main':
proxy.c:1944:33: error: 'LOG_PERROR' undeclared (first use in this function); did you mean 'LOG_ERR'?
 1944 |     openlog("cntlm", LOG_CONS | LOG_PERROR, LOG_DAEMON);
      |                                 ^~~~~~~~~~
      |                                 LOG_ERR
proxy.c:1944:33: note: each undeclared identifier is reported only once for each function it appears in
proxy.c:2621:58: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 2621 |        tid = pthread_create(&pthr, &pattr, proxy_thread, (void *)cd);
      |                                                          ^
proxy.c:2623:21: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 2623 |        proxy_thread((void *)cd);
      |                     ^
proxy.c:2625:58: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 2625 |       tid = pthread_create(&pthr, &pattr, socks5_thread, (void *)cd);
      |                                                          ^
*** [proxy.o] Error code 1

bmake: stopped in /home/pbulk/build/net/cntlm/work/cntlm-0.35.1
1 error

bmake: stopped in /home/pbulk/build/net/cntlm/work/cntlm-0.35.1
*** Error code 2

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

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/net/cntlm