=> "/opt/pkg/bin/bmake" ["-C", "/Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/net/irrd", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] ===> Building for irrd-2.3.9nb11 Making lib cd config; /opt/pkg/bin/bmake clang -std=gnu23 -pipe -Os -D_REENTRANT -Wall -DHAVE_CONFIG_H -D_REENTRANT -DFUNCPROTO -I../../include -c config_file.c config_file.c:26:19: error: too many arguments to function call, expected 0, have 1 26 | module->call_fn (module->arg); | ~~~~~~~~~~~~~~~ ^~~~~~~~~~~ config_file.c:144:32: warning: incompatible function pointer types passing 'void (char *)' to parameter of type 'void_fn_t' (aka 'void (*)(void)') [-Wincompatible-function-pointer-types] 144 | config_add_module (0, "!", get_comment_config, strdup (uii->cp)); | ^~~~~~~~~~~~~~~~~~ config_file.c:40:53: note: passing argument to parameter 'call_fn' here 40 | config_add_module (int flags, char *name, void_fn_t call_fn, void *arg) | ^ config_file.c:301:11: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] 301 | (void *) num); | ^~~~~~~~~~~~ config_file.c:300:50: warning: incompatible function pointer types passing 'void (int)' to parameter of type 'void_fn_t' (aka 'void (*)(void)') [-Wincompatible-function-pointer-types] 300 | config_del_module (0, "access-list", get_access_list_config, | ^~~~~~~~~~~~~~~~~~~~~~ config_file.c:72:53: note: passing argument to parameter 'call_fn' here 72 | config_del_module (int flags, char *name, void_fn_t call_fn, void *arg) | ^ config_file.c:314:7: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] 314 | (void *) num); | ^~~~~~~~~~~~ config_file.c:313:46: warning: incompatible function pointer types passing 'void (int)' to parameter of type 'void_fn_t' (aka 'void (*)(void)') [-Wincompatible-function-pointer-types] 313 | config_add_module (0, "access-list", get_access_list_config, | ^~~~~~~~~~~~~~~~~~~~~~ config_file.c:40:53: note: passing argument to parameter 'call_fn' here 40 | config_add_module (int flags, char *name, void_fn_t call_fn, void *arg) | ^ config_file.c:843:48: warning: incompatible function pointer types passing 'int (uii_connection_t *)' (aka 'int (struct _uii_connection_t *)') to parameter of type 'uii_call_fn_t' (aka 'int (*)(void)') [-Wincompatible-function-pointer-types] 843 | uii_add_command2 (UII_NORMAL, 0, "enable", enable, "Enable"); | ^~~~~~ ../../include/user.h:155:23: note: passing argument to parameter 'call_fn' here 155 | uii_call_fn_t call_fn, char *explanation); | ^ config_file.c:847:23: warning: incompatible function pointer types passing 'int (uii_connection_t *)' (aka 'int (struct _uii_connection_t *)') to parameter of type 'uii_call_fn_t' (aka 'int (*)(void)') [-Wincompatible-function-pointer-types] 847 | show_config, "Display current configuration"); | ^~~~~~~~~~~ ../../include/user.h:155:23: note: passing argument to parameter 'call_fn' here 155 | uii_call_fn_t call_fn, char *explanation); | ^ config_file.c:849:23: warning: incompatible function pointer types passing 'int (uii_connection_t *)' (aka 'int (struct _uii_connection_t *)') to parameter of type 'uii_call_fn_t' (aka 'int (*)(void)') [-Wincompatible-function-pointer-types] 849 | start_config, "Configure MRTd"); | ^~~~~~~~~~~~ ../../include/user.h:155:23: note: passing argument to parameter 'call_fn' here 155 | uii_call_fn_t call_fn, char *explanation); | ^ config_file.c:850:47: warning: incompatible function pointer types passing 'int (uii_connection_t *)' (aka 'int (struct _uii_connection_t *)') to parameter of type 'uii_call_fn_t' (aka 'int (*)(void)') [-Wincompatible-function-pointer-types] 850 | uii_add_command2 (UII_ENABLE, 0, "write", config_write, | ^~~~~~~~~~~~ ../../include/user.h:155:23: note: passing argument to parameter 'call_fn' here 155 | uii_call_fn_t call_fn, char *explanation); | ^ config_file.c:855:9: warning: incompatible function pointer types passing 'int (uii_connection_t *)' (aka 'int (struct _uii_connection_t *)') to parameter of type 'uii_call_fn_t' (aka 'int (*)(void)') [-Wincompatible-function-pointer-types] 855 | config_line_vty, "Enable telnet interface"); | ^~~~~~~~~~~~~~~ ../../include/user.h:155:23: note: passing argument to parameter 'call_fn' here 155 | uii_call_fn_t call_fn, char *explanation); | ^ config_file.c:857:9: warning: incompatible function pointer types passing 'int (uii_connection_t *)' (aka 'int (struct _uii_connection_t *)') to parameter of type 'uii_call_fn_t' (aka 'int (*)(void)') [-Wincompatible-function-pointer-types] 857 | config_line_vty, "Disable telnet interface"); | ^~~~~~~~~~~~~~~ ../../include/user.h:155:23: note: passing argument to parameter 'call_fn' here 155 | uii_call_fn_t call_fn, char *explanation); | ^ config_file.c:859:9: warning: incompatible function pointer types passing 'int (uii_connection_t *)' (aka 'int (struct _uii_connection_t *)') to parameter of type 'uii_call_fn_t' (aka 'int (*)(void)') [-Wincompatible-function-pointer-types] 859 | config_line_login, "Enable login"); | ^~~~~~~~~~~~~~~~~ ../../include/user.h:155:23: note: passing argument to parameter 'call_fn' here 155 | uii_call_fn_t call_fn, char *explanation); | ^ config_file.c:861:9: warning: incompatible function pointer types passing 'int (uii_connection_t *)' (aka 'int (struct _uii_connection_t *)') to parameter of type 'uii_call_fn_t' (aka 'int (*)(void)') [-Wincompatible-function-pointer-types] 861 | config_line_login, "Disable login"); | ^~~~~~~~~~~~~~~~~ ../../include/user.h:155:23: note: passing argument to parameter 'call_fn' here 155 | uii_call_fn_t call_fn, char *explanation); | ^ config_file.c:863:9: warning: incompatible function pointer types passing 'int (uii_connection_t *, char *)' (aka 'int (struct _uii_connection_t *, char *)') to parameter of type 'uii_call_fn_t' (aka 'int (*)(void)') [-Wincompatible-function-pointer-types] 863 | config_line_password, | ^~~~~~~~~~~~~~~~~~~~ ../../include/user.h:155:23: note: passing argument to parameter 'call_fn' here 155 | uii_call_fn_t call_fn, char *explanation); | ^ config_file.c:866:9: warning: incompatible function pointer types passing 'int (uii_connection_t *, char *)' (aka 'int (struct _uii_connection_t *, char *)') to parameter of type 'uii_call_fn_t' (aka 'int (*)(void)') [-Wincompatible-function-pointer-types] 866 | config_line_password, "Delete password"); | ^~~~~~~~~~~~~~~~~~~~ ../../include/user.h:155:23: note: passing argument to parameter 'call_fn' here 155 | uii_call_fn_t call_fn, char *explanation); | ^ config_file.c:868:9: warning: incompatible function pointer types passing 'int (uii_connection_t *, int)' (aka 'int (struct _uii_connection_t *, int)') to parameter of type 'uii_call_fn_t' (aka 'int (*)(void)') [-Wincompatible-function-pointer-types] 868 | config_line_access_class, "Define access list"); | ^~~~~~~~~~~~~~~~~~~~~~~~ ../../include/user.h:155:23: note: passing argument to parameter 'call_fn' here 155 | uii_call_fn_t call_fn, char *explanation); | ^ config_file.c:870:9: warning: incompatible function pointer types passing 'int (uii_connection_t *, int)' (aka 'int (struct _uii_connection_t *, int)') to parameter of type 'uii_call_fn_t' (aka 'int (*)(void)') [-Wincompatible-function-pointer-types] 870 | config_line_access_class, "Delete access list"); | ^~~~~~~~~~~~~~~~~~~~~~~~ ../../include/user.h:155:23: note: passing argument to parameter 'call_fn' here 155 | uii_call_fn_t call_fn, char *explanation); | ^ config_file.c:872:9: warning: incompatible function pointer types passing 'int (uii_connection_t *, int, int, int)' (aka 'int (struct _uii_connection_t *, int, int, int)') to parameter of type 'uii_call_fn_t' (aka 'int (*)(void)') [-Wincompatible-function-pointer-types] 872 | config_line_timeout, "Set timeout"); | ^~~~~~~~~~~~~~~~~~~ ../../include/user.h:155:23: note: passing argument to parameter 'call_fn' here 155 | uii_call_fn_t call_fn, char *explanation); | ^ config_file.c:874:9: warning: incompatible function pointer types passing 'int (uii_connection_t *, int, int, int)' (aka 'int (struct _uii_connection_t *, int, int, int)') to parameter of type 'uii_call_fn_t' (aka 'int (*)(void)') [-Wincompatible-function-pointer-types] 874 | config_line_timeout, "Set default to timeout"); | ^~~~~~~~~~~~~~~~~~~ ../../include/user.h:155:23: note: passing argument to parameter 'call_fn' here 155 | uii_call_fn_t call_fn, char *explanation); | ^ config_file.c:876:9: warning: incompatible function pointer types passing 'int (uii_connection_t *, int)' (aka 'int (struct _uii_connection_t *, int)') to parameter of type 'uii_call_fn_t' (aka 'int (*)(void)') [-Wincompatible-function-pointer-types] 876 | config_line_port, "Specify port number"); | ^~~~~~~~~~~~~~~~ ../../include/user.h:155:23: note: passing argument to parameter 'call_fn' here 155 | uii_call_fn_t call_fn, char *explanation); | ^ config_file.c:878:9: warning: incompatible function pointer types passing 'int (uii_connection_t *, int)' (aka 'int (struct _uii_connection_t *, int)') to parameter of type 'uii_call_fn_t' (aka 'int (*)(void)') [-Wincompatible-function-pointer-types] 878 | config_line_port, "Reset port number to default"); | ^~~~~~~~~~~~~~~~ ../../include/user.h:155:23: note: passing argument to parameter 'call_fn' here 155 | uii_call_fn_t call_fn, char *explanation); | ^ config_file.c:880:9: warning: incompatible function pointer types passing 'int (uii_connection_t *, prefix_t *)' (aka 'int (struct _uii_connection_t *, struct _prefix_t *)') to parameter of type 'uii_call_fn_t' (aka 'int (*)(void)') [-Wincompatible-function-pointer-types] 880 | config_line_address, "Specify binding address"); | ^~~~~~~~~~~~~~~~~~~ ../../include/user.h:155:23: note: passing argument to parameter 'call_fn' here 155 | uii_call_fn_t call_fn, char *explanation); | ^ config_file.c:882:9: warning: incompatible function pointer types passing 'int (uii_connection_t *, prefix_t *)' (aka 'int (struct _uii_connection_t *, struct _prefix_t *)') to parameter of type 'uii_call_fn_t' (aka 'int (*)(void)') [-Wincompatible-function-pointer-types] 882 | config_line_address, "Free binding address"); | ^~~~~~~~~~~~~~~~~~~ ../../include/user.h:155:23: note: passing argument to parameter 'call_fn' here 155 | uii_call_fn_t call_fn, char *explanation); | ^ config_file.c:885:9: warning: incompatible function pointer types passing 'int (uii_connection_t *, char *, int, int)' (aka 'int (struct _uii_connection_t *, char *, int, int)') to parameter of type 'uii_call_fn_t' (aka 'int (*)(void)') [-Wincompatible-function-pointer-types] 885 | config_password, | ^~~~~~~~~~~~~~~ ../../include/user.h:155:23: note: passing argument to parameter 'call_fn' here 155 | uii_call_fn_t call_fn, char *explanation); | ^ config_file.c:888:9: warning: incompatible function pointer types passing 'int (uii_connection_t *, char *, int, int)' (aka 'int (struct _uii_connection_t *, char *, int, int)') to parameter of type 'uii_call_fn_t' (aka 'int (*)(void)') [-Wincompatible-function-pointer-types] 888 | config_password, "Delete password"); | ^~~~~~~~~~~~~~~ ../../include/user.h:155:23: note: passing argument to parameter 'call_fn' here 155 | uii_call_fn_t call_fn, char *explanation); | ^ config_file.c:890:9: warning: incompatible function pointer types passing 'int (uii_connection_t *, char *)' (aka 'int (struct _uii_connection_t *, char *)') to parameter of type 'uii_call_fn_t' (aka 'int (*)(void)') [-Wincompatible-function-pointer-types] 890 | config_enable_password, | ^~~~~~~~~~~~~~~~~~~~~~ ../../include/user.h:155:23: note: passing argument to parameter 'call_fn' here 155 | uii_call_fn_t call_fn, char *explanation); | ^ config_file.c:893:9: warning: incompatible function pointer types passing 'int (uii_connection_t *, char *)' (aka 'int (struct _uii_connection_t *, char *)') to parameter of type 'uii_call_fn_t' (aka 'int (*)(void)') [-Wincompatible-function-pointer-types] 893 | config_enable_password, | ^~~~~~~~~~~~~~~~~~~~~~ ../../include/user.h:155:23: note: passing argument to parameter 'call_fn' here 155 | uii_call_fn_t call_fn, char *explanation); | ^ config_file.c:896:53: warning: incompatible function pointer types passing 'int (uii_connection_t *, int)' (aka 'int (struct _uii_connection_t *, int)') to parameter of type 'uii_call_fn_t' (aka 'int (*)(void)') [-Wincompatible-function-pointer-types] 896 | uii_add_command2 (UII_CONFIG, 0, "uii_port %d", config_uii_port, | ^~~~~~~~~~~~~~~ ../../include/user.h:155:23: note: passing argument to parameter 'call_fn' here 155 | uii_call_fn_t call_fn, char *explanation); | ^ config_file.c:899:9: warning: incompatible function pointer types passing 'int (uii_connection_t *, int)' (aka 'int (struct _uii_connection_t *, int)') to parameter of type 'uii_call_fn_t' (aka 'int (*)(void)') [-Wincompatible-function-pointer-types] 899 | config_uii_port, | ^~~~~~~~~~~~~~~ ../../include/user.h:155:23: note: passing argument to parameter 'call_fn' here 155 | uii_call_fn_t call_fn, char *explanation); | ^ config_file.c:901:53: warning: incompatible function pointer types passing 'int (uii_connection_t *, prefix_t *)' (aka 'int (struct _uii_connection_t *, struct _prefix_t *)') to parameter of type 'uii_call_fn_t' (aka 'int (*)(void)') [-Wincompatible-function-pointer-types] 901 | uii_add_command2 (UII_CONFIG, 0, "uii_addr %M", config_uii_addr, | ^~~~~~~~~~~~~~~ ../../include/user.h:155:23: note: passing argument to parameter 'call_fn' here 155 | uii_call_fn_t call_fn, char *explanation); | ^ config_file.c:903:53: warning: incompatible function pointer types passing 'int (uii_connection_t *, prefix_t *)' (aka 'int (struct _uii_connection_t *, struct _prefix_t *)') to parameter of type 'uii_call_fn_t' (aka 'int (*)(void)') [-Wincompatible-function-pointer-types] 903 | uii_add_command2 (UII_CONFIG, 0, "no uii_addr", config_uii_addr, | ^~~~~~~~~~~~~~~ ../../include/user.h:155:23: note: passing argument to parameter 'call_fn' here 155 | uii_call_fn_t call_fn, char *explanation); | ^ config_file.c:905:56: warning: incompatible function pointer types passing 'int (uii_connection_t *, int)' (aka 'int (struct _uii_connection_t *, int)') to parameter of type 'uii_call_fn_t' (aka 'int (*)(void)') [-Wincompatible-function-pointer-types] 905 | uii_add_command2 (UII_CONFIG, 0, "uii_timeout %d", config_uii_timeout, | ^~~~~~~~~~~~~~~~~~ ../../include/user.h:155:23: note: passing argument to parameter 'call_fn' here 155 | uii_call_fn_t call_fn, char *explanation); | ^ config_file.c:907:56: warning: incompatible function pointer types passing 'int (uii_connection_t *, int)' (aka 'int (struct _uii_connection_t *, int)') to parameter of type 'uii_call_fn_t' (aka 'int (*)(void)') [-Wincompatible-function-pointer-types] 907 | uii_add_command2 (UII_CONFIG, 0, "no uii_timeout", config_uii_timeout, | ^~~~~~~~~~~~~~~~~~ ../../include/user.h:155:23: note: passing argument to parameter 'call_fn' here 155 | uii_call_fn_t call_fn, char *explanation); | ^ config_file.c:910:50: warning: incompatible function pointer types passing 'int (uii_connection_t *, char *)' (aka 'int (struct _uii_connection_t *, char *)') to parameter of type 'uii_call_fn_t' (aka 'int (*)(void)') [-Wincompatible-function-pointer-types] 910 | uii_add_command2 (UII_CONFIG, 0, "debug %S", config_debug, | ^~~~~~~~~~~~ ../../include/user.h:155:23: note: passing argument to parameter 'call_fn' here 155 | uii_call_fn_t call_fn, char *explanation); | ^ config_file.c:914:9: warning: incompatible function pointer types passing 'int (uii_connection_t *, int, char *, prefix_t *, char *)' (aka 'int (struct _uii_connection_t *, int, char *, struct _prefix_t *, char *)') to parameter of type 'uii_call_fn_t' (aka 'int (*)(void)') [-Wincompatible-function-pointer-types] 914 | config_access_list, "Add IP based acl lists"); | ^~~~~~~~~~~~~~~~~~ ../../include/user.h:155:23: note: passing argument to parameter 'call_fn' here 155 | uii_call_fn_t call_fn, char *explanation); | ^ config_file.c:917:9: warning: incompatible function pointer types passing 'int (uii_connection_t *, int, char *)' (aka 'int (struct _uii_connection_t *, int, char *)') to parameter of type 'uii_call_fn_t' (aka 'int (*)(void)') [-Wincompatible-function-pointer-types] 917 | config_access_list_all, "Add IP based acl lists"); | ^~~~~~~~~~~~~~~~~~~~~~ ../../include/user.h:155:23: note: passing argument to parameter 'call_fn' here 155 | uii_call_fn_t call_fn, char *explanation); | ^ config_file.c:920:9: warning: incompatible function pointer types passing 'int (uii_connection_t *, int, char *, prefix_t *, char *)' (aka 'int (struct _uii_connection_t *, int, char *, struct _prefix_t *, char *)') to parameter of type 'uii_call_fn_t' (aka 'int (*)(void)') [-Wincompatible-function-pointer-types] 920 | config_access_list, "Delete IP based acl lists"); | ^~~~~~~~~~~~~~~~~~ ../../include/user.h:155:23: note: passing argument to parameter 'call_fn' here 155 | uii_call_fn_t call_fn, char *explanation); | ^ config_file.c:923:9: warning: incompatible function pointer types passing 'int (uii_connection_t *, int, char *)' (aka 'int (struct _uii_connection_t *, int, char *)') to parameter of type 'uii_call_fn_t' (aka 'int (*)(void)') [-Wincompatible-function-pointer-types] 923 | config_access_list_all, "Delete IP based acl lists"); | ^~~~~~~~~~~~~~~~~~~~~~ ../../include/user.h:155:23: note: passing argument to parameter 'call_fn' here 155 | uii_call_fn_t call_fn, char *explanation); | ^ config_file.c:926:9: warning: incompatible function pointer types passing 'int (uii_connection_t *, char *)' (aka 'int (struct _uii_connection_t *, char *)') to parameter of type 'uii_call_fn_t' (aka 'int (*)(void)') [-Wincompatible-function-pointer-types] 926 | config_redirect, "Set redirect directory"); | ^~~~~~~~~~~~~~~ ../../include/user.h:155:23: note: passing argument to parameter 'call_fn' here 155 | uii_call_fn_t call_fn, char *explanation); | ^ config_file.c:928:9: warning: incompatible function pointer types passing 'int (uii_connection_t *, char *)' (aka 'int (struct _uii_connection_t *, char *)') to parameter of type 'uii_call_fn_t' (aka 'int (*)(void)') [-Wincompatible-function-pointer-types] 928 | config_redirect, "Disable redirection"); | ^~~~~~~~~~~~~~~ ../../include/user.h:155:23: note: passing argument to parameter 'call_fn' here 155 | uii_call_fn_t call_fn, char *explanation); | ^ config_file.c:931:14: warning: incompatible function pointer types passing 'int (uii_connection_t *)' (aka 'int (struct _uii_connection_t *)') to parameter of type 'uii_call_fn_t' (aka 'int (*)(void)') [-Wincompatible-function-pointer-types] 931 | "#", config_comment, NULL); | ^~~~~~~~~~~~~~ ../../include/user.h:155:23: note: passing argument to parameter 'call_fn' here 155 | uii_call_fn_t call_fn, char *explanation); | ^ config_file.c:933:14: warning: incompatible function pointer types passing 'int (uii_connection_t *)' (aka 'int (struct _uii_connection_t *)') to parameter of type 'uii_call_fn_t' (aka 'int (*)(void)') [-Wincompatible-function-pointer-types] 933 | "!", config_comment, NULL); | ^~~~~~~~~~~~~~ ../../include/user.h:155:23: note: passing argument to parameter 'call_fn' here 155 | uii_call_fn_t call_fn, char *explanation); | ^ config_file.c:1014:32: warning: incompatible function pointer types passing 'void (char *)' to parameter of type 'void_fn_t' (aka 'void (*)(void)') [-Wincompatible-function-pointer-types] 1014 | config_add_module (0, "!", get_comment_config, strdup ( | ^~~~~~~~~~~~~~~~~~ config_file.c:40:53: note: passing argument to parameter 'call_fn' here 40 | config_add_module (int flags, char *name, void_fn_t call_fn, void *arg) | ^ config_file.c:1018:32: warning: incompatible function pointer types passing 'void (char *)' to parameter of type 'void_fn_t' (aka 'void (*)(void)') [-Wincompatible-function-pointer-types] 1018 | config_add_module (0, "!", get_comment_config, strdup (strbuf)); | ^~~~~~~~~~~~~~~~~~ config_file.c:40:53: note: passing argument to parameter 'call_fn' here 40 | config_add_module (int flags, char *name, void_fn_t call_fn, void *arg) | ^ config_file.c:1020:32: warning: incompatible function pointer types passing 'void (char *)' to parameter of type 'void_fn_t' (aka 'void (*)(void)') [-Wincompatible-function-pointer-types] 1020 | config_add_module (0, "!", get_comment_config, strdup ( | ^~~~~~~~~~~~~~~~~~ config_file.c:40:53: note: passing argument to parameter 'call_fn' here 40 | config_add_module (int flags, char *name, void_fn_t call_fn, void *arg) | ^ config_file.c:1023:32: warning: incompatible function pointer types passing 'void (char *)' to parameter of type 'void_fn_t' (aka 'void (*)(void)') [-Wincompatible-function-pointer-types] 1023 | config_add_module (0, "!", get_comment_config, strdup ("#")); | ^~~~~~~~~~~~~~~~~~ config_file.c:40:53: note: passing argument to parameter 'call_fn' here 40 | config_add_module (int flags, char *name, void_fn_t call_fn, void *arg) | ^ config_file.c:1025:32: warning: incompatible function pointer types passing 'void (char *)' to parameter of type 'void_fn_t' (aka 'void (*)(void)') [-Wincompatible-function-pointer-types] 1025 | config_add_module (0, "!", get_comment_config, strdup ("#")); | ^~~~~~~~~~~~~~~~~~ config_file.c:40:53: note: passing argument to parameter 'call_fn' here 40 | config_add_module (int flags, char *name, void_fn_t call_fn, void *arg) | ^ 47 warnings and 1 error generated. *** Error code 1 Stop. bmake[3]: stopped making "all" in /var/tmp/work/net/irrd/work/irrd2.3.9/src/lib/config cd mrt; /opt/pkg/bin/bmake clang -std=gnu23 -pipe -Os -D_REENTRANT -Wall -DHAVE_CONFIG_H -D_REENTRANT -DFUNCPROTO -I../../include -c util.c a - util.o clang -std=gnu23 -pipe -Os -D_REENTRANT -Wall -DHAVE_CONFIG_H -D_REENTRANT -DFUNCPROTO -I../../include -c prefix.c a - prefix.o clang -std=gnu23 -pipe -Os -D_REENTRANT -Wall -DHAVE_CONFIG_H -D_REENTRANT -DFUNCPROTO -I../../include -c mrt.c mrt.c:10:11: error: unknown type name 'status'; did you mean 'static'? 10 | mrt_exit (status) | ^~~~~~ | static mrt.c:10:11: error: invalid storage class specifier in function declarator mrt.c:10:17: error: a type specifier is required for all declarations 10 | mrt_exit (status) | ~~~~~~^ mrt.c:10:18: error: expected ';' after top level declarator 10 | mrt_exit (status) | ^ | ; mrt.c:12:1: error: expected identifier or '(' 12 | { | ^ mrt.c:95:18: error: too many arguments to function call, expected 0, have 1 95 | event->call_fn (event->args[0]); | ~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~ mrt.c:186:10: fatal error: '/usr/include/assert.h' file not found 186 | #include | ^~~~~~~~~~~~~~~~~~~~~~~ 7 errors generated. *** Error code 1 Stop. bmake[3]: stopped making "all" in /var/tmp/work/net/irrd/work/irrd2.3.9/src/lib/mrt cd radix; /opt/pkg/bin/bmake clang -std=gnu23 -pipe -Os -D_REENTRANT -Wall -DHAVE_CONFIG_H -D_REENTRANT -DFUNCPROTO -I../../include -c radix.c radix.c:47:13: error: too many arguments to function call, expected 0, have 1 47 | func (Xrn->data); | ~~~~ ^~~~~~~~~ radix.c:81:8: error: too many arguments to function call, expected 0, have 2 81 | func (node->prefix, node->data); | ~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~ 2 errors generated. *** Error code 1 Stop. bmake[3]: stopped making "all" in /var/tmp/work/net/irrd/work/irrd2.3.9/src/lib/radix cd struct; /opt/pkg/bin/bmake clang -std=gnu23 -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] 240 | (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] 242 | (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] 263 | (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] 264 | else fprintf(out, "Delete: Error freeing 0x%.8x. \"%s\"\n", (u_int)ptr, strerror(errno)); | ^~~~~~~~~~ 4 warnings generated. a - New.o clang -std=gnu23 -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] 196 | 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] 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 to smaller integer type 'u_int' (aka 'unsigned int') from 'STACK_PrintProc' (aka 'void (*)(int, long)') [-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); | ^~~~~~~~~~~~ 3 warnings generated. a - stack.o clang -std=gnu23 -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] 1650 | 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 -std=gnu23 -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] 923 | 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] 1009 | 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] 1013 | 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] 1016 | (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] 1019 | 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] 1022 | (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] 1022 | (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] 1022 | (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] 1022 | (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] 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 to smaller integer type 'u_int' (aka 'unsigned int') from 'DATA_PTR' (aka 'void *') [-Wvoid-pointer-to-int-cast] 1052 | 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 -std=gnu23 -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] 280 | 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] 281 | 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] 283 | 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] 305 | 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] 326 | 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] 331 | tmp[p] = (DATA_PTR)p; | ^~~~~~~~~~~ 6 warnings generated. a - array.o cd timer; /opt/pkg/bin/bmake clang -std=gnu23 -pipe -Os -D_REENTRANT -Wall -DHAVE_CONFIG_H -D_REENTRANT -DFUNCPROTO -I../../include -c timer.c timer.c:222:1: error: conflicting types for 'init_timer' 222 | init_timer (trace_t *tr) | ^ ../../include/timer.h:63:6: note: previous declaration is here 63 | void init_timer (); | ^ 1 error generated. *** Error code 1 Stop. bmake[3]: stopped making "all" in /var/tmp/work/net/irrd/work/irrd2.3.9/src/lib/timer 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 -std=gnu23 -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 -std=gnu23 -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] 413 | static char credits[] = "\n\ | ^~~~~~~ 1 warning generated. clang -std=gnu23 -pipe -Os -D_REENTRANT -Wall -DHAVE_CONFIG_H -D_REENTRANT -DFUNCPROTO -I../../include -c mktemp.c clang -std=gnu23 -pipe -Os -D_REENTRANT -Wall -DHAVE_CONFIG_H -D_REENTRANT -DFUNCPROTO -I../../include -c inet_ntop.c clang -std=gnu23 -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: /System/Volumes/Data/Applications/Xcode-16.4.0.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 -std=gnu23 -pipe -Os -D_REENTRANT -Wall -DHAVE_CONFIG_H -D_REENTRANT -DFUNCPROTO -I../../include -c main.c main.c:181:25: error: too many arguments to function call, expected 0, have 1 181 | init_irrd_commands (UNPRIV_FLAG); | ~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~ main.c:38:6: note: 'init_irrd_commands' declared here 38 | void init_irrd_commands (); | ^ main.c:371:14: warning: variable 't' set but not used [-Wunused-but-set-variable] 371 | int pid, t; | ^ main.c:435:6: error: conflicting types for 'init_irrd_commands' 435 | void init_irrd_commands (int UNPRIV_FLAG) { | ^ main.c:38:6: note: previous declaration is here 38 | void init_irrd_commands (); | ^ main.c:443:24: warning: incompatible function pointer types passing 'int (uii_connection_t *)' (aka 'int (struct _uii_connection_t *)') to parameter of type 'uii_call_fn_t' (aka 'int (*)(void)') [-Wincompatible-function-pointer-types] 443 | "show config", show_config, | ^~~~~~~~~~~ ../../include/user.h:155:23: note: passing argument to parameter 'call_fn' here 155 | uii_call_fn_t call_fn, char *explanation); | ^ main.c:446:24: warning: incompatible function pointer types passing 'int (uii_connection_t *)' (aka 'int (struct _uii_connection_t *)') to parameter of type 'uii_call_fn_t' (aka 'int (*)(void)') [-Wincompatible-function-pointer-types] 446 | "show config", show_config, | ^~~~~~~~~~~ ../../include/user.h:155:23: note: passing argument to parameter 'call_fn' here 155 | uii_call_fn_t call_fn, char *explanation); | ^ main.c:450:24: warning: incompatible function pointer types passing 'int (uii_connection_t *)' (aka 'int (struct _uii_connection_t *)') to parameter of type 'uii_call_fn_t' (aka 'int (*)(void)') [-Wincompatible-function-pointer-types] 450 | "show timers", uii_show_timers, "Display timer information"); | ^~~~~~~~~~~~~~~ ../../include/user.h:155:23: note: passing argument to parameter 'call_fn' here 155 | uii_call_fn_t call_fn, char *explanation); | ^ main.c:651:7: warning: incompatible function pointer types passing 'int (uii_connection_t *)' (aka 'int (struct _uii_connection_t *)') to parameter of type 'uii_call_fn_t' (aka 'int (*)(void)') [-Wincompatible-function-pointer-types] 651 | no_config_debug_server, "Turn off server logging"); | ^~~~~~~~~~~~~~~~~~~~~~ ../../include/user.h:155:23: note: passing argument to parameter 'call_fn' here 155 | uii_call_fn_t call_fn, char *explanation); | ^ main.c:653:7: warning: incompatible function pointer types passing 'int (uii_connection_t *, char *)' (aka 'int (struct _uii_connection_t *, char *)') to parameter of type 'uii_call_fn_t' (aka 'int (*)(void)') [-Wincompatible-function-pointer-types] 653 | config_debug_server_file, "Configure logging information"); | ^~~~~~~~~~~~~~~~~~~~~~~~ ../../include/user.h:155:23: note: passing argument to parameter 'call_fn' here 155 | uii_call_fn_t call_fn, char *explanation); | ^ main.c:655:7: warning: incompatible function pointer types passing 'int (uii_connection_t *, int)' (aka 'int (struct _uii_connection_t *, int)') to parameter of type 'uii_call_fn_t' (aka 'int (*)(void)') [-Wincompatible-function-pointer-types] 655 | config_debug_server_size, "Limit the size of the logfile"); | ^~~~~~~~~~~~~~~~~~~~~~~~ ../../include/user.h:155:23: note: passing argument to parameter 'call_fn' here 155 | uii_call_fn_t call_fn, char *explanation); | ^ main.c:657:7: warning: incompatible function pointer types passing 'int (uii_connection_t *)' (aka 'int (struct _uii_connection_t *)') to parameter of type 'uii_call_fn_t' (aka 'int (*)(void)') [-Wincompatible-function-pointer-types] 657 | config_debug_server_syslog, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../include/user.h:155:23: note: passing argument to parameter 'call_fn' here 155 | uii_call_fn_t call_fn, char *explanation); | ^ main.c:660:7: warning: incompatible function pointer types passing 'int (uii_connection_t *)' (aka 'int (struct _uii_connection_t *)') to parameter of type 'uii_call_fn_t' (aka 'int (*)(void)') [-Wincompatible-function-pointer-types] 660 | config_debug_server_verbose, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../include/user.h:155:23: note: passing argument to parameter 'call_fn' here 155 | uii_call_fn_t call_fn, char *explanation); | ^ main.c:663:7: warning: incompatible function pointer types passing 'int (uii_connection_t *)' (aka 'int (struct _uii_connection_t *)') to parameter of type 'uii_call_fn_t' (aka 'int (*)(void)') [-Wincompatible-function-pointer-types] 663 | config_no_debug_server_verbose, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../include/user.h:155:23: note: passing argument to parameter 'call_fn' here 155 | uii_call_fn_t call_fn, char *explanation); | ^ main.c:667:21: warning: incompatible function pointer types passing 'int (uii_connection_t *, char *)' (aka 'int (struct _uii_connection_t *, char *)') to parameter of type 'uii_call_fn_t' (aka 'int (*)(void)') [-Wincompatible-function-pointer-types] 667 | config_statusfile, "set statusfile name"); | ^~~~~~~~~~~~~~~~~ ../../include/user.h:155:23: note: passing argument to parameter 'call_fn' here 155 | uii_call_fn_t call_fn, char *explanation); | ^ main.c:670:7: warning: incompatible function pointer types passing 'int (uii_connection_t *)' (aka 'int (struct _uii_connection_t *)') to parameter of type 'uii_call_fn_t' (aka 'int (*)(void)') [-Wincompatible-function-pointer-types] 670 | no_config_debug_submission, "Turn off submision logging"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../include/user.h:155:23: note: passing argument to parameter 'call_fn' here 155 | uii_call_fn_t call_fn, char *explanation); | ^ main.c:672:7: warning: incompatible function pointer types passing 'int (uii_connection_t *, char *)' (aka 'int (struct _uii_connection_t *, char *)') to parameter of type 'uii_call_fn_t' (aka 'int (*)(void)') [-Wincompatible-function-pointer-types] 672 | config_debug_submission_file, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../include/user.h:155:23: note: passing argument to parameter 'call_fn' here 155 | uii_call_fn_t call_fn, char *explanation); | ^ main.c:675:7: warning: incompatible function pointer types passing 'int (uii_connection_t *)' (aka 'int (struct _uii_connection_t *)') to parameter of type 'uii_call_fn_t' (aka 'int (*)(void)') [-Wincompatible-function-pointer-types] 675 | config_debug_submission_verbose, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../include/user.h:155:23: note: passing argument to parameter 'call_fn' here 155 | uii_call_fn_t call_fn, char *explanation); | ^ main.c:678:7: warning: incompatible function pointer types passing 'int (uii_connection_t *, int)' (aka 'int (struct _uii_connection_t *, int)') to parameter of type 'uii_call_fn_t' (aka 'int (*)(void)') [-Wincompatible-function-pointer-types] 678 | config_debug_submission_maxsize, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../include/user.h:155:23: note: passing argument to parameter 'call_fn' here 155 | uii_call_fn_t call_fn, char *explanation); | ^ main.c:681:7: warning: incompatible function pointer types passing 'int (uii_connection_t *)' (aka 'int (struct _uii_connection_t *)') to parameter of type 'uii_call_fn_t' (aka 'int (*)(void)') [-Wincompatible-function-pointer-types] 681 | config_debug_submission_syslog, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../include/user.h:155:23: note: passing argument to parameter 'call_fn' here 155 | uii_call_fn_t call_fn, char *explanation); | ^ main.c:685:7: warning: incompatible function pointer types passing 'int (uii_connection_t *, char *)' (aka 'int (struct _uii_connection_t *, char *)') to parameter of type 'uii_call_fn_t' (aka 'int (*)(void)') [-Wincompatible-function-pointer-types] 685 | config_tmp_directory, | ^~~~~~~~~~~~~~~~~~~~ ../../include/user.h:155:23: note: passing argument to parameter 'call_fn' here 155 | uii_call_fn_t call_fn, char *explanation); | ^ 17 warnings and 2 errors generated. *** Error code 1 Stop. bmake[3]: stopped making "all" in /var/tmp/work/net/irrd/work/irrd2.3.9/src/programs/IRRd cd hdr_comm; /opt/pkg/bin/bmake clang -std=gnu23 -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] 86 | 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] 182 | 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 -std=gnu23 -pipe -Os -D_REENTRANT -Wall -DHAVE_CONFIG_H -D_REENTRANT -DFUNCPROTO -I../../include -c hdr_fields.c clang -std=gnu23 -pipe -Os -D_REENTRANT -Wall -DHAVE_CONFIG_H -D_REENTRANT -DFUNCPROTO -I../../include -c read_conf.c clang -std=gnu23 -pipe -Os -D_REENTRANT -Wall -DHAVE_CONFIG_H -D_REENTRANT -DFUNCPROTO -I../../include -c trace.c trace.c:35:13: error: unknown type name 'name' 35 | init_trace (name, syslog_flag) | ^ trace.c:35:19: error: unknown type name 'syslog_flag' 35 | init_trace (name, syslog_flag) | ^ trace.c:35:31: error: expected ';' after top level declarator 35 | init_trace (name, syslog_flag) | ^ | ; trace.c:38:1: error: expected identifier or '(' 38 | { | ^ trace.c:86:24: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 86 | syslog (LOG_INFO, tmp + strlen (ptime) + 1); | ^~~~~~~~~~~~~~~~~~~~~~~~ trace.c:86:24: note: treat the string as an argument to avoid this 86 | syslog (LOG_INFO, tmp + strlen (ptime) + 1); | ^ | "%s", trace.c:273:32: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 273 | if (error[0]) fprintf(stdout, error); | ^~~~~ trace.c:273:32: note: treat the string as an argument to avoid this 273 | if (error[0]) fprintf(stdout, error); | ^ | "%s", trace.c:278:32: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 278 | if (error[0]) fprintf(stderr, error); | ^~~~~ trace.c:278:32: note: treat the string as an argument to avoid this 278 | if (error[0]) fprintf(stderr, error); | ^ | "%s", trace.c:293:36: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 293 | if (error[0]) fprintf(retval, error); | ^~~~~ trace.c:293:36: note: treat the string as an argument to avoid this 293 | if (error[0]) fprintf(retval, error); | ^ | "%s", 4 warnings and 4 errors generated. *** Error code 1 Stop. bmake[3]: stopped making "libhdrs.a" in /var/tmp/work/net/irrd/work/irrd2.3.9/src/programs/hdr_comm cd pgp; /opt/pkg/bin/bmake cd gpg; /opt/pkg/bin/bmake clang -std=gnu23 -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] 669 | fprintf (pgpin, passwd); | ^~~~~~ gpg.c:669:19: note: treat the string as an argument to avoid this 669 | 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 bmake[3]: don't know how to make ../hdr_comm/libhdrs.a. Stop bmake[3]: stopped making "all" in /var/tmp/work/net/irrd/work/irrd2.3.9/src/programs/irr_rpsl_check cd irrd_ops; /opt/pkg/bin/bmake clang -std=gnu23 -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 bmake[3]: don't know how to make ../hdr_comm/libhdrs.a. Stop bmake[3]: stopped making "all" in /var/tmp/work/net/irrd/work/irrd2.3.9/src/programs/irr_notify cd irr_rpsl_submit; /opt/pkg/bin/bmake clang -std=gnu23 -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] 38 | if(!getpeername(sock_fd, (struct sockaddr *)&myaddr, &sock_length)) { | ^~~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/socket.h:712:78: note: passing argument to parameter here 712 | int getpeername(int, struct sockaddr * __restrict, socklen_t * __restrict) | ^ 1 warning generated. bmake[3]: don't know how to make ../hdr_comm/libhdrs.a. Stop bmake[3]: stopped making "all" in /var/tmp/work/net/irrd/work/irrd2.3.9/src/programs/irr_rpsl_submit => Creating /var/tmp/work/net/irrd/work/.rc.d/irrd