=> "/opt/local/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-trunk-x86_64/net/irrd", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] ===> Building for irrd-2.3.9nb11 Making lib cd config; /opt/local/bin/bmake gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/usr/include -I/opt/local/include -Wall -Wno-char-subscripts -DHAVE_CONFIG_H -I/usr/include -I/opt/local/include -DFUNCPROTO -I../../include -c config_file.c config_file.c: In function 'config_del_module': config_file.c:82:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 82 | if (arg && (module->arg != arg)) | ^~ config_file.c:86:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 86 | if (strcmp (module->name, "!") == 0) | ^~ config_file.c: In function 'config_access_list': config_file.c:301:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 301 | (void *) num); | ^ config_file.c:314:28: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 314 | (void *) num); | ^ a - config_file.o cd mrt; /opt/local/bin/bmake gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/usr/include -I/opt/local/include -Wall -Wno-char-subscripts -DHAVE_CONFIG_H -I/usr/include -I/opt/local/include -DFUNCPROTO -I../../include -c util.c a - util.o gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/usr/include -I/opt/local/include -Wall -Wno-char-subscripts -DHAVE_CONFIG_H -I/usr/include -I/opt/local/include -DFUNCPROTO -I../../include -c prefix.c a - prefix.o gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/usr/include -I/opt/local/include -Wall -Wno-char-subscripts -DHAVE_CONFIG_H -I/usr/include -I/opt/local/include -DFUNCPROTO -I../../include -c mrt.c In file included from mrt.c:186: mrt.c: In function 'mrt_pthread_mutex_init': /usr/include/assert.h:81:10: warning: implicit declaration of function '__assert_c99' [-Wimplicit-function-declaration] 81 | (__assert_c99(#EX, __FILE__, __LINE__, __func__), 0)) | ^~~~~~~~~~~~ mrt.c:191:5: note: in expansion of macro 'assert' 191 | assert (mutex); | ^~~~~~ a - mrt.o gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/usr/include -I/opt/local/include -Wall -Wno-char-subscripts -DHAVE_CONFIG_H -I/usr/include -I/opt/local/include -DFUNCPROTO -I../../include -c user.c user.c: In function 'uii_accept_connection': user.c:221:9: warning: variable 'port' set but not used [-Wunused-but-set-variable] 221 | int port, family; | ^~~~ user.c: In function 'uii_call_callback_fn': user.c:1170:33: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1170 | args[nargs++] = (void *) atoi (utoken); | ^ user.c:1199:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1199 | args[optional_arg] = (void *) optional; | ^ a - user.o gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/usr/include -I/opt/local/include -Wall -Wno-char-subscripts -DHAVE_CONFIG_H -I/usr/include -I/opt/local/include -DFUNCPROTO -I../../include -c schedule.c a - schedule.o gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/usr/include -I/opt/local/include -Wall -Wno-char-subscripts -DHAVE_CONFIG_H -I/usr/include -I/opt/local/include -DFUNCPROTO -I../../include -c alist.c a - alist.o gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/usr/include -I/opt/local/include -Wall -Wno-char-subscripts -DHAVE_CONFIG_H -I/usr/include -I/opt/local/include -DFUNCPROTO -I../../include -c trace.c a - trace.o gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/usr/include -I/opt/local/include -Wall -Wno-char-subscripts -DHAVE_CONFIG_H -I/usr/include -I/opt/local/include -DFUNCPROTO -I../../include -c select.c a - select.o gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/usr/include -I/opt/local/include -Wall -Wno-char-subscripts -DHAVE_CONFIG_H -I/usr/include -I/opt/local/include -DFUNCPROTO -I../../include -c connect.c a - connect.o gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/usr/include -I/opt/local/include -Wall -Wno-char-subscripts -DHAVE_CONFIG_H -I/usr/include -I/opt/local/include -DFUNCPROTO -I../../include -c reboot.c a - reboot.o gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/usr/include -I/opt/local/include -Wall -Wno-char-subscripts -DHAVE_CONFIG_H -I/usr/include -I/opt/local/include -DFUNCPROTO -I../../include -c user_old.c user_old.c: In function 'parse_line': user_old.c:29:9: warning: variable 'state' set but not used [-Wunused-but-set-variable] 29 | int state; | ^~~~~ a - user_old.o gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/usr/include -I/opt/local/include -Wall -Wno-char-subscripts -DHAVE_CONFIG_H -I/usr/include -I/opt/local/include -DFUNCPROTO -I../../include -c user_util.c user_util.c: In function 'find_matching_commands': user_util.c:249:7: warning: variable 'optional' set but not used [-Wunused-but-set-variable] 249 | int optional; | ^~~~~~~~ user_util.c:247:30: warning: variable 'last_utoken' set but not used [-Wunused-but-set-variable] 247 | char *last_ctoken = NULL, *last_utoken = NULL; | ^~~~~~~~~~~ a - user_util.o gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/usr/include -I/opt/local/include -Wall -Wno-char-subscripts -DHAVE_CONFIG_H -I/usr/include -I/opt/local/include -DFUNCPROTO -I../../include -c compat.c a - compat.o gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/usr/include -I/opt/local/include -Wall -Wno-char-subscripts -DHAVE_CONFIG_H -I/usr/include -I/opt/local/include -DFUNCPROTO -I../../include -c buffer.c a - buffer.o cd radix; /opt/local/bin/bmake gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/usr/include -I/opt/local/include -Wall -Wno-char-subscripts -DHAVE_CONFIG_H -I/usr/include -I/opt/local/include -DFUNCPROTO -I../../include -c radix.c a - radix.o cd struct; /opt/local/bin/bmake gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/usr/include -I/opt/local/include -Wall -Wno-char-subscripts -DHAVE_CONFIG_H -I/usr/include -I/opt/local/include -DFUNCPROTO -I../../include -c New.c New.c: In function 'Reallocate_DefaultHandler': New.c:240:22: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 240 | (u_int)ptr, ptr_name, size, name, strerror(errno), file, line); | ^ New.c:242:22: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 242 | (u_int)ptr, size, strerror(errno)); | ^ New.c: In function 'Delete_DefaultHandler': New.c:263:22: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 263 | (u_int)ptr, name, strerror(errno), file, line); | ^ New.c:264:69: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 264 | else fprintf(out, "Delete: Error freeing 0x%.8x. \"%s\"\n", (u_int)ptr, strerror(errno)); | ^ a - New.o gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/usr/include -I/opt/local/include -Wall -Wno-char-subscripts -DHAVE_CONFIG_H -I/usr/include -I/opt/local/include -DFUNCPROTO -I../../include -c stack.c stack.c: In function 'STACK_DefaultHandler': stack.c:196:73: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 196 | fprintf(out, "STACK: 0x%.8x Error in function %s. \"%s\" {%u/%u}\n", (u_int)stack, name, | ^ stack.c: In function 'STACK_Print': stack.c:220:52: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 220 | printf("STACK: 0x%.8x Print(0x%.8x) {%u/%u}\n", (u_int)stack, (u_int)print, (u_int)stack->top, (u_int)stack->size); | ^ stack.c:220:66: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 220 | printf("STACK: 0x%.8x Print(0x%.8x) {%u/%u}\n", (u_int)stack, (u_int)print, (u_int)stack->top, (u_int)stack->size); | ^ a - stack.o gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/usr/include -I/opt/local/include -Wall -Wno-char-subscripts -DHAVE_CONFIG_H -I/usr/include -I/opt/local/include -DFUNCPROTO -I../../include -c linked_list.c linked_list.c: In function 'LL_DefaultHandler': linked_list.c:1650:71: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1650 | fprintf(out, "LINKED LIST: 0x%.8x Error in function %s: \"%s\"\n", (u_int)ll, name, LL_errlist[num]); | ^ a - linked_list.o gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/usr/include -I/opt/local/include -Wall -Wno-char-subscripts -DHAVE_CONFIG_H -I/usr/include -I/opt/local/include -DFUNCPROTO -I../../include -c hash.c hash.c: In function 'HASH_DefaultHandler': hash.c:923:70: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 923 | fprintf(out, "HASH TABLE: 0x%.8x Error in function %s: \"%s\"\n", (u_int)h, fn, HASH_errlist[num]); | ^ hash.c: In function 'HASH_Print': hash.c:1009:58: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1009 | printf("HASH TABLE: 0x%.8x attributes: %s, %s, %s\n", (u_int)h, | ^ hash.c:1013:45: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1013 | printf("HASH TABLE: 0x%.8x size = %u\n", (u_int)h, h->size); | ^ hash.c:1016:14: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1016 | (u_int)h, h->key_offset, h->next_offset); | ^ hash.c:1019:54: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1019 | printf("HASH TABLE: 0x%.8x key offset = %u\n", (u_int)h, h->key_offset); | ^ hash.c:1022:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1022 | (u_int)h, (u_int)h->hash, (u_int)h->lookup, (u_int)h->destroy); | ^ hash.c:1022:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1022 | (u_int)h, (u_int)h->hash, (u_int)h->lookup, (u_int)h->destroy); | ^ hash.c:1022:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1022 | (u_int)h, (u_int)h->hash, (u_int)h->lookup, (u_int)h->destroy); | ^ hash.c:1022:55: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1022 | (u_int)h, (u_int)h->hash, (u_int)h->lookup, (u_int)h->destroy); | ^ hash.c: In function 'HASH_DefaultPrinter': hash.c:1052:57: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1052 | printf("%3d: 0x%.8x key = 0x%.8x = \"%s\"\n", index, (u_int)data, (u_int)key, (char *)key); | ^ hash.c:1052:70: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1052 | printf("%3d: 0x%.8x key = 0x%.8x = \"%s\"\n", index, (u_int)data, (u_int)key, (char *)key); | ^ a - hash.o gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/usr/include -I/opt/local/include -Wall -Wno-char-subscripts -DHAVE_CONFIG_H -I/usr/include -I/opt/local/include -DFUNCPROTO -I../../include -c array.c array.c: In function 'ARRAY_MergeSort': array.c:280:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 280 | while ((unsigned)tmp[0] != size-1) { | ^ array.c:281:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 281 | if ((unsigned)tmp[p] == r) { /* AUTO-MERGE, all sub-arrays processed */ | ^ array.c:283:14: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 283 | r = (unsigned)tmp[q+1]; | ^ array.c:305:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 305 | tmp[p] = (DATA_PTR)r; | ^ array.c:326:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 326 | tmp[p] = (DATA_PTR)r; | ^ array.c:331:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 331 | tmp[p] = (DATA_PTR)p; | ^ a - array.o cd timer; /opt/local/bin/bmake gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/usr/include -I/opt/local/include -Wall -Wno-char-subscripts -DHAVE_CONFIG_H -I/usr/include -I/opt/local/include -DFUNCPROTO -I../../include -c timer.c a - timer.o gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/usr/include -I/opt/local/include -Wall -Wno-char-subscripts -DHAVE_CONFIG_H -I/usr/include -I/opt/local/include -DFUNCPROTO -I../../include -c signal.c a - signal.o Making programs for i in atomic_ops compat IRRd hdr_comm pgp irr_rpsl_check irrd_ops irr_notify irr_rpsl_submit; do (echo "cd $i; /opt/local/bin/bmake"; cd $i; /opt/local/bin/bmake; cd ..); done cd atomic_ops; /opt/local/bin/bmake gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/usr/include -I/opt/local/include -Wall -Wno-char-subscripts -DHAVE_CONFIG_H -I/usr/include -I/opt/local/include -DFUNCPROTO -I../../include -c atomic_ops.c atomic_ops.c: In function 'rm_tmpfiles': atomic_ops.c:455:27: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] 455 | sprintf (tname, "%s/%s", af->tmp_dir, p); | ^ atomic_ops.c:455:5: note: 'sprintf' output 2 or more bytes (assuming 1026) into a destination of size 1025 455 | sprintf (tname, "%s/%s", af->tmp_dir, p); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ar crv libatomic_ops.a atomic_ops.o a - atomic_ops.o ranlib libatomic_ops.a cd compat; /opt/local/bin/bmake gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/usr/include -I/opt/local/include -Wall -Wno-char-subscripts -DHAVE_CONFIG_H -I/usr/include -I/opt/local/include -DFUNCPROTO -I../../include -c snprintf.c snprintf.c:413:13: warning: 'credits' defined but not used [-Wunused-variable] 413 | static char credits[] = "\n\ | ^~~~~~~ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/usr/include -I/opt/local/include -Wall -Wno-char-subscripts -DHAVE_CONFIG_H -I/usr/include -I/opt/local/include -DFUNCPROTO -I../../include -c mktemp.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/usr/include -I/opt/local/include -Wall -Wno-char-subscripts -DHAVE_CONFIG_H -I/usr/include -I/opt/local/include -DFUNCPROTO -I../../include -c inet_ntop.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/usr/include -I/opt/local/include -Wall -Wno-char-subscripts -DHAVE_CONFIG_H -I/usr/include -I/opt/local/include -DFUNCPROTO -I../../include -c inet_pton.c ar crv libcompat.a snprintf.o mktemp.o inet_ntop.o inet_pton.o a - snprintf.o a - mktemp.o a - inet_ntop.o a - inet_pton.o ranlib libcompat.a cd IRRd; /opt/local/bin/bmake gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/usr/include -I/opt/local/include -Wall -Wno-char-subscripts -DHAVE_CONFIG_H -I/usr/include -I/opt/local/include -DFUNCPROTO -I../../include -c main.c main.c: In function 'daemonize': main.c:371:14: warning: variable 't' set but not used [-Wunused-but-set-variable] 371 | int pid, t; | ^ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/usr/include -I/opt/local/include -Wall -Wno-char-subscripts -DHAVE_CONFIG_H -I/usr/include -I/opt/local/include -DFUNCPROTO -I../../include -c telnet.c telnet.c: In function 'listen_telnet': telnet.c:318:64: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 318 | select_add_fd (sockfd, 1, (void_fn_t) irr_accept_connection, (void *) sockfd); | ^ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/usr/include -I/opt/local/include -Wall -Wno-char-subscripts -DHAVE_CONFIG_H -I/usr/include -I/opt/local/include -DFUNCPROTO -I../../include -c scan.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/usr/include -I/opt/local/include -Wall -Wno-char-subscripts -DHAVE_CONFIG_H -I/usr/include -I/opt/local/include -DFUNCPROTO -I../../include -c config.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/usr/include -I/opt/local/include -Wall -Wno-char-subscripts -DHAVE_CONFIG_H -I/usr/include -I/opt/local/include -DFUNCPROTO -I../../include -c commands.c commands.c: In function 'irr_more_all': commands.c:991:37: warning: variable 'last_node' set but not used [-Wunused-but-set-variable] 991 | radix_node_t *node, *start_node, *last_node; | ^~~~~~~~~ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/usr/include -I/opt/local/include -Wall -Wno-char-subscripts -DHAVE_CONFIG_H -I/usr/include -I/opt/local/include -DFUNCPROTO -I../../include -c database.c database.c: In function 'irr_database_export': database.c:443:33: warning: '%s' directive writing up to 1023 bytes into a region of size 978 [-Wformat-overflow=] 443 | sprintf (command, "%s -q -c %s > %s", GZIP_CMD, tmp_export, tmp_export_gz); | ^~ ~~~~~~~~~~ database.c:443:5: note: 'sprintf' output between 50 and 2096 bytes into a destination of size 1024 443 | sprintf (command, "%s -q -c %s > %s", GZIP_CMD, tmp_export, tmp_export_gz); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ database.c:441:29: warning: ' > ' directive writing 3 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] 441 | sprintf (command, "%s %s > %s", database->compress_script, tmp_export, tmp_export_gz); | ^~~ database.c:441:5: note: 'sprintf' output 5 or more bytes (assuming 2051) into a destination of size 1024 441 | sprintf (command, "%s %s > %s", database->compress_script, tmp_export, tmp_export_gz); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/usr/include -I/opt/local/include -Wall -Wno-char-subscripts -DHAVE_CONFIG_H -I/usr/include -I/opt/local/include -DFUNCPROTO -I../../include -c update.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/usr/include -I/opt/local/include -Wall -Wno-char-subscripts -DHAVE_CONFIG_H -I/usr/include -I/opt/local/include -DFUNCPROTO -I../../include -c mirror.c mirror.c: In function 'irr_service_mirror_request': mirror.c:389:70: warning: '%s' directive writing up to 1023 bytes into a region of size 984 [-Wformat-overflow=] 389 | sprintf (buffer1, "\n\n\n%% ERROR: syntax error in 'to' value (%s)\n", buffer); | ^~ ~~~~~~ mirror.c:389:7: note: 'sprintf' output between 43 and 1066 bytes into a destination of size 1024 389 | sprintf (buffer1, "\n\n\n%% ERROR: syntax error in 'to' value (%s)\n", buffer); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mirror.c:410:42: warning: '%s' directive writing up to 1023 bytes into a region of size 1011 [-Wformat-overflow=] 410 | sprintf (buffer, "\n\n\n%% ERROR: (%s).CURRENTSERIAL file missing or corrupted!\n", name); | ^~ ~~~~ mirror.c:410:7: note: 'sprintf' output between 57 and 1080 bytes into a destination of size 1024 410 | sprintf (buffer, "\n\n\n%% ERROR: (%s).CURRENTSERIAL file missing or corrupted!\n", name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mirror.c:397:51: warning: '%s' directive writing up to 1023 bytes into a region of size 1000 [-Wformat-overflow=] 397 | sprintf (buffer, "\n\n\n%% ERROR: Unknown db (%s) in mirror request\n", name); | ^~ ~~~~ mirror.c:397:5: note: 'sprintf' output between 45 and 1068 bytes into a destination of size 1024 397 | sprintf (buffer, "\n\n\n%% ERROR: Unknown db (%s) in mirror request\n", name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mirror.c:383:71: warning: '%s' directive writing up to 1023 bytes into a region of size 982 [-Wformat-overflow=] 383 | sprintf (buffer, "\n\n\n%% ERROR: syntax error in 'from' value (%s)\n", buffer1); | ^~ ~~~~~~~ mirror.c:383:7: note: 'sprintf' output between 45 and 1068 bytes into a destination of size 1024 383 | sprintf (buffer, "\n\n\n%% ERROR: syntax error in 'from' value (%s)\n", buffer1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/usr/include -I/opt/local/include -Wall -Wno-char-subscripts -DHAVE_CONFIG_H -I/usr/include -I/opt/local/include -DFUNCPROTO -I../../include -c uii_commands.c uii_commands.c: In function 'uii_show_ip_more': uii_commands.c:581:37: warning: variable 'last_node' set but not used [-Wunused-but-set-variable] 581 | radix_node_t *node, *start_node, *last_node; | ^~~~~~~~~ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/usr/include -I/opt/local/include -Wall -Wno-char-subscripts -DHAVE_CONFIG_H -I/usr/include -I/opt/local/include -DFUNCPROTO -I../../include -c journal.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/usr/include -I/opt/local/include -Wall -Wno-char-subscripts -DHAVE_CONFIG_H -I/usr/include -I/opt/local/include -DFUNCPROTO -I../../include -c indicies.c indicies.c: In function 'irr_database_find_matches': indicies.c:117:17: warning: variable '_p_or_s' set but not used [-Wunused-but-set-variable] 117 | u_char _type, _p_or_s; | ^~~~~~~ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/usr/include -I/opt/local/include -Wall -Wno-char-subscripts -DHAVE_CONFIG_H -I/usr/include -I/opt/local/include -DFUNCPROTO -I../../include -c rpsl_commands.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/usr/include -I/opt/local/include -Wall -Wno-char-subscripts -DHAVE_CONFIG_H -I/usr/include -I/opt/local/include -DFUNCPROTO -I../../include -c route.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/usr/include -I/opt/local/include -Wall -Wno-char-subscripts -DHAVE_CONFIG_H -I/usr/include -I/opt/local/include -DFUNCPROTO -I../../include -c hash_spec.c hash_spec.c: In function 'memory_hash_spec_store': hash_spec.c:334:1: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 334 | if (id == GASX6) | ^~ hash_spec.c:343:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 343 | switch (id) { | ^~~~~~ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/usr/include -I/opt/local/include -Wall -Wno-char-subscripts -DHAVE_CONFIG_H -I/usr/include -I/opt/local/include -DFUNCPROTO -I../../include -c templates.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/usr/include -I/opt/local/include -Wall -Wno-char-subscripts -DHAVE_CONFIG_H -I/usr/include -I/opt/local/include -DFUNCPROTO -I../../include -c irrd_util.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/usr/include -I/opt/local/include -Wall -Wno-char-subscripts -DHAVE_CONFIG_H -I/usr/include -I/opt/local/include -DFUNCPROTO -I../../include -c mirrorstatus.c In function 'mirrorstatus_sendquery_getanswer', inlined from 'get_remote_mirrorstatus' at mirrorstatus.c:323:8: mirrorstatus.c:137:23: warning: array subscript 10240 is outside array bounds of 'char[10240]' [-Warray-bounds=] 137 | answer[answer_size] = '\0'; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ mirrorstatus.c: In function 'get_remote_mirrorstatus': mirrorstatus.c:305:8: note: at offset 10240 into object 'answer' of size 10240 305 | char answer[GRM_BUFSIZE], *p_dup_answer = NULL, *cp; | ^~~~~~ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/usr/include -I/opt/local/include -Wall -Wno-char-subscripts -DHAVE_CONFIG_H -I/usr/include -I/opt/local/include -DFUNCPROTO -I../../include -c statusfile.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/usr/include -I/opt/local/include -Wall -Wno-char-subscripts -DHAVE_CONFIG_H -I/usr/include -I/opt/local/include -DFUNCPROTO -I../../include -c atomic_trans.c echo "Linking: gcc -pthread -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -L/opt/local/lib -Wl,-R/opt/local/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: gcc -pthread -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -L/opt/local/lib -Wl,-R/opt/local/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 gcc -pthread -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -L/opt/local/lib -Wl,-R/opt/local/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 -lsocket -lnsl -lpthread -lrt -L../atomic_ops -latomic_ops -L../compat -lcompat cd hdr_comm; /opt/local/bin/bmake gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/usr/include -I/opt/local/include -Wall -Wno-char-subscripts -DHAVE_CONFIG_H -I/usr/include -I/opt/local/include -DFUNCPROTO -I../../include -c hdr_comm.c hdr_comm.c: In function 'dup_single_token': hdr_comm.c:86:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 86 | for (;*q == ' ' || *q == '\t'; q++); | ^~~ In file included from hdr_comm.c:8: ../../include/hdr_comm.h:16:28: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 16 | #define newline_remove(p) { char *_z = (p) + strlen((p)) - 1; \ | ^ hdr_comm.c:87:3: note: in expansion of macro 'newline_remove' 87 | newline_remove (q); | ^~~~~~~~~~~~~~ hdr_comm.c: In function 'is_from_field': hdr_comm.c:182:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 182 | for (;*p == ' ' || *p == '\t'; p++); | ^~~ ../../include/hdr_comm.h:16:28: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 16 | #define newline_remove(p) { char *_z = (p) + strlen((p)) - 1; \ | ^ hdr_comm.c:183:5: note: in expansion of macro 'newline_remove' 183 | newline_remove (p); | ^~~~~~~~~~~~~~ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/usr/include -I/opt/local/include -Wall -Wno-char-subscripts -DHAVE_CONFIG_H -I/usr/include -I/opt/local/include -DFUNCPROTO -I../../include -c hdr_fields.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/usr/include -I/opt/local/include -Wall -Wno-char-subscripts -DHAVE_CONFIG_H -I/usr/include -I/opt/local/include -DFUNCPROTO -I../../include -c read_conf.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/usr/include -I/opt/local/include -Wall -Wno-char-subscripts -DHAVE_CONFIG_H -I/usr/include -I/opt/local/include -DFUNCPROTO -I../../include -c trace.c trace.c: In function 'trace': trace.c:71:22: warning: ' [' directive writing 2 bytes into a region of size between 1 and 4096 [-Wformat-overflow=] 71 | sprintf (tmp, "%s [%d] ", ptime, (int) getpid ()); | ^~ trace.c:71:5: note: 'sprintf' output between 6 and 4111 bytes into a destination of size 4096 71 | sprintf (tmp, "%s [%d] ", ptime, (int) getpid ()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ar crv libhdrs.a hdr_comm.o hdr_fields.o read_conf.o trace.o a - hdr_comm.o a - hdr_fields.o a - read_conf.o a - trace.o ranlib libhdrs.a cd pgp; /opt/local/bin/bmake cd gpg; /opt/local/bin/bmake gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/usr/include -I/opt/local/include -Wall -Wno-char-subscripts -DHAVE_CONFIG_H -I/usr/include -I/opt/local/include -DFUNCPROTO -I../../include -I../../../include -c gpg.c ar crv libirrpgp.a gpg.o a - gpg.o ranlib libirrpgp.a cp libirrpgp.a ../ cp gpg.o ../pgp.o cd irr_rpsl_check; /opt/local/bin/bmake /opt/local/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 /tmp/work/net/irrd/work/.tools/bin/flex rpsl.fl gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/usr/include -I/opt/local/include -Wall -Wno-char-subscripts -DHAVE_CONFIG_H -I/usr/include -I/opt/local/include -DFUNCPROTO -I../../include -c lex.yy.c lex.yy.c:6209:16: warning: 'input' defined but not used [-Wunused-function] 6209 | #else | ^ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/usr/include -I/opt/local/include -Wall -Wno-char-subscripts -DHAVE_CONFIG_H -I/usr/include -I/opt/local/include -DFUNCPROTO -I../../include -c y.tab.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/usr/include -I/opt/local/include -Wall -Wno-char-subscripts -DHAVE_CONFIG_H -I/usr/include -I/opt/local/include -DFUNCPROTO -I../../include -c irr_attrs.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/usr/include -I/opt/local/include -Wall -Wno-char-subscripts -DHAVE_CONFIG_H -I/usr/include -I/opt/local/include -DFUNCPROTO -I../../include -c prefix.c prefix.c: In function '_is_ipv4_prefix': prefix.c:46:5: warning: 'strncpy' specified bound 64 equals destination size [-Wstringop-truncation] 46 | strncpy (save, string, 64); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ prefix.c: In function '_is_ipv6_prefix': prefix.c:117:5: warning: 'strncpy' specified bound 64 equals destination size [-Wstringop-truncation] 117 | strncpy (save, string, 64); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/usr/include -I/opt/local/include -Wall -Wno-char-subscripts -DHAVE_CONFIG_H -I/usr/include -I/opt/local/include -DFUNCPROTO -I../../include -c util.c util.c: In function 'error_msg_queue': util.c:330:58: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 330 | fprintf (dfile, "error_msg_queue(), copied n bytes-(%d) curr attr-(%d)\n",n,obj->curr_attr); | ~^ ~ | | | | int size_t {aka long unsigned int} | %ld gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/usr/include -I/opt/local/include -Wall -Wno-char-subscripts -DHAVE_CONFIG_H -I/usr/include -I/opt/local/include -DFUNCPROTO -I../../include -c syntax_attrs.c syntax_attrs.c: In function 'date_in_future': syntax_attrs.c:260:24: warning: '%d' directive writing between 1 and 11 bytes into a region of size 10 [-Wformat-overflow=] 260 | sprintf (strdate, "%d", intdate2); | ^~ syntax_attrs.c:260:23: note: directive argument in the range [-2147483648, 2147483646] 260 | sprintf (strdate, "%d", intdate2); | ^~~~ syntax_attrs.c:260:5: note: 'sprintf' output between 2 and 12 bytes into a destination of size 10 260 | sprintf (strdate, "%d", intdate2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/usr/include -I/opt/local/include -Wall -Wno-char-subscripts -DHAVE_CONFIG_H -I/usr/include -I/opt/local/include -DFUNCPROTO -I../../include -c canonical.c canonical.c: In function 'canon_put_str': canonical.c:532:56: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long int' [-Wformat=] 532 | fprintf (dfile, "canon_put_str mem (%s) offset (%d): exit\n", strp, cn->bufp - parse_buf); | ~^ ~~~~~~~~~~~~~~~~~~~~ | | | | int long int | %ld gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/usr/include -I/opt/local/include -Wall -Wno-char-subscripts -DHAVE_CONFIG_H -I/usr/include -I/opt/local/include -DFUNCPROTO -I../../include -c hdr_build.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/usr/include -I/opt/local/include -Wall -Wno-char-subscripts -DHAVE_CONFIG_H -I/usr/include -I/opt/local/include -DFUNCPROTO -I../../include -c dictionary.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/usr/include -I/opt/local/include -Wall -Wno-char-subscripts -DHAVE_CONFIG_H -I/usr/include -I/opt/local/include -DFUNCPROTO -I../../include -c main.c Linking: gcc -pthread -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -L/opt/local/lib -Wl,-R/opt/local/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 -lsocket -lnsl -lpthread -lrt 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/local/bin/bmake gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/usr/include -I/opt/local/include -Wall -Wno-char-subscripts -DHAVE_CONFIG_H -I/usr/include -I/opt/local/include -DFUNCPROTO -I../../include -c irrd_ops.c ar crv libirrd_ops.a irrd_ops.o a - irrd_ops.o ranlib libirrd_ops.a cd irr_notify; /opt/local/bin/bmake gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/usr/include -I/opt/local/include -Wall -Wno-char-subscripts -DHAVE_CONFIG_H -I/usr/include -I/opt/local/include -DFUNCPROTO -I../../include -c notify.c notify.c: In function 'perform_transactions': notify.c:977:22: warning: variable 'abort_trans' set but not used [-Wunused-but-set-variable] 977 | int open_conn = 0, abort_trans = 0; | ^~~~~~~~~~~ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/usr/include -I/opt/local/include -Wall -Wno-char-subscripts -DHAVE_CONFIG_H -I/usr/include -I/opt/local/include -DFUNCPROTO -I../../include -c trans_hdrs.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/usr/include -I/opt/local/include -Wall -Wno-char-subscripts -DHAVE_CONFIG_H -I/usr/include -I/opt/local/include -DFUNCPROTO -I../../include -c notify_msgs.c notify_msgs.c: In function 'maint_request': notify_msgs.c:138:24: warning: the comparison will always evaluate as 'true' for the address of 'sender_addrs' will never be NULL [-Waddress] 138 | if (ti->sender_addrs != NULL) | ^~ In file included from ../../include/irr_notify.h:10, from notify_msgs.c:14: ../../include/hdr_comm.h:42:8: note: 'sender_addrs' declared here 42 | char sender_addrs[MAXLINE]; | ^~~~~~~~~~~~ notify_msgs.c:150:24: warning: the comparison will always evaluate as 'true' for the address of 'sender_addrs' will never be NULL [-Waddress] 150 | if (ti->sender_addrs != NULL) | ^~ ../../include/hdr_comm.h:42:8: note: 'sender_addrs' declared here 42 | char sender_addrs[MAXLINE]; | ^~~~~~~~~~~~ notify_msgs.c: In function 'sender_response': notify_msgs.c:503:13: warning: variable 'notify_str' set but not used [-Wunused-but-set-variable] 503 | char *notify_str; | ^~~~~~~~~~ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/usr/include -I/opt/local/include -Wall -Wno-char-subscripts -DHAVE_CONFIG_H -I/usr/include -I/opt/local/include -DFUNCPROTO -I../../include -c util.c util.c: In function 'put_transaction_code_new': util.c:99:1: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 99 | else | ^~~~ util.c:107:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 107 | if (irrd_ret_code == NULL) | ^~ util.c: In function 'put_transaction_code': util.c:141:1: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 141 | else | ^~~~ util.c:144:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 144 | if (irrd_ret_code != NULL && *irrd_ret_code == 'C') | ^~ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/usr/include -I/opt/local/include -Wall -Wno-char-subscripts -DHAVE_CONFIG_H -I/usr/include -I/opt/local/include -DFUNCPROTO -I../../include -c main.c Linking: -pthread -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -L/opt/local/lib -Wl,-R/opt/local/lib gcc 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/local/bin/bmake gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/usr/include -I/opt/local/include -Wall -Wno-char-subscripts -DHAVE_CONFIG_H -I/usr/include -I/opt/local/include -DFUNCPROTO -I../../include -c call_pipeline.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/usr/include -I/opt/local/include -Wall -Wno-char-subscripts -DHAVE_CONFIG_H -I/usr/include -I/opt/local/include -DFUNCPROTO -I../../include -c auth.c auth.c: In function 'auth_process': auth.c:417:20: warning: the comparison will always evaluate as 'true' for the address of 'mnt_by' will never be NULL [-Waddress] 417 | if (ti->mnt_by != NULL) | ^~ In file included from ../../include/irrauth.h:38, from auth.c:16: ../../include/hdr_comm.h:71:8: note: 'mnt_by' declared here 71 | char mnt_by[MAXLINE]; | ^~~~~~ auth.c: In function 'do_auth_check': auth.c:622:60: warning: the comparison will always evaluate as 'true' for the address of 'sender_addrs' will never be NULL [-Waddress] 622 | if (!strncasecmp ("MAIL-FROM", p, 9) && ti->sender_addrs != NULL) { | ^~ ../../include/hdr_comm.h:42:8: note: 'sender_addrs' declared here 42 | char sender_addrs[MAXLINE]; | ^~~~~~~~~~~~ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/usr/include -I/opt/local/include -Wall -Wno-char-subscripts -DHAVE_CONFIG_H -I/usr/include -I/opt/local/include -DFUNCPROTO -I../../include -c pgpchk.c pgpchk.c: In function 'pgpdecodefile_new': pgpchk.c:108:19: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 108 | n != (int) "\n"); | ^ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/usr/include -I/opt/local/include -Wall -Wno-char-subscripts -DHAVE_CONFIG_H -I/usr/include -I/opt/local/include -DFUNCPROTO -I../../include -c mailchk.c mailchk.c: In function 'addmailcookies': mailchk.c:109:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 109 | if (seen_reply_to == 0 && from_line[0] != '\0') | ^~ mailchk.c:116:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 116 | strcat (email_info, from_line); | ^~~~~~ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/usr/include -I/opt/local/include -Wall -Wno-char-subscripts -DHAVE_CONFIG_H -I/usr/include -I/opt/local/include -DFUNCPROTO -I../../include -c main.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/usr/include -I/opt/local/include -Wall -Wno-char-subscripts -DHAVE_CONFIG_H -I/usr/include -I/opt/local/include -DFUNCPROTO -I../../include -c comdata.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/usr/include -I/opt/local/include -Wall -Wno-char-subscripts -DHAVE_CONFIG_H -I/usr/include -I/opt/local/include -DFUNCPROTO -I../../include -c util.c util.c: In function 'log_roll': util.c:434:25: warning: '.LOCK' directive writing 5 bytes into a region of size between 1 and 256 [-Wformat-overflow=] 434 | sprintf (lockname, "%s.LOCK", filename); | ^~~~~ In function 'lock_file', inlined from 'log_roll' at util.c:480:22: util.c:434:3: note: 'sprintf' output between 6 and 261 bytes into a destination of size 256 434 | sprintf (lockname, "%s.LOCK", filename); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ util.c: In function 'log_roll': util.c:490:28: warning: '.1' directive writing 2 bytes into a region of size between 1 and 256 [-Wformat-overflow=] 490 | sprintf (oldfn, "%s.1", logfn); | ^~ util.c:490:9: note: 'sprintf' output between 3 and 258 bytes into a destination of size 256 490 | sprintf (oldfn, "%s.1", logfn); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'unlock_file', inlined from 'log_roll' at util.c:495:7: util.c:459:3: warning: 'lfp' may be used uninitialized [-Wmaybe-uninitialized] 459 | close (fd); | ^~~~~~~~~~ util.c: In function 'log_roll': util.c:473:7: note: 'lfp' was declared here 473 | int lfp; | ^~~ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/usr/include -I/opt/local/include -Wall -Wno-char-subscripts -DHAVE_CONFIG_H -I/usr/include -I/opt/local/include -DFUNCPROTO -I../../include -c notifyif.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/usr/include -I/opt/local/include -Wall -Wno-char-subscripts -DHAVE_CONFIG_H -I/usr/include -I/opt/local/include -DFUNCPROTO -I../../include -c synchkif.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/usr/include -I/opt/local/include -Wall -Wno-char-subscripts -DHAVE_CONFIG_H -I/usr/include -I/opt/local/include -DFUNCPROTO -I../../include -c trans_list.c Linking: gcc -pthread -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -L/opt/local/lib -Wl,-R/opt/local/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 gcc -pthread -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -L/opt/local/lib -Wl,-R/opt/local/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 -lsocket -lnsl -lpthread -lrt -lcrypt -L../../lib/