=> "/opt/pkg/bin/bmake" ["-C", "/Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/net/batchftp", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for batchftp-1.02nb1 --- batchftp.o --- clang -pipe -Os -c batchftp.c batchftp.c:156:17: warning: passing arguments to 'assign_args' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 156 | if (assign_args(argc, argv, user_name, pass_word, input_file, remote_host,&init_flag,&address_flag) == -1) { | ^ batchftp.c:173:16: warning: passing arguments to 'get_rhost' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 173 | if (get_rhost(remote_host) == _NULL) { | ^ batchftp.c:192:24: warning: passing arguments to 'remove_white' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 192 | bufptr = remove_white(linebuf); | ^ batchftp.c:202:29: warning: passing arguments to 'process_entry' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 202 | entry_flag = process_entry(bufptr, local_dir, remote_dir, &fptr, &mptr, &free_flag, &start_flag); | ^ batchftp.c:108:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 108 | main (argc, argv) | ^ batchftp.c:255:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 255 | char *get_rhost (remote_host) | ^ batchftp.c:95:10: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 95 | char *get_rhost (); | ^ batchftp.c:298:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 298 | char *get_lhost (local_host) | ^ batchftp.c:94:10: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 94 | char *get_lhost (); | ^ batchftp.c:330:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 330 | init_fscript (remote_host, user_name, pass_word, fptr) | ^ batchftp.c:345:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 345 | char *remove_white (s) | ^ batchftp.c:86:10: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 86 | char *remove_white (); | ^ batchftp.c:358:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 358 | char *findword (s) | ^ batchftp.c:87:10: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 87 | char *findword (); | ^ batchftp.c:377:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 377 | init_sh_script(f_stdout, ftp_script, sh_name) | ^ batchftp.c:400:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 400 | int process_entry (linebuf,local_dir, remote_dir, fptr, mptr, free_flag, start_flag) | ^ batchftp.c:84:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 84 | int process_entry (); | ^ batchftp.c:666:21: warning: passing arguments to 'strpos' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 666 | *init_flag = strpos(option_string , _NO_INIT); /*set command switch flags */ | ^ batchftp.c:667:24: warning: passing arguments to 'strpos' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 667 | *address_flag = strpos(option_string, _NO_MAP); | ^ batchftp.c:686:12: warning: passing arguments to 'lower_case' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 686 | lower_case(remote_host); | ^ batchftp.c:631:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 631 | int assign_args(argc, argv, user_name, pass_word, input_file, remote_host, init_flag, address_flag) | ^ batchftp.c:85:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 85 | int assign_args (); | ^ batchftp.c:802:29: warning: passing arguments to 'monitor_ftp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 802 | monitor_flag = monitor_ftp(&msg_ptr, f_stdout); | ^ batchftp.c:806:22: error: too many arguments to function call, expected 0, have 2 806 | pg_flag = setpgrp(pid, pid); /* make child group leader so that parent won't be killed */ | ~~~~~~~ ^~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/unistd.h:592:8: note: 'setpgrp' declared here 592 | pid_t setpgrp(void) __DARWIN_ALIAS(setpgrp); | ^ batchftp.c:741:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 741 | start_ftp (mptr, f_stdout, sh_name, alarm_flag, ftp_script) | ^ batchftp.c:836:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 836 | int monitor_ftp(mptr, f_stdout) | ^ batchftp.c:89:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 89 | int monitor_ftp (); | ^ batchftp.c:861:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 861 | char *lower_case(s) | ^ batchftp.c:88:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 88 | char *lower_case (); | ^ batchftp.c:900:13: warning: passing arguments to 'substr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 900 | if (substr(linebuf, _T_COMPLETE) != _NULL) { | ^ batchftp.c:905:13: warning: passing arguments to 'substr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 905 | if (substr(linebuf, _UNREACHABLE) != _NULL) { | ^ batchftp.c:912:13: warning: passing arguments to 'substr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 912 | if (substr(linebuf, _NO_HOST) != _NULL) { | ^ batchftp.c:919:15: warning: passing arguments to 'substr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 919 | if (((substr(linebuf, _NO_LOGIN) != _NULL) && (transfers == 0)) || ((substr(linebuf, _NO_CONNECT) != _NULL) && (transfers == 0))) { | ^ batchftp.c:919:78: warning: passing arguments to 'substr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 919 | if (((substr(linebuf, _NO_LOGIN) != _NULL) && (transfers == 0)) || ((substr(linebuf, _NO_CONNECT) != _NULL) && (transfers == 0))) { | ^ batchftp.c:882:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 882 | int check_ftp(mptr, f_stdout, msgfile) | ^ batchftp.c:90:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 90 | int check_ftp (); | ^ batchftp.c:948:15: warning: call to undeclared function 'time'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 948 | seed = (int) time(0L); | ^ batchftp.c:942:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 942 | unsigned connect_delay (sleep_time) | ^ batchftp.c:91:10: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 91 | unsigned connect_delay (); | ^ batchftp.c:970:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 970 | start_session (mptr, f_stdout, sh_name, ftp_script, msgfile) | ^ batchftp.c:1013:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1013 | char *substr (s1, s2) | ^ batchftp.c:81:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 81 | char *substr (); | ^ batchftp.c:1034:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1034 | int strpos (s, c) | ^ batchftp.c:82:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 82 | int strpos (); | ^ 43 warnings and 1 error generated. *** [batchftp.o] Error code 1 bmake: stopped making "all" in /var/tmp/work/net/batchftp/work bmake: 1 error bmake: stopped making "all" in /var/tmp/work/net/batchftp/work *** Error code 2 Stop. bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/net/batchftp *** Error code 1 Stop. bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/net/batchftp