=> Bootstrap dependency digest>=20010302: found digest-20190127 ===> Skipping vulnerability checks. WARNING: No /opt/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/opt/pkg/sbin/pkg_admin -K /opt/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for irrd-2.3.9nb9 Making lib cd config; /opt/pkg/bin/bmake clang -O2 -D_REENTRANT -Wall -DHAVE_CONFIG_H -D_REENTRANT -DFUNCPROTO -I../../include -c config_file.c 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); ^ 2 warnings generated. a - config_file.o cd mrt; /opt/pkg/bin/bmake clang -O2 -D_REENTRANT -Wall -DHAVE_CONFIG_H -D_REENTRANT -DFUNCPROTO -I../../include -c util.c a - util.o clang -O2 -D_REENTRANT -Wall -DHAVE_CONFIG_H -D_REENTRANT -DFUNCPROTO -I../../include -c prefix.c a - prefix.o clang -O2 -D_REENTRANT -Wall -DHAVE_CONFIG_H -D_REENTRANT -DFUNCPROTO -I../../include -c mrt.c mrt.c:186:10: fatal error: '/usr/include/assert.h' file not found #include ^~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. *** Error code 1 Stop. bmake[3]: stopped in /opt/work/net/irrd/work/irrd2.3.9/src/lib/mrt cd radix; /opt/pkg/bin/bmake clang -O2 -D_REENTRANT -Wall -DHAVE_CONFIG_H -D_REENTRANT -DFUNCPROTO -I../../include -c radix.c a - radix.o cd struct; /opt/pkg/bin/bmake clang -O2 -D_REENTRANT -Wall -DHAVE_CONFIG_H -D_REENTRANT -DFUNCPROTO -I../../include -c New.c a - New.o clang -O2 -D_REENTRANT -Wall -DHAVE_CONFIG_H -D_REENTRANT -DFUNCPROTO -I../../include -c stack.c a - stack.o clang -O2 -D_REENTRANT -Wall -DHAVE_CONFIG_H -D_REENTRANT -DFUNCPROTO -I../../include -c linked_list.c a - linked_list.o clang -O2 -D_REENTRANT -Wall -DHAVE_CONFIG_H -D_REENTRANT -DFUNCPROTO -I../../include -c hash.c a - hash.o clang -O2 -D_REENTRANT -Wall -DHAVE_CONFIG_H -D_REENTRANT -DFUNCPROTO -I../../include -c array.c 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; ^ 3 warnings generated. a - array.o cd timer; /opt/pkg/bin/bmake clang -O2 -D_REENTRANT -Wall -DHAVE_CONFIG_H -D_REENTRANT -DFUNCPROTO -I../../include -c timer.c a - timer.o clang -O2 -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 -O2 -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 -O2 -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 -O2 -D_REENTRANT -Wall -DHAVE_CONFIG_H -D_REENTRANT -DFUNCPROTO -I../../include -c mktemp.c clang -O2 -D_REENTRANT -Wall -DHAVE_CONFIG_H -D_REENTRANT -DFUNCPROTO -I../../include -c inet_ntop.c clang -O2 -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: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/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 -O2 -D_REENTRANT -Wall -DHAVE_CONFIG_H -D_REENTRANT -DFUNCPROTO -I../../include -c main.c clang -O2 -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 -O2 -D_REENTRANT -Wall -DHAVE_CONFIG_H -D_REENTRANT -DFUNCPROTO -I../../include -c scan.c clang -O2 -D_REENTRANT -Wall -DHAVE_CONFIG_H -D_REENTRANT -DFUNCPROTO -I../../include -c config.c clang -O2 -D_REENTRANT -Wall -DHAVE_CONFIG_H -D_REENTRANT -DFUNCPROTO -I../../include -c commands.c clang -O2 -D_REENTRANT -Wall -DHAVE_CONFIG_H -D_REENTRANT -DFUNCPROTO -I../../include -c database.c clang -O2 -D_REENTRANT -Wall -DHAVE_CONFIG_H -D_REENTRANT -DFUNCPROTO -I../../include -c update.c clang -O2 -D_REENTRANT -Wall -DHAVE_CONFIG_H -D_REENTRANT -DFUNCPROTO -I../../include -c mirror.c clang -O2 -D_REENTRANT -Wall -DHAVE_CONFIG_H -D_REENTRANT -DFUNCPROTO -I../../include -c uii_commands.c clang -O2 -D_REENTRANT -Wall -DHAVE_CONFIG_H -D_REENTRANT -DFUNCPROTO -I../../include -c journal.c clang -O2 -D_REENTRANT -Wall -DHAVE_CONFIG_H -D_REENTRANT -DFUNCPROTO -I../../include -c indicies.c clang -O2 -D_REENTRANT -Wall -DHAVE_CONFIG_H -D_REENTRANT -DFUNCPROTO -I../../include -c rpsl_commands.c clang -O2 -D_REENTRANT -Wall -DHAVE_CONFIG_H -D_REENTRANT -DFUNCPROTO -I../../include -c route.c clang -O2 -D_REENTRANT -Wall -DHAVE_CONFIG_H -D_REENTRANT -DFUNCPROTO -I../../include -c hash_spec.c clang -O2 -D_REENTRANT -Wall -DHAVE_CONFIG_H -D_REENTRANT -DFUNCPROTO -I../../include -c templates.c clang -O2 -D_REENTRANT -Wall -DHAVE_CONFIG_H -D_REENTRANT -DFUNCPROTO -I../../include -c irrd_util.c clang -O2 -D_REENTRANT -Wall -DHAVE_CONFIG_H -D_REENTRANT -DFUNCPROTO -I../../include -c mirrorstatus.c clang -O2 -D_REENTRANT -Wall -DHAVE_CONFIG_H -D_REENTRANT -DFUNCPROTO -I../../include -c statusfile.c clang -O2 -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); ^~~~~~~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.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", /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.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(config_file.o) "_Deref_Event", referenced from: _Timer_Master_Fire in libmrt.a(timer.o) _Destroy_Timer in libmrt.a(timer.o) "_MRT", referenced from: _main in main.o _Deref_Prefix in libmrt.a(prefix.o) _prefix_is_loopback in libmrt.a(prefix.o) _time_left in libmrt.a(timer.o) _init_timer in libmrt.a(timer.o) _Timer_Master_Fire in libmrt.a(timer.o) _Timer_Turn_OFF in libmrt.a(timer.o) ... "_New_Buffer", referenced from: _config_add_output in libcfg.a(config_file.o) "_New_Buffer_Stream", referenced from: _config_from_file2 in libcfg.a(config_file.o) "_New_Event", referenced from: _New_Timer2 in libmrt.a(timer.o) "_New_Schedule", referenced from: _irr_accept_connection in telnet.o "_New_Trace2", referenced from: _main in main.o "_Ref_Event", referenced from: _Timer_Master_Fire in libmrt.a(timer.o) "_UII", referenced from: _main in main.o _init_irrd_commands in main.o _enable in libcfg.a(config_file.o) _config_line_login in libcfg.a(config_file.o) _config_line_password in libcfg.a(config_file.o) _config_line_access_class in libcfg.a(config_file.o) _config_line_timeout in libcfg.a(config_file.o) ... "_access_list_out", referenced from: _get_access_list_config in libcfg.a(config_file.o) "_add_access_list", referenced from: _config_access_list in libcfg.a(config_file.o) "_apply_access_list", referenced from: _irr_accept_connection in telnet.o _irr_write_answer in telnet.o _irr_process_command in commands.o _irr_set_ALL_sources in commands.o _irr_set_sources in commands.o _irr_journal_add_answer in commands.o _irr_service_mirror_request in mirror.o ... "_buffer_adjust", referenced from: _show_config in libcfg.a(config_file.o) _config_write in libcfg.a(config_file.o) "_buffer_gets", referenced from: _config_from_file2 in libcfg.a(config_file.o) "_buffer_printf", referenced from: _print_prefix_list_buffer in libmrt.a(prefix.o) _print_pref_prefix_list_buffer in libmrt.a(prefix.o) "_buffer_vprintf", referenced from: _config_add_output in libcfg.a(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 (maybe you meant: _init_mrt_thread_signals) "_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(config_file.o) _config_line_address in libcfg.a(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 _uii_irr_irrdcacher in uii_commands.o _journal_maybe_rollover in journal.o _get_remote_mirrorstatus in mirrorstatus.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(atomic_ops.o) "_mrt_pthread_cond_init", referenced from: _init_config in libcfg.a(config_file.o) "_mrt_pthread_mutex_destroy", referenced from: _no_config_irr_database in config.o _irr_database_clean in database.o _Deref_Prefix in libmrt.a(prefix.o) "_mrt_pthread_mutex_init", referenced from: _main in main.o _new_database in irrd_util.o _InitStatusFile in statusfile.o _New_Prefix in libmrt.a(prefix.o) _string_toprefix in libmrt.a(prefix.o) _ascii2prefix in libmrt.a(prefix.o) _init_timer in libmrt.a(timer.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_update_lock in irrd_util.o _irr_clean_lock in irrd_util.o ... "_mrt_pthread_mutex_trylock", referenced from: _Timer_Master_Update in libmrt.a(timer.o) _start_config in libcfg.a(config_file.o) _config_from_file2 in libcfg.a(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_all in irrd_util.o _irr_unlock in irrd_util.o _irr_update_unlock in irrd_util.o ... "_mrt_reboot", referenced from: _init_irrd_commands in main.o "_mrt_socket", referenced from: _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(config_file.o) "_schedule_event", referenced from: _irr_read_command_schedule in telnet.o "_schedule_event3", referenced from: _Timer_Master_Fire in libmrt.a(timer.o) "_schedule_event_dispatch", referenced from: _Timer_Master_Fire in libmrt.a(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 "_select_enable_fd", referenced from: _irr_accept_connection in telnet.o _irr_read_command in telnet.o _mirror_read_data in mirror.o "_set_trace", referenced from: _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 _config_debug_server_size in config.o _config_debug_submission_file in config.o ... "_set_trace_global", referenced from: _config_debug in libcfg.a(config_file.o) "_set_uii", referenced from: _main in main.o _config_line_password in libcfg.a(config_file.o) _config_line_access_class in libcfg.a(config_file.o) _config_line_port in libcfg.a(config_file.o) _config_line_address in libcfg.a(config_file.o) _config_password in libcfg.a(config_file.o) _config_enable_password in libcfg.a(config_file.o) ... "_strip_spaces", referenced from: _config_line_password in libcfg.a(config_file.o) _config_password in libcfg.a(config_file.o) _config_enable_password in libcfg.a(config_file.o) "_trace", referenced from: _main in main.o _start_irr_connection in telnet.o _irr_accept_connection in telnet.o _listen_telnet in telnet.o _irr_destroy_connection in telnet.o _irr_send_answer in telnet.o _irr_write_nobuffer in telnet.o ... (maybe you meant: _trace_prefix_list, _default_trace ) "_trace_copy", referenced from: _init_timer in libmrt.a(timer.o) "_trace_flag", referenced from: _config_debug in libcfg.a(config_file.o) "_uii_add_bulk_output", 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_fetch_irr_object in uii_commands.o ... "_uii_add_command2", referenced from: _init_irrd_commands in main.o _init_config in libcfg.a(config_file.o) "_uii_parse_line", referenced from: _get_alist_options in libcfg.a(config_file.o) _config_debug in libcfg.a(config_file.o) "_uii_process_command", referenced from: _config_from_file2 in libcfg.a(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 _uii_irr_irrdcacher in uii_commands.o _uii_export_database in uii_commands.o _uii_irr_clean in uii_commands.o _uii_irr_mirror in uii_commands.o _uii_set_serial in uii_commands.o _uii_delete_route 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(config_file.o) "_user_vnotice", referenced from: _config_notice in libcfg.a(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 /opt/work/net/irrd/work/irrd2.3.9/src/programs/IRRd cd hdr_comm; /opt/pkg/bin/bmake clang -O2 -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 -O2 -D_REENTRANT -Wall -DHAVE_CONFIG_H -D_REENTRANT -DFUNCPROTO -I../../include -c hdr_fields.c clang -O2 -D_REENTRANT -Wall -DHAVE_CONFIG_H -D_REENTRANT -DFUNCPROTO -I../../include -c read_conf.c clang -O2 -D_REENTRANT -Wall -DHAVE_CONFIG_H -D_REENTRANT -DFUNCPROTO -I../../include -c trace.c 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", 4 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 -O2 -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 /usr/bin/yacc -v -d rpsl.y conflicts: 1 shift/reduce /opt/work/net/irrd/work/.tools/bin/flex rpsl.fl clang -O2 -D_REENTRANT -Wall -DHAVE_CONFIG_H -D_REENTRANT -DFUNCPROTO -I../../include -c lex.yy.c lex.yy.c:6196:16: warning: function 'input' is not needed and will not be emitted [-Wunneeded-internal-declaration] static int input (void) ^ 1 warning generated. clang -O2 -D_REENTRANT -Wall -DHAVE_CONFIG_H -D_REENTRANT -DFUNCPROTO -I../../include -c y.tab.c clang -O2 -D_REENTRANT -Wall -DHAVE_CONFIG_H -D_REENTRANT -DFUNCPROTO -I../../include -c irr_attrs.c clang -O2 -D_REENTRANT -Wall -DHAVE_CONFIG_H -D_REENTRANT -DFUNCPROTO -I../../include -c prefix.c clang -O2 -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 -O2 -D_REENTRANT -Wall -DHAVE_CONFIG_H -D_REENTRANT -DFUNCPROTO -I../../include -c syntax_attrs.c clang -O2 -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 -O2 -D_REENTRANT -Wall -DHAVE_CONFIG_H -D_REENTRANT -DFUNCPROTO -I../../include -c hdr_build.c clang -O2 -D_REENTRANT -Wall -DHAVE_CONFIG_H -D_REENTRANT -DFUNCPROTO -I../../include -c dictionary.c clang -O2 -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 -O2 -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 -O2 -D_REENTRANT -Wall -DHAVE_CONFIG_H -D_REENTRANT -DFUNCPROTO -I../../include -c notify.c clang -O2 -D_REENTRANT -Wall -DHAVE_CONFIG_H -D_REENTRANT -DFUNCPROTO -I../../include -c trans_hdrs.c clang -O2 -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", 11 warnings generated. clang -O2 -D_REENTRANT -Wall -DHAVE_CONFIG_H -D_REENTRANT -DFUNCPROTO -I../../include -c util.c clang -O2 -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 -O2 -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)) { ^~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/socket.h:704:78: note: passing argument to parameter here int getpeername(int, struct sockaddr * __restrict, socklen_t * __restrict) ^ 1 warning generated. clang -O2 -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 -O2 -D_REENTRANT -Wall -DHAVE_CONFIG_H -D_REENTRANT -DFUNCPROTO -I../../include -c pgpchk.c 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"); ^ ~~~~~~~~~~ 1 warning generated. clang -O2 -D_REENTRANT -Wall -DHAVE_CONFIG_H -D_REENTRANT -DFUNCPROTO -I../../include -c mailchk.c clang -O2 -D_REENTRANT -Wall -DHAVE_CONFIG_H -D_REENTRANT -DFUNCPROTO -I../../include -c main.c clang -O2 -D_REENTRANT -Wall -DHAVE_CONFIG_H -D_REENTRANT -DFUNCPROTO -I../../include -c comdata.c clang -O2 -D_REENTRANT -Wall -DHAVE_CONFIG_H -D_REENTRANT -DFUNCPROTO -I../../include -c util.c clang -O2 -D_REENTRANT -Wall -DHAVE_CONFIG_H -D_REENTRANT -DFUNCPROTO -I../../include -c notifyif.c clang -O2 -D_REENTRANT -Wall -DHAVE_CONFIG_H -D_REENTRANT -DFUNCPROTO -I../../include -c synchkif.c clang -O2 -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 /opt/work/net/irrd/work/.rc.d/irrd