+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/mrsync-20090219/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/mrsync-20090219/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for mrsync-20090219 gcc -O -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -c multicaster.c gcc -O -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -c global.c gcc -O -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -c setup_socket.c gcc -O -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -c set_mcast.c gcc -O -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -c parse_synclist.c parse_synclist.c: In function 'fill_in_stat': parse_synclist.c:295:34: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'off_t' {aka 'long int'} [-Wformat=] 295 | sprintf(buf, "%u %u %u %u %llu %lu %lu %d", st.st_mode, st.st_nlink, | ~~~^ | | | long long unsigned int | %lu 296 | st.st_uid, st.st_gid, st.st_size, st.st_atime, st.st_mtime, | ~~~~~~~~~~ | | | off_t {aka long int} gcc -O -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -c sends.c gcc -O -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -c complaints.c complaints.c: In function 'init_complaints': complaints.c:87:63: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] 87 | fprintf(stderr, "in init_complaints with FLOW_BUFFSIZE = %d\n", FLOW_BUFFSIZE); | ~^ | | | int | %ld complaints.c: In function 'pr_missing_pages': complaints.c:481:49: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'off_t' {aka 'long int'} [-Wformat=] 481 | fprintf(stderr, "Total number of bytes = %12llu Bytes re-sent = %12llu (%6.2f%%)\n", | ~~~~~^ | | | long long unsigned int | %12lu 482 | total_bytes, delta, (double)delta/(double)total_bytes*100.0); | ~~~~~~~~~~~ | | | off_t {aka long int} complaints.c:481:72: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'off_t' {aka 'long int'} [-Wformat=] 481 | fprintf(stderr, "Total number of bytes = %12llu Bytes re-sent = %12llu (%6.2f%%)\n", | ~~~~~^ | | | long long unsigned int | %12lu 482 | total_bytes, delta, (double)delta/(double)total_bytes*100.0); | ~~~~~ | | | off_t {aka long int} complaints.c: In function 'send_done_and_pr_msgs': complaints.c:525:7: warning: variable 'exit_code2' set but not used [-Wunused-but-set-variable] 525 | int exit_code2 =0; | ^~~~~~~~~~ gcc -O -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -c backup.c backup.c: In function 'read_backup_pattern': backup.c:76:28: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] 76 | sprintf(fullpat, "^%s", pat); | ^ backup.c:76:7: note: 'sprintf' output between 2 and 1025 bytes into a destination of size 1024 76 | sprintf(fullpat, "^%s", pat); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -c timing.c gcc -O -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -c signal.c gcc -O -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -c id_map.c gcc -O -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -c multicatcher.c gcc -O -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -c set_catcher_mcast.c gcc -O -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -c page_reader.c page_reader.c: In function 'read_handle_page': page_reader.c:386:31: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] 386 | fprintf(stderr, "Got %d bytes from page %d of %d for file %d mode=%d\n", | ~^ | | | int | %ld gcc -O -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -c complaint_sender.c gcc -O -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -c file_operations.c file_operations.c:99:1: error: static declaration of 'tmpnam_r' follows non-static declaration 99 | tmpnam_r(char *s) | ^~~~~~~~ In file included from /usr/include/libgen.h:45, from file_operations.c:53: /usr/include/stdio.h:268:18: note: previous declaration of 'tmpnam_r' with type 'char *(char *)' 268 | extern char *tmpnam_r(char *); | ^~~~~~~~ file_operations.c: In function 'extract_file_info': file_operations.c:214:34: warning: format '%llu' expects argument of type 'long long unsigned int *', but argument 7 has type 'off_t *' {aka 'long int *'} [-Wformat=] 214 | if (sscanf(pc, "%u %u %u %u %llu %lu %lu %d", &stat_mode, &stat_nlink, | ~~~^ | | | long long unsigned int * | %lu 215 | &stat_uid, &stat_gid, &stat_size, &stat_atime, &stat_mtime, | ~~~~~~~~~~ | | | off_t * {aka long int *} file_operations.c: In function 'open_file': file_operations.c:280:60: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'off_t' {aka 'long int'} [-Wformat=] 280 | fprintf(stderr, "lseek() error for %s with size = %llu\n", tmpFile, stat_size); | ~~~^ ~~~~~~~~~ | | | | | off_t {aka long int} | long long unsigned int | %lu file_operations.c:290:60: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'off_t' {aka 'long int'} [-Wformat=] 290 | fprintf(stderr, "write() error for %s with size = %llu\n", tmpFile, stat_size); | ~~~^ ~~~~~~~~~ | | | | | off_t {aka long int} | long long unsigned int | %lu file_operations.c: In function 'close_file': file_operations.c:322:69: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'off_t' {aka 'long int'} [-Wformat=] 322 | fprintf(stderr, "ERROR: Cannot close() tmp for -- %s size= %llu \n", | ~~~^ | | | long long unsigned int | %lu 323 | filename, stat_size); | ~~~~~~~~~ | | | off_t {aka long int} file_operations.c: In function 'rm_tmp_file': file_operations.c:382:69: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'off_t' {aka 'long int'} [-Wformat=] 382 | fprintf(stderr, "ERROR: Cannot close() tmp for -- %s size= %llu \n", | ~~~^ | | | long long unsigned int | %lu 383 | filename, stat_size); | ~~~~~~~~~ | | | off_t {aka long int} file_operations.c: In function 'update_directory0': file_operations.c:713:18: warning: variable 'times' set but not used [-Wunused-but-set-variable] 713 | struct utimbuf times; | ^~~~~ *** [file_operations.o] Error code 1 bmake: stopped in /home/pbulk/build/sysutils/mrsync/work 1 error bmake: stopped in /home/pbulk/build/sysutils/mrsync/work *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/sysutils/mrsync *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/sysutils/mrsync