=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for irrd-2.3.9nb11
Making lib
cd config; /opt/pkg/bin/bmake
clang -pipe -Os -D_REENTRANT -Wall -DHAVE_CONFIG_H -D_REENTRANT -DFUNCPROTO -I../../include  -c config_file.c
config_file.c:26:18: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        module->call_fn (module->arg);
                        ^
config_file.c:301:11: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast]
                               (void *) num);
                               ^~~~~~~~~~~~
config_file.c:314:7: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast]
                           (void *) num);
                           ^~~~~~~~~~~~
3 warnings generated.
a - config_file.o
cd mrt; /opt/pkg/bin/bmake
clang -pipe -Os -D_REENTRANT -Wall -DHAVE_CONFIG_H -D_REENTRANT -DFUNCPROTO -I../../include  -c util.c
a - util.o
clang -pipe -Os -D_REENTRANT -Wall -DHAVE_CONFIG_H -D_REENTRANT -DFUNCPROTO -I../../include  -c prefix.c
a - prefix.o
clang -pipe -Os -D_REENTRANT -Wall -DHAVE_CONFIG_H -D_REENTRANT -DFUNCPROTO -I../../include  -c mrt.c
mrt.c:10:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
mrt_exit (status)
^
mrt.c:95:17: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        event->call_fn (event->args[0]);
                       ^
mrt.c:186:10: fatal error: '/usr/include/assert.h' file not found
#include </usr/include/assert.h>
         ^~~~~~~~~~~~~~~~~~~~~~~
2 warnings and 1 error generated.
*** Error code 1

Stop.
bmake[3]: stopped in /Users/pbulk/build/net/irrd/work/irrd2.3.9/src/lib/mrt
cd radix; /opt/pkg/bin/bmake
clang -pipe -Os -D_REENTRANT -Wall -DHAVE_CONFIG_H -D_REENTRANT -DFUNCPROTO -I../../include  -c radix.c
radix.c:47:12: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                func (Xrn->data);
                     ^
radix.c:81:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        func (node->prefix, node->data);
             ^
2 warnings generated.
a - radix.o
cd struct; /opt/pkg/bin/bmake
clang -pipe -Os -D_REENTRANT -Wall -DHAVE_CONFIG_H -D_REENTRANT -DFUNCPROTO -I../../include  -c New.c
New.c:240:8: warning: cast to smaller integer type 'u_int' (aka 'unsigned int') from 'DATA_PTR' (aka 'void *') [-Wvoid-pointer-to-int-cast]
                     (u_int)ptr, ptr_name, size, name, strerror(errno), file, line);
                     ^~~~~~~~~~
New.c:242:8: warning: cast to smaller integer type 'u_int' (aka 'unsigned int') from 'DATA_PTR' (aka 'void *') [-Wvoid-pointer-to-int-cast]
                     (u_int)ptr, size, strerror(errno));
                     ^~~~~~~~~~
New.c:263:8: warning: cast to smaller integer type 'u_int' (aka 'unsigned int') from 'DATA_PTR' (aka 'void *') [-Wvoid-pointer-to-int-cast]
                     (u_int)ptr, name, strerror(errno), file, line);
                     ^~~~~~~~~~
New.c:264:69: warning: cast to smaller integer type 'u_int' (aka 'unsigned int') from 'DATA_PTR' (aka 'void *') [-Wvoid-pointer-to-int-cast]
   else      fprintf(out, "Delete: Error freeing 0x%.8x. \"%s\"\n", (u_int)ptr, strerror(errno));
                                                                    ^~~~~~~~~~
4 warnings generated.
a - New.o
clang -pipe -Os -D_REENTRANT -Wall -DHAVE_CONFIG_H -D_REENTRANT -DFUNCPROTO -I../../include  -c stack.c
stack.c:196:73: warning: cast to smaller integer type 'u_int' (aka 'unsigned int') from 'STACK *' (aka 'struct stack *') [-Wpointer-to-int-cast]
   fprintf(out, "STACK: 0x%.8x Error in function %s. \"%s\" {%u/%u}\n", (u_int)stack, name,
                                                                        ^~~~~~~~~~~~
stack.c:220:52: warning: cast to smaller integer type 'u_int' (aka 'unsigned int') from 'STACK *' (aka 'struct stack *') [-Wpointer-to-int-cast]
   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 to smaller integer type 'u_int' (aka 'unsigned int') from 'STACK_PrintProc' (aka 'void (*)(int, long)') [-Wpointer-to-int-cast]
   printf("STACK: 0x%.8x Print(0x%.8x) {%u/%u}\n", (u_int)stack, (u_int)print, (u_int)stack->top, (u_int)stack->size);
                                                                 ^~~~~~~~~~~~
3 warnings generated.
a - stack.o
clang -pipe -Os -D_REENTRANT -Wall -DHAVE_CONFIG_H -D_REENTRANT -DFUNCPROTO -I../../include  -c linked_list.c
linked_list.c:1650:71: warning: cast to smaller integer type 'u_int' (aka 'unsigned int') from 'LINKED_LIST *' (aka 'struct _linked_list *') [-Wpointer-to-int-cast]
   fprintf(out, "LINKED LIST: 0x%.8x Error in function %s: \"%s\"\n", (u_int)ll, name, LL_errlist[num]);
                                                                      ^~~~~~~~~
1 warning generated.
a - linked_list.o
clang -pipe -Os -D_REENTRANT -Wall -DHAVE_CONFIG_H -D_REENTRANT -DFUNCPROTO -I../../include  -c hash.c
hash.c:923:70: warning: cast to smaller integer type 'u_int' (aka 'unsigned int') from 'HASH_TABLE *' (aka 'struct _hash_table *') [-Wpointer-to-int-cast]
   fprintf(out, "HASH TABLE: 0x%.8x Error in function %s: \"%s\"\n", (u_int)h, fn, HASH_errlist[num]);
                                                                     ^~~~~~~~
hash.c:1009:58: warning: cast to smaller integer type 'u_int' (aka 'unsigned int') from 'HASH_TABLE *' (aka 'struct _hash_table *') [-Wpointer-to-int-cast]
   printf("HASH TABLE: 0x%.8x attributes: %s, %s, %s\n", (u_int)h,
                                                         ^~~~~~~~
hash.c:1013:45: warning: cast to smaller integer type 'u_int' (aka 'unsigned int') from 'HASH_TABLE *' (aka 'struct _hash_table *') [-Wpointer-to-int-cast]
   printf("HASH TABLE: 0x%.8x size = %u\n", (u_int)h, h->size);
                                            ^~~~~~~~
hash.c:1016:7: warning: cast to smaller integer type 'u_int' (aka 'unsigned int') from 'HASH_TABLE *' (aka 'struct _hash_table *') [-Wpointer-to-int-cast]
             (u_int)h, h->key_offset, h->next_offset);
             ^~~~~~~~
hash.c:1019:54: warning: cast to smaller integer type 'u_int' (aka 'unsigned int') from 'HASH_TABLE *' (aka 'struct _hash_table *') [-Wpointer-to-int-cast]
      printf("HASH TABLE: 0x%.8x key offset = %u\n", (u_int)h, h->key_offset);
                                                     ^~~~~~~~
hash.c:1022:4: warning: cast to smaller integer type 'u_int' (aka 'unsigned int') from 'HASH_TABLE *' (aka 'struct _hash_table *') [-Wpointer-to-int-cast]
          (u_int)h, (u_int)h->hash, (u_int)h->lookup, (u_int)h->destroy);
          ^~~~~~~~
hash.c:1022:14: warning: cast to smaller integer type 'u_int' (aka 'unsigned int') from 'HASH_HashProc' (aka 'unsigned int (*)(void *, unsigned int)') [-Wpointer-to-int-cast]
          (u_int)h, (u_int)h->hash, (u_int)h->lookup, (u_int)h->destroy);
                    ^~~~~~~~~~~~~~
hash.c:1022:30: warning: cast to smaller integer type 'u_int' (aka 'unsigned int') from 'HASH_LookupProc' (aka 'int (*)(void *, void *)') [-Wpointer-to-int-cast]
          (u_int)h, (u_int)h->hash, (u_int)h->lookup, (u_int)h->destroy);
                                    ^~~~~~~~~~~~~~~~
hash.c:1022:48: warning: cast to smaller integer type 'u_int' (aka 'unsigned int') from 'HASH_DestroyProc' (aka 'void (*)(void *)') [-Wpointer-to-int-cast]
          (u_int)h, (u_int)h->hash, (u_int)h->lookup, (u_int)h->destroy);
                                                      ^~~~~~~~~~~~~~~~~
hash.c:1052:57: warning: cast to smaller integer type 'u_int' (aka 'unsigned int') from 'DATA_PTR' (aka 'void *') [-Wvoid-pointer-to-int-cast]
   printf("%3d: 0x%.8x key = 0x%.8x = \"%s\"\n", index, (u_int)data, (u_int)key, (char *)key);
                                                        ^~~~~~~~~~~
hash.c:1052:70: warning: cast to smaller integer type 'u_int' (aka 'unsigned int') from 'DATA_PTR' (aka 'void *') [-Wvoid-pointer-to-int-cast]
   printf("%3d: 0x%.8x key = 0x%.8x = \"%s\"\n", index, (u_int)data, (u_int)key, (char *)key);
                                                                     ^~~~~~~~~~
11 warnings generated.
a - hash.o
clang -pipe -Os -D_REENTRANT -Wall -DHAVE_CONFIG_H -D_REENTRANT -DFUNCPROTO -I../../include  -c array.c
array.c:280:11: warning: cast to smaller integer type 'unsigned int' from 'DATA_PTR' (aka 'void *') [-Wvoid-pointer-to-int-cast]
   while ((unsigned)tmp[0] != size-1) {
          ^~~~~~~~~~~~~~~~
array.c:281:11: warning: cast to smaller integer type 'unsigned int' from 'DATA_PTR' (aka 'void *') [-Wvoid-pointer-to-int-cast]
      if ((unsigned)tmp[p] == r) { /* AUTO-MERGE, all sub-arrays processed */
          ^~~~~~~~~~~~~~~~
array.c:283:7: warning: cast to smaller integer type 'unsigned int' from 'DATA_PTR' (aka 'void *') [-Wvoid-pointer-to-int-cast]
         r = (unsigned)tmp[q+1];
             ^~~~~~~~~~~~~~~~~~
array.c:305:12: warning: cast to 'DATA_PTR' (aka 'void *') from smaller integer type 'unsigned int' [-Wint-to-void-pointer-cast]
         tmp[p] = (DATA_PTR)r;
                  ^~~~~~~~~~~
array.c:326:12: warning: cast to 'DATA_PTR' (aka 'void *') from smaller integer type 'unsigned int' [-Wint-to-void-pointer-cast]
         tmp[p] = (DATA_PTR)r;
                  ^~~~~~~~~~~
array.c:331:12: warning: cast to 'DATA_PTR' (aka 'void *') from smaller integer type 'unsigned int' [-Wint-to-void-pointer-cast]
         tmp[p] = (DATA_PTR)p;
                  ^~~~~~~~~~~
6 warnings generated.
a - array.o
cd timer; /opt/pkg/bin/bmake
clang -pipe -Os -D_REENTRANT -Wall -DHAVE_CONFIG_H -D_REENTRANT -DFUNCPROTO -I../../include  -c timer.c
In file included from timer.c:5:
In file included from ../../include/mrt.h:129:
In file included from ../../include/user.h:10:
../../include/timer.h:63:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
void init_timer ();
     ^
timer.c:222:1: note: conflicting prototype is here
init_timer (trace_t *tr)
^
1 warning generated.
a - timer.o
clang -pipe -Os -D_REENTRANT -Wall -DHAVE_CONFIG_H -D_REENTRANT -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; /opt/pkg/bin/bmake"; cd $i; /opt/pkg/bin/bmake; cd ..); done
cd atomic_ops; /opt/pkg/bin/bmake
clang -pipe -Os -D_REENTRANT -Wall -DHAVE_CONFIG_H -D_REENTRANT -DFUNCPROTO -I../../include  -c atomic_ops.c
ar crv libatomic_ops.a atomic_ops.o
a - atomic_ops.o
ranlib libatomic_ops.a
cd compat; /opt/pkg/bin/bmake
clang -pipe -Os -D_REENTRANT -Wall -DHAVE_CONFIG_H -D_REENTRANT -DFUNCPROTO -I../../include  -c snprintf.c
snprintf.c:413:13: warning: unused variable 'credits' [-Wunused-variable]
static char credits[] = "\n\
            ^
1 warning generated.
clang -pipe -Os -D_REENTRANT -Wall -DHAVE_CONFIG_H -D_REENTRANT -DFUNCPROTO -I../../include  -c mktemp.c
clang -pipe -Os -D_REENTRANT -Wall -DHAVE_CONFIG_H -D_REENTRANT -DFUNCPROTO -I../../include  -c inet_ntop.c
clang -pipe -Os -D_REENTRANT -Wall -DHAVE_CONFIG_H -D_REENTRANT -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
warning: /Library/Developer/CommandLineTools/usr/bin/ranlib: archive library: libcompat.a the table of contents is empty (no object file members in the library define global symbols)
cd IRRd; /opt/pkg/bin/bmake
clang -pipe -Os -D_REENTRANT -Wall -DHAVE_CONFIG_H -D_REENTRANT -DFUNCPROTO -I../../include  -c main.c
main.c:181:24: warning: passing arguments to 'init_irrd_commands' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    init_irrd_commands (UNPRIV_FLAG);
                       ^
main.c:371:14: warning: variable 't' set but not used [-Wunused-but-set-variable]
    int pid, t;
             ^
main.c:38:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
void init_irrd_commands ();
     ^
main.c:435:6: note: conflicting prototype is here
void init_irrd_commands (int UNPRIV_FLAG) { 
     ^
3 warnings generated.
clang -pipe -Os -D_REENTRANT -Wall -DHAVE_CONFIG_H -D_REENTRANT -DFUNCPROTO -I../../include  -c telnet.c
telnet.c:318:64: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast]
  select_add_fd (sockfd, 1, (void_fn_t) irr_accept_connection, (void *) sockfd);
                                                               ^~~~~~~~~~~~~~~
1 warning generated.
clang -pipe -Os -D_REENTRANT -Wall -DHAVE_CONFIG_H -D_REENTRANT -DFUNCPROTO -I../../include  -c scan.c
scan.c:282:8: warning: variable 'lineno' set but not used [-Wunused-but-set-variable]
  long lineno = 0;
       ^
1 warning generated.
clang -pipe -Os -D_REENTRANT -Wall -DHAVE_CONFIG_H -D_REENTRANT -DFUNCPROTO -I../../include  -c config.c
clang -pipe -Os -D_REENTRANT -Wall -DHAVE_CONFIG_H -D_REENTRANT -DFUNCPROTO -I../../include  -c commands.c
commands.c:991:37: warning: variable 'last_node' set but not used [-Wunused-but-set-variable]
  radix_node_t *node, *start_node, *last_node;
                                    ^
1 warning generated.
clang -pipe -Os -D_REENTRANT -Wall -DHAVE_CONFIG_H -D_REENTRANT -DFUNCPROTO -I../../include  -c database.c
database.c:264:7: warning: variable 'line' set but not used [-Wunused-but-set-variable]
  int line = 0, blank_line = 1;
      ^
1 warning generated.
clang -pipe -Os -D_REENTRANT -Wall -DHAVE_CONFIG_H -D_REENTRANT -DFUNCPROTO -I../../include  -c update.c
clang -pipe -Os -D_REENTRANT -Wall -DHAVE_CONFIG_H -D_REENTRANT -DFUNCPROTO -I../../include  -c mirror.c
mirror.c:20:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static int mirror_read_data ();
           ^
mirror.c:155:12: note: conflicting prototype is here
static int mirror_read_data (irr_database_t *database) {
           ^
1 warning generated.
clang -pipe -Os -D_REENTRANT -Wall -DHAVE_CONFIG_H -D_REENTRANT -DFUNCPROTO -I../../include  -c uii_commands.c
uii_commands.c:581:37: warning: variable 'last_node' set but not used [-Wunused-but-set-variable]
  radix_node_t *node, *start_node, *last_node;
                                    ^
1 warning generated.
clang -pipe -Os -D_REENTRANT -Wall -DHAVE_CONFIG_H -D_REENTRANT -DFUNCPROTO -I../../include  -c journal.c
clang -pipe -Os -D_REENTRANT -Wall -DHAVE_CONFIG_H -D_REENTRANT -DFUNCPROTO -I../../include  -c indicies.c
indicies.c:117:17: warning: variable '_p_or_s' set but not used [-Wunused-but-set-variable]
  u_char _type, _p_or_s;
                ^
1 warning generated.
clang -pipe -Os -D_REENTRANT -Wall -DHAVE_CONFIG_H -D_REENTRANT -DFUNCPROTO -I../../include  -c rpsl_commands.c
clang -pipe -Os -D_REENTRANT -Wall -DHAVE_CONFIG_H -D_REENTRANT -DFUNCPROTO -I../../include  -c route.c
clang -pipe -Os -D_REENTRANT -Wall -DHAVE_CONFIG_H -D_REENTRANT -DFUNCPROTO -I../../include  -c hash_spec.c
clang -pipe -Os -D_REENTRANT -Wall -DHAVE_CONFIG_H -D_REENTRANT -DFUNCPROTO -I../../include  -c templates.c
clang -pipe -Os -D_REENTRANT -Wall -DHAVE_CONFIG_H -D_REENTRANT -DFUNCPROTO -I../../include  -c irrd_util.c
clang -pipe -Os -D_REENTRANT -Wall -DHAVE_CONFIG_H -D_REENTRANT -DFUNCPROTO -I../../include  -c mirrorstatus.c
clang -pipe -Os -D_REENTRANT -Wall -DHAVE_CONFIG_H -D_REENTRANT -DFUNCPROTO -I../../include  -c statusfile.c
clang -pipe -Os -D_REENTRANT -Wall -DHAVE_CONFIG_H -D_REENTRANT -DFUNCPROTO -I../../include  -c atomic_trans.c
atomic_trans.c:131:32: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
      snprintf (pkey, BUFSIZE, buf + rm[i].rm_so);
                               ^~~~~~~~~~~~~~~~~
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/secure/_stdio.h:57:62: note: expanded from macro 'snprintf'
  __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__)
                                                             ^~~~~~~~~~~
atomic_trans.c:131:32: note: treat the string as an argument to avoid this
      snprintf (pkey, BUFSIZE, buf + rm[i].rm_so);
                               ^
                               "%s", 
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/secure/_stdio.h:57:62: note: expanded from macro 'snprintf'
  __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__)
                                                             ^
1 warning generated.
echo "Linking: clang -L/opt/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: clang -L/opt/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
clang -L/opt/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 -lpthread -L../atomic_ops -latomic_ops -L../compat -lcompat
Undefined symbols for architecture arm64:
  "_Delete_Buffer", referenced from:
      _config_from_file2 in libcfg.a[2](config_file.o)
  "_Deref_Event", referenced from:
      _Timer_Master_Fire in libmrt.a[10](timer.o)
      _Destroy_Timer in libmrt.a[10](timer.o)
  "_MRT", referenced from:
      _main in main.o
      _Deref_Prefix in libmrt.a[3](prefix.o)
      _prefix_is_loopback in libmrt.a[3](prefix.o)
      _time_left in libmrt.a[10](timer.o)
      _init_timer in libmrt.a[10](timer.o)
      _Timer_Master_Fire in libmrt.a[10](timer.o)
      _Timer_Turn_OFF in libmrt.a[10](timer.o)
      ...
  "_New_Buffer", referenced from:
      _config_add_output in libcfg.a[2](config_file.o)
  "_New_Buffer_Stream", referenced from:
      _config_from_file2 in libcfg.a[2](config_file.o)
  "_New_Event", referenced from:
      _New_Timer2 in libmrt.a[10](timer.o)
  "_New_Schedule", referenced from:
      _irr_accept_connection in telnet.o
  "_New_Trace2", referenced from:
      _main in main.o
      _main in main.o
  "_Ref_Event", referenced from:
      _Timer_Master_Fire in libmrt.a[10](timer.o)
      _Timer_Master_Fire in libmrt.a[10](timer.o)
  "_UII", referenced from:
      _main in main.o
      _init_irrd_commands in main.o
      _enable in libcfg.a[2](config_file.o)
      _config_line_login in libcfg.a[2](config_file.o)
      _config_line_password in libcfg.a[2](config_file.o)
      _config_line_password in libcfg.a[2](config_file.o)
      _config_line_access_class in libcfg.a[2](config_file.o)
      ...
  "_access_list_out", referenced from:
      _get_access_list_config in libcfg.a[2](config_file.o)
  "_add_access_list", referenced from:
      _config_access_list in libcfg.a[2](config_file.o)
  "_apply_access_list", referenced from:
      _irr_accept_connection in telnet.o
      _irr_accept_connection in telnet.o
      _irr_write_answer in telnet.o
      _irr_process_command in commands.o
      _irr_process_command in commands.o
      _irr_process_command in commands.o
      _irr_process_command in commands.o
      ...
  "_buffer_adjust", referenced from:
      _show_config in libcfg.a[2](config_file.o)
      _config_write in libcfg.a[2](config_file.o)
  "_buffer_gets", referenced from:
      _config_from_file2 in libcfg.a[2](config_file.o)
      _config_from_file2 in libcfg.a[2](config_file.o)
  "_buffer_printf", referenced from:
      _print_prefix_list_buffer in libmrt.a[3](prefix.o)
      _print_pref_prefix_list_buffer in libmrt.a[3](prefix.o)
  "_buffer_vprintf", referenced from:
      _config_add_output in libcfg.a[2](config_file.o)
  "_delete_schedule", referenced from:
      _irr_destroy_connection in telnet.o
  "_destroy_schedule", referenced from:
      _irr_destroy_connection in telnet.o
  "_init_mrt", referenced from:
      _main in main.o
  "_init_mrt_reboot", referenced from:
      _main in main.o
  "_init_trace", referenced from:
      _main in main.o
  "_init_uii", referenced from:
      _main in main.o
  "_listen_uii2", referenced from:
      _main in main.o
      _config_line_port in libcfg.a[2](config_file.o)
      _config_line_address in libcfg.a[2](config_file.o)
  "_mrt_accept", referenced from:
      _irr_accept_connection in telnet.o
  "_mrt_close", referenced from:
      _irr_accept_connection in telnet.o
      _write_irr_serial in scan.o
      _irr_reload_database in database.o
      _request_mirror in mirror.o
      _request_mirror in mirror.o
      _request_mirror in mirror.o
      _uii_irr_irrdcacher in uii_commands.o
      _uii_irr_irrdcacher in uii_commands.o
      _uii_irr_irrdcacher in uii_commands.o
      ...
  "_mrt_main_loop", referenced from:
      _main in main.o
  "_mrt_open", referenced from:
      _write_irr_serial in scan.o
      _scan_irr_file in scan.o
      _irr_reload_database in database.o
      _journal_maybe_rollover in journal.o
      _build_transaction_file in atomic_trans.o
      _fastcopy in libatomic_ops.a[2](atomic_ops.o)
      _fastcopy in libatomic_ops.a[2](atomic_ops.o)
      ...
  "_mrt_pthread_cond_init", referenced from:
      _init_config in libcfg.a[2](config_file.o)
  "_mrt_pthread_mutex_destroy", referenced from:
      _no_config_irr_database in config.o
      _no_config_irr_database in config.o
      _irr_database_clean in database.o
      _irr_database_clean in database.o
      _Deref_Prefix in libmrt.a[3](prefix.o)
  "_mrt_pthread_mutex_init", referenced from:
      _main in main.o
      _main in main.o
      _new_database in irrd_util.o
      _new_database in irrd_util.o
      _InitStatusFile in statusfile.o
      _New_Prefix in libmrt.a[3](prefix.o)
      _New_Prefix in libmrt.a[3](prefix.o)
      ...
  "_mrt_pthread_mutex_lock", referenced from:
      _irr_accept_connection in telnet.o
      _irr_destroy_connection in telnet.o
      _show_connections in telnet.o
      _irr_lock_all in irrd_util.o
      _irr_lock in irrd_util.o
      _irr_clean_lock in irrd_util.o
      _CloseStatusFile in statusfile.o
      ...
  "_mrt_pthread_mutex_trylock", referenced from:
      _Timer_Master_Update in libmrt.a[10](timer.o)
      _start_config in libcfg.a[2](config_file.o)
  "_mrt_pthread_mutex_unlock", referenced from:
      _irr_accept_connection in telnet.o
      _irr_destroy_connection in telnet.o
      _show_connections in telnet.o
      _irr_lock_all in irrd_util.o
      _irr_unlock in irrd_util.o
      _irr_clean_unlock in irrd_util.o
      _CloseStatusFile in statusfile.o
      ...
  "_mrt_reboot", referenced from:
      _init_irrd_commands in main.o
  "_mrt_socket", referenced from:
      _listen_telnet in telnet.o
      _listen_telnet in telnet.o
      _request_mirror in mirror.o
      _get_remote_mirrorstatus in mirrorstatus.o
  "_mrt_thread_create", referenced from:
      _irr_accept_connection in telnet.o
  "_mrt_thread_exit", referenced from:
      _irr_destroy_connection in telnet.o
  "_nonblock_connect", referenced from:
      _request_mirror in mirror.o
      _get_remote_mirrorstatus in mirrorstatus.o
  "_remove_access_list", referenced from:
      _config_access_list in libcfg.a[2](config_file.o)
  "_schedule_event", referenced from:
      _irr_read_command_schedule in telnet.o
  "_schedule_event3", referenced from:
      _Timer_Master_Fire in libmrt.a[10](timer.o)
  "_schedule_event_dispatch", referenced from:
      _Timer_Master_Fire in libmrt.a[10](timer.o)
  "_select_add_fd", referenced from:
      _start_irr_connection in telnet.o
      _listen_telnet in telnet.o
      _request_mirror in mirror.o
  "_select_delete_fd", referenced from:
      _irr_destroy_connection in telnet.o
      _request_mirror in mirror.o
      _mirror_read_data in mirror.o
      _mirror_read_data in mirror.o
      _mirror_read_data in mirror.o
  "_select_enable_fd", referenced from:
      _irr_accept_connection in telnet.o
      _irr_accept_connection in telnet.o
      _irr_read_command in telnet.o
      _mirror_read_data in mirror.o
      _mirror_read_data in mirror.o
  "_set_trace", referenced from:
      _main in main.o
      _main in main.o
      _main in main.o
      _config_debug_server_verbose in config.o
      _config_no_debug_server_verbose in config.o
      _config_debug_server_file in config.o
      _config_debug_server_syslog in config.o
      ...
  "_set_trace_global", referenced from:
      _config_debug in libcfg.a[2](config_file.o)
  "_set_uii", referenced from:
      _main in main.o
      _main in main.o
      _main in main.o
      _main in main.o
      _main in main.o
      _main in main.o
      _main in main.o
      _main in main.o
      ...
  "_strip_spaces", referenced from:
      _config_line_password in libcfg.a[2](config_file.o)
      _config_enable_password in libcfg.a[2](config_file.o)
  "_trace", referenced from:
      _main in main.o
      _main in main.o
      _main in main.o
      _main in main.o
      _start_irr_connection in telnet.o
      _irr_accept_connection in telnet.o
      _irr_accept_connection in telnet.o
      _irr_accept_connection in telnet.o
      _irr_accept_connection in telnet.o
      _irr_accept_connection in telnet.o
      _irr_accept_connection in telnet.o
      _irr_accept_connection in telnet.o
      _irr_accept_connection in telnet.o
      _irr_accept_connection in telnet.o
      ...
  "_trace_copy", referenced from:
      _init_timer in libmrt.a[10](timer.o)
  "_trace_flag", referenced from:
      _config_debug in libcfg.a[2](config_file.o)
  "_uii_add_bulk_output", referenced from:
      _show_connections in telnet.o
      _show_connections in telnet.o
      _show_database in uii_commands.o
      _show_database in uii_commands.o
      _show_database in uii_commands.o
      _show_database in uii_commands.o
      _show_database in uii_commands.o
      _show_database in uii_commands.o
      _show_database in uii_commands.o
      _show_database in uii_commands.o
      _show_database in uii_commands.o
      _show_database in uii_commands.o
      _show_database in uii_commands.o
      _show_database in uii_commands.o
      _show_database in uii_commands.o
      _show_database in uii_commands.o
      _show_database in uii_commands.o
      _show_database in uii_commands.o
      _show_database in uii_commands.o
      _show_database in uii_commands.o
      _show_database in uii_commands.o
      _show_database in uii_commands.o
      _show_database in uii_commands.o
      _show_database in uii_commands.o
      _show_database in uii_commands.o
      _show_database in uii_commands.o
      ...
  "_uii_add_command2", referenced from:
      _init_irrd_commands in main.o
      _init_irrd_commands in main.o
      _init_irrd_commands in main.o
      _init_irrd_commands in main.o
      _init_irrd_commands in main.o
      _init_irrd_commands in main.o
      _init_irrd_commands in main.o
      _init_irrd_commands in main.o
      _init_irrd_commands in main.o
      _init_irrd_commands in main.o
      _init_irrd_commands in main.o
      _init_irrd_commands in main.o
      _init_irrd_commands in main.o
      _init_irrd_commands in main.o
      _init_irrd_commands in main.o
      _init_irrd_commands in main.o
      _init_irrd_commands in main.o
      _init_irrd_commands in main.o
      _init_irrd_commands in main.o
      _init_irrd_commands in main.o
      _init_irrd_commands in main.o
      _init_irrd_commands in main.o
      _init_irrd_commands in main.o
      _init_irrd_commands in main.o
      _init_irrd_commands in main.o
      _init_irrd_commands in main.o
      _init_irrd_commands in main.o
      _init_irrd_commands in main.o
      _init_irrd_commands in main.o
      _init_irrd_commands in main.o
      _init_irrd_commands in main.o
      _init_irrd_commands in main.o
      _init_irrd_commands in main.o
      _init_irrd_commands in main.o
      _init_irrd_commands in main.o
      _init_irrd_commands in main.o
      _init_irrd_commands in main.o
      _init_irrd_commands in main.o
      _init_irrd_commands in main.o
      _init_irrd_commands in main.o
      _init_irrd_commands in main.o
      _init_irrd_commands in main.o
      _init_irrd_commands in main.o
      _init_irrd_commands in main.o
      _init_irrd_commands in main.o
      _init_irrd_commands in main.o
      _init_irrd_commands in main.o
      _init_irrd_commands in main.o
      _init_irrd_commands in main.o
      _init_irrd_commands in main.o
      _init_irrd_commands in main.o
      _init_irrd_commands in main.o
      _init_irrd_commands in main.o
      _init_irrd_commands in main.o
      _init_irrd_commands in main.o
      _init_irrd_commands in main.o
      _init_irrd_commands in main.o
      _init_irrd_commands in main.o
      _init_irrd_commands in main.o
      _init_irrd_commands in main.o
      _init_irrd_commands in main.o
      _init_irrd_commands in main.o
      _init_irrd_commands in main.o
      _init_irrd_commands in main.o
      _init_irrd_commands in main.o
      _init_irrd_commands in main.o
      _init_irrd_commands in main.o
      _init_irrd_commands in main.o
      _init_irrd_commands in main.o
      _init_irrd_commands in main.o
      _init_irrd_commands in main.o
      ...
  "_uii_parse_line", referenced from:
      _get_alist_options in libcfg.a[2](config_file.o)
      _get_alist_options in libcfg.a[2](config_file.o)
      _config_debug in libcfg.a[2](config_file.o)
      _config_debug in libcfg.a[2](config_file.o)
      _config_debug in libcfg.a[2](config_file.o)
  "_uii_process_command", referenced from:
      _config_from_file2 in libcfg.a[2](config_file.o)
  "_uii_send_bulk_data", referenced from:
      _show_connections in telnet.o
      _show_database in uii_commands.o
      _uii_show_ip in uii_commands.o
      _uii_show_ip_exact in uii_commands.o
      _uii_show_ip_less in uii_commands.o
      _uii_show_ip_more in uii_commands.o
  "_uii_send_data", referenced from:
      _irr_reload_database in database.o
      _irr_reload_database in database.o
      _irr_reload_database in database.o
      _irr_reload_database in database.o
      _irr_reload_database in database.o
      _uii_irr_irrdcacher in uii_commands.o
      _uii_irr_irrdcacher in uii_commands.o
      _uii_irr_irrdcacher in uii_commands.o
      _uii_irr_irrdcacher in uii_commands.o
      _uii_irr_irrdcacher in uii_commands.o
      _uii_irr_irrdcacher in uii_commands.o
      _uii_irr_irrdcacher in uii_commands.o
      _uii_irr_irrdcacher in uii_commands.o
      ...
  "_uii_show_timers", referenced from:
      _init_irrd_commands in main.o
  "_uii_yes_no", referenced from:
      _kill_irrd in uii_commands.o
      _config_write in libcfg.a[2](config_file.o)
  "_user_vnotice", referenced from:
      _config_notice in libcfg.a[2](config_file.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
*** Error code 1

Stop.
bmake[3]: stopped in /Users/pbulk/build/net/irrd/work/irrd2.3.9/src/programs/IRRd
cd hdr_comm; /opt/pkg/bin/bmake
clang -pipe -Os -D_REENTRANT -Wall -DHAVE_CONFIG_H -D_REENTRANT -DFUNCPROTO -I../../include  -c hdr_comm.c
hdr_comm.c:86:38: warning: for loop has empty body [-Wempty-body]
  for (;*q == ' ' || *q == '\t'; q++);
                                     ^
hdr_comm.c:86:38: note: put the semicolon on a separate line to silence this warning
hdr_comm.c:182:40: warning: for loop has empty body [-Wempty-body]
    for (;*p == ' ' || *p == '\t'; p++);
                                       ^
hdr_comm.c:182:40: note: put the semicolon on a separate line to silence this warning
2 warnings generated.
clang -pipe -Os -D_REENTRANT -Wall -DHAVE_CONFIG_H -D_REENTRANT -DFUNCPROTO -I../../include  -c hdr_fields.c
clang -pipe -Os -D_REENTRANT -Wall -DHAVE_CONFIG_H -D_REENTRANT -DFUNCPROTO -I../../include  -c read_conf.c
clang -pipe -Os -D_REENTRANT -Wall -DHAVE_CONFIG_H -D_REENTRANT -DFUNCPROTO -I../../include  -c trace.c
trace.c:35:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
init_trace (name, syslog_flag)
^
trace.c:86:24: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
            syslog (LOG_INFO, tmp + strlen (ptime) + 1);
                              ^~~~~~~~~~~~~~~~~~~~~~~~
trace.c:86:24: note: treat the string as an argument to avoid this
            syslog (LOG_INFO, tmp + strlen (ptime) + 1);
                              ^
                              "%s", 
trace.c:273:32: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
        if (error[0]) fprintf(stdout, error);
                                      ^~~~~
trace.c:273:32: note: treat the string as an argument to avoid this
        if (error[0]) fprintf(stdout, error);
                                      ^
                                      "%s", 
trace.c:278:32: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
        if (error[0]) fprintf(stderr, error);
                                      ^~~~~
trace.c:278:32: note: treat the string as an argument to avoid this
        if (error[0]) fprintf(stderr, error);
                                      ^
                                      "%s", 
trace.c:293:36: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
            if (error[0]) fprintf(retval, error);
                                          ^~~~~
trace.c:293:36: note: treat the string as an argument to avoid this
            if (error[0]) fprintf(retval, error);
                                          ^
                                          "%s", 
5 warnings generated.
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; /opt/pkg/bin/bmake
cd gpg; /opt/pkg/bin/bmake
clang -pipe -Os -D_REENTRANT -Wall -DHAVE_CONFIG_H -D_REENTRANT -DFUNCPROTO -I../../include -I../../../include  -c gpg.c
gpg.c:669:19: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
  fprintf (pgpin, passwd);
                  ^~~~~~
gpg.c:669:19: note: treat the string as an argument to avoid this
  fprintf (pgpin, passwd);
                  ^
                  "%s", 
1 warning generated.
ar crv libirrpgp.a gpg.o
a - gpg.o
ranlib libirrpgp.a
cp libirrpgp.a ../
cp gpg.o ../pgp.o
cd irr_rpsl_check; /opt/pkg/bin/bmake
/opt/pkg/bin/bison -y -v -d rpsl.y
rpsl.y: warning: 1 shift/reduce conflict [-Wconflicts-sr]
rpsl.y: note: rerun with option '-Wcounterexamples' to generate conflict counterexamples
/Users/pbulk/build/net/irrd/work/.tools/bin/flex rpsl.fl
clang -pipe -Os -D_REENTRANT -Wall -DHAVE_CONFIG_H -D_REENTRANT -DFUNCPROTO -I../../include  -c lex.yy.c
lex.yy.c:6211:16: warning: function 'input' is not needed and will not be emitted [-Wunneeded-internal-declaration]
    static int input  (void)
               ^
1 warning generated.
clang -pipe -Os -D_REENTRANT -Wall -DHAVE_CONFIG_H -D_REENTRANT -DFUNCPROTO -I../../include  -c y.tab.c
clang -pipe -Os -D_REENTRANT -Wall -DHAVE_CONFIG_H -D_REENTRANT -DFUNCPROTO -I../../include  -c irr_attrs.c
clang -pipe -Os -D_REENTRANT -Wall -DHAVE_CONFIG_H -D_REENTRANT -DFUNCPROTO -I../../include  -c prefix.c
clang -pipe -Os -D_REENTRANT -Wall -DHAVE_CONFIG_H -D_REENTRANT -DFUNCPROTO -I../../include  -c util.c
util.c:330:79: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat]
    fprintf (dfile, "error_msg_queue(), copied n bytes-(%d) curr attr-(%d)\n",n,obj->curr_attr); 
                                                        ~~                    ^
                                                        %zu
1 warning generated.
clang -pipe -Os -D_REENTRANT -Wall -DHAVE_CONFIG_H -D_REENTRANT -DFUNCPROTO -I../../include  -c syntax_attrs.c
clang -pipe -Os -D_REENTRANT -Wall -DHAVE_CONFIG_H -D_REENTRANT -DFUNCPROTO -I../../include  -c canonical.c
canonical.c:532:75: warning: format specifies type 'int' but the argument has type 'long' [-Wformat]
      fprintf (dfile, "canon_put_str mem (%s) offset (%d): exit\n", strp, cn->bufp - parse_buf);
                                                      ~~                  ^~~~~~~~~~~~~~~~~~~~
                                                      %ld
1 warning generated.
clang -pipe -Os -D_REENTRANT -Wall -DHAVE_CONFIG_H -D_REENTRANT -DFUNCPROTO -I../../include  -c hdr_build.c
clang -pipe -Os -D_REENTRANT -Wall -DHAVE_CONFIG_H -D_REENTRANT -DFUNCPROTO -I../../include  -c dictionary.c
clang -pipe -Os -D_REENTRANT -Wall -DHAVE_CONFIG_H -D_REENTRANT -DFUNCPROTO -I../../include  -c main.c
Linking: clang -L/opt/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 -lpthread
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; /opt/pkg/bin/bmake
clang -pipe -Os -D_REENTRANT -Wall -DHAVE_CONFIG_H -D_REENTRANT -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; /opt/pkg/bin/bmake
clang -pipe -Os -D_REENTRANT -Wall -DHAVE_CONFIG_H -D_REENTRANT -DFUNCPROTO -I../../include  -c notify.c
notify.c:977:22: warning: variable 'abort_trans' set but not used [-Wunused-but-set-variable]
  int open_conn = 0, abort_trans = 0;
                     ^
1 warning generated.
clang -pipe -Os -D_REENTRANT -Wall -DHAVE_CONFIG_H -D_REENTRANT -DFUNCPROTO -I../../include  -c trans_hdrs.c
clang -pipe -Os -D_REENTRANT -Wall -DHAVE_CONFIG_H -D_REENTRANT -DFUNCPROTO -I../../include  -c notify_msgs.c
notify_msgs.c:138:11: warning: comparison of array 'ti->sender_addrs' not equal to a null pointer is always true [-Wtautological-pointer-compare]
  if (ti->sender_addrs != NULL)
      ~~~~^~~~~~~~~~~~    ~~~~
notify_msgs.c:150:11: warning: comparison of array 'ti->sender_addrs' not equal to a null pointer is always true [-Wtautological-pointer-compare]
  if (ti->sender_addrs != NULL)
      ~~~~^~~~~~~~~~~~    ~~~~
notify_msgs.c:263:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
    fprintf (fp, SENDER_HEADER);
                 ^~~~~~~~~~~~~
notify_msgs.c:263:18: note: treat the string as an argument to avoid this
    fprintf (fp, SENDER_HEADER);
                 ^
                 "%s", 
notify_msgs.c:267:20: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
      fprintf (fp, ci.forward_header_msg);
                   ^~~~~~~~~~~~~~~~~~~~~
notify_msgs.c:267:20: note: treat the string as an argument to avoid this
      fprintf (fp, ci.forward_header_msg);
                   ^
                   "%s", 
notify_msgs.c:269:20: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
      fprintf (fp, FORWARD_HEADER);
                   ^~~~~~~~~~~~~~
notify_msgs.c:269:20: note: treat the string as an argument to avoid this
      fprintf (fp, FORWARD_HEADER);
                   ^
                   "%s", 
notify_msgs.c:273:19: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
      fprintf(fp, ci.notify_header_msg);
                  ^~~~~~~~~~~~~~~~~~~~
notify_msgs.c:273:19: note: treat the string as an argument to avoid this
      fprintf(fp, ci.notify_header_msg);
                  ^
                  "%s", 
notify_msgs.c:284:16: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
  fprintf (fp, DIAG_HEADER);
               ^~~~~~~~~~~
notify_msgs.c:284:16: note: treat the string as an argument to avoid this
  fprintf (fp, DIAG_HEADER);
               ^
               "%s", 
notify_msgs.c:296:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
    fprintf (fp, ci.footer_msg);
                 ^~~~~~~~~~~~~
notify_msgs.c:296:18: note: treat the string as an argument to avoid this
    fprintf (fp, ci.footer_msg);
                 ^
                 "%s", 
notify_msgs.c:298:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
    fprintf (fp, RESPONSE_FOOTER);
                 ^~~~~~~~~~~~~~~
notify_msgs.c:298:18: note: treat the string as an argument to avoid this
    fprintf (fp, RESPONSE_FOOTER);
                 ^
                 "%s", 
notify_msgs.c:401:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
    fprintf (msg_fp, NULL_SUBMISSION_MSG);
                     ^~~~~~~~~~~~~~~~~~~
notify_msgs.c:401:22: note: treat the string as an argument to avoid this
    fprintf (msg_fp, NULL_SUBMISSION_MSG);
                     ^
                     "%s", 
notify_msgs.c:505:24: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
      fprintf (msg_fp, EXIST_OBJ_MSG);
                       ^~~~~~~~~~~~~
notify_msgs.c:505:24: note: treat the string as an argument to avoid this
      fprintf (msg_fp, EXIST_OBJ_MSG);
                       ^
                       "%s", 
notify_msgs.c:503:13: warning: variable 'notify_str' set but not used [-Wunused-but-set-variable]
      char *notify_str;
            ^
12 warnings generated.
clang -pipe -Os -D_REENTRANT -Wall -DHAVE_CONFIG_H -D_REENTRANT -DFUNCPROTO -I../../include  -c util.c
clang -pipe -Os -D_REENTRANT -Wall -DHAVE_CONFIG_H -D_REENTRANT -DFUNCPROTO -I../../include  -c main.c
Linking: -L/opt/pkg/lib clang 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; /opt/pkg/bin/bmake
clang -pipe -Os -D_REENTRANT -Wall -DHAVE_CONFIG_H -D_REENTRANT -DFUNCPROTO -I../../include  -c call_pipeline.c
call_pipeline.c:38:56: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'socklen_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types]
  if(!getpeername(sock_fd, (struct sockaddr *)&myaddr, &sock_length)) {
                                                       ^~~~~~~~~~~~
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/sys/socket.h:708:78: note: passing argument to parameter here
int     getpeername(int, struct sockaddr * __restrict, socklen_t * __restrict)
                                                                             ^
1 warning generated.
clang -pipe -Os -D_REENTRANT -Wall -DHAVE_CONFIG_H -D_REENTRANT -DFUNCPROTO -I../../include  -c auth.c
auth.c:417:13: warning: comparison of array 'ti->mnt_by' not equal to a null pointer is always true [-Wtautological-pointer-compare]
    if (ti->mnt_by != NULL)
        ~~~~^~~~~~    ~~~~
auth.c:622:47: warning: comparison of array 'ti->sender_addrs' not equal to a null pointer is always true [-Wtautological-pointer-compare]
  if (!strncasecmp ("MAIL-FROM", p, 9) && ti->sender_addrs != NULL) {
                                          ~~~~^~~~~~~~~~~~    ~~~~
2 warnings generated.
clang -pipe -Os -D_REENTRANT -Wall -DHAVE_CONFIG_H -D_REENTRANT -DFUNCPROTO -I../../include  -c pgpchk.c
pgpchk.c:108:12: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast]
             n != (int) "\n");
                  ^~~~~~~~~~
pgpchk.c:108:9: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare]
             n != (int) "\n");
               ^  ~~~~~~~~~~
2 warnings generated.
clang -pipe -Os -D_REENTRANT -Wall -DHAVE_CONFIG_H -D_REENTRANT -DFUNCPROTO -I../../include  -c mailchk.c
clang -pipe -Os -D_REENTRANT -Wall -DHAVE_CONFIG_H -D_REENTRANT -DFUNCPROTO -I../../include  -c main.c
clang -pipe -Os -D_REENTRANT -Wall -DHAVE_CONFIG_H -D_REENTRANT -DFUNCPROTO -I../../include  -c comdata.c
clang -pipe -Os -D_REENTRANT -Wall -DHAVE_CONFIG_H -D_REENTRANT -DFUNCPROTO -I../../include  -c util.c
util.c:284:7: warning: variable 'm' set but not used [-Wunused-but-set-variable]
  int m=0, n=0;
      ^
util.c:284:12: warning: variable 'n' set but not used [-Wunused-but-set-variable]
  int m=0, n=0;
           ^
2 warnings generated.
clang -pipe -Os -D_REENTRANT -Wall -DHAVE_CONFIG_H -D_REENTRANT -DFUNCPROTO -I../../include  -c notifyif.c
clang -pipe -Os -D_REENTRANT -Wall -DHAVE_CONFIG_H -D_REENTRANT -DFUNCPROTO -I../../include  -c synchkif.c
clang -pipe -Os -D_REENTRANT -Wall -DHAVE_CONFIG_H -D_REENTRANT -DFUNCPROTO -I../../include  -c trans_list.c
Linking: clang -L/opt/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 
clang -L/opt/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 -lpthread   -L../../lib/
=> Creating /Users/pbulk/build/net/irrd/work/.rc.d/irrd