=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/benchmarks/postmark", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for postmark-1.5 (cd /tmp/work/benchmarks/postmark/work && gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -o postmark postmark.c) postmark.c:67:14: error: conflicting types for 'getwd'; have 'char *(void)' 67 | extern char *getwd(); | ^~~~~ In file included from postmark.c:54: /usr/include/unistd.h:561:14: note: previous declaration of 'getwd' with type 'char *(char *)' 561 | extern char *getwd(char *); | ^~~~~ postmark.c: In function 'scale': postmark.c:182:7: warning: old-style function definition [-Wold-style-definition] 182 | char *scale(i) | ^~~~~ postmark.c: In function 'scalef': postmark.c:199:7: warning: old-style function definition [-Wold-style-definition] 199 | char *scalef(i) | ^~~~~~ postmark.c: In function 'cli_set_size': postmark.c:216:5: warning: old-style function definition [-Wold-style-definition] 216 | int cli_set_size(param) | ^~~~~~~~~~~~ postmark.c:218:1: error: number of arguments doesn't match prototype 218 | { | ^ postmark.c:88:12: error: prototype declaration 88 | extern int cli_set_size(); | ^~~~~~~~~~~~ postmark.c: In function 'cli_set_number': postmark.c:238:5: warning: old-style function definition [-Wold-style-definition] 238 | int cli_set_number(param) | ^~~~~~~~~~~~~~ postmark.c:240:1: error: number of arguments doesn't match prototype 240 | { | ^ postmark.c:89:12: error: prototype declaration 89 | extern int cli_set_number(); | ^~~~~~~~~~~~~~ postmark.c: In function 'cli_set_seed': postmark.c:252:5: warning: old-style function definition [-Wold-style-definition] 252 | int cli_set_seed(param) | ^~~~~~~~~~~~ postmark.c:254:1: error: number of arguments doesn't match prototype 254 | { | ^ postmark.c:90:12: error: prototype declaration 90 | extern int cli_set_seed(); | ^~~~~~~~~~~~ postmark.c: In function 'cli_set_transactions': postmark.c:266:5: warning: old-style function definition [-Wold-style-definition] 266 | int cli_set_transactions(param) | ^~~~~~~~~~~~~~~~~~~~ postmark.c:268:1: error: number of arguments doesn't match prototype 268 | { | ^ postmark.c:91:12: error: prototype declaration 91 | extern int cli_set_transactions(); | ^~~~~~~~~~~~~~~~~~~~ postmark.c: In function 'parse_weight': postmark.c:279:5: warning: old-style function definition [-Wold-style-definition] 279 | int parse_weight(params) | ^~~~~~~~~~~~ postmark.c: In function 'add_location': postmark.c:298:6: warning: old-style function definition [-Wold-style-definition] 298 | void add_location(params,weight) | ^~~~~~~~~~~~ postmark.c: In function 'delete_location': postmark.c:326:6: warning: old-style function definition [-Wold-style-definition] 326 | void delete_location(loc_name) | ^~~~~~~~~~~~~~~ postmark.c: In function 'cli_set_location': postmark.c:381:5: warning: old-style function definition [-Wold-style-definition] 381 | int cli_set_location(param) | ^~~~~~~~~~~~~~~~ postmark.c:383:1: error: number of arguments doesn't match prototype 383 | { | ^ postmark.c:92:12: error: prototype declaration 92 | extern int cli_set_location(); | ^~~~~~~~~~~~~~~~ postmark.c: In function 'cli_set_subdirs': postmark.c:408:5: warning: old-style function definition [-Wold-style-definition] 408 | int cli_set_subdirs(param) | ^~~~~~~~~~~~~~~ postmark.c:410:1: error: number of arguments doesn't match prototype 410 | { | ^ postmark.c:93:12: error: prototype declaration 93 | extern int cli_set_subdirs(); | ^~~~~~~~~~~~~~~ postmark.c: In function 'cli_set_read': postmark.c:422:5: warning: old-style function definition [-Wold-style-definition] 422 | int cli_set_read(param) | ^~~~~~~~~~~~ postmark.c:424:1: error: number of arguments doesn't match prototype 424 | { | ^ postmark.c:94:12: error: prototype declaration 94 | extern int cli_set_read(); | ^~~~~~~~~~~~ postmark.c: In function 'cli_set_write': postmark.c:436:5: warning: old-style function definition [-Wold-style-definition] 436 | int cli_set_write(param) | ^~~~~~~~~~~~~ postmark.c:438:1: error: number of arguments doesn't match prototype 438 | { | ^ postmark.c:95:12: error: prototype declaration 95 | extern int cli_set_write(); | ^~~~~~~~~~~~~ postmark.c: In function 'cli_set_buffering': postmark.c:451:5: warning: old-style function definition [-Wold-style-definition] 451 | int cli_set_buffering(param) | ^~~~~~~~~~~~~~~~~ postmark.c:453:1: error: number of arguments doesn't match prototype 453 | { | ^ postmark.c:96:12: error: prototype declaration 96 | extern int cli_set_buffering(); | ^~~~~~~~~~~~~~~~~ postmark.c: In function 'cli_set_bias_read': postmark.c:463:5: warning: old-style function definition [-Wold-style-definition] 463 | int cli_set_bias_read(param) | ^~~~~~~~~~~~~~~~~ postmark.c:465:1: error: number of arguments doesn't match prototype 465 | { | ^ postmark.c:97:12: error: prototype declaration 97 | extern int cli_set_bias_read(); | ^~~~~~~~~~~~~~~~~ postmark.c: In function 'cli_set_bias_create': postmark.c:478:5: warning: old-style function definition [-Wold-style-definition] 478 | int cli_set_bias_create(param) | ^~~~~~~~~~~~~~~~~~~ postmark.c:480:1: error: number of arguments doesn't match prototype 480 | { | ^ postmark.c:98:12: error: prototype declaration 98 | extern int cli_set_bias_create(); | ^~~~~~~~~~~~~~~~~~~ postmark.c: In function 'cli_set_report': postmark.c:493:5: warning: old-style function definition [-Wold-style-definition] 493 | int cli_set_report(param) | ^~~~~~~~~~~~~~ postmark.c:495:1: error: number of arguments doesn't match prototype 495 | { | ^ postmark.c:99:12: error: prototype declaration 99 | extern int cli_set_report(); | ^~~~~~~~~~~~~~ postmark.c: In function 'initialize_file_source': postmark.c:516:7: warning: old-style function definition [-Wold-style-definition] 516 | char *initialize_file_source(size) | ^~~~~~~~~~~~~~~~~~~~~~ postmark.c: In function 'diff_time': postmark.c:533:8: warning: old-style function definition [-Wold-style-definition] 533 | time_t diff_time(t1,t0) | ^~~~~~~~~ postmark.c: In function 'verbose_report': postmark.c:541:6: warning: old-style function definition [-Wold-style-definition] 541 | void verbose_report(fp,end_time,start_time,t_end_time,t_start_time,deleted) | ^~~~~~~~~~~~~~ postmark.c:545:1: error: number of arguments doesn't match prototype 545 | { | ^ postmark.c:128:13: error: prototype declaration 128 | extern void verbose_report(); | ^~~~~~~~~~~~~~ postmark.c: In function 'terse_report': postmark.c:585:6: warning: old-style function definition [-Wold-style-definition] 585 | void terse_report(fp,end_time,start_time,t_end_time,t_start_time,deleted) | ^~~~~~~~~~~~ postmark.c:589:1: error: number of arguments doesn't match prototype 589 | { | ^ postmark.c:129:13: error: prototype declaration 129 | extern void terse_report(); | ^~~~~~~~~~~~ postmark.c: In function 'write_blocks': postmark.c:632:6: warning: old-style function definition [-Wold-style-definition] 632 | void write_blocks(fd,size) | ^~~~~~~~~~~~ postmark.c: In function 'fwrite_blocks': postmark.c:650:6: warning: old-style function definition [-Wold-style-definition] 650 | void fwrite_blocks(fp,size) | ^~~~~~~~~~~~~ postmark.c: In function 'create_file_name': postmark.c:667:6: warning: old-style function definition [-Wold-style-definition] 667 | void create_file_name(dest) | ^~~~~~~~~~~~~~~~ postmark.c: In function 'create_file': postmark.c:691:6: warning: old-style function definition [-Wold-style-definition] 691 | void create_file(buffered) | ^~~~~~~~~~~ postmark.c: In function 'delete_file': postmark.c:730:6: warning: old-style function definition [-Wold-style-definition] 730 | void delete_file(number) | ^~~~~~~~~~~ postmark.c: In function 'read_file': postmark.c:746:6: warning: old-style function definition [-Wold-style-definition] 746 | void read_file(number,buffered) | ^~~~~~~~~ postmark.c: In function 'append_file': postmark.c:790:6: warning: old-style function definition [-Wold-style-definition] 790 | void append_file(number,buffered) | ^~~~~~~~~~~ postmark.c: In function 'run_transactions': postmark.c:854:5: warning: old-style function definition [-Wold-style-definition] 854 | int run_transactions(buffered) | ^~~~~~~~~~~~~~~~ postmark.c: In function 'build_location_index': postmark.c:897:8: warning: old-style function definition [-Wold-style-definition] 897 | char **build_location_index(list,weight) | ^~~~~~~~~~~~~~~~~~~~ postmark.c: In function 'create_subdirectories': postmark.c:915:6: warning: old-style function definition [-Wold-style-definition] 915 | void create_subdirectories(dir_list,base_dir,subdirs) | ^~~~~~~~~~~~~~~~~~~~~ postmark.c: In function 'delete_subdirectories': postmark.c:944:6: warning: old-style function definition [-Wold-style-definition] 944 | void delete_subdirectories(dir_list,base_dir,subdirs) | ^~~~~~~~~~~~~~~~~~~~~ postmark.c: In function 'cli_run': postmark.c:974:5: warning: old-style function definition [-Wold-style-definition] 974 | int cli_run(param) /* none */ | ^~~~~~~ postmark.c:976:1: error: number of arguments doesn't match prototype 976 | { | ^ postmark.c:101:12: error: prototype declaration 101 | extern int cli_run(); | ^~~~~~~ postmark.c:985:4: error: too many arguments to function 'sgenrand'; expected 0, have 1 985 | sgenrand(seed); /* initialize random number generator */ | ^~~~~~~~ ~~~~ postmark.c:179:13: note: declared here 179 | extern void sgenrand(); | ^~~~~~~~ postmark.c:1063:7: error: too many arguments to function 'reports[report]'; expected 0, have 6 1063 | reports[report](fp,end_time,start_time,t_end_time,t_start_time, | ^~~~~~~ ~~ postmark.c: In function 'cli_show': postmark.c:1078:5: warning: old-style function definition [-Wold-style-definition] 1078 | int cli_show(param) | ^~~~~~~~ postmark.c:1080:1: error: number of arguments doesn't match prototype 1080 | { | ^ postmark.c:102:12: error: prototype declaration 102 | extern int cli_show(); | ^~~~~~~~ postmark.c:69:18: error: too many arguments to function 'getwd'; expected 0, have 1 69 | #define GETWD(x) getwd(x) | ^~~~~ postmark.c:1105:30: note: in expansion of macro 'GETWD' 1105 | (file_system_count==0)?GETWD(current_dir):""); | ^~~~~ postmark.c:67:14: note: declared here 67 | extern char *getwd(); | ^~~~~ postmark.c: In function 'cli_quit': postmark.c:1130:5: warning: old-style function definition [-Wold-style-definition] 1130 | int cli_quit(param) /* none */ | ^~~~~~~~ postmark.c:1132:1: error: number of arguments doesn't match prototype 1132 | { | ^ postmark.c:104:12: error: prototype declaration 104 | extern int cli_quit(); | ^~~~~~~~ postmark.c: In function 'cli_help': postmark.c:1137:5: warning: old-style function definition [-Wold-style-definition] 1137 | int cli_help(param) | ^~~~~~~~ postmark.c:1139:1: error: number of arguments doesn't match prototype 1139 | { | ^ postmark.c:103:12: error: prototype declaration 103 | extern int cli_help(); | ^~~~~~~~ postmark.c: In function 'cli_read_line': postmark.c:1160:7: warning: old-style function definition [-Wold-style-definition] 1160 | char *cli_read_line(buffer,size) | ^~~~~~~~~~~~~ postmark.c: In function 'cli_parse_line': postmark.c:1181:5: warning: old-style function definition [-Wold-style-definition] 1181 | int cli_parse_line(buffer) | ^~~~~~~~~~~~~~ postmark.c:1196:36: error: too many arguments to function 'command_list[i].func'; expected 0, have 1 1196 | result=(command_list[i].func) | ~~~~~~~~~~~~~~~~^~~~~~ postmark.c:84:10: note: declared here 84 | int (*func)(); /* pointer to callback function */ | ^~~~ postmark.c: In function 'read_config_file': postmark.c:1210:5: warning: old-style function definition [-Wold-style-definition] 1210 | int read_config_file(filename,buffer) | ^~~~~~~~~~~~~~~~ postmark.c: In function 'main': postmark.c:1233:5: warning: old-style function definition [-Wold-style-definition] 1233 | int main(argc,argv) | ^~~~ postmark.c: In function 'sgenrand': postmark.c:1433:1: warning: old-style function definition [-Wold-style-definition] 1433 | sgenrand(seed) | ^~~~~~~~ postmark.c:1435:1: error: number of arguments doesn't match prototype 1435 | { | ^ postmark.c:179:13: error: prototype declaration 179 | extern void sgenrand(); | ^~~~~~~~ postmark.c: In function 'lsgenrand': postmark.c:1457:1: warning: old-style function definition [-Wold-style-definition] 1457 | lsgenrand(seed_array) | ^~~~~~~~~ postmark.c: In function 'genrand': postmark.c:1479:13: error: too many arguments to function 'sgenrand'; expected 0, have 1 1479 | sgenrand(4357); /* a default initial seed is used */ | ^~~~~~~~ ~~~~ postmark.c:1433:1: note: declared here 1433 | sgenrand(seed) | ^~~~~~~~ *** Error code 1 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/benchmarks/postmark *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/benchmarks/postmark