+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/upclient-4.2.1.23nb4/work.log
+ su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/upclient-4.2.1.23nb4/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
WARNING: [license.mk] Every package should define a LICENSE.
===> Building for upclient-4.2.1.23nb4
--- bsd ---
/usr/pkg/bin/bmake  LDFLAGS='-Wl,-zrelro -Wl,-R/usr/pkg/lib -lkvm'  OBJECTS='stats-bsd.c network.c base64.c options.c'  CFLAGS='-DPKG_SYSCONFDIR="\"/usr/pkg/etc\"" -pipe -O2 -DPLATFORM_BSD -DCONFIGFILE=\"upclient.conf\"'  upclient
--- upclient ---
cc -DPKG_SYSCONFDIR="\"/usr/pkg/etc\"" -pipe -O2 -DPLATFORM_BSD -DCONFIGFILE=\"upclient.conf\" -Wl,-zrelro -Wl,-R/usr/pkg/lib -lkvm stats-bsd.c network.c base64.c options.c upclient.c -o upclient
stats-bsd.c:14:10: fatal error: kvm.h: No such file or directory
   14 | #include <kvm.h>
      |          ^~~~~~~
compilation terminated.
network.c: In function 'socket_write':
network.c:28:17: warning: implicit declaration of function 'write'; did you mean 'fwrite'? [-Wimplicit-function-declaration]
   28 |     write_ret = write(fd, buf+nwritten, nbytes-nwritten);
      |                 ^~~~~
      |                 fwrite
network.c: In function 'socket_read':
network.c:46:16: warning: implicit declaration of function 'read'; did you mean 'fread'? [-Wimplicit-function-declaration]
   46 |     read_ret = read(fd, buf+nread, nbytes-nread);
      |                ^~~~
      |                fread
base64.c: In function 'base64_encode':
base64.c:32:16: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration]
   32 |   int length = strlen((char *)string);
      |                ^~~~~~
base64.c:14:1: note: include '<string.h>' or provide a declaration of 'strlen'
   13 |   #include <syslog.h>
  +++ |+#include <string.h>
   14 | #endif
base64.c:32:16: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch]
   32 |   int length = strlen((char *)string);
      |                ^~~~~~
base64.c:32:16: note: include '<string.h>' or provide a declaration of 'strlen'
base64.c:35:44: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration]
   35 |   unsigned char *result = (unsigned char *)malloc(((length + 3 - length % 3) * 4 / 3 + 1) * sizeof(char));
      |                                            ^~~~~~
base64.c:14:1: note: include '<stdlib.h>' or provide a declaration of 'malloc'
   13 |   #include <syslog.h>
  +++ |+#include <stdlib.h>
   14 | #endif
base64.c:35:44: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch]
   35 |   unsigned char *result = (unsigned char *)malloc(((length + 3 - length % 3) * 4 / 3 + 1) * sizeof(char));
      |                                            ^~~~~~
base64.c:35:44: note: include '<stdlib.h>' or provide a declaration of 'malloc'
base64.c:41:5: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration]
   41 |     exit(1);
      |     ^~~~
base64.c:41:5: note: include '<stdlib.h>' or provide a declaration of 'exit'
base64.c:41:5: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch]
base64.c:41:5: note: include '<stdlib.h>' or provide a declaration of 'exit'
options.c: In function 'process_option':
options.c:75:6: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration]
   75 |   if(strcmp(key, "AuthKey") == 0) {
      |      ^~~~~~
options.c:12:1: note: include '<string.h>' or provide a declaration of 'strcmp'
   11 | #include "stdio.h"
  +++ |+#include <string.h>
   12 | 
options.c:76:8: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration]
   76 |     if(strlen(value) == AUTHKEY_REQUIRED_LEN) {
      |        ^~~~~~
options.c:76:8: note: include '<string.h>' or provide a declaration of 'strlen'
options.c:76:8: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch]
options.c:76:8: note: include '<string.h>' or provide a declaration of 'strlen'
options.c:77:7: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration]
   77 |       strcpy(cfg_authkey, value);
      |       ^~~~~~
options.c:77:7: note: include '<string.h>' or provide a declaration of 'strcpy'
options.c:77:7: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch]
options.c:77:7: note: include '<string.h>' or provide a declaration of 'strcpy'
options.c:80:7: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration]
   80 |       exit(-1);
      |       ^~~~
options.c:12:1: note: include '<stdlib.h>' or provide a declaration of 'exit'
   11 | #include "stdio.h"
  +++ |+#include <stdlib.h>
   12 | 
options.c:80:7: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch]
   80 |       exit(-1);
      |       ^~~~
options.c:80:7: note: include '<stdlib.h>' or provide a declaration of 'exit'
options.c:84:20: warning: implicit declaration of function 'atol' [-Wimplicit-function-declaration]
   84 |     cfg_interval = atol(value);
      |                    ^~~~
options.c:91:7: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch]
   91 |       exit(-1);
      |       ^~~~
options.c:91:7: note: include '<stdlib.h>' or provide a declaration of 'exit'
options.c:99:5: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch]
   99 |     strcpy(cfg_upserver, value);
      |     ^~~~~~
options.c:99:5: note: include '<string.h>' or provide a declaration of 'strcpy'
options.c:102:5: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch]
  102 |     strcpy(cfg_proxyserver, value);
      |     ^~~~~~
options.c:102:5: note: include '<string.h>' or provide a declaration of 'strcpy'
options.c:109:7: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch]
  109 |       exit(-1);
      |       ^~~~
options.c:109:7: note: include '<stdlib.h>' or provide a declaration of 'exit'
options.c:114:5: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch]
  114 |     strcpy(cfg_proxyuser, value);
      |     ^~~~~~
options.c:114:5: note: include '<string.h>' or provide a declaration of 'strcpy'
options.c:118:5: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch]
  118 |     strcpy(cfg_proxypass, value);
      |     ^~~~~~
options.c:118:5: note: include '<string.h>' or provide a declaration of 'strcpy'
options.c:122:5: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch]
  122 |     strcpy(cfg_pidfile, value);
      |     ^~~~~~
options.c:122:5: note: include '<string.h>' or provide a declaration of 'strcpy'
options.c:147:7: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch]
  147 |       exit(-1);
      |       ^~~~
options.c:147:7: note: include '<stdlib.h>' or provide a declaration of 'exit'
options.c: In function 'skipwhite':
options.c:170:9: warning: implicit declaration of function 'isblank' [-Wimplicit-function-declaration]
  170 |   while(isblank(line[pos]))
      |         ^~~~~~~
options.c:12:1: note: include '<ctype.h>' or provide a declaration of 'isblank'
   11 | #include "stdio.h"
  +++ |+#include <ctype.h>
   12 | 
options.c: In function 'isvalideol':
options.c:198:31: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch]
  198 |   if(line[pos] == '#' && line[strlen(line)-1] == '\n')
      |                               ^~~~~~
options.c:198:31: note: include '<string.h>' or provide a declaration of 'strlen'
options.c: In function 'getkey':
options.c:212:9: warning: implicit declaration of function 'isalnum' [-Wimplicit-function-declaration]
  212 |   while(isalnum(line[pos]) && i < MAX_KEY_LEN) {
      |         ^~~~~~~
options.c:212:9: note: include '<ctype.h>' or provide a declaration of 'isalnum'
options.c: In function 'getval':
options.c:243:9: warning: implicit declaration of function 'isgraph' [-Wimplicit-function-declaration]
  243 |   while(isgraph(line[pos]) && line[pos] != '#' && i < MAX_VAL_LEN) {
      |         ^~~~~~~
options.c:243:9: note: include '<ctype.h>' or provide a declaration of 'isgraph'
options.c: In function 'read_config':
options.c:300:7: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch]
  300 |       exit(-1);
      |       ^~~~
options.c:300:7: note: include '<stdlib.h>' or provide a declaration of 'exit'
options.c:310:13: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch]
  310 |     if(line[strlen(line)-1] != '\n') {
      |             ^~~~~~
options.c:310:13: note: include '<string.h>' or provide a declaration of 'strlen'
options.c:312:7: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch]
  312 |       exit(-1);
      |       ^~~~
options.c:312:7: note: include '<stdlib.h>' or provide a declaration of 'exit'
options.c:307:5: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result]
  307 |     fgets(line,MAX_LINE_LEN,fp);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~
In function 'getval',
    inlined from 'parseline' at options.c:270:13,
    inlined from 'read_config' at options.c:316:16:
options.c:248:12: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
  248 |   value[i] = '\0';
      |   ~~~~~~~~~^~~~~~
options.c: In function 'read_config':
options.c:291:8: note: at offset 256 into destination object 'value' of size 256
  291 |   char value[MAX_VAL_LEN];
      |        ^~~~~
upclient.c: In function 'main':
upclient.c:319:3: warning: implicit declaration of function 'read_config'; did you mean 'readconfig'? [-Wimplicit-function-declaration]
  319 |   read_config();
      |   ^~~~~~~~~~~
      |   readconfig
upclient.c: In function 'www_post':
cc1: warning: function may return address of local variable [-Wreturn-local-addr]
upclient.c:114:8: note: declared here
  114 |   char rec[4096];
      |        ^~~
*** [upclient] Error code 1

bmake[1]: stopped making "upclient" in /home/pbulk/build/net/upclient/work/upclient-4.2.1.23/src
bmake[1]: 1 error

bmake[1]: stopped making "upclient" in /home/pbulk/build/net/upclient/work/upclient-4.2.1.23/src
*** [bsd] Error code 2

bmake: stopped making "bsd" in /home/pbulk/build/net/upclient/work/upclient-4.2.1.23/src
bmake: 1 error

bmake: stopped making "bsd" in /home/pbulk/build/net/upclient/work/upclient-4.2.1.23/src
*** Error code 2

Stop.
bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/net/upclient
*** Error code 1

Stop.
bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/net/upclient