+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/irrd-2.3.9nb11/work.log
+ su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/irrd-2.3.9nb11/work.log
===> Building for irrd-2.3.9nb11
Making lib
cd config; /usr/pkg/bin/bmake
cc -pipe -O2 -pthread -I/usr/include -Wall  -pthread  -DHAVE_CONFIG_H -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I/usr/include -DFUNCPROTO -I../../include  -c config_file.c
config_file.c: In function 'config_del_module':
config_file.c:82:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
   82 |  if (arg && (module->arg != arg))
      |  ^~
config_file.c:86:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
   86 |      if (strcmp (module->name, "!") == 0)
      |      ^~
config_file.c: In function 'config_access_list':
config_file.c:301:11: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  301 |           (void *) num);
      |           ^
config_file.c:314:7: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  314 |       (void *) num);
      |       ^
a - config_file.o
cd mrt; /usr/pkg/bin/bmake
cc -pipe -O2 -pthread -I/usr/include -Wall  -pthread  -DHAVE_CONFIG_H -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I/usr/include -DFUNCPROTO -I../../include  -c util.c
In file included from /usr/include/ctype.h:100,
                 from ../../include/mrt.h:35,
                 from util.c:5:
util.c: In function 'uii_parse_line2':
util.c:80:28: warning: array subscript has type 'char' [-Wchar-subscripts]
   80 |     while (*cp && isspace (*cp))
      |                            ^
util.c:84:35: warning: array subscript has type 'char' [-Wchar-subscripts]
   84 |     while ((in_quote || !isspace (*cp)) && (*cp != '\0') && (*cp != '\n')) {
      |                                   ^
a - util.o
cc -pipe -O2 -pthread -I/usr/include -Wall  -pthread  -DHAVE_CONFIG_H -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I/usr/include -DFUNCPROTO -I../../include  -c prefix.c
In file included from /usr/include/ctype.h:100,
                 from ../../include/mrt.h:35,
                 from prefix.c:5:
prefix.c: In function 'string_toprefix':
prefix.c:189:21: warning: array subscript has type 'char' [-Wchar-subscripts]
  189 |     if (isdigit(name[0])) { /* Numerical address */
      |                     ^
a - prefix.o
cc -pipe -O2 -pthread -I/usr/include -Wall  -pthread  -DHAVE_CONFIG_H -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I/usr/include -DFUNCPROTO -I../../include  -c mrt.c
a - mrt.o
cc -pipe -O2 -pthread -I/usr/include -Wall  -pthread  -DHAVE_CONFIG_H -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I/usr/include -DFUNCPROTO -I../../include  -c user.c
user.c: In function 'uii_accept_connection':
user.c:221:9: warning: variable 'port' set but not used [-Wunused-but-set-variable]
  221 |     int port, family;
      |         ^~~~
In file included from /usr/include/ctype.h:100,
                 from ../../include/mrt.h:35,
                 from user.c:5:
user.c: In function 'uii_read_command':
user.c:787:36: warning: array subscript has type 'char' [-Wchar-subscripts]
  787 |      while (cp >= data && isspace (*cp)) {
      |                                    ^
user.c:795:29: warning: array subscript has type 'char' [-Wchar-subscripts]
  795 |      while (*cp && isspace (*cp)) {
      |                             ^
user.c: In function 'uii_process_command':
user.c:932:22: warning: array subscript has type 'char' [-Wchar-subscripts]
  932 |     while ((isspace (*uii->cp)) && *uii->cp)
      |                      ^
user.c:994:45: warning: array subscript has type 'char' [-Wchar-subscripts]
  994 |     while (bp >= uii->cp && *bp && isspace (*bp))
      |                                             ^
user.c: In function 'uii_call_callback_fn':
user.c:1170:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1170 |   args[nargs++] = (void *) atoi (utoken);
      |                   ^
user.c:1199:23: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1199 |  args[optional_arg] = (void *) optional;
      |                       ^
In file included from /usr/include/ctype.h:100,
                 from ../../include/mrt.h:35,
                 from user.c:5:
user.c: In function 'strip_spaces':
user.c:1882:28: warning: array subscript has type 'char' [-Wchar-subscripts]
 1882 |     while (*cp && isspace (*cp))
      |                            ^
user.c:1886:29: warning: array subscript has type 'char' [-Wchar-subscripts]
 1886 |  while (pp > cp && isspace (*pp))
      |                             ^
a - user.o
cc -pipe -O2 -pthread -I/usr/include -Wall  -pthread  -DHAVE_CONFIG_H -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I/usr/include -DFUNCPROTO -I../../include  -c schedule.c
a - schedule.o
cc -pipe -O2 -pthread -I/usr/include -Wall  -pthread  -DHAVE_CONFIG_H -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I/usr/include -DFUNCPROTO -I../../include  -c alist.c
a - alist.o
cc -pipe -O2 -pthread -I/usr/include -Wall  -pthread  -DHAVE_CONFIG_H -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I/usr/include -DFUNCPROTO -I../../include  -c trace.c
In file included from /usr/include/ctype.h:100,
                 from ../../include/mrt.h:35,
                 from trace.c:5:
trace.c: In function 'trace':
trace.c:106:49: warning: array subscript has type 'char' [-Wchar-subscripts]
  106 |     if (tr->prepend && /* XXX */ !isspace(format[0])) {
      |                                                 ^
a - trace.o
cc -pipe -O2 -pthread -I/usr/include -Wall  -pthread  -DHAVE_CONFIG_H -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I/usr/include -DFUNCPROTO -I../../include  -c select.c
a - select.o
cc -pipe -O2 -pthread -I/usr/include -Wall  -pthread  -DHAVE_CONFIG_H -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I/usr/include -DFUNCPROTO -I../../include  -c connect.c
connect.c: In function 'nonblock_connect':
connect.c:87:9: warning: passing argument 5 of 'getsockopt' from incompatible pointer type [-Wincompatible-pointer-types]
   87 |         &size);
      |         ^~~~~
      |         |
      |         size_t * {aka long unsigned int *}
In file included from ../../include/mrt.h:33,
                 from connect.c:5:
/usr/include/sys/socket.h:627:49: note: expected '__socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'size_t *' {aka 'long unsigned int *'}
  627 | int getsockopt(int, int, int, void *__restrict, socklen_t * __restrict);
      |                                                 ^
a - connect.o
cc -pipe -O2 -pthread -I/usr/include -Wall  -pthread  -DHAVE_CONFIG_H -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I/usr/include -DFUNCPROTO -I../../include  -c reboot.c
a - reboot.o
cc -pipe -O2 -pthread -I/usr/include -Wall  -pthread  -DHAVE_CONFIG_H -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I/usr/include -DFUNCPROTO -I../../include  -c user_old.c
In file included from /usr/include/ctype.h:100,
                 from ../../include/mrt.h:35,
                 from user_old.c:7:
user_old.c: In function 'parse_line':
user_old.c:39:30: warning: array subscript has type 'char' [-Wchar-subscripts]
   39 |     while (*line && isspace (*line))
      |                              ^
user_old.c:45:15: warning: array subscript has type 'char' [-Wchar-subscripts]
   45 |  if (isspace (*fcp)) {
      |               ^
user_old.c:46:31: warning: array subscript has type 'char' [-Wchar-subscripts]
   46 |      while (*line && isspace (*line))
      |                               ^
user_old.c:57:19: warning: array subscript has type 'char' [-Wchar-subscripts]
   57 |      if (tolower (*fcp) != tolower (*line))
      |                   ^
user_old.c:57:37: warning: array subscript has type 'char' [-Wchar-subscripts]
   57 |      if (tolower (*fcp) != tolower (*line))
      |                                     ^
user_old.c:59:31: warning: array subscript has type 'char' [-Wchar-subscripts]
   59 |      while (*fcp && !isspace (*fcp) &&
      |                               ^
user_old.c:60:13: warning: array subscript has type 'char' [-Wchar-subscripts]
   60 |    tolower (*fcp) == tolower (*line)) {
      |             ^
user_old.c:60:31: warning: array subscript has type 'char' [-Wchar-subscripts]
   60 |    tolower (*fcp) == tolower (*line)) {
      |                               ^
user_old.c:65:20: warning: array subscript has type 'char' [-Wchar-subscripts]
   65 |      if ((isspace (*line) || *line == '\n' || *line == '\0') &&
      |                    ^
user_old.c:66:14: warning: array subscript has type 'char' [-Wchar-subscripts]
   66 |    (isspace (*fcp) || *fcp == '\0')) {
      |              ^
user_old.c:151:22: warning: array subscript has type 'char' [-Wchar-subscripts]
  151 |   if (!isalpha (token[0]))
      |                      ^
user_old.c:154:26: warning: array subscript has type 'char' [-Wchar-subscripts]
  154 |       if (!isalnum (token[i]))
      |                          ^
user_old.c:167:26: warning: array subscript has type 'char' [-Wchar-subscripts]
  167 |       if (!isdigit (token[i]))
      |                          ^
user_old.c:196:31: warning: array subscript has type 'char' [-Wchar-subscripts]
  196 |                 if (!isalpha (*token) && (*token != '/'))
      |                               ^
user_old.c:29:9: warning: variable 'state' set but not used [-Wunused-but-set-variable]
   29 |     int state;
      |         ^~~~~
a - user_old.o
cc -pipe -O2 -pthread -I/usr/include -Wall  -pthread  -DHAVE_CONFIG_H -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I/usr/include -DFUNCPROTO -I../../include  -c user_util.c
In file included from /usr/include/ctype.h:100,
                 from ../../include/mrt.h:35,
                 from user_util.c:5:
user_util.c: In function 'uii_tokenize':
user_util.c:48:35: warning: array subscript has type 'char' [-Wchar-subscripts]
   48 |     while ((in_quote || !isspace (*cp)) && (*cp != '\0') && (*cp != '\n')) {
      |                                   ^
user_util.c: In function 'uii_token_match':
user_util.c:196:31: warning: array subscript has type 'char' [-Wchar-subscripts]
  196 |       if (!isalpha (user_token[0]))
      |                               ^
user_util.c:199:33: warning: array subscript has type 'char' [-Wchar-subscripts]
  199 |         if (!isalnum (user_token[i]))
      |                                 ^
user_util.c:207:33: warning: array subscript has type 'char' [-Wchar-subscripts]
  207 |         if (!isdigit (user_token[i]))
      |                                 ^
user_util.c:216:33: warning: array subscript has type 'char' [-Wchar-subscripts]
  216 |         if (!isdigit (user_token[i]))
      |                                 ^
user_util.c: In function 'find_matching_commands':
user_util.c:249:7: warning: variable 'optional' set but not used [-Wunused-but-set-variable]
  249 |   int optional;
      |       ^~~~~~~~
user_util.c:247:30: warning: variable 'last_utoken' set but not used [-Wunused-but-set-variable]
  247 |   char *last_ctoken = NULL, *last_utoken = NULL;
      |                              ^~~~~~~~~~~
a - user_util.o
cc -pipe -O2 -pthread -I/usr/include -Wall  -pthread  -DHAVE_CONFIG_H -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I/usr/include -DFUNCPROTO -I../../include  -c compat.c
a - compat.o
cc -pipe -O2 -pthread -I/usr/include -Wall  -pthread  -DHAVE_CONFIG_H -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I/usr/include -DFUNCPROTO -I../../include  -c buffer.c
In file included from /usr/include/ctype.h:100,
                 from ../../include/mrt.h:35,
                 from buffer.c:5:
buffer.c: In function 'buffer_vprintf':
buffer.c:304:19: warning: array subscript has type 'char' [-Wchar-subscripts]
  304 |   while (isdigit (*fmt))
      |                   ^
buffer.c:327:24: warning: array subscript has type 'char' [-Wchar-subscripts]
  327 |      } while (isdigit (*++fmt));
      |                        ^
a - buffer.o
cd radix; /usr/pkg/bin/bmake
cc -pipe -O2 -pthread -I/usr/include -Wall  -pthread  -DHAVE_CONFIG_H -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I/usr/include -DFUNCPROTO -I../../include  -c radix.c
a - radix.o
cd struct; /usr/pkg/bin/bmake
cc -pipe -O2 -pthread -I/usr/include -Wall  -pthread  -DHAVE_CONFIG_H -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I/usr/include -DFUNCPROTO -I../../include  -c New.c
New.c: In function 'Reallocate_DefaultHandler':
New.c:240:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  240 |        (u_int)ptr, ptr_name, size, name, strerror(errno), file, line);
      |        ^
New.c:242:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  242 |        (u_int)ptr, size, strerror(errno));
      |        ^
New.c: In function 'Delete_DefaultHandler':
New.c:263:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  263 |        (u_int)ptr, name, strerror(errno), file, line);
      |        ^
New.c:264:69: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  264 |    else      fprintf(out, "Delete: Error freeing 0x%.8x. \"%s\"\n", (u_int)ptr, strerror(errno));
      |                                                                     ^
a - New.o
cc -pipe -O2 -pthread -I/usr/include -Wall  -pthread  -DHAVE_CONFIG_H -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I/usr/include -DFUNCPROTO -I../../include  -c stack.c
stack.c: In function 'STACK_DefaultHandler':
stack.c:196:73: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  196 |    fprintf(out, "STACK: 0x%.8x Error in function %s. \"%s\" {%u/%u}\n", (u_int)stack, name,
      |                                                                         ^
stack.c: In function 'STACK_Print':
stack.c:220:52: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  220 |    printf("STACK: 0x%.8x Print(0x%.8x) {%u/%u}\n", (u_int)stack, (u_int)print, (u_int)stack->top, (u_int)stack->size);
      |                                                    ^
stack.c:220:66: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  220 |    printf("STACK: 0x%.8x Print(0x%.8x) {%u/%u}\n", (u_int)stack, (u_int)print, (u_int)stack->top, (u_int)stack->size);
      |                                                                  ^
a - stack.o
cc -pipe -O2 -pthread -I/usr/include -Wall  -pthread  -DHAVE_CONFIG_H -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I/usr/include -DFUNCPROTO -I../../include  -c linked_list.c
linked_list.c: In function 'LL_DefaultHandler':
linked_list.c:1650:71: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
 1650 |    fprintf(out, "LINKED LIST: 0x%.8x Error in function %s: \"%s\"\n", (u_int)ll, name, LL_errlist[num]);
      |                                                                       ^
a - linked_list.o
cc -pipe -O2 -pthread -I/usr/include -Wall  -pthread  -DHAVE_CONFIG_H -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I/usr/include -DFUNCPROTO -I../../include  -c hash.c
hash.c: In function 'HASH_DefaultHandler':
hash.c:923:70: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  923 |    fprintf(out, "HASH TABLE: 0x%.8x Error in function %s: \"%s\"\n", (u_int)h, fn, HASH_errlist[num]);
      |                                                                      ^
hash.c: In function 'HASH_Print':
hash.c:1009:58: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
 1009 |    printf("HASH TABLE: 0x%.8x attributes: %s, %s, %s\n", (u_int)h,
      |                                                          ^
hash.c:1013:45: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
 1013 |    printf("HASH TABLE: 0x%.8x size = %u\n", (u_int)h, h->size);
      |                                             ^
hash.c:1016:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
 1016 |       (u_int)h, h->key_offset, h->next_offset);
      |       ^
hash.c:1019:54: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
 1019 |       printf("HASH TABLE: 0x%.8x key offset = %u\n", (u_int)h, h->key_offset);
      |                                                      ^
hash.c:1022:4: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
 1022 |    (u_int)h, (u_int)h->hash, (u_int)h->lookup, (u_int)h->destroy);
      |    ^
hash.c:1022:14: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
 1022 |    (u_int)h, (u_int)h->hash, (u_int)h->lookup, (u_int)h->destroy);
      |              ^
hash.c:1022:30: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
 1022 |    (u_int)h, (u_int)h->hash, (u_int)h->lookup, (u_int)h->destroy);
      |                              ^
hash.c:1022:48: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
 1022 |    (u_int)h, (u_int)h->hash, (u_int)h->lookup, (u_int)h->destroy);
      |                                                ^
hash.c: In function 'HASH_DefaultPrinter':
hash.c:1052:57: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
 1052 |    printf("%3d: 0x%.8x key = 0x%.8x = \"%s\"\n", index, (u_int)data, (u_int)key, (char *)key);
      |                                                         ^
hash.c:1052:70: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
 1052 |    printf("%3d: 0x%.8x key = 0x%.8x = \"%s\"\n", index, (u_int)data, (u_int)key, (char *)key);
      |                                                                      ^
a - hash.o
cc -pipe -O2 -pthread -I/usr/include -Wall  -pthread  -DHAVE_CONFIG_H -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I/usr/include -DFUNCPROTO -I../../include  -c array.c
array.c: In function 'ARRAY_MergeSort':
array.c:280:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  280 |    while ((unsigned)tmp[0] != size-1) {
      |           ^
array.c:281:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  281 |       if ((unsigned)tmp[p] == r) { /* AUTO-MERGE, all sub-arrays processed */
      |           ^
array.c:283:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  283 |   r = (unsigned)tmp[q+1];
      |       ^
array.c:305:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  305 |   tmp[p] = (DATA_PTR)r;
      |            ^
array.c:326:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  326 |   tmp[p] = (DATA_PTR)r;
      |            ^
array.c:331:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  331 |   tmp[p] = (DATA_PTR)p;
      |            ^
a - array.o
cd timer; /usr/pkg/bin/bmake
cc -pipe -O2 -pthread -I/usr/include -Wall  -pthread  -DHAVE_CONFIG_H -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I/usr/include -DFUNCPROTO -I../../include  -c timer.c
a - timer.o
cc -pipe -O2 -pthread -I/usr/include -Wall  -pthread  -DHAVE_CONFIG_H -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I/usr/include -DFUNCPROTO -I../../include  -c signal.c
a - signal.o
Making programs
for i in atomic_ops compat IRRd hdr_comm pgp irr_rpsl_check irrd_ops  irr_notify irr_rpsl_submit;  do (echo "cd $i; /usr/pkg/bin/bmake"; cd $i; /usr/pkg/bin/bmake; cd ..); done
cd atomic_ops; /usr/pkg/bin/bmake
cc -pipe -O2 -pthread -I/usr/include -Wall  -pthread  -DHAVE_CONFIG_H -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I/usr/include -DFUNCPROTO -I../../include  -c atomic_ops.c
In file included from /usr/include/stdio.h:595,
                 from atomic_ops.c:1:
atomic_ops.c: In function 'rm_tmpfiles':
atomic_ops.c:455:21: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=]
  455 |     sprintf (tname, "%s/%s", af->tmp_dir, p);
      |                     ^~~~~~~
atomic_ops.c:455:27: note: format string is defined here
  455 |     sprintf (tname, "%s/%s", af->tmp_dir, p);
      |                           ^
In file included from /usr/include/stdio.h:595,
                 from atomic_ops.c:1:
atomic_ops.c:455:5: note: '__builtin___sprintf_chk' output 2 or more bytes (assuming 1026) into a destination of size 1025
  455 |     sprintf (tname, "%s/%s", af->tmp_dir, p);
      |     ^~~~~~~
ar crv libatomic_ops.a atomic_ops.o
a - atomic_ops.o
ranlib libatomic_ops.a
cd compat; /usr/pkg/bin/bmake
cc -pipe -O2 -pthread -I/usr/include -Wall  -pthread  -DHAVE_CONFIG_H -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I/usr/include -DFUNCPROTO -I../../include  -c snprintf.c
snprintf.c:413:13: warning: 'credits' defined but not used [-Wunused-variable]
  413 | static char credits[] = "\n\
      |             ^~~~~~~
cc -pipe -O2 -pthread -I/usr/include -Wall  -pthread  -DHAVE_CONFIG_H -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I/usr/include -DFUNCPROTO -I../../include  -c mktemp.c
cc -pipe -O2 -pthread -I/usr/include -Wall  -pthread  -DHAVE_CONFIG_H -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I/usr/include -DFUNCPROTO -I../../include  -c inet_ntop.c
cc -pipe -O2 -pthread -I/usr/include -Wall  -pthread  -DHAVE_CONFIG_H -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I/usr/include -DFUNCPROTO -I../../include  -c inet_pton.c
ar crv libcompat.a snprintf.o mktemp.o inet_ntop.o inet_pton.o
a - snprintf.o
a - mktemp.o
a - inet_ntop.o
a - inet_pton.o
ranlib libcompat.a
cd IRRd; /usr/pkg/bin/bmake
cc -pipe -O2 -pthread -I/usr/include -Wall  -pthread  -DHAVE_CONFIG_H -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I/usr/include -DFUNCPROTO -I../../include  -c main.c
main.c: In function 'daemonize':
main.c:371:14: warning: variable 't' set but not used [-Wunused-but-set-variable]
  371 |     int pid, t;
      |              ^
cc -pipe -O2 -pthread -I/usr/include -Wall  -pthread  -DHAVE_CONFIG_H -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I/usr/include -DFUNCPROTO -I../../include  -c telnet.c
telnet.c: In function 'listen_telnet':
telnet.c:318:64: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  318 |   select_add_fd (sockfd, 1, (void_fn_t) irr_accept_connection, (void *) sockfd);
      |                                                                ^
cc -pipe -O2 -pthread -I/usr/include -Wall  -pthread  -DHAVE_CONFIG_H -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I/usr/include -DFUNCPROTO -I../../include  -c scan.c
In file included from /usr/include/ctype.h:100,
                 from scan.c:10:
scan.c: In function 'get_curr_f':
scan.c:623:27: warning: array subscript has type 'char' [-Wchar-subscripts]
  623 |    if ( (*dst++ = tolower(*src++)) == ':') /* convert to lowercase and check for colon */
      |                           ^
cc -pipe -O2 -pthread -I/usr/include -Wall  -pthread  -DHAVE_CONFIG_H -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I/usr/include -DFUNCPROTO -I../../include  -c config.c
cc -pipe -O2 -pthread -I/usr/include -Wall  -pthread  -DHAVE_CONFIG_H -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I/usr/include -DFUNCPROTO -I../../include  -c commands.c
commands.c: In function 'irr_more_all':
commands.c:991:37: warning: variable 'last_node' set but not used [-Wunused-but-set-variable]
  991 |   radix_node_t *node, *start_node, *last_node;
      |                                     ^~~~~~~~~
cc -pipe -O2 -pthread -I/usr/include -Wall  -pthread  -DHAVE_CONFIG_H -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I/usr/include -DFUNCPROTO -I../../include  -c database.c
database.c: In function 'database_clear':
database.c:49:24: warning: iteration 21 invokes undefined behavior [-Waggressive-loop-optimizations]
   49 |     db->num_objects[i] = 0;
      |     ~~~~~~~~~~~~~~~~~~~^~~
database.c:48:3: note: within this loop
   48 |   for (i=0; i< IRR_MAX_KEYS; i++)
      |   ^~~
In file included from /usr/include/stdio.h:595,
                 from database.c:6:
database.c: In function 'irr_database_export':
database.c:443:23: warning: '%s' directive writing up to 1023 bytes into a region of size 970 [-Wformat-overflow=]
  443 |     sprintf (command, "%s -q -c %s > %s", GZIP_CMD, tmp_export, tmp_export_gz);
      |                       ^~~~~~~~~~~~~~~~~~            ~~~~~~~~~~
database.c:443:33: note: format string is defined here
  443 |     sprintf (command, "%s -q -c %s > %s", GZIP_CMD, tmp_export, tmp_export_gz);
      |                                 ^~
In file included from /usr/include/stdio.h:595,
                 from database.c:6:
database.c:443:5: note: '__builtin___sprintf_chk' output between 58 and 2104 bytes into a destination of size 1024
  443 |     sprintf (command, "%s -q -c %s > %s", GZIP_CMD, tmp_export, tmp_export_gz);
      |     ^~~~~~~
database.c:441:23: warning: ' > ' directive writing 3 bytes into a region of size between 0 and 1023 [-Wformat-overflow=]
  441 |     sprintf (command, "%s %s > %s", database->compress_script, tmp_export, tmp_export_gz);
      |                       ^~~~~~~~~~~~
database.c:441:29: note: format string is defined here
  441 |     sprintf (command, "%s %s > %s", database->compress_script, tmp_export, tmp_export_gz);
      |                             ^~~
In file included from /usr/include/stdio.h:595,
                 from database.c:6:
database.c:441:5: note: '__builtin___sprintf_chk' output 5 or more bytes (assuming 2051) into a destination of size 1024
  441 |     sprintf (command, "%s %s > %s", database->compress_script, tmp_export, tmp_export_gz);
      |     ^~~~~~~
cc -pipe -O2 -pthread -I/usr/include -Wall  -pthread  -DHAVE_CONFIG_H -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I/usr/include -DFUNCPROTO -I../../include  -c update.c
cc -pipe -O2 -pthread -I/usr/include -Wall  -pthread  -DHAVE_CONFIG_H -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I/usr/include -DFUNCPROTO -I../../include  -c mirror.c
In file included from /usr/include/stdio.h:595,
                 from mirror.c:6:
mirror.c: In function 'irr_service_mirror_request':
mirror.c:389:25: warning: '%s' directive writing up to 1023 bytes into a region of size 984 [-Wformat-overflow=]
  389 |       sprintf (buffer1, "\n\n\n%% ERROR: syntax error in 'to' value (%s)\n", buffer);
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  ~~~~~~
mirror.c:389:70: note: format string is defined here
  389 |       sprintf (buffer1, "\n\n\n%% ERROR: syntax error in 'to' value (%s)\n", buffer);
      |                                                                      ^~
In file included from /usr/include/stdio.h:595,
                 from mirror.c:6:
mirror.c:389:7: note: '__builtin___sprintf_chk' output between 43 and 1066 bytes into a destination of size 1024
  389 |       sprintf (buffer1, "\n\n\n%% ERROR: syntax error in 'to' value (%s)\n", buffer);
      |       ^~~~~~~
mirror.c:410:24: warning: '%s' directive writing up to 1023 bytes into a region of size 1011 [-Wformat-overflow=]
  410 |       sprintf (buffer, "\n\n\n%% ERROR: (%s).CURRENTSERIAL file missing or corrupted!\n", name);
      |                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  ~~~~
mirror.c:410:42: note: format string is defined here
  410 |       sprintf (buffer, "\n\n\n%% ERROR: (%s).CURRENTSERIAL file missing or corrupted!\n", name);
      |                                          ^~
In file included from /usr/include/stdio.h:595,
                 from mirror.c:6:
mirror.c:410:7: note: '__builtin___sprintf_chk' output between 57 and 1080 bytes into a destination of size 1024
  410 |       sprintf (buffer, "\n\n\n%% ERROR: (%s).CURRENTSERIAL file missing or corrupted!\n", name);
      |       ^~~~~~~
mirror.c:397:22: warning: '%s' directive writing up to 1023 bytes into a region of size 1000 [-Wformat-overflow=]
  397 |     sprintf (buffer, "\n\n\n%% ERROR: Unknown db (%s) in mirror request\n", name);
      |                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  ~~~~
mirror.c:397:51: note: format string is defined here
  397 |     sprintf (buffer, "\n\n\n%% ERROR: Unknown db (%s) in mirror request\n", name);
      |                                                   ^~
In file included from /usr/include/stdio.h:595,
                 from mirror.c:6:
mirror.c:397:5: note: '__builtin___sprintf_chk' output between 45 and 1068 bytes into a destination of size 1024
  397 |     sprintf (buffer, "\n\n\n%% ERROR: Unknown db (%s) in mirror request\n", name);
      |     ^~~~~~~
mirror.c:383:24: warning: '%s' directive writing up to 1023 bytes into a region of size 982 [-Wformat-overflow=]
  383 |       sprintf (buffer, "\n\n\n%% ERROR: syntax error in 'from' value (%s)\n", buffer1);
      |                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  ~~~~~~~
mirror.c:383:71: note: format string is defined here
  383 |       sprintf (buffer, "\n\n\n%% ERROR: syntax error in 'from' value (%s)\n", buffer1);
      |                                                                       ^~
In file included from /usr/include/stdio.h:595,
                 from mirror.c:6:
mirror.c:383:7: note: '__builtin___sprintf_chk' output between 45 and 1068 bytes into a destination of size 1024
  383 |       sprintf (buffer, "\n\n\n%% ERROR: syntax error in 'from' value (%s)\n", buffer1);
      |       ^~~~~~~
cc -pipe -O2 -pthread -I/usr/include -Wall  -pthread  -DHAVE_CONFIG_H -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I/usr/include -DFUNCPROTO -I../../include  -c uii_commands.c
uii_commands.c: In function 'uii_show_ip_more':
uii_commands.c:581:37: warning: variable 'last_node' set but not used [-Wunused-but-set-variable]
  581 |   radix_node_t *node, *start_node, *last_node;
      |                                     ^~~~~~~~~
cc -pipe -O2 -pthread -I/usr/include -Wall  -pthread  -DHAVE_CONFIG_H -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I/usr/include -DFUNCPROTO -I../../include  -c journal.c
cc -pipe -O2 -pthread -I/usr/include -Wall  -pthread  -DHAVE_CONFIG_H -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I/usr/include -DFUNCPROTO -I../../include  -c indicies.c
indicies.c: In function 'irr_database_find_matches':
indicies.c:117:17: warning: variable '_p_or_s' set but not used [-Wunused-but-set-variable]
  117 |   u_char _type, _p_or_s;
      |                 ^~~~~~~
cc -pipe -O2 -pthread -I/usr/include -Wall  -pthread  -DHAVE_CONFIG_H -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I/usr/include -DFUNCPROTO -I../../include  -c rpsl_commands.c
cc -pipe -O2 -pthread -I/usr/include -Wall  -pthread  -DHAVE_CONFIG_H -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I/usr/include -DFUNCPROTO -I../../include  -c route.c
cc -pipe -O2 -pthread -I/usr/include -Wall  -pthread  -DHAVE_CONFIG_H -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I/usr/include -DFUNCPROTO -I../../include  -c hash_spec.c
hash_spec.c: In function 'memory_hash_spec_store':
hash_spec.c:334:1: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
  334 | if (id == GASX6)
      | ^~
hash_spec.c:343:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
  343 |   switch (id) {
      |   ^~~~~~
cc -pipe -O2 -pthread -I/usr/include -Wall  -pthread  -DHAVE_CONFIG_H -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I/usr/include -DFUNCPROTO -I../../include  -c templates.c
cc -pipe -O2 -pthread -I/usr/include -Wall  -pthread  -DHAVE_CONFIG_H -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I/usr/include -DFUNCPROTO -I../../include  -c irrd_util.c
cc -pipe -O2 -pthread -I/usr/include -Wall  -pthread  -DHAVE_CONFIG_H -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I/usr/include -DFUNCPROTO -I../../include  -c mirrorstatus.c
mirrorstatus.c: In function 'get_remote_mirrorstatus':
mirrorstatus.c:137:23: warning: array subscript 10240 is outside array bounds of 'char[10240]' [-Warray-bounds]
  137 |   answer[answer_size] = '\0';
      |   ~~~~~~~~~~~~~~~~~~~~^~~~~~
mirrorstatus.c:305:8: note: while referencing 'answer'
  305 |   char answer[GRM_BUFSIZE], *p_dup_answer = NULL, *cp;
      |        ^~~~~~
cc -pipe -O2 -pthread -I/usr/include -Wall  -pthread  -DHAVE_CONFIG_H -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I/usr/include -DFUNCPROTO -I../../include  -c statusfile.c
In file included from /usr/include/ctype.h:100,
                 from statusfile.c:28:
statusfile.c: In function 'StrTrim':
statusfile.c:68:32: warning: array subscript has type 'char' [-Wchar-subscripts]
   68 |   while ((p >= buf) && isspace(*p)) *p-- = '\0';
      |                                ^
statusfile.c:72:18: warning: array subscript has type 'char' [-Wchar-subscripts]
   72 |   while (isspace(*p)) p++;
      |                  ^
statusfile.c: In function 'VarTrim':
statusfile.c:127:20: warning: array subscript has type 'char' [-Wchar-subscripts]
  127 |     while (isspace(*q)) q++;
      |                    ^
statusfile.c:135:40: warning: array subscript has type 'char' [-Wchar-subscripts]
  135 |       while (((p-1) >= buf) && isspace(*(p-1))) p--;
      |                                        ^
statusfile.c: In function 'IsSection':
statusfile.c:284:16: warning: array subscript has type 'char' [-Wchar-subscripts]
  284 | while (isspace(*p)) p++;
      |                ^
statusfile.c: In function 'WriteStatusFile':
statusfile.c:424:19: warning: array subscript has type 'char' [-Wchar-subscripts]
  424 |      if (!isdigit(*p) && (*p == '.')) decimal_count++;
      |                   ^
statusfile.c:425:24: warning: array subscript has type 'char' [-Wchar-subscripts]
  425 |      else if (!isdigit(*p)) is_num = 0;
      |                        ^
cc -pipe -O2 -pthread -I/usr/include -Wall  -pthread  -DHAVE_CONFIG_H -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I/usr/include -DFUNCPROTO -I../../include  -c atomic_trans.c
echo "Linking: cc -Wl,-zrelro -pthread -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib main.o telnet.o scan.o config.o commands.o database.o update.o mirror.o uii_commands.o journal.o indicies.o rpsl_commands.o route.o hash_spec.o templates.o irrd_util.o mirrorstatus.o statusfile.o atomic_trans.o ../../lib/libmrt.a ../../lib/libcfg.a -o irrd"
Linking: cc -Wl,-zrelro -pthread -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib main.o telnet.o scan.o config.o commands.o database.o update.o mirror.o uii_commands.o journal.o indicies.o rpsl_commands.o route.o hash_spec.o templates.o irrd_util.o mirrorstatus.o statusfile.o atomic_trans.o ../../lib/libmrt.a ../../lib/libcfg.a -o irrd
cc -Wl,-zrelro -pthread -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib main.o telnet.o scan.o config.o commands.o database.o update.o mirror.o uii_commands.o journal.o indicies.o rpsl_commands.o route.o hash_spec.o templates.o irrd_util.o mirrorstatus.o statusfile.o atomic_trans.o ../../lib/libmrt.a ../../lib/libcfg.a -o irrd  -L../atomic_ops -latomic_ops -L../compat -lcompat
cd hdr_comm; /usr/pkg/bin/bmake
cc -pipe -O2 -pthread -I/usr/include -Wall  -pthread  -DHAVE_CONFIG_H -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I/usr/include -DFUNCPROTO -I../../include  -c hdr_comm.c
cc -pipe -O2 -pthread -I/usr/include -Wall  -pthread  -DHAVE_CONFIG_H -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I/usr/include -DFUNCPROTO -I../../include  -c hdr_fields.c
cc -pipe -O2 -pthread -I/usr/include -Wall  -pthread  -DHAVE_CONFIG_H -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I/usr/include -DFUNCPROTO -I../../include  -c read_conf.c
cc -pipe -O2 -pthread -I/usr/include -Wall  -pthread  -DHAVE_CONFIG_H -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I/usr/include -DFUNCPROTO -I../../include  -c trace.c
In file included from /usr/include/stdio.h:595,
                 from trace.c:5:
trace.c: In function 'trace':
trace.c:71:19: warning: ' [' directive writing 2 bytes into a region of size between 1 and 4096 [-Wformat-overflow=]
   71 |     sprintf (tmp, "%s [%d] ", ptime, (int) getpid ());
      |                   ^~~~~~~~~~
trace.c:71:22: note: format string is defined here
   71 |     sprintf (tmp, "%s [%d] ", ptime, (int) getpid ());
      |                      ^~
In file included from /usr/include/stdio.h:595,
                 from trace.c:5:
trace.c:71:5: note: '__builtin___sprintf_chk' output between 6 and 4111 bytes into a destination of size 4096
   71 |     sprintf (tmp, "%s [%d] ", ptime, (int) getpid ());
      |     ^~~~~~~
ar crv libhdrs.a hdr_comm.o hdr_fields.o read_conf.o trace.o
a - hdr_comm.o
a - hdr_fields.o
a - read_conf.o
a - trace.o
ranlib libhdrs.a
cd pgp; /usr/pkg/bin/bmake
cd gpg; /usr/pkg/bin/bmake
cc -pipe -O2 -pthread -I/usr/include -Wall  -pthread  -DHAVE_CONFIG_H -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I/usr/include -DFUNCPROTO -I../../include -I../../../include  -c gpg.c
ar crv libirrpgp.a gpg.o
a - gpg.o
ranlib libirrpgp.a
cp libirrpgp.a ../
cp gpg.o ../pgp.o
cd irr_rpsl_check; /usr/pkg/bin/bmake
/usr/bin/yacc -v -d rpsl.y
/usr/bin/yacc: 1 shift/reduce conflict.
/home/pbulk/build/net/irrd/work/.tools/bin/flex rpsl.fl
cc -pipe -O2 -pthread -I/usr/include -Wall  -pthread  -DHAVE_CONFIG_H -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I/usr/include -DFUNCPROTO -I../../include  -c lex.yy.c
lex.yy.c:6214:16: warning: 'input' defined but not used [-Wunused-function]
 6214 | #else
      |                ^    
cc -pipe -O2 -pthread -I/usr/include -Wall  -pthread  -DHAVE_CONFIG_H -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I/usr/include -DFUNCPROTO -I../../include  -c y.tab.c
cc -pipe -O2 -pthread -I/usr/include -Wall  -pthread  -DHAVE_CONFIG_H -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I/usr/include -DFUNCPROTO -I../../include  -c irr_attrs.c
cc -pipe -O2 -pthread -I/usr/include -Wall  -pthread  -DHAVE_CONFIG_H -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I/usr/include -DFUNCPROTO -I../../include  -c prefix.c
In file included from /usr/include/ctype.h:100,
                 from prefix.c:15:
prefix.c: In function '_is_ipv4_prefix':
prefix.c:68:21: warning: array subscript has type 'char' [-Wchar-subscripts]
   68 |       if (!isdigit (*p)) {
      |                     ^
prefix.c: In function '_is_ipv6_prefix':
prefix.c:139:21: warning: array subscript has type 'char' [-Wchar-subscripts]
  139 |       if (!isdigit (*p)) {
      |                     ^
In file included from /usr/include/string.h:127,
                 from prefix.c:7:
prefix.c: In function '_is_ipv4_prefix':
prefix.c:46:5: warning: '__builtin_strncpy' specified bound 64 equals destination size [-Wstringop-truncation]
   46 |     strncpy (save, string, 64);
      |     ^~~~~~~
prefix.c: In function '_is_ipv6_prefix':
prefix.c:117:5: warning: '__builtin_strncpy' specified bound 64 equals destination size [-Wstringop-truncation]
  117 |     strncpy (save, string, 64);
      |     ^~~~~~~
cc -pipe -O2 -pthread -I/usr/include -Wall  -pthread  -DHAVE_CONFIG_H -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I/usr/include -DFUNCPROTO -I../../include  -c util.c
In file included from /usr/include/ctype.h:100,
                 from util.c:7:
util.c: In function 'irrcheck_find_token':
util.c:245:34: warning: array subscript has type 'char' [-Wchar-subscripts]
  245 |   while (**y != '\0' && isgraph (**y)) (*y)++;
      |                                  ^
util.c: In function 'error_msg_queue':
util.c:330:58: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t' {aka 'long unsigned int'} [-Wformat=]
  330 |     fprintf (dfile, "error_msg_queue(), copied n bytes-(%d) curr attr-(%d)\n",n,obj->curr_attr);
      |                                                         ~^                    ~
      |                                                          |                    |
      |                                                          int                  size_t {aka long unsigned int}
      |                                                         %ld
cc -pipe -O2 -pthread -I/usr/include -Wall  -pthread  -DHAVE_CONFIG_H -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I/usr/include -DFUNCPROTO -I../../include  -c syntax_attrs.c
cc -pipe -O2 -pthread -I/usr/include -Wall  -pthread  -DHAVE_CONFIG_H -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I/usr/include -DFUNCPROTO -I../../include  -c canonical.c
canonical.c: In function 'canon_put_str':
canonical.c:532:56: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long int' [-Wformat=]
  532 |       fprintf (dfile, "canon_put_str mem (%s) offset (%d): exit\n", strp, cn->bufp - parse_buf);
      |                                                       ~^                  ~~~~~~~~~~~~~~~~~~~~
      |                                                        |                           |
      |                                                        int                         long int
      |                                                       %ld
cc -pipe -O2 -pthread -I/usr/include -Wall  -pthread  -DHAVE_CONFIG_H -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I/usr/include -DFUNCPROTO -I../../include  -c hdr_build.c
cc -pipe -O2 -pthread -I/usr/include -Wall  -pthread  -DHAVE_CONFIG_H -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I/usr/include -DFUNCPROTO -I../../include  -c dictionary.c
In file included from /usr/include/ctype.h:100,
                 from dictionary.c:2:
dictionary.c: In function 'rpsl_word_check':
dictionary.c:156:16: warning: array subscript has type 'char' [-Wchar-subscripts]
  156 |   if( !isalpha(*t) ){  /* check first letter */
      |                ^
dictionary.c:164:19: warning: array subscript has type 'char' [-Wchar-subscripts]
  164 |   if ( !isalpha(  *(t+strlen(t)-1) ) &&  !isdigit( *(t+strlen(t)-1) ) ){/* check last letter, maybe save us */
      |                   ^
dictionary.c:164:52: warning: array subscript has type 'char' [-Wchar-subscripts]
  164 |   if ( !isalpha(  *(t+strlen(t)-1) ) &&  !isdigit( *(t+strlen(t)-1) ) ){/* check last letter, maybe save us */
      |                                                    ^
dictionary.c:173:17: warning: array subscript has type 'char' [-Wchar-subscripts]
  173 |     if(!isalpha(*t) && !isdigit(*t) && *t != '-' && *t != '_' ){
      |                 ^
dictionary.c:173:33: warning: array subscript has type 'char' [-Wchar-subscripts]
  173 |     if(!isalpha(*t) && !isdigit(*t) && *t != '-' && *t != '_' ){
      |                                 ^
dictionary.c: In function 'empty_string':
dictionary.c:262:26: warning: array subscript has type 'char' [-Wchar-subscripts]
  262 |   for (; *s && !isgraph (*s); s++);
      |                          ^
dictionary.c: In function 'find_list_arg':
dictionary.c:915:30: warning: array subscript has type 'char' [-Wchar-subscripts]
  915 |     for (q++; *q && isspace (*q); q++);
      |                              ^
dictionary.c:920:27: warning: array subscript has type 'char' [-Wchar-subscripts]
  920 |     for (; *s && isspace (*s); s++);
      |                           ^
dictionary.c:921:49: warning: array subscript has type 'char' [-Wchar-subscripts]
  921 |     for (q = s + strlen (s) - 1; *q && isspace (*q); *q-- = '\0');
      |                                                 ^
dictionary.c: In function 'find_arg':
dictionary.c:939:28: warning: array subscript has type 'char' [-Wchar-subscripts]
  939 |     for (; **s && isspace (**s); (*s)++);
      |                            ^
dictionary.c: In function 'get_int':
dictionary.c:1032:41: warning: array subscript has type 'char' [-Wchar-subscripts]
 1032 |   for (q = parm; *q != '\0' && isdigit (*q); q++);
      |                                         ^
cc -pipe -O2 -pthread -I/usr/include -Wall  -pthread  -DHAVE_CONFIG_H -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I/usr/include -DFUNCPROTO -I../../include  -c main.c
Linking: cc -Wl,-zrelro -pthread -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib lex.yy.o y.tab.o irr_attrs.o prefix.o util.o syntax_attrs.o canonical.o hdr_build.o dictionary.o main.o  -o irr_rpsl_check -L../hdr_comm -lhdrs -L../pgp -lirrpgp -L../compat -lcompat 
ar crv librpslchk.a lex.yy.o y.tab.o irr_attrs.o prefix.o util.o syntax_attrs.o canonical.o hdr_build.o dictionary.o
a - lex.yy.o
a - y.tab.o
a - irr_attrs.o
a - prefix.o
a - util.o
a - syntax_attrs.o
a - canonical.o
a - hdr_build.o
a - dictionary.o
ranlib librpslchk.a
cd irrd_ops; /usr/pkg/bin/bmake
cc -pipe -O2 -pthread -I/usr/include -Wall  -pthread  -DHAVE_CONFIG_H -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I/usr/include -DFUNCPROTO -I../../include  -c irrd_ops.c
ar crv libirrd_ops.a irrd_ops.o
a - irrd_ops.o
ranlib libirrd_ops.a
cd irr_notify; /usr/pkg/bin/bmake
cc -pipe -O2 -pthread -I/usr/include -Wall  -pthread  -DHAVE_CONFIG_H -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I/usr/include -DFUNCPROTO -I../../include  -c notify.c
notify.c: In function 'perform_transactions':
notify.c:977:22: warning: variable 'abort_trans' set but not used [-Wunused-but-set-variable]
  977 |   int open_conn = 0, abort_trans = 0;
      |                      ^~~~~~~~~~~
cc -pipe -O2 -pthread -I/usr/include -Wall  -pthread  -DHAVE_CONFIG_H -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I/usr/include -DFUNCPROTO -I../../include  -c trans_hdrs.c
cc -pipe -O2 -pthread -I/usr/include -Wall  -pthread  -DHAVE_CONFIG_H -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I/usr/include -DFUNCPROTO -I../../include  -c notify_msgs.c
notify_msgs.c: In function 'sender_response':
notify_msgs.c:503:13: warning: variable 'notify_str' set but not used [-Wunused-but-set-variable]
  503 |       char *notify_str;
      |             ^~~~~~~~~~
cc -pipe -O2 -pthread -I/usr/include -Wall  -pthread  -DHAVE_CONFIG_H -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I/usr/include -DFUNCPROTO -I../../include  -c util.c
util.c: In function 'put_transaction_code_new':
util.c:99:1: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
   99 | else
      | ^~~~
util.c:107:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else'
  107 |   if (irrd_ret_code == NULL)
      |   ^~
util.c: In function 'put_transaction_code':
util.c:141:1: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
  141 | else
      | ^~~~
util.c:144:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else'
  144 |   if (irrd_ret_code != NULL && *irrd_ret_code == 'C')
      |   ^~
cc -pipe -O2 -pthread -I/usr/include -Wall  -pthread  -DHAVE_CONFIG_H -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I/usr/include -DFUNCPROTO -I../../include  -c main.c
Linking: -Wl,-zrelro -pthread -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib cc notify.o trans_hdrs.o notify_msgs.o util.o main.o -o irr_notify -L../irrd_ops -lirrd_ops -L../hdr_comm -lhdrs -L../pgp -lirrpgp -L/lib  -L../compat -lcompat 
ar crv libnfy.a notify.o trans_hdrs.o notify_msgs.o util.o ../hdr_comm/hdr_comm.o ../irrd_ops/irrd_ops.o ../pgp/pgp.o
a - notify.o
a - trans_hdrs.o
a - notify_msgs.o
a - util.o
a - ../hdr_comm/hdr_comm.o
a - ../irrd_ops/irrd_ops.o
a - ../pgp/pgp.o
ranlib libnfy.a
cd irr_rpsl_submit; /usr/pkg/bin/bmake
cc -pipe -O2 -pthread -I/usr/include -Wall  -pthread  -DHAVE_CONFIG_H -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I/usr/include -DFUNCPROTO -I../../include  -c call_pipeline.c
call_pipeline.c: In function 'call_pipeline':
call_pipeline.c:38:56: warning: passing argument 3 of 'getpeername' from incompatible pointer type [-Wincompatible-pointer-types]
   38 |   if(!getpeername(sock_fd, (struct sockaddr *)&myaddr, &sock_length)) {
      |                                                        ^~~~~~~~~~~~
      |                                                        |
      |                                                        size_t * {aka long unsigned int *}
In file included from call_pipeline.c:12:
/usr/include/sys/socket.h:625:52: note: expected '__socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'size_t *' {aka 'long unsigned int *'}
  625 | int getpeername(int, struct sockaddr * __restrict, socklen_t * __restrict);
      |                                                    ^
cc -pipe -O2 -pthread -I/usr/include -Wall  -pthread  -DHAVE_CONFIG_H -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I/usr/include -DFUNCPROTO -I../../include  -c auth.c
cc -pipe -O2 -pthread -I/usr/include -Wall  -pthread  -DHAVE_CONFIG_H -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I/usr/include -DFUNCPROTO -I../../include  -c pgpchk.c
pgpchk.c: In function 'pgpdecodefile_new':
pgpchk.c:108:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  108 |       n != (int) "\n");
      |            ^
cc -pipe -O2 -pthread -I/usr/include -Wall  -pthread  -DHAVE_CONFIG_H -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I/usr/include -DFUNCPROTO -I../../include  -c mailchk.c
cc -pipe -O2 -pthread -I/usr/include -Wall  -pthread  -DHAVE_CONFIG_H -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I/usr/include -DFUNCPROTO -I../../include  -c main.c
cc -pipe -O2 -pthread -I/usr/include -Wall  -pthread  -DHAVE_CONFIG_H -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I/usr/include -DFUNCPROTO -I../../include  -c comdata.c
cc -pipe -O2 -pthread -I/usr/include -Wall  -pthread  -DHAVE_CONFIG_H -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I/usr/include -DFUNCPROTO -I../../include  -c util.c
In file included from /usr/include/stdio.h:595,
                 from util.c:5:
util.c: In function 'log_roll':
util.c:490:18: warning: '.1' directive writing 2 bytes into a region of size between 1 and 256 [-Wformat-overflow=]
  490 |  sprintf (oldfn, "%s.1", logfn);
      |                  ^~~~~~
util.c:490:21: note: format string is defined here
  490 |  sprintf (oldfn, "%s.1", logfn);
      |                     ^~
In file included from /usr/include/stdio.h:595,
                 from util.c:5:
util.c:490:2: note: '__builtin___sprintf_chk' output between 3 and 258 bytes into a destination of size 256
  490 |  sprintf (oldfn, "%s.1", logfn);
      |  ^~~~~~~
util.c:490:18: warning: '.1' directive writing 2 bytes into a region of size between 1 and 256 [-Wformat-overflow=]
  490 |  sprintf (oldfn, "%s.1", logfn);
      |                  ^~~~~~
util.c:490:21: note: format string is defined here
  490 |  sprintf (oldfn, "%s.1", logfn);
      |                     ^~
In file included from /usr/include/stdio.h:595,
                 from util.c:5:
util.c:490:2: note: '__builtin___sprintf_chk' output between 3 and 258 bytes into a destination of size 256
  490 |  sprintf (oldfn, "%s.1", logfn);
      |  ^~~~~~~
cc -pipe -O2 -pthread -I/usr/include -Wall  -pthread  -DHAVE_CONFIG_H -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I/usr/include -DFUNCPROTO -I../../include  -c notifyif.c
cc -pipe -O2 -pthread -I/usr/include -Wall  -pthread  -DHAVE_CONFIG_H -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I/usr/include -DFUNCPROTO -I../../include  -c synchkif.c
cc -pipe -O2 -pthread -I/usr/include -Wall  -pthread  -DHAVE_CONFIG_H -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I/usr/include -DFUNCPROTO -I../../include  -c trans_list.c
Linking: cc -Wl,-zrelro -pthread -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib call_pipeline.o auth.o pgpchk.o mailchk.o main.o comdata.o util.o notifyif.o synchkif.o trans_list.o ../hdr_comm/libhdrs.a ../irr_rpsl_check/librpslchk.a  ../irr_notify/libnfy.a ../irrd_ops/libirrd_ops.a ../compat/libcompat.a -o irr_rpsl_submit 
cc -Wl,-zrelro -pthread -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib call_pipeline.o auth.o pgpchk.o mailchk.o main.o comdata.o util.o notifyif.o synchkif.o trans_list.o ../hdr_comm/libhdrs.a ../irr_rpsl_check/librpslchk.a  ../irr_notify/libnfy.a ../irrd_ops/libirrd_ops.a ../compat/libcompat.a -o irr_rpsl_submit  -lcrypt  -L../../lib/
=> Creating /home/pbulk/build/net/irrd/work/.rc.d/irrd