+ 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/spegla-1.1p4nb1/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/spegla-1.1p4nb1/work.log
WARNING: [license.mk] Every package should define a LICENSE.
===> Building for spegla-1.1p4nb1
--- jftp.o ---
--- parserow.o ---
--- spegla.o ---
--- tgetopt.o ---
--- jftp.o ---
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall    -c jftp.c
--- parserow.o ---
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall    -c parserow.c
--- spegla.o ---
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall    -c spegla.c
--- tgetopt.o ---
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall    -c tgetopt.c
--- parserow.o ---
In file included from spegla.h:48,
                 from parserow.h:31,
                 from parserow.c:55:
container.h:210:9: error: unknown type name 'u_int16_t'
  210 |         u_int16_t       pat_bit;
      |         ^~~~~~~~~
container.h:211:9: error: unknown type name 'u_int16_t'
  211 |         u_int16_t       pat_is_node;
      |         ^~~~~~~~~
container.h:213:9: error: unknown type name 'u_int16_t'
  213 |         u_int16_t       pat_key_len[2];
      |         ^~~~~~~~~
container.h:223:9: error: unknown type name 'u_int32_t'
  223 |         u_int32_t       pat_keys;
      |         ^~~~~~~~~
container.h:226:9: error: unknown type name 'u_int16_t'
  226 |         u_int16_t       pat_key_len;
      |         ^~~~~~~~~
container.h:227:9: error: unknown type name 'u_int16_t'
  227 |         u_int16_t       pat_key_len_max;
      |         ^~~~~~~~~
container.h:253:9: error: unknown type name 'u_int32_t'
  253 |         u_int32_t       heap_size;
      |         ^~~~~~~~~
container.h:254:9: error: unknown type name 'u_int32_t'
  254 |         u_int32_t       heap_keys;
      |         ^~~~~~~~~
container.h:274:39: error: expected ')' before 'TYPE'
  274 | typedef void (*hash_map_f) (u_int32_t, TYPE *, TYPE *);
      |                                       ^~~~~
      |                                       )
container.h:280:9: error: unknown type name 'u_int32_t'
  280 |         u_int32_t       he_key;
      |         ^~~~~~~~~
container.h:285:9: error: unknown type name 'u_int32_t'
  285 |         u_int32_t       hash_size;
      |         ^~~~~~~~~
container.h:293:33: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'?
  293 | int hash_ins(struct hash_buf *, u_int32_t key, TYPE *data);
      |                                 ^~~~~~~~~
      |                                 uint32_t
container.h:294:34: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'?
  294 | int hash_find(struct hash_buf *, u_int32_t key, TYPE **data);
      |                                  ^~~~~~~~~
      |                                  uint32_t
container.h:295:34: error: unknown type name 'hash_map_f'; did you mean 'pat_map_f'?
  295 | void hash_map(struct hash_buf *, hash_map_f map_fun, TYPE *arg_obj);
      |                                  ^~~~~~~~~~
      |                                  pat_map_f
container.h:296:33: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'?
  296 | int hash_rem(struct hash_buf *, u_int32_t key, TYPE **data);
      |                                 ^~~~~~~~~
      |                                 uint32_t
container.h:304:37: error: expected ')' before 'TYPE'
  304 | typedef void (*sl_map_f) (u_int32_t, TYPE *, void *);
      |                                     ^~~~~
      |                                     )
container.h:309:9: error: unknown type name 'u_int32_t'
  309 |         u_int32_t       sln_key;
      |         ^~~~~~~~~
container.h:316:9: error: unknown type name 'u_int32_t'
  316 |         u_int32_t       sl_level;                                       /* Current level of the list    */
      |         ^~~~~~~~~
container.h:317:9: error: unknown type name 'u_int32_t'
  317 |         u_int32_t       sl_random_bits;                         /* Used by sl_random_level              */
      |         ^~~~~~~~~
container.h:318:9: error: unknown type name 'u_int32_t'
  318 |         u_int32_t       sl_randoms_left;                        /* Used by sl_random_level              */
      |         ^~~~~~~~~
container.h:323:32: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'?
  323 | int sl_ins(struct skip_list *, u_int32_t key, TYPE *data);
      |                                ^~~~~~~~~
      |                                uint32_t
container.h:324:37: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'?
  324 | int sl_find_pos(struct skip_list *, u_int32_t key,
      |                                     ^~~~~~~~~
      |                                     uint32_t
container.h:329:33: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'?
  329 | int sl_find(struct skip_list *, u_int32_t key, TYPE **data);
      |                                 ^~~~~~~~~
      |                                 uint32_t
container.h:330:32: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'?
  330 | int sl_rem(struct skip_list *, u_int32_t key, TYPE **data);
      |                                ^~~~~~~~~
      |                                uint32_t
spegla.h:74:9: error: unknown type name 'u_int32_t'
   74 |         u_int32_t       spf_opt;
      |         ^~~~~~~~~
container.h:827:9: error: unknown type name 'u_int32_t'
  827 |         u_int32_t       sln_key;                                                                                                \
      |         ^~~~~~~~~
container.h:884:1: note: in expansion of macro 'SKIP_STRUCT_DEFS'
  884 | SKIP_STRUCT_DEFS(NAME,TYPE)                                                                                             \
      | ^~~~~~~~~~~~~~~~
spegla.h:100:1: note: in expansion of macro 'SKIP_TYPE'
  100 | SKIP_TYPE(spd, struct sp_dir)
      | ^~~~~~~~~
container.h:833:9: error: unknown type name 'u_int32_t'
  833 |         u_int32_t       sl_level;                                                                                               \
      |         ^~~~~~~~~
container.h:884:1: note: in expansion of macro 'SKIP_STRUCT_DEFS'
  884 | SKIP_STRUCT_DEFS(NAME,TYPE)                                                                                             \
      | ^~~~~~~~~~~~~~~~
spegla.h:100:1: note: in expansion of macro 'SKIP_TYPE'
  100 | SKIP_TYPE(spd, struct sp_dir)
      | ^~~~~~~~~
container.h:834:9: error: unknown type name 'u_int32_t'
  834 |         u_int32_t       sl_random_bits;                                                                                 \
      |         ^~~~~~~~~
container.h:884:1: note: in expansion of macro 'SKIP_STRUCT_DEFS'
  884 | SKIP_STRUCT_DEFS(NAME,TYPE)                                                                                             \
      | ^~~~~~~~~~~~~~~~
spegla.h:100:1: note: in expansion of macro 'SKIP_TYPE'
  100 | SKIP_TYPE(spd, struct sp_dir)
      | ^~~~~~~~~
container.h:835:9: error: unknown type name 'u_int32_t'
  835 |         u_int32_t       sl_randoms_left;                                                                                \
      |         ^~~~~~~~~
container.h:884:1: note: in expansion of macro 'SKIP_STRUCT_DEFS'
  884 | SKIP_STRUCT_DEFS(NAME,TYPE)                                                                                             \
      | ^~~~~~~~~~~~~~~~
spegla.h:100:1: note: in expansion of macro 'SKIP_TYPE'
  100 | SKIP_TYPE(spd, struct sp_dir)
      | ^~~~~~~~~
spegla.h:100:16: error: expected ')' before 'struct'
  100 | SKIP_TYPE(spd, struct sp_dir)
      |                ^~~~~~
container.h:840:52: note: in definition of macro 'SKIP_TYPEDEF_DEFS'
  840 | typedef void (* CC_3(sl_,NAME,_map_f)) (u_int32_t, TYPE *, void *);
      |                                                    ^~~~
spegla.h:100:1: note: in expansion of macro 'SKIP_TYPE'
  100 | SKIP_TYPE(spd, struct sp_dir)
      | ^~~~~~~~~
container.h:853:45: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'?
  853 |         (struct CC_3(skip_,NAME,_list) *sl, u_int32_t key, TYPE *data),         \
      |                                             ^~~~~~~~~
container.h:352:48: note: in definition of macro 'DEF_F_DECL'
  352 | static __inline ret_t CC_5(PRE,_,NAME,_,f_name)arg                                      \
      |                                                ^~~
container.h:886:1: note: in expansion of macro 'SKIP_FUN_DEFS'
  886 | SKIP_FUN_DEFS(DEF_F_DECL,NAME,TYPE)
      | ^~~~~~~~~~~~~
spegla.h:100:1: note: in expansion of macro 'SKIP_TYPE'
  100 | SKIP_TYPE(spd, struct sp_dir)
      | ^~~~~~~~~
container.h:857:45: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'?
  857 |         (struct CC_3(skip_,NAME,_list) *sl, u_int32_t key,                                      \
      |                                             ^~~~~~~~~
container.h:352:48: note: in definition of macro 'DEF_F_DECL'
  352 | static __inline ret_t CC_5(PRE,_,NAME,_,f_name)arg                                      \
      |                                                ^~~
container.h:886:1: note: in expansion of macro 'SKIP_FUN_DEFS'
  886 | SKIP_FUN_DEFS(DEF_F_DECL,NAME,TYPE)
      | ^~~~~~~~~~~~~
spegla.h:100:1: note: in expansion of macro 'SKIP_TYPE'
  100 | SKIP_TYPE(spd, struct sp_dir)
      | ^~~~~~~~~
container.h:873:45: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'?
  873 |         (struct CC_3(skip_,NAME,_list) *sl, u_int32_t key, TYPE **data),        \
      |                                             ^~~~~~~~~
container.h:352:48: note: in definition of macro 'DEF_F_DECL'
  352 | static __inline ret_t CC_5(PRE,_,NAME,_,f_name)arg                                      \
      |                                                ^~~
container.h:886:1: note: in expansion of macro 'SKIP_FUN_DEFS'
  886 | SKIP_FUN_DEFS(DEF_F_DECL,NAME,TYPE)
      | ^~~~~~~~~~~~~
spegla.h:100:1: note: in expansion of macro 'SKIP_TYPE'
  100 | SKIP_TYPE(spd, struct sp_dir)
      | ^~~~~~~~~
--- jftp.o ---
In file included from jftp.c:58:
jftp.h:71:9: error: unknown type name 'u_int64_t'
   71 |         u_int64_t ftp_recd;
      |         ^~~~~~~~~
jftp.h:72:9: error: unknown type name 'u_int64_t'
   72 |         u_int64_t ftp_sent;
      |         ^~~~~~~~~
jftp.c: In function 'ftp_req':
jftp.c:225:29: warning: implicit declaration of function 'alloca' [-Wimplicit-function-declaration]
  225 |                 if ((nfmt = alloca(strlen(fmt) + 3)) == NULL) {
      |                             ^~~~~~
jftp.c:225:29: warning: incompatible implicit declaration of built-in function 'alloca' [-Wbuiltin-declaration-mismatch]
jftp.c: In function 'ftp_login':
jftp.c:357:18: error: 'u_int8_t' undeclared (first use in this function); did you mean 'uint8_t'?
  357 |                 (u_int8_t) hp->h_addr[0], (u_int8_t) hp->h_addr[1],
      |                  ^~~~~~~~
      |                  uint8_t
jftp.c:357:18: note: each undeclared identifier is reported only once for each function it appears in
--- tgetopt.o ---
tgetopt.c:28:19: warning: 'cvsid' defined but not used [-Wunused-const-variable=]
   28 | static char const cvsid[] = "$Id: tgetopt.c,v 1.18 2000/05/14 14:39:39 jens Exp $";
      |                   ^~~~~
--- jftp.o ---
jftp.c:357:27: error: expected ')' before 'hp'
  357 |                 (u_int8_t) hp->h_addr[0], (u_int8_t) hp->h_addr[1],
      |                           ^~~
      |                           )
jftp.c:356:23: note: to match this '('
  356 |         (void) sprintf(c->ftp_my_ip_comma, "%d,%d,%d,%d",
      |                       ^
jftp.c: In function 'ftp_dir':
jftp.c:907:21: error: 'PATH_MAX' undeclared (first use in this function); did you mean 'AF_MAX'?
  907 |         char    buf[PATH_MAX];
      |                     ^~~~~~~~
      |                     AF_MAX
jftp.c:907:17: warning: unused variable 'buf' [-Wunused-variable]
  907 |         char    buf[PATH_MAX];
      |                 ^~~
--- parserow.o ---
container.h:877:45: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'?
  877 |         (struct CC_3(skip_,NAME,_list) *sl, u_int32_t key, TYPE **data),        \
      |                                             ^~~~~~~~~
container.h:352:48: note: in definition of macro 'DEF_F_DECL'
  352 | static __inline ret_t CC_5(PRE,_,NAME,_,f_name)arg                                      \
      |                                                ^~~
container.h:886:1: note: in expansion of macro 'SKIP_FUN_DEFS'
  886 | SKIP_FUN_DEFS(DEF_F_DECL,NAME,TYPE)
      | ^~~~~~~~~~~~~
spegla.h:100:1: note: in expansion of macro 'SKIP_TYPE'
  100 | SKIP_TYPE(spd, struct sp_dir)
      | ^~~~~~~~~
spegla.h: In function 'fifo_spf_walk':
container.h:527:33: warning: pointer targets in passing argument 2 of 'fifo_walk' differ in signedness [-Wpointer-sign]
  527 |         ((struct fifo_list *)f, pos, (void **)data) )                                           \
      |                                 ^~~
      |                                 |
      |                                 size_t * {aka long unsigned int *}
container.h:354:41: note: in definition of macro 'DEF_F_DECL'
  354 |         return (ret_t)CC_3(PRE,_,f_name)arg2;                                                   \
      |                                         ^~~~
container.h:548:1: note: in expansion of macro 'FIFO_FUN_DEFS'
  548 | FIFO_FUN_DEFS(DEF_F_DECL,NAME,TYPE)
      | ^~~~~~~~~~~~~
spegla.h:119:1: note: in expansion of macro 'FIFO_TYPE'
  119 | FIFO_TYPE(spf, struct sp_file)
      | ^~~~~~~~~
container.h:167:44: note: expected 'ssize_t *' {aka 'long int *'} but argument is of type 'size_t *' {aka 'long unsigned int *'}
  167 | int fifo_walk(struct fifo_list *, ssize_t *pos, TYPE **data);
      |                                   ~~~~~~~~~^~~
spegla.h: In function 'fifo_spf_walk_back':
container.h:531:33: warning: pointer targets in passing argument 2 of 'fifo_walk_back' differ in signedness [-Wpointer-sign]
  531 |         ((struct fifo_list *)f, pos, (void **)data) )                                           \
      |                                 ^~~
      |                                 |
      |                                 size_t * {aka long unsigned int *}
container.h:354:41: note: in definition of macro 'DEF_F_DECL'
  354 |         return (ret_t)CC_3(PRE,_,f_name)arg2;                                                   \
      |                                         ^~~~
container.h:548:1: note: in expansion of macro 'FIFO_FUN_DEFS'
  548 | FIFO_FUN_DEFS(DEF_F_DECL,NAME,TYPE)
      | ^~~~~~~~~~~~~
spegla.h:119:1: note: in expansion of macro 'FIFO_TYPE'
  119 | FIFO_TYPE(spf, struct sp_file)
      | ^~~~~~~~~
container.h:168:49: note: expected 'ssize_t *' {aka 'long int *'} but argument is of type 'size_t *' {aka 'long unsigned int *'}
  168 | int fifo_walk_back(struct fifo_list *, ssize_t *pos, TYPE **data);
      |                                        ~~~~~~~~~^~~
spegla.h: At top level:
container.h:734:9: error: unknown type name 'u_int32_t'
  734 |         u_int32_t       heap_size;                                                                                              \
      |         ^~~~~~~~~
container.h:746:1: note: in expansion of macro 'HEAP_STRUCT_DEFS'
  746 | HEAP_STRUCT_DEFS(NAME,TYPE)                                                                                             \
      | ^~~~~~~~~~~~~~~~
spegla.h:120:1: note: in expansion of macro 'HEAP_TYPE'
  120 | HEAP_TYPE(spf, struct sp_file)
      | ^~~~~~~~~
container.h:735:9: error: unknown type name 'u_int32_t'
  735 |         u_int32_t       heap_keys;                                                                                              \
      |         ^~~~~~~~~
container.h:746:1: note: in expansion of macro 'HEAP_STRUCT_DEFS'
  746 | HEAP_STRUCT_DEFS(NAME,TYPE)                                                                                             \
      | ^~~~~~~~~~~~~~~~
spegla.h:120:1: note: in expansion of macro 'HEAP_TYPE'
  120 | HEAP_TYPE(spf, struct sp_file)
      | ^~~~~~~~~
--- jftp.o ---
*** [jftp.o] Error code 1

bmake: stopped making "all" in /home/pbulk/build/net/spegla/work/spegla-1.1p4
--- spegla.o ---
In file included from spegla.h:48,
                 from spegla.c:70:
container.h:210:9: error: unknown type name 'u_int16_t'
  210 |         u_int16_t       pat_bit;
      |         ^~~~~~~~~
container.h:211:9: error: unknown type name 'u_int16_t'
  211 |         u_int16_t       pat_is_node;
      |         ^~~~~~~~~
container.h:213:9: error: unknown type name 'u_int16_t'
  213 |         u_int16_t       pat_key_len[2];
      |         ^~~~~~~~~
container.h:223:9: error: unknown type name 'u_int32_t'
  223 |         u_int32_t       pat_keys;
      |         ^~~~~~~~~
container.h:226:9: error: unknown type name 'u_int16_t'
  226 |         u_int16_t       pat_key_len;
      |         ^~~~~~~~~
container.h:227:9: error: unknown type name 'u_int16_t'
  227 |         u_int16_t       pat_key_len_max;
      |         ^~~~~~~~~
container.h:253:9: error: unknown type name 'u_int32_t'
  253 |         u_int32_t       heap_size;
      |         ^~~~~~~~~
container.h:254:9: error: unknown type name 'u_int32_t'
  254 |         u_int32_t       heap_keys;
      |         ^~~~~~~~~
container.h:274:39: error: expected ')' before 'TYPE'
  274 | typedef void (*hash_map_f) (u_int32_t, TYPE *, TYPE *);
      |                                       ^~~~~
      |                                       )
container.h:280:9: error: unknown type name 'u_int32_t'
  280 |         u_int32_t       he_key;
      |         ^~~~~~~~~
container.h:285:9: error: unknown type name 'u_int32_t'
  285 |         u_int32_t       hash_size;
      |         ^~~~~~~~~
container.h:293:33: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'?
  293 | int hash_ins(struct hash_buf *, u_int32_t key, TYPE *data);
      |                                 ^~~~~~~~~
      |                                 uint32_t
container.h:294:34: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'?
  294 | int hash_find(struct hash_buf *, u_int32_t key, TYPE **data);
      |                                  ^~~~~~~~~
      |                                  uint32_t
container.h:295:34: error: unknown type name 'hash_map_f'; did you mean 'pat_map_f'?
  295 | void hash_map(struct hash_buf *, hash_map_f map_fun, TYPE *arg_obj);
      |                                  ^~~~~~~~~~
      |                                  pat_map_f
container.h:296:33: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'?
  296 | int hash_rem(struct hash_buf *, u_int32_t key, TYPE **data);
      |                                 ^~~~~~~~~
      |                                 uint32_t
container.h:304:37: error: expected ')' before 'TYPE'
  304 | typedef void (*sl_map_f) (u_int32_t, TYPE *, void *);
      |                                     ^~~~~
      |                                     )
container.h:309:9: error: unknown type name 'u_int32_t'
  309 |         u_int32_t       sln_key;
      |         ^~~~~~~~~
container.h:316:9: error: unknown type name 'u_int32_t'
  316 |         u_int32_t       sl_level;                                       /* Current level of the list    */
      |         ^~~~~~~~~
container.h:317:9: error: unknown type name 'u_int32_t'
  317 |         u_int32_t       sl_random_bits;                         /* Used by sl_random_level              */
      |         ^~~~~~~~~
container.h:318:9: error: unknown type name 'u_int32_t'
  318 |         u_int32_t       sl_randoms_left;                        /* Used by sl_random_level              */
      |         ^~~~~~~~~
container.h:323:32: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'?
  323 | int sl_ins(struct skip_list *, u_int32_t key, TYPE *data);
      |                                ^~~~~~~~~
      |                                uint32_t
container.h:324:37: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'?
  324 | int sl_find_pos(struct skip_list *, u_int32_t key,
      |                                     ^~~~~~~~~
      |                                     uint32_t
container.h:329:33: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'?
  329 | int sl_find(struct skip_list *, u_int32_t key, TYPE **data);
      |                                 ^~~~~~~~~
      |                                 uint32_t
container.h:330:32: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'?
  330 | int sl_rem(struct skip_list *, u_int32_t key, TYPE **data);
      |                                ^~~~~~~~~
      |                                uint32_t
--- parserow.o ---
*** [parserow.o] Error code 1

bmake: stopped making "all" in /home/pbulk/build/net/spegla/work/spegla-1.1p4
--- spegla.o ---
spegla.h:74:9: error: unknown type name 'u_int32_t'
   74 |         u_int32_t       spf_opt;
      |         ^~~~~~~~~
container.h:827:9: error: unknown type name 'u_int32_t'
  827 |         u_int32_t       sln_key;                                                                                                \
      |         ^~~~~~~~~
container.h:884:1: note: in expansion of macro 'SKIP_STRUCT_DEFS'
  884 | SKIP_STRUCT_DEFS(NAME,TYPE)                                                                                             \
      | ^~~~~~~~~~~~~~~~
spegla.h:100:1: note: in expansion of macro 'SKIP_TYPE'
  100 | SKIP_TYPE(spd, struct sp_dir)
      | ^~~~~~~~~
container.h:833:9: error: unknown type name 'u_int32_t'
  833 |         u_int32_t       sl_level;                                                                                               \
      |         ^~~~~~~~~
container.h:884:1: note: in expansion of macro 'SKIP_STRUCT_DEFS'
  884 | SKIP_STRUCT_DEFS(NAME,TYPE)                                                                                             \
      | ^~~~~~~~~~~~~~~~
spegla.h:100:1: note: in expansion of macro 'SKIP_TYPE'
  100 | SKIP_TYPE(spd, struct sp_dir)
      | ^~~~~~~~~
container.h:834:9: error: unknown type name 'u_int32_t'
  834 |         u_int32_t       sl_random_bits;                                                                                 \
      |         ^~~~~~~~~
container.h:884:1: note: in expansion of macro 'SKIP_STRUCT_DEFS'
  884 | SKIP_STRUCT_DEFS(NAME,TYPE)                                                                                             \
      | ^~~~~~~~~~~~~~~~
spegla.h:100:1: note: in expansion of macro 'SKIP_TYPE'
  100 | SKIP_TYPE(spd, struct sp_dir)
      | ^~~~~~~~~
container.h:835:9: error: unknown type name 'u_int32_t'
  835 |         u_int32_t       sl_randoms_left;                                                                                \
      |         ^~~~~~~~~
container.h:884:1: note: in expansion of macro 'SKIP_STRUCT_DEFS'
  884 | SKIP_STRUCT_DEFS(NAME,TYPE)                                                                                             \
      | ^~~~~~~~~~~~~~~~
spegla.h:100:1: note: in expansion of macro 'SKIP_TYPE'
  100 | SKIP_TYPE(spd, struct sp_dir)
      | ^~~~~~~~~
spegla.h:100:16: error: expected ')' before 'struct'
  100 | SKIP_TYPE(spd, struct sp_dir)
      |                ^~~~~~
container.h:840:52: note: in definition of macro 'SKIP_TYPEDEF_DEFS'
  840 | typedef void (* CC_3(sl_,NAME,_map_f)) (u_int32_t, TYPE *, void *);
      |                                                    ^~~~
spegla.h:100:1: note: in expansion of macro 'SKIP_TYPE'
  100 | SKIP_TYPE(spd, struct sp_dir)
      | ^~~~~~~~~
container.h:853:45: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'?
  853 |         (struct CC_3(skip_,NAME,_list) *sl, u_int32_t key, TYPE *data),         \
      |                                             ^~~~~~~~~
container.h:352:48: note: in definition of macro 'DEF_F_DECL'
  352 | static __inline ret_t CC_5(PRE,_,NAME,_,f_name)arg                                      \
      |                                                ^~~
container.h:886:1: note: in expansion of macro 'SKIP_FUN_DEFS'
  886 | SKIP_FUN_DEFS(DEF_F_DECL,NAME,TYPE)
      | ^~~~~~~~~~~~~
spegla.h:100:1: note: in expansion of macro 'SKIP_TYPE'
  100 | SKIP_TYPE(spd, struct sp_dir)
      | ^~~~~~~~~
container.h:857:45: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'?
  857 |         (struct CC_3(skip_,NAME,_list) *sl, u_int32_t key,                                      \
      |                                             ^~~~~~~~~
container.h:352:48: note: in definition of macro 'DEF_F_DECL'
  352 | static __inline ret_t CC_5(PRE,_,NAME,_,f_name)arg                                      \
      |                                                ^~~
container.h:886:1: note: in expansion of macro 'SKIP_FUN_DEFS'
  886 | SKIP_FUN_DEFS(DEF_F_DECL,NAME,TYPE)
      | ^~~~~~~~~~~~~
spegla.h:100:1: note: in expansion of macro 'SKIP_TYPE'
  100 | SKIP_TYPE(spd, struct sp_dir)
      | ^~~~~~~~~
container.h:873:45: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'?
  873 |         (struct CC_3(skip_,NAME,_list) *sl, u_int32_t key, TYPE **data),        \
      |                                             ^~~~~~~~~
container.h:352:48: note: in definition of macro 'DEF_F_DECL'
  352 | static __inline ret_t CC_5(PRE,_,NAME,_,f_name)arg                                      \
      |                                                ^~~
container.h:886:1: note: in expansion of macro 'SKIP_FUN_DEFS'
  886 | SKIP_FUN_DEFS(DEF_F_DECL,NAME,TYPE)
      | ^~~~~~~~~~~~~
spegla.h:100:1: note: in expansion of macro 'SKIP_TYPE'
  100 | SKIP_TYPE(spd, struct sp_dir)
      | ^~~~~~~~~
container.h:877:45: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'?
  877 |         (struct CC_3(skip_,NAME,_list) *sl, u_int32_t key, TYPE **data),        \
      |                                             ^~~~~~~~~
container.h:352:48: note: in definition of macro 'DEF_F_DECL'
  352 | static __inline ret_t CC_5(PRE,_,NAME,_,f_name)arg                                      \
      |                                                ^~~
container.h:886:1: note: in expansion of macro 'SKIP_FUN_DEFS'
  886 | SKIP_FUN_DEFS(DEF_F_DECL,NAME,TYPE)
      | ^~~~~~~~~~~~~
spegla.h:100:1: note: in expansion of macro 'SKIP_TYPE'
  100 | SKIP_TYPE(spd, struct sp_dir)
      | ^~~~~~~~~
spegla.h: In function 'fifo_spf_walk':
container.h:527:33: warning: pointer targets in passing argument 2 of 'fifo_walk' differ in signedness [-Wpointer-sign]
  527 |         ((struct fifo_list *)f, pos, (void **)data) )                                           \
      |                                 ^~~
      |                                 |
      |                                 size_t * {aka long unsigned int *}
container.h:354:41: note: in definition of macro 'DEF_F_DECL'
  354 |         return (ret_t)CC_3(PRE,_,f_name)arg2;                                                   \
      |                                         ^~~~
container.h:548:1: note: in expansion of macro 'FIFO_FUN_DEFS'
  548 | FIFO_FUN_DEFS(DEF_F_DECL,NAME,TYPE)
      | ^~~~~~~~~~~~~
spegla.h:119:1: note: in expansion of macro 'FIFO_TYPE'
  119 | FIFO_TYPE(spf, struct sp_file)
      | ^~~~~~~~~
container.h:167:44: note: expected 'ssize_t *' {aka 'long int *'} but argument is of type 'size_t *' {aka 'long unsigned int *'}
  167 | int fifo_walk(struct fifo_list *, ssize_t *pos, TYPE **data);
      |                                   ~~~~~~~~~^~~
spegla.h: In function 'fifo_spf_walk_back':
container.h:531:33: warning: pointer targets in passing argument 2 of 'fifo_walk_back' differ in signedness [-Wpointer-sign]
  531 |         ((struct fifo_list *)f, pos, (void **)data) )                                           \
      |                                 ^~~
      |                                 |
      |                                 size_t * {aka long unsigned int *}
container.h:354:41: note: in definition of macro 'DEF_F_DECL'
  354 |         return (ret_t)CC_3(PRE,_,f_name)arg2;                                                   \
      |                                         ^~~~
container.h:548:1: note: in expansion of macro 'FIFO_FUN_DEFS'
  548 | FIFO_FUN_DEFS(DEF_F_DECL,NAME,TYPE)
      | ^~~~~~~~~~~~~
spegla.h:119:1: note: in expansion of macro 'FIFO_TYPE'
  119 | FIFO_TYPE(spf, struct sp_file)
      | ^~~~~~~~~
container.h:168:49: note: expected 'ssize_t *' {aka 'long int *'} but argument is of type 'size_t *' {aka 'long unsigned int *'}
  168 | int fifo_walk_back(struct fifo_list *, ssize_t *pos, TYPE **data);
      |                                        ~~~~~~~~~^~~
spegla.h: At top level:
container.h:734:9: error: unknown type name 'u_int32_t'
  734 |         u_int32_t       heap_size;                                                                                              \
      |         ^~~~~~~~~
container.h:746:1: note: in expansion of macro 'HEAP_STRUCT_DEFS'
  746 | HEAP_STRUCT_DEFS(NAME,TYPE)                                                                                             \
      | ^~~~~~~~~~~~~~~~
spegla.h:120:1: note: in expansion of macro 'HEAP_TYPE'
  120 | HEAP_TYPE(spf, struct sp_file)
      | ^~~~~~~~~
container.h:735:9: error: unknown type name 'u_int32_t'
  735 |         u_int32_t       heap_keys;                                                                                              \
      |         ^~~~~~~~~
container.h:746:1: note: in expansion of macro 'HEAP_STRUCT_DEFS'
  746 | HEAP_STRUCT_DEFS(NAME,TYPE)                                                                                             \
      | ^~~~~~~~~~~~~~~~
spegla.h:120:1: note: in expansion of macro 'HEAP_TYPE'
  120 | HEAP_TYPE(spf, struct sp_file)
      | ^~~~~~~~~
In file included from spegla.c:72:
jftp.h:71:9: error: unknown type name 'u_int64_t'
   71 |         u_int64_t ftp_recd;
      |         ^~~~~~~~~
jftp.h:72:9: error: unknown type name 'u_int64_t'
   72 |         u_int64_t ftp_sent;
      |         ^~~~~~~~~
spegla.c: In function 'print_stats':
spegla.c:219:53: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'int' [-Wformat=]
  219 |                 e_warnx("bytes recieved        : %llu",
      |                                                  ~~~^
      |                                                     |
      |                                                     long long unsigned int
      |                                                  %u
......
  224 |                         connection->ftp_recd);
      |                         ~~~~~~~~~~~~~~~~~~~~         
      |                                   |
      |                                   int
spegla.c:225:53: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'int' [-Wformat=]
  225 |                 e_warnx("bytes sent            : %llu",
      |                                                  ~~~^
      |                                                     |
      |                                                     long long unsigned int
      |                                                  %u
......
  230 |                         connection->ftp_sent);
      |                         ~~~~~~~~~~~~~~~~~~~~         
      |                                   |
      |                                   int
spegla.c: In function 'check_minfree':
spegla.c:714:24: error: storage size of 'f' isn't known
  714 |         struct  statfs f;
      |                        ^
spegla.c:725:13: warning: implicit declaration of function 'statfs'; did you mean 'stat'? [-Wimplicit-function-declaration]
  725 |         if (statfs(path, &f) < 0)
      |             ^~~~~~
      |             stat
spegla.c:714:24: warning: unused variable 'f' [-Wunused-variable]
  714 |         struct  statfs f;
      |                        ^
spegla.c: In function 'main':
spegla.c:1283:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
 1283 |                 if (atexit(remove_lock) < 0)
      |                 ^~
spegla.c:1286:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
 1286 |                         lock_file = param.lockfile;
      |                         ^~~~~~~~~
*** [spegla.o] Error code 1

bmake: stopped making "all" in /home/pbulk/build/net/spegla/work/spegla-1.1p4
bmake: 3 errors

bmake: stopped making "all" in /home/pbulk/build/net/spegla/work/spegla-1.1p4
*** Error code 2

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

Stop.
bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/net/spegla