+ 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/kore-4.1.0nb3/work.log
+ su pbulk -c '"$@"' make /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/kore-4.1.0nb3/work.log
=> Bootstrap dependency digest>=20211023: found digest-20211023
===> Building for kore-4.1.0nb3
/usr/bin/mkdir -p /home/pbulk/build/www/kore/work/kore-4.1.0/obj
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -DLDAP_DEPRECATED -I/usr/include -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wshadow -Wpointer-arith -Wcast-qual -Wsign-compare -Iinclude/kore -Iobj -std=c99 -pedantic -Wtype-limits -DPREFIX='"/opt/local"' -fstack-protector-all -I/opt/local/include -DKORE_USE_TASKS -I/opt/local/include -DKORE_USE_CURL -c src/kore.c -o obj/kore.o
In file included from src/kore.c:30:
include/kore/kore.h:149:2: error: unknown type name 'u_int64_t'
  149 |  u_int64_t   mtime;
      |  ^~~~~~~~~
include/kore/kore.h:151:2: error: unknown type name 'u_int64_t'
  151 |  u_int64_t   expiration;
      |  ^~~~~~~~~
include/kore/kore.h:158:2: error: unknown type name 'u_int8_t'
  158 |  u_int8_t  *buf;
      |  ^~~~~~~~
include/kore/kore.h:162:2: error: unknown type name 'u_int8_t'
  162 |  u_int8_t  type;
      |  ^~~~~~~~
include/kore/kore.h:163:2: error: unknown type name 'u_int8_t'
  163 |  u_int8_t  flags;
      |  ^~~~~~~~
include/kore/kore.h:235:2: error: unknown type name 'u_int8_t'
  235 |  u_int8_t  state;
      |  ^~~~~~~~
include/kore/kore.h:236:2: error: unknown type name 'u_int8_t'
  236 |  u_int8_t  proto;
      |  ^~~~~~~~
include/kore/kore.h:242:2: error: unknown type name 'u_int16_t'
  242 |  u_int16_t  flags;
      |  ^~~~~~~~~
include/kore/kore.h:254:22: error: expected identifier or '(' before numeric constant
  254 |   struct sockaddr_un sun;
      |                      ^~~
include/kore/kore.h:255:2: error: no semicolon at end of struct or union [-Werror]
  255 |  } addr;
      |  ^
include/kore/kore.h:258:3: error: unknown type name 'u_int64_t'
  258 |   u_int64_t length;
      |   ^~~~~~~~~
include/kore/kore.h:259:3: error: unknown type name 'u_int64_t'
  259 |   u_int64_t start;
      |   ^~~~~~~~~
include/kore/kore.h:267:2: error: unknown type name 'u_int64_t'
  267 |  u_int64_t   http_start;
      |  ^~~~~~~~~
include/kore/kore.h:268:2: error: unknown type name 'u_int64_t'
  268 |  u_int64_t   http_timeout;
      |  ^~~~~~~~~
include/kore/kore.h:293:7: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'?
  293 |       u_int8_t, const void *, size_t);
      |       ^~~~~~~~
      |       uint8_t
include/kore/kore.h:307:2: error: unknown type name 'u_int16_t'
  307 |  u_int16_t    id;
      |  ^~~~~~~~~
include/kore/kore.h:309:2: error: unknown type name 'u_int64_t'
  309 |  u_int64_t    logwarn;
      |  ^~~~~~~~~
include/kore/kore.h:368:2: error: unknown type name 'u_int8_t'
  368 |  u_int8_t  method;
      |  ^~~~~~~~
include/kore/kore.h:379:2: error: unknown type name 'u_int8_t'
  379 |  u_int8_t  type;
      |  ^~~~~~~~
include/kore/kore.h:448:2: error: unknown type name 'u_int16_t'
  448 |  u_int16_t  domain;
      |  ^~~~~~~~~
include/kore/kore.h:449:2: error: unknown type name 'u_int16_t'
  449 |  u_int16_t  loglen;
      |  ^~~~~~~~~
include/kore/kore.h:453:2: error: unknown type name 'u_int16_t'
  453 |  u_int16_t   id;
      |  ^~~~~~~~~
include/kore/kore.h:454:2: error: unknown type name 'u_int16_t'
  454 |  u_int16_t   cpu;
      |  ^~~~~~~~~
include/kore/kore.h:462:2: error: unknown type name 'u_int8_t'
  462 |  u_int8_t   has_lock;
      |  ^~~~~~~~
include/kore/kore.h:464:2: error: unknown type name 'u_int64_t'
  464 |  u_int64_t   time_locked;
      |  ^~~~~~~~~
include/kore/kore.h:481:2: error: unknown type name 'u_int8_t'
  481 |  u_int8_t   type;
      |  ^~~~~~~~
include/kore/kore.h:494:2: error: unknown type name 'u_int8_t'
  494 |  u_int8_t  *data;
      |  ^~~~~~~~
include/kore/kore.h:571:8: error: unknown type name 'u_int8_t'
  571 |  const u_int8_t   *data;
      |        ^~~~~~~~
include/kore/kore.h:582:2: error: unknown type name 'u_int32_t'
  582 |  u_int32_t   type;
      |  ^~~~~~~~~
include/kore/kore.h:592:3: error: unknown type name 'u_int64_t'
  592 |   u_int64_t   u64;
      |   ^~~~~~~~~
include/kore/kore.h:608:2: error: unknown type name 'u_int8_t'
  608 |  u_int8_t   state;
      |  ^~~~~~~~
include/kore/kore.h:627:2: error: unknown type name 'u_int64_t'
  627 |  u_int64_t nextrun;
      |  ^~~~~~~~~
include/kore/kore.h:628:2: error: unknown type name 'u_int64_t'
  628 |  u_int64_t interval;
      |  ^~~~~~~~~
include/kore/kore.h:631:22: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'?
  631 |  void  (*cb)(void *, u_int64_t);
      |                      ^~~~~~~~~
      |                      uint64_t
include/kore/kore.h:672:2: error: unknown type name 'u_int8_t'
  672 |  u_int8_t id;
      |  ^~~~~~~~
include/kore/kore.h:673:2: error: unknown type name 'u_int16_t'
  673 |  u_int16_t src;
      |  ^~~~~~~~~
include/kore/kore.h:674:2: error: unknown type name 'u_int16_t'
  674 |  u_int16_t dst;
      |  ^~~~~~~~~
include/kore/kore.h:682:2: error: unknown type name 'u_int8_t'
  682 |  u_int8_t data[];
      |  ^~~~~~~~
include/kore/kore.h:688:2: error: unknown type name 'u_int8_t'
  688 |  u_int8_t data[];
      |  ^~~~~~~~
include/kore/kore.h:718:8: error: unknown type name 'u_int8_t'
  718 | extern u_int8_t   nlisteners;
      |        ^~~~~~~~
include/kore/kore.h:719:8: error: unknown type name 'u_int16_t'
  719 | extern u_int16_t  cpu_count;
      |        ^~~~~~~~~
include/kore/kore.h:720:8: error: unknown type name 'u_int8_t'
  720 | extern u_int8_t   worker_count;
      |        ^~~~~~~~
include/kore/kore.h:723:8: error: unknown type name 'u_int8_t'
  723 | extern u_int8_t   worker_set_affinity;
      |        ^~~~~~~~
include/kore/kore.h:724:8: error: unknown type name 'u_int32_t'
  724 | extern u_int32_t  worker_rlimit_nofiles;
      |        ^~~~~~~~~
include/kore/kore.h:725:8: error: unknown type name 'u_int32_t'
  725 | extern u_int32_t  worker_max_connections;
      |        ^~~~~~~~~
include/kore/kore.h:726:8: error: unknown type name 'u_int32_t'
  726 | extern u_int32_t  worker_active_connections;
      |        ^~~~~~~~~
include/kore/kore.h:727:8: error: unknown type name 'u_int32_t'
  727 | extern u_int32_t  worker_accept_threshold;
      |        ^~~~~~~~~
include/kore/kore.h:728:8: error: unknown type name 'u_int64_t'
  728 | extern u_int64_t  kore_websocket_maxframe;
      |        ^~~~~~~~~
include/kore/kore.h:729:8: error: unknown type name 'u_int64_t'
  729 | extern u_int64_t  kore_websocket_timeout;
      |        ^~~~~~~~~
include/kore/kore.h:730:8: error: unknown type name 'u_int32_t'
  730 | extern u_int32_t  kore_socket_backlog;
      |        ^~~~~~~~~
include/kore/kore.h:749:1: error: parameter names (without types) in function declaration [-Werror]
  749 | void  kore_worker_spawn(u_int16_t, u_int16_t, u_int16_t);
      | ^~~~
include/kore/kore.h:755:8: error: parameter names (without types) in function declaration [-Werror]
  755 | struct kore_worker *kore_worker_data(u_int8_t);
      |        ^~~~~~~~~~~
include/kore/kore.h:765:1: error: parameter names (without types) in function declaration [-Werror]
  765 | void  kore_platform_event_wait(u_int64_t);
      | ^~~~
include/kore/kore.h:784:1: error: parameter names (without types) in function declaration [-Werror]
  784 | void  kore_accesslog_init(u_int16_t);
      | ^~~~
include/kore/kore.h:786:34: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'?
  786 | void  kore_accesslog_run(void *, u_int64_t);
      |                                  ^~~~~~~~~
      |                                  uint64_t
include/kore/kore.h:787:37: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'?
  787 | void  kore_accesslog_gather(void *, u_int64_t, int);
      |                                     ^~~~~~~~~
      |                                     uint64_t
include/kore/kore.h:800:1: error: parameter names (without types) in function declaration [-Werror]
  800 | void  kore_timer_run(u_int64_t);
      | ^~~~
include/kore/kore.h:801:1: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'?
  801 | u_int64_t kore_timer_next_run(u_int64_t);
      | ^~~~~~~~~
      | uint64_t
include/kore/kore.h:801:1: error: parameter names (without types) in function declaration [-Werror]
include/kore/kore.h:803:54: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'?
  803 | struct kore_timer *kore_timer_add(void (*cb)(void *, u_int64_t),
      |                                                      ^~~~~~~~~
      |                                                      uint64_t
include/kore/kore.h:804:8: error: expected ';', ',' or ')' before 'u_int64_t'
  804 |        u_int64_t, void *, int);
      |        ^~~~~~~~~
include/kore/kore.h:835:1: error: parameter names (without types) in function declaration [-Werror]
  835 | void   kore_connection_check_timeout(u_int64_t);
      | ^~~~
include/kore/kore.h:841:50: error: expected ')' before 'struct'
  841 | void   kore_connection_check_idletimer(u_int64_t,
      |                                                  ^
      |                                                  )
  842 |        struct connection *);
      |        ~~~~~~                                     
include/kore/kore.h:846:1: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'?
  846 | u_int64_t kore_time_ms(void);
      | ^~~~~~~~~
      | uint64_t
include/kore/kore.h:862:1: error: parameter names (without types) in function declaration [-Werror]
  862 | void  *kore_mem_lookup(u_int32_t);
      | ^~~~
include/kore/kore.h:863:28: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'?
  863 | void  kore_mem_tag(void *, u_int32_t);
      |                            ^~~~~~~~~
      |                            uint32_t
include/kore/kore.h:864:35: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'?
  864 | void  *kore_malloc_tagged(size_t, u_int32_t);
      |                                   ^~~~~~~~~
      |                                   uint32_t
include/kore/kore.h:877:1: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'?
  877 | u_int64_t kore_strtonum64(const char *, int, int *);
      | ^~~~~~~~~
      | uint64_t
include/kore/kore.h:886:39: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'?
  886 | int  kore_base64_decode(const char *, u_int8_t **, size_t *);
      |                                       ^~~~~~~~
      |                                       uint8_t
include/kore/kore.h:888:42: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'?
  888 | int  kore_base64url_decode(const char *, u_int8_t **, size_t *, int);
      |                                          ^~~~~~~~
      |                                          uint8_t
include/kore/kore.h:902:7: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'?
  902 |       u_int8_t, const void *, size_t);
      |       ^~~~~~~~
      |       uint8_t
include/kore/kore.h:904:7: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'?
  904 |       u_int8_t, const void *, size_t, int);
      |       ^~~~~~~~
      |       uint8_t
include/kore/kore.h:910:1: error: parameter names (without types) in function declaration [-Werror]
  910 | void  kore_msg_unregister(u_int8_t);
      | ^~~~
include/kore/kore.h:913:41: error: expected ')' before 'const'
  913 | void  kore_msg_send(u_int16_t, u_int8_t, const void *, size_t);
      |                                         ^~~~~~
      |                                         )
include/kore/kore.h:914:33: error: expected ')' before 'void'
  914 | int  kore_msg_register(u_int8_t,
      |                                 ^
      |                                 )
  915 |       void (*cb)(struct kore_msg *, const void *));
      |       ~~~~                       
include/kore/kore.h:976:27: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'?
  976 |      struct connection *, u_int8_t, const void *, size_t);
      |                           ^~~~~~~~
      |                           uint8_t
include/kore/kore.h:979:8: error: parameter names (without types) in function declaration [-Werror]
  979 | struct kore_domain *kore_domain_byid(u_int16_t);
      |        ^~~~~~~~~~~
include/kore/kore.h:985:39: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'?
  985 | int  kore_validator_add(const char *, u_int8_t, const char *);
      |                                       ^~~~~~~~
      |                                       uint8_t
include/kore/kore.h:998:1: error: unknown type name 'u_int16_t'; did you mean 'uint16_t'?
  998 | u_int16_t net_read16(u_int8_t *);
      | ^~~~~~~~~
      | uint16_t
include/kore/kore.h:998:22: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'?
  998 | u_int16_t net_read16(u_int8_t *);
      |                      ^~~~~~~~
      |                      uint8_t
include/kore/kore.h:999:1: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'?
  999 | u_int32_t net_read32(u_int8_t *);
      | ^~~~~~~~~
      | uint32_t
include/kore/kore.h:999:22: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'?
  999 | u_int32_t net_read32(u_int8_t *);
      |                      ^~~~~~~~
      |                      uint8_t
include/kore/kore.h:1000:1: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'?
 1000 | u_int64_t net_read64(u_int8_t *);
      | ^~~~~~~~~
      | uint64_t
include/kore/kore.h:1000:22: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'?
 1000 | u_int64_t net_read64(u_int8_t *);
      |                      ^~~~~~~~
      |                      uint8_t
include/kore/kore.h:1001:19: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'?
 1001 | void  net_write16(u_int8_t *, u_int16_t);
      |                   ^~~~~~~~
      |                   uint8_t
include/kore/kore.h:1001:31: error: unknown type name 'u_int16_t'; did you mean 'uint16_t'?
 1001 | void  net_write16(u_int8_t *, u_int16_t);
      |                               ^~~~~~~~~
      |                               uint16_t
include/kore/kore.h:1002:19: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'?
 1002 | void  net_write32(u_int8_t *, u_int32_t);
      |                   ^~~~~~~~
      |                   uint8_t
include/kore/kore.h:1002:31: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'?
 1002 | void  net_write32(u_int8_t *, u_int32_t);
      |                               ^~~~~~~~~
      |                               uint32_t
include/kore/kore.h:1003:19: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'?
 1003 | void  net_write64(u_int8_t *, u_int64_t);
      |                   ^~~~~~~~
      |                   uint8_t
include/kore/kore.h:1003:31: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'?
 1003 | void  net_write64(u_int8_t *, u_int64_t);
      |                               ^~~~~~~~~
      |                               uint64_t
include/kore/kore.h:1031:1: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'?
 1031 | u_int8_t *kore_buf_release(struct kore_buf *, size_t *);
      | ^~~~~~~~
      | uint8_t
include/kore/kore.h:1049:22: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'?
 1049 |        const char *, u_int32_t);
      |                      ^~~~~~~~~
      |                      uint32_t
include/kore/kore.h:1051:22: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'?
 1051 |        const char *, u_int32_t, ...);
      |                      ^~~~~~~~~
      |                      uint32_t
In file included from src/kore.c:34:
include/kore/http.h:99:2: error: unknown type name 'u_int32_t'
   99 |  u_int32_t   maxage;
      |  ^~~~~~~~~
include/kore/http.h:101:2: error: unknown type name 'u_int16_t'
  101 |  u_int16_t   flags;
      |  ^~~~~~~~~
include/kore/http.h:247:2: error: unknown type name 'u_int8_t'
  247 |  u_int8_t   method;
      |  ^~~~~~~~
include/kore/http.h:248:2: error: unknown type name 'u_int8_t'
  248 |  u_int8_t   fsm_state;
      |  ^~~~~~~~
include/kore/http.h:249:2: error: unknown type name 'u_int16_t'
  249 |  u_int16_t   flags;
      |  ^~~~~~~~~
include/kore/http.h:250:2: error: unknown type name 'u_int16_t'
  250 |  u_int16_t   status;
      |  ^~~~~~~~~
include/kore/http.h:251:2: error: unknown type name 'u_int64_t'
  251 |  u_int64_t   ms;
      |  ^~~~~~~~~
include/kore/http.h:252:2: error: unknown type name 'u_int64_t'
  252 |  u_int64_t   start;
      |  ^~~~~~~~~
include/kore/http.h:253:2: error: unknown type name 'u_int64_t'
  253 |  u_int64_t   end;
      |  ^~~~~~~~~
include/kore/http.h:254:2: error: unknown type name 'u_int64_t'
  254 |  u_int64_t   total;
      |  ^~~~~~~~~
include/kore/http.h:261:2: error: unknown type name 'u_int8_t'
  261 |  u_int8_t   *headers;
      |  ^~~~~~~~
include/kore/http.h:283:2: error: unknown type name 'u_int8_t'
  283 |  u_int8_t http_body_digest[HTTP_BODY_DIGEST_LEN];
      |  ^~~~~~~~
include/kore/http.h:321:8: error: unknown type name 'u_int16_t'
  321 | extern u_int16_t http_body_timeout;
      |        ^~~~~~~~~
include/kore/http.h:322:8: error: unknown type name 'u_int16_t'
  322 | extern u_int16_t http_header_max;
      |        ^~~~~~~~~
include/kore/http.h:323:8: error: unknown type name 'u_int16_t'
  323 | extern u_int16_t http_header_timeout;
      |        ^~~~~~~~~
include/kore/http.h:324:8: error: unknown type name 'u_int32_t'
  324 | extern u_int32_t http_request_ms;
      |        ^~~~~~~~~
include/kore/http.h:325:8: error: unknown type name 'u_int64_t'
  325 | extern u_int64_t http_hsts_enable;
      |        ^~~~~~~~~
include/kore/http.h:326:8: error: unknown type name 'u_int16_t'
  326 | extern u_int16_t http_keepalive_time;
      |        ^~~~~~~~~
include/kore/http.h:327:8: error: unknown type name 'u_int32_t'
  327 | extern u_int32_t http_request_limit;
      |        ^~~~~~~~~
include/kore/http.h:328:8: error: unknown type name 'u_int32_t'
  328 | extern u_int32_t http_request_count;
      |        ^~~~~~~~~
include/kore/http.h:329:8: error: unknown type name 'u_int64_t'
  329 | extern u_int64_t http_body_disk_offload;
      |        ^~~~~~~~~
include/kore/http.h:353:46: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'?
  353 | int  http_check_timeout(struct connection *, u_int64_t);
      |                                              ^~~~~~~~~
      |                                              uint64_t
include/kore/http.h:370:42: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'?
  370 | int  http_state_run(struct http_state *, u_int8_t,
      |                                          ^~~~~~~~
      |                                          uint8_t
include/kore/http.h:375:43: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'?
  375 |       const char *, const char *, time_t, u_int32_t,
      |                                           ^~~~~~~~~
      |                                           uint32_t
In file included from src/kore.c:38:
include/kore/curl.h:69:8: error: unknown type name 'u_int16_t'
   69 | extern u_int16_t kore_curl_timeout;
      |        ^~~~~~~~~
include/kore/curl.h:70:8: error: unknown type name 'u_int64_t'
   70 | extern u_int64_t kore_curl_recv_max;
      |        ^~~~~~~~~
include/kore/curl.h:94:12: error: unknown type name 'u_int8_t'
   94 |      const u_int8_t **, size_t *);
      |            ^~~~~~~~
src/kore.c:55:1: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'?
   55 | u_int8_t  nlisteners;
      | ^~~~~~~~
      | uint8_t
src/kore.c:58:1: error: unknown type name 'u_int16_t'; did you mean 'uint16_t'?
   58 | u_int16_t  cpu_count = 1;
      | ^~~~~~~~~
      | uint16_t
src/kore.c:63:1: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'?
   63 | u_int8_t  worker_count = 0;
      | ^~~~~~~~
      | uint8_t
src/kore.c:69:1: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'?
   69 | u_int32_t  kore_socket_backlog = 5000;
      | ^~~~~~~~~
      | uint32_t
src/kore.c: In function 'kore_server_bind_unix':
src/kore.c:474:21: error: expected identifier or '(' before numeric constant
  474 |  struct sockaddr_un sun;
      |                     ^~~
src/kore.c:477:9: error: lvalue required as unary '&' operand
  477 |  memset(&sun, 0, sizeof(sun));
      |         ^
src/kore.c:478:5: error: request for member 'sun_family' in something not a structure or union
  478 |  sun.sun_family = AF_UNIX;
      |     ^
src/kore.c:480:20: error: request for member 'sun_path' in something not a structure or union
  480 |  len = snprintf(sun.sun_path, sizeof(sun.sun_path), "%s", path);
      |                    ^
src/kore.c:480:41: error: request for member 'sun_path' in something not a structure or union
  480 |  len = snprintf(sun.sun_path, sizeof(sun.sun_path), "%s", path);
      |                                         ^
src/kore.c:481:44: error: request for member 'sun_path' in something not a structure or union
  481 |  if (len == -1 || (size_t)len >= sizeof(sun.sun_path)) {
      |                                            ^
src/kore.c:500:37: error: lvalue required as unary '&' operand
  500 |  if (bind(l->fd, (struct sockaddr *)&sun, socklen) == -1) {
      |                                     ^
src/kore.c: In function 'kore_listener_accept':
src/kore.c:676:2: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'?
  676 |  u_int32_t  accepted;
      |  ^~~~~~~~~
      |  uint32_t
src/kore.c: In function 'kore_shutdown':
src/kore.c:782:3: error: implicit declaration of function 'kore_msg_send'; did you mean 'kore_msg_init'? [-Werror=implicit-function-declaration]
  782 |   kore_msg_send(KORE_MSG_PARENT, KORE_MSG_SHUTDOWN, NULL, 0);
      |   ^~~~~~~~~~~~~
      |   kore_msg_init
src/kore.c: In function 'kore_server_start':
src/kore.c:833:2: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'?
  833 |  u_int32_t   tmp;
      |  ^~~~~~~~~
      |  uint32_t
src/kore.c:835:2: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'?
  835 |  u_int64_t   netwait;
      |  ^~~~~~~~~
      |  uint64_t
src/kore.c:909:2: error: implicit declaration of function 'kore_timer_add'; did you mean 'kore_timer_run'? [-Werror=implicit-function-declaration]
  909 |  kore_timer_add(kore_accesslog_run, 100, NULL, 0);
      |  ^~~~~~~~~~~~~~
      |  kore_timer_run
src/kore.c:909:17: error: 'kore_accesslog_run' undeclared (first use in this function); did you mean 'kore_accesslog'?
  909 |  kore_timer_add(kore_accesslog_run, 100, NULL, 0);
      |                 ^~~~~~~~~~~~~~~~~~
      |                 kore_accesslog
src/kore.c:909:17: note: each undeclared identifier is reported only once for each function it appears in
src/kore.c:954:2: error: implicit declaration of function 'kore_accesslog_gather'; did you mean 'kore_accesslog_init'? [-Werror=implicit-function-declaration]
  954 |  kore_accesslog_gather(NULL, kore_time_ms(), 1);
      |  ^~~~~~~~~~~~~~~~~~~~~
      |  kore_accesslog_init
cc1: all warnings being treated as errors
gmake: *** [Makefile:252: obj/kore.o] Error 1
*** Error code 2

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-2021Q4-x86_64/www/kore
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-2021Q4-x86_64/www/kore