+ 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/kore-4.2.2/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/kore-4.2.2/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for kore-4.2.2
/usr/bin/mkdir -p /home/pbulk/build/www/kore/work/kore-4.2.2/obj
gcc -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wshadow -Wpointer-arith -Wcast-qual -Wsign-compare -Iinclude/kore -Iobj -std=c99 -pedantic -Wtype-limits -fno-common -DPREFIX='"/opt/pkg"' -fstack-protector-all -DTLS_BACKEND_OPENSSL -I/opt/pkg/include -DKORE_USE_TASKS -c src/kore.c -o obj/kore.o
In file included from src/kore.c:30:
include/kore/kore.h:143:2: error: unknown type name 'u_int64_t'
  143 |  u_int64_t   mtime;
      |  ^~~~~~~~~
include/kore/kore.h:145:2: error: unknown type name 'u_int64_t'
  145 |  u_int64_t   expiration;
      |  ^~~~~~~~~
include/kore/kore.h:152:2: error: unknown type name 'u_int8_t'
  152 |  u_int8_t  *buf;
      |  ^~~~~~~~
include/kore/kore.h:156:2: error: unknown type name 'u_int8_t'
  156 |  u_int8_t  type;
      |  ^~~~~~~~
include/kore/kore.h:157:2: error: unknown type name 'u_int8_t'
  157 |  u_int8_t  flags;
      |  ^~~~~~~~
include/kore/kore.h:229:2: error: unknown type name 'u_int8_t'
  229 |  u_int8_t  state;
      |  ^~~~~~~~
include/kore/kore.h:230:2: error: unknown type name 'u_int8_t'
  230 |  u_int8_t  proto;
      |  ^~~~~~~~
include/kore/kore.h:237:2: error: unknown type name 'u_int16_t'
  237 |  u_int16_t  flags;
      |  ^~~~~~~~~
include/kore/kore.h:249:22: error: expected identifier or '(' before numeric constant
  249 |   struct sockaddr_un sun;
      |                      ^~~
include/kore/kore.h:250:2: error: no semicolon at end of struct or union [-Werror]
  250 |  } addr;
      |  ^
include/kore/kore.h:253:3: error: unknown type name 'u_int64_t'
  253 |   u_int64_t length;
      |   ^~~~~~~~~
include/kore/kore.h:254:3: error: unknown type name 'u_int64_t'
  254 |   u_int64_t start;
      |   ^~~~~~~~~
include/kore/kore.h:262:2: error: unknown type name 'u_int64_t'
  262 |  u_int64_t   http_start;
      |  ^~~~~~~~~
include/kore/kore.h:263:2: error: unknown type name 'u_int64_t'
  263 |  u_int64_t   http_timeout;
      |  ^~~~~~~~~
include/kore/kore.h:291:7: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'?
  291 |       u_int8_t, const void *, size_t);
      |       ^~~~~~~~
      |       uint8_t
include/kore/kore.h:310:2: error: unknown type name 'u_int8_t'
  310 |  u_int8_t  method;
      |  ^~~~~~~~
include/kore/kore.h:337:2: error: unknown type name 'u_int16_t'
  337 |  u_int16_t    id;
      |  ^~~~~~~~~
include/kore/kore.h:339:2: error: unknown type name 'u_int64_t'
  339 |  u_int64_t    logwarn;
      |  ^~~~~~~~~
include/kore/kore.h:400:2: error: unknown type name 'u_int8_t'
  400 |  u_int8_t  type;
      |  ^~~~~~~~
include/kore/kore.h:452:2: error: unknown type name 'u_int16_t'
  452 |  u_int16_t  domain;
      |  ^~~~~~~~~
include/kore/kore.h:453:2: error: unknown type name 'u_int16_t'
  453 |  u_int16_t  loglen;
      |  ^~~~~~~~~
include/kore/kore.h:464:2: error: unknown type name 'u_int16_t'
  464 |  u_int16_t   id;
      |  ^~~~~~~~~
include/kore/kore.h:465:2: error: unknown type name 'u_int16_t'
  465 |  u_int16_t   cpu;
      |  ^~~~~~~~~
include/kore/kore.h:474:2: error: unknown type name 'u_int8_t'
  474 |  u_int8_t   has_lock;
      |  ^~~~~~~~
include/kore/kore.h:476:2: error: unknown type name 'u_int64_t'
  476 |  u_int64_t   time_locked;
      |  ^~~~~~~~~
include/kore/kore.h:494:2: error: unknown type name 'u_int8_t'
  494 |  u_int8_t   type;
      |  ^~~~~~~~
include/kore/kore.h:507:2: error: unknown type name 'u_int8_t'
  507 |  u_int8_t  *data;
      |  ^~~~~~~~
include/kore/kore.h:584:8: error: unknown type name 'u_int8_t'
  584 |  const u_int8_t   *data;
      |        ^~~~~~~~
include/kore/kore.h:594:2: error: unknown type name 'u_int32_t'
  594 |  u_int32_t   type;
      |  ^~~~~~~~~
include/kore/kore.h:604:3: error: unknown type name 'u_int64_t'
  604 |   u_int64_t   u64;
      |   ^~~~~~~~~
include/kore/kore.h:620:2: error: unknown type name 'u_int8_t'
  620 |  u_int8_t   state;
      |  ^~~~~~~~
include/kore/kore.h:639:2: error: unknown type name 'u_int64_t'
  639 |  u_int64_t nextrun;
      |  ^~~~~~~~~
include/kore/kore.h:640:2: error: unknown type name 'u_int64_t'
  640 |  u_int64_t interval;
      |  ^~~~~~~~~
include/kore/kore.h:643:22: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'?
  643 |  void  (*cb)(void *, u_int64_t);
      |                      ^~~~~~~~~
      |                      uint64_t
include/kore/kore.h:685:2: error: unknown type name 'u_int8_t'
  685 |  u_int8_t id;
      |  ^~~~~~~~
include/kore/kore.h:686:2: error: unknown type name 'u_int16_t'
  686 |  u_int16_t src;
      |  ^~~~~~~~~
include/kore/kore.h:687:2: error: unknown type name 'u_int16_t'
  687 |  u_int16_t dst;
      |  ^~~~~~~~~
include/kore/kore.h:695:2: error: unknown type name 'u_int8_t'
  695 |  u_int8_t data[];
      |  ^~~~~~~~
include/kore/kore.h:701:2: error: unknown type name 'u_int8_t'
  701 |  u_int8_t data[];
      |  ^~~~~~~~
include/kore/kore.h:727:8: error: unknown type name 'u_int8_t'
  727 | extern u_int8_t   nlisteners;
      |        ^~~~~~~~
include/kore/kore.h:728:8: error: unknown type name 'u_int16_t'
  728 | extern u_int16_t  cpu_count;
      |        ^~~~~~~~~
include/kore/kore.h:729:8: error: unknown type name 'u_int8_t'
  729 | extern u_int8_t   worker_count;
      |        ^~~~~~~~
include/kore/kore.h:733:8: error: unknown type name 'u_int8_t'
  733 | extern u_int8_t   worker_set_affinity;
      |        ^~~~~~~~
include/kore/kore.h:734:8: error: unknown type name 'u_int32_t'
  734 | extern u_int32_t  worker_rlimit_nofiles;
      |        ^~~~~~~~~
include/kore/kore.h:735:8: error: unknown type name 'u_int32_t'
  735 | extern u_int32_t  worker_max_connections;
      |        ^~~~~~~~~
include/kore/kore.h:736:8: error: unknown type name 'u_int32_t'
  736 | extern u_int32_t  worker_active_connections;
      |        ^~~~~~~~~
include/kore/kore.h:737:8: error: unknown type name 'u_int32_t'
  737 | extern u_int32_t  worker_accept_threshold;
      |        ^~~~~~~~~
include/kore/kore.h:738:8: error: unknown type name 'u_int64_t'
  738 | extern u_int64_t  kore_websocket_maxframe;
      |        ^~~~~~~~~
include/kore/kore.h:739:8: error: unknown type name 'u_int64_t'
  739 | extern u_int64_t  kore_websocket_timeout;
      |        ^~~~~~~~~
include/kore/kore.h:740:8: error: unknown type name 'u_int32_t'
  740 | extern u_int32_t  kore_socket_backlog;
      |        ^~~~~~~~~
include/kore/kore.h:782:1: error: parameter names (without types) in function declaration [-Werror]
  782 | int  kore_worker_spawn(u_int16_t, u_int16_t, u_int16_t);
      | ^~~
include/kore/kore.h:788:8: error: parameter names (without types) in function declaration [-Werror]
  788 | struct kore_worker *kore_worker_data(u_int8_t);
      |        ^~~~~~~~~~~
include/kore/kore.h:789:8: error: parameter names (without types) in function declaration [-Werror]
  789 | struct kore_worker *kore_worker_data_byid(u_int16_t);
      |        ^~~~~~~~~~~
include/kore/kore.h:800:1: error: parameter names (without types) in function declaration [-Werror]
  800 | void  kore_platform_event_wait(u_int64_t);
      | ^~~~
include/kore/kore.h:843:46: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'?
  843 | int  kore_tls_x509_data(struct connection *, u_int8_t **, size_t *);
      |                                              ^~~~~~~~
      |                                              uint8_t
include/kore/kore.h:850:1: error: parameter names (without types) in function declaration [-Werror]
  850 | void  kore_accesslog_init(u_int16_t);
      | ^~~~
include/kore/kore.h:852:34: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'?
  852 | void  kore_accesslog_run(void *, u_int64_t);
      |                                  ^~~~~~~~~
      |                                  uint64_t
include/kore/kore.h:853:37: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'?
  853 | void  kore_accesslog_gather(void *, u_int64_t, int);
      |                                     ^~~~~~~~~
      |                                     uint64_t
include/kore/kore.h:868:1: error: parameter names (without types) in function declaration [-Werror]
  868 | void  kore_timer_run(u_int64_t);
      | ^~~~
include/kore/kore.h:869:1: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'?
  869 | u_int64_t kore_timer_next_run(u_int64_t);
      | ^~~~~~~~~
      | uint64_t
include/kore/kore.h:869:1: error: parameter names (without types) in function declaration [-Werror]
include/kore/kore.h:871:54: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'?
  871 | struct kore_timer *kore_timer_add(void (*cb)(void *, u_int64_t),
      |                                                      ^~~~~~~~~
      |                                                      uint64_t
include/kore/kore.h:872:8: error: expected ';', ',' or ')' before 'u_int64_t'
  872 |        u_int64_t, void *, int);
      |        ^~~~~~~~~
include/kore/kore.h:881:1: error: parameter names (without types) in function declaration [-Werror]
  881 | void   kore_connection_check_timeout(u_int64_t);
      | ^~~~
include/kore/kore.h:887:50: error: expected ')' before 'struct'
  887 | void   kore_connection_check_idletimer(u_int64_t,
      |                                                  ^
      |                                                  )
  888 |        struct connection *);
      |        ~~~~~~                                     
include/kore/kore.h:911:1: error: parameter names (without types) in function declaration [-Werror]
  911 | void  *kore_mem_lookup(u_int32_t);
      | ^~~~
include/kore/kore.h:913:28: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'?
  913 | void  kore_mem_tag(void *, u_int32_t);
      |                            ^~~~~~~~~
      |                            uint32_t
include/kore/kore.h:914:35: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'?
  914 | void  *kore_malloc_tagged(size_t, u_int32_t);
      |                                   ^~~~~~~~~
      |                                   uint32_t
include/kore/kore.h:928:1: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'?
  928 | u_int64_t kore_time_ms(void);
      | ^~~~~~~~~
      | uint64_t
include/kore/kore.h:934:1: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'?
  934 | u_int64_t kore_strtonum64(const char *, int, int *);
      | ^~~~~~~~~
      | uint64_t
include/kore/kore.h:943:39: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'?
  943 | int  kore_base64_decode(const char *, u_int8_t **, size_t *);
      |                                       ^~~~~~~~
      |                                       uint8_t
include/kore/kore.h:945:42: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'?
  945 | int  kore_base64url_decode(const char *, u_int8_t **, size_t *, int);
      |                                          ^~~~~~~~
      |                                          uint8_t
include/kore/kore.h:959:7: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'?
  959 |       u_int8_t, const void *, size_t);
      |       ^~~~~~~~
      |       uint8_t
include/kore/kore.h:961:7: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'?
  961 |       u_int8_t, const void *, size_t, int);
      |       ^~~~~~~~
      |       uint8_t
include/kore/kore.h:968:1: error: parameter names (without types) in function declaration [-Werror]
  968 | void  kore_msg_unregister(u_int8_t);
      | ^~~~
include/kore/kore.h:971:41: error: expected ')' before 'const'
  971 | void  kore_msg_send(u_int16_t, u_int8_t, const void *, size_t);
      |                                         ^~~~~~
      |                                         )
include/kore/kore.h:972:33: error: expected ')' before 'void'
  972 | int  kore_msg_register(u_int8_t,
      |                                 ^
      |                                 )
  973 |       void (*cb)(struct kore_msg *, const void *));
      |       ~~~~                       
include/kore/kore.h:994:8: error: parameter names (without types) in function declaration [-Werror]
  994 | struct kore_domain *kore_domain_byid(u_int16_t);
      |        ^~~~~~~~~~~
include/kore/kore.h:1047:27: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'?
 1047 |      struct connection *, u_int8_t, const void *, size_t);
      |                           ^~~~~~~~
      |                           uint8_t
include/kore/kore.h:1054:39: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'?
 1054 | int  kore_validator_add(const char *, u_int8_t, const char *);
      |                                       ^~~~~~~~
      |                                       uint8_t
include/kore/kore.h:1064:1: error: unknown type name 'u_int16_t'; did you mean 'uint16_t'?
 1064 | u_int16_t net_read16(u_int8_t *);
      | ^~~~~~~~~
      | uint16_t
include/kore/kore.h:1064:22: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'?
 1064 | u_int16_t net_read16(u_int8_t *);
      |                      ^~~~~~~~
      |                      uint8_t
include/kore/kore.h:1065:1: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'?
 1065 | u_int32_t net_read32(u_int8_t *);
      | ^~~~~~~~~
      | uint32_t
include/kore/kore.h:1065:22: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'?
 1065 | u_int32_t net_read32(u_int8_t *);
      |                      ^~~~~~~~
      |                      uint8_t
include/kore/kore.h:1066:1: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'?
 1066 | u_int64_t net_read64(u_int8_t *);
      | ^~~~~~~~~
      | uint64_t
include/kore/kore.h:1066:22: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'?
 1066 | u_int64_t net_read64(u_int8_t *);
      |                      ^~~~~~~~
      |                      uint8_t
include/kore/kore.h:1067:19: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'?
 1067 | void  net_write16(u_int8_t *, u_int16_t);
      |                   ^~~~~~~~
      |                   uint8_t
include/kore/kore.h:1067:31: error: unknown type name 'u_int16_t'; did you mean 'uint16_t'?
 1067 | void  net_write16(u_int8_t *, u_int16_t);
      |                               ^~~~~~~~~
      |                               uint16_t
include/kore/kore.h:1068:19: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'?
 1068 | void  net_write32(u_int8_t *, u_int32_t);
      |                   ^~~~~~~~
      |                   uint8_t
include/kore/kore.h:1068:31: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'?
 1068 | void  net_write32(u_int8_t *, u_int32_t);
      |                               ^~~~~~~~~
      |                               uint32_t
include/kore/kore.h:1069:19: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'?
 1069 | void  net_write64(u_int8_t *, u_int64_t);
      |                   ^~~~~~~~
      |                   uint8_t
include/kore/kore.h:1069:31: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'?
 1069 | void  net_write64(u_int8_t *, u_int64_t);
      |                               ^~~~~~~~~
      |                               uint64_t
include/kore/kore.h:1096:1: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'?
 1096 | u_int8_t *kore_buf_release(struct kore_buf *, size_t *);
      | ^~~~~~~~
      | uint8_t
include/kore/kore.h:1117:22: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'?
 1117 |        const char *, u_int32_t);
      |                      ^~~~~~~~~
      |                      uint32_t
include/kore/kore.h:1119:22: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'?
 1119 |        const char *, u_int32_t, ...);
      |                      ^~~~~~~~~
      |                      uint32_t
In file included from include/kore/http.h:25,
                 from src/kore.c:34:
include/kore/sha2.h:56:3: error: unknown type name 'u_int32_t'
   56 |   u_int32_t st32[8];
      |   ^~~~~~~~~
include/kore/sha2.h:57:3: error: unknown type name 'u_int64_t'
   57 |   u_int64_t st64[8];
      |   ^~~~~~~~~
include/kore/sha2.h:59:2: error: unknown type name 'u_int64_t'
   59 |  u_int64_t bitcount[2];
      |  ^~~~~~~~~
include/kore/sha2.h:60:2: error: unknown type name 'u_int8_t'
   60 |  u_int8_t buffer[SHA512_BLOCK_LENGTH];
      |  ^~~~~~~~
include/kore/sha2.h:64:22: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'?
   64 | void SHA256Transform(u_int32_t state[8], const u_int8_t [SHA256_BLOCK_LENGTH]);
      |                      ^~~~~~~~~
      |                      uint32_t
include/kore/sha2.h:64:48: error: type defaults to 'int' in declaration of 'u_int8_t' [-Werror=implicit-int]
   64 | void SHA256Transform(u_int32_t state[8], const u_int8_t [SHA256_BLOCK_LENGTH]);
      |                                                ^~~~~~~~
include/kore/sha2.h:65:37: error: unknown type name 'u_int8_t'
   65 | void SHA256Update(SHA2_CTX *, const u_int8_t *, size_t);
      |                                     ^~~~~~~~
include/kore/sha2.h:67:18: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'?
   67 | void SHA256Final(u_int8_t [SHA256_DIGEST_LENGTH], SHA2_CTX *);
      |                  ^~~~~~~~
      |                  uint8_t
include/kore/sha2.h:71:22: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'?
   71 | void SHA384Transform(u_int64_t state[8], const u_int8_t [SHA384_BLOCK_LENGTH]);
      |                      ^~~~~~~~~
      |                      uint64_t
include/kore/sha2.h:71:48: error: type defaults to 'int' in declaration of 'u_int8_t' [-Werror=implicit-int]
   71 | void SHA384Transform(u_int64_t state[8], const u_int8_t [SHA384_BLOCK_LENGTH]);
      |                                                ^~~~~~~~
include/kore/sha2.h:72:37: error: unknown type name 'u_int8_t'
   72 | void SHA384Update(SHA2_CTX *, const u_int8_t *, size_t);
      |                                     ^~~~~~~~
include/kore/sha2.h:74:18: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'?
   74 | void SHA384Final(u_int8_t [SHA384_DIGEST_LENGTH], SHA2_CTX *);
      |                  ^~~~~~~~
      |                  uint8_t
include/kore/sha2.h:78:22: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'?
   78 | void SHA512Transform(u_int64_t state[8], const u_int8_t [SHA512_BLOCK_LENGTH]);
      |                      ^~~~~~~~~
      |                      uint64_t
include/kore/sha2.h:78:48: error: type defaults to 'int' in declaration of 'u_int8_t' [-Werror=implicit-int]
   78 | void SHA512Transform(u_int64_t state[8], const u_int8_t [SHA512_BLOCK_LENGTH]);
      |                                                ^~~~~~~~
include/kore/sha2.h:79:37: error: unknown type name 'u_int8_t'
   79 | void SHA512Update(SHA2_CTX *, const u_int8_t *, size_t);
      |                                     ^~~~~~~~
include/kore/sha2.h:81:18: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'?
   81 | void SHA512Final(u_int8_t [SHA512_DIGEST_LENGTH], SHA2_CTX *);
      |                  ^~~~~~~~
      |                  uint8_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:271:2: error: unknown type name 'u_int8_t'
  271 |  u_int8_t   method;
      |  ^~~~~~~~
include/kore/http.h:272:2: error: unknown type name 'u_int8_t'
  272 |  u_int8_t   fsm_state;
      |  ^~~~~~~~
include/kore/http.h:273:2: error: unknown type name 'u_int16_t'
  273 |  u_int16_t   flags;
      |  ^~~~~~~~~
include/kore/http.h:274:2: error: unknown type name 'u_int16_t'
  274 |  u_int16_t   status;
      |  ^~~~~~~~~
include/kore/http.h:275:2: error: unknown type name 'u_int64_t'
  275 |  u_int64_t   ms;
      |  ^~~~~~~~~
include/kore/http.h:276:2: error: unknown type name 'u_int64_t'
  276 |  u_int64_t   start;
      |  ^~~~~~~~~
include/kore/http.h:277:2: error: unknown type name 'u_int64_t'
  277 |  u_int64_t   end;
      |  ^~~~~~~~~
include/kore/http.h:278:2: error: unknown type name 'u_int64_t'
  278 |  u_int64_t   total;
      |  ^~~~~~~~~
include/kore/http.h:285:2: error: unknown type name 'u_int8_t'
  285 |  u_int8_t   *headers;
      |  ^~~~~~~~
include/kore/http.h:289:2: error: unknown type name 'u_int64_t'
  289 |  u_int64_t   http_body_length;
      |  ^~~~~~~~~
include/kore/http.h:290:2: error: unknown type name 'u_int64_t'
  290 |  u_int64_t   http_body_offset;
      |  ^~~~~~~~~
include/kore/http.h:291:2: error: unknown type name 'u_int64_t'
  291 |  u_int64_t   content_length;
      |  ^~~~~~~~~
include/kore/http.h:307:2: error: unknown type name 'u_int8_t'
  307 |  u_int8_t http_body_digest[HTTP_BODY_DIGEST_LEN];
      |  ^~~~~~~~
include/kore/http.h:345:8: error: unknown type name 'u_int16_t'
  345 | extern u_int16_t http_body_timeout;
      |        ^~~~~~~~~
include/kore/http.h:346:8: error: unknown type name 'u_int16_t'
  346 | extern u_int16_t http_header_max;
      |        ^~~~~~~~~
include/kore/http.h:347:8: error: unknown type name 'u_int16_t'
  347 | extern u_int16_t http_header_timeout;
      |        ^~~~~~~~~
include/kore/http.h:348:8: error: unknown type name 'u_int32_t'
  348 | extern u_int32_t http_request_ms;
      |        ^~~~~~~~~
include/kore/http.h:349:8: error: unknown type name 'u_int64_t'
  349 | extern u_int64_t http_hsts_enable;
      |        ^~~~~~~~~
include/kore/http.h:350:8: error: unknown type name 'u_int16_t'
  350 | extern u_int16_t http_keepalive_time;
      |        ^~~~~~~~~
include/kore/http.h:351:8: error: unknown type name 'u_int32_t'
  351 | extern u_int32_t http_request_limit;
      |        ^~~~~~~~~
include/kore/http.h:352:8: error: unknown type name 'u_int32_t'
  352 | extern u_int32_t http_request_count;
      |        ^~~~~~~~~
include/kore/http.h:353:8: error: unknown type name 'u_int64_t'
  353 | extern u_int64_t http_body_disk_offload;
      |        ^~~~~~~~~
include/kore/http.h:377:46: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'?
  377 | int  http_check_timeout(struct connection *, u_int64_t);
      |                                              ^~~~~~~~~
      |                                              uint64_t
include/kore/http.h:398:42: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'?
  398 | int  http_state_run(struct http_state *, u_int8_t,
      |                                          ^~~~~~~~
      |                                          uint8_t
include/kore/http.h:403:43: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'?
  403 |       const char *, const char *, time_t, u_int32_t,
      |                                           ^~~~~~~~~
      |                                           uint32_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:59:1: error: unknown type name 'u_int16_t'; did you mean 'uint16_t'?
   59 | u_int16_t  cpu_count = 1;
      | ^~~~~~~~~
      | uint16_t
src/kore.c:64:1: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'?
   64 | u_int8_t  worker_count = 0;
      | ^~~~~~~~
      | uint8_t
src/kore.c:68:1: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'?
   68 | u_int32_t  kore_socket_backlog = 5000;
      | ^~~~~~~~~
      | uint32_t
src/kore.c: In function 'kore_server_bind_unix':
src/kore.c:401:21: error: expected identifier or '(' before numeric constant
  401 |  struct sockaddr_un sun;
      |                     ^~~
src/kore.c:404:9: error: lvalue required as unary '&' operand
  404 |  memset(&sun, 0, sizeof(sun));
      |         ^
src/kore.c:405:5: error: request for member 'sun_family' in something not a structure or union
  405 |  sun.sun_family = AF_UNIX;
      |     ^
src/kore.c:407:20: error: request for member 'sun_path' in something not a structure or union
  407 |  len = snprintf(sun.sun_path, sizeof(sun.sun_path), "%s", path);
      |                    ^
src/kore.c:407:41: error: request for member 'sun_path' in something not a structure or union
  407 |  len = snprintf(sun.sun_path, sizeof(sun.sun_path), "%s", path);
      |                                         ^
src/kore.c:408:44: error: request for member 'sun_path' in something not a structure or union
  408 |  if (len == -1 || (size_t)len >= sizeof(sun.sun_path)) {
      |                                            ^
src/kore.c:427:9: error: request for member 'sun_path' in something not a structure or union
  427 |  if (sun.sun_path[0] != '\0') {
      |         ^
src/kore.c:428:17: error: request for member 'sun_path' in something not a structure or union
  428 |   if (unlink(sun.sun_path) == -1 && errno != ENOENT) {
      |                 ^
src/kore.c:430:11: error: request for member 'sun_path' in something not a structure or union
  430 |        sun.sun_path, errno_s);
      |           ^
src/kore.c:436:37: error: lvalue required as unary '&' operand
  436 |  if (bind(l->fd, (struct sockaddr *)&sun, socklen) == -1) {
      |                                     ^
src/kore.c: In function 'kore_listener_accept':
src/kore.c:635:2: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'?
  635 |  u_int32_t  accepted;
      |  ^~~~~~~~~
      |  uint32_t
src/kore.c: In function 'kore_shutdown':
src/kore.c:741:3: error: implicit declaration of function 'kore_msg_send'; did you mean 'kore_msg_init'? [-Werror=implicit-function-declaration]
  741 |   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:785:2: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'?
  785 |  u_int32_t   tmp;
      |  ^~~~~~~~~
      |  uint32_t
src/kore.c:787:2: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'?
  787 |  u_int64_t   netwait;
      |  ^~~~~~~~~
      |  uint64_t
src/kore.c:904:3: error: implicit declaration of function 'kore_timer_add'; did you mean 'kore_timer_run'? [-Werror=implicit-function-declaration]
  904 |   kore_timer_add(kore_accesslog_run, 100, NULL, 0);
      |   ^~~~~~~~~~~~~~
      |   kore_timer_run
src/kore.c:904:18: error: 'kore_accesslog_run' undeclared (first use in this function); did you mean 'kore_accesslog'?
  904 |   kore_timer_add(kore_accesslog_run, 100, NULL, 0);
      |                  ^~~~~~~~~~~~~~~~~~
      |                  kore_accesslog
src/kore.c:904:18: note: each undeclared identifier is reported only once for each function it appears in
src/kore.c: In function 'kore_server_shutdown':
src/kore.c:963:2: error: implicit declaration of function 'kore_accesslog_gather'; did you mean 'kore_accesslog_init'? [-Werror=implicit-function-declaration]
  963 |  kore_accesslog_gather(NULL, kore_time_ms(), 1);
      |  ^~~~~~~~~~~~~~~~~~~~~
      |  kore_accesslog_init
cc1: all warnings being treated as errors
gmake: *** [Makefile:275: obj/kore.o] Error 1
*** Error code 2

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

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/www/kore