=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/benchmarks/hbench", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for hbench-1.1nb11 Building for solaris2.11-x86_64 into ../bin/solaris2.11-x86_64 gcc -g -DCMODE_SHARED -Wl,-R/opt/pkg/lib -o ../bin/solaris2.11-x86_64/bw_bzero bw_bzero.c -lnsl -lsocket -lcpc In file included from common.c:38, from bw_bzero.c:42: bench.h:57:9: warning: conflicting types for built-in function 'exit'; expected 'void(int)' [-Wbuiltin-declaration-mismatch] 57 | void exit(); | ^~~~ bench.h:9:1: note: 'exit' is declared in header '' 8 | #include +++ |+#include 9 | In file included from /usr/include/stdlib.h:41, from counter-common.c:32, from common.c:70: /usr/include/iso/stdlib_iso.h:136:28: error: conflicting types for 'exit'; have 'void(int)' 136 | extern _NORETURN_KYWD void exit(int) | ^~~~ bench.h:57:9: note: previous declaration of 'exit' with type 'void(void)' 57 | void exit(); | ^~~~ In file included from common.c:75: timing.c: In function 'stop': timing.c:220:9: error: too many arguments to function 'tvsub'; expected 0, have 3 220 | tvsub(&tdiff, &stop_tv, &start_tv); | ^~~~~ ~~~~~~ In file included from timing.c:38: bench.h:67:9: note: declared here 67 | void tvsub(); | ^~~~~ timing.c: In function 'gen_iterations': timing.c:238:1: warning: old-style function definition [-Wold-style-definition] 238 | gen_iterations(workfn, clkmul) | ^~~~~~~~~~~~~~ timing.c:241:1: error: number of arguments doesn't match prototype 241 | { | ^ bench.h:49:17: error: prototype declaration 49 | unsigned int gen_iterations(); | ^~~~~~~~~~~~~~ timing.c: In function 'tvsub': timing.c:289:1: warning: old-style function definition [-Wold-style-definition] 289 | tvsub(tdiff, t1, t0) | ^~~~~ timing.c:291:1: error: number of arguments doesn't match prototype 291 | { | ^ bench.h:67:9: error: prototype declaration 67 | void tvsub(); | ^~~~~ In file included from common.c:80: utils.c: In function 'lastchar': utils.c:60:1: warning: old-style function definition [-Wold-style-definition] 60 | lastchar(s) | ^~~~~~~~ utils.c: In function 'parse_bytes': utils.c:69:1: warning: old-style function definition [-Wold-style-definition] 69 | parse_bytes(s) | ^~~~~~~~~~~ utils.c:71:1: error: number of arguments doesn't match prototype 71 | { | ^ In file included from utils.c:41: bench.h:46:9: error: prototype declaration 46 | int parse_bytes(); | ^~~~~~~~~~~ utils.c: At top level: utils.c:85:1: error: conflicting types for 'output_bandwidth'; have 'void(unsigned int, clk_t)' {aka 'void(unsigned int, unsigned int)'} 85 | output_bandwidth(unsigned int bytes, clk_t ticks) | ^~~~~~~~~~~~~~~~ bench.h:51:9: note: previous declaration of 'output_bandwidth' with type 'void(void)' 51 | void output_bandwidth(); | ^~~~~~~~~~~~~~~~ utils.c: In function 'centeravg_reset': utils.c:173:1: warning: old-style function definition [-Wold-style-definition] 173 | centeravg_reset(numpoints, tailpct) | ^~~~~~~~~~~~~~~ utils.c:176:1: error: number of arguments doesn't match prototype 176 | { | ^ bench.h:53:9: error: prototype declaration 53 | void centeravg_reset(); | ^~~~~~~~~~~~~~~ utils.c: In function 'centeravg_add': utils.c:193:1: warning: old-style function definition [-Wold-style-definition] 193 | centeravg_add(dat) | ^~~~~~~~~~~~~ utils.c:195:1: error: number of arguments doesn't match prototype 195 | { | ^ bench.h:54:9: error: prototype declaration 54 | void centeravg_add(); | ^~~~~~~~~~~~~ utils.c: In function 'centeravg_done': utils.c:209:1: warning: old-style function definition [-Wold-style-definition] 209 | centeravg_done(t) | ^~~~~~~~~~~~~~ utils.c:211:1: error: number of arguments doesn't match prototype 211 | { | ^ bench.h:55:9: error: prototype declaration 55 | void centeravg_done(); | ^~~~~~~~~~~~~~ bw_bzero.c: In function 'main': bw_bzero.c:55:1: warning: old-style function definition [-Wold-style-definition] 55 | main(ac, av) | ^~~~ bw_bzero.c:74:17: error: too many arguments to function 'parse_bytes'; expected 0, have 1 74 | bytes = parse_bytes(av[2]); | ^~~~~~~~~~~ ~~~~~ utils.c:69:1: note: declared here 69 | parse_bytes(s) | ^~~~~~~~~~~ bw_bzero.c:88:25: error: too many arguments to function 'gen_iterations'; expected 0, have 2 88 | niter = gen_iterations(&do_memzero, clock_multiplier); | ^~~~~~~~~~~~~~ ~~~~~~~~~~~ timing.c:238:1: note: declared here 238 | gen_iterations(workfn, clkmul) | ^~~~~~~~~~~~~~ bw_bzero.c: In function 'do_memzero': bw_bzero.c:115:1: warning: old-style function definition [-Wold-style-definition] 115 | do_memzero(num_iter, t) | ^~~~~~~~~~ bw_bzero.c:137:9: error: implicit declaration of function 'bzero' [-Wimplicit-function-declaration] 137 | bzero(mem, bytes); /* Touch all of the pages */ | ^~~~~ bw_bzero.c:137:9: warning: incompatible implicit declaration of built-in function 'bzero' [-Wbuiltin-declaration-mismatch] *** Error code 1 Stop. bmake[3]: stopped making "binaries" in /home/pbulk/work/benchmarks/hbench/work/HBenchOS/src *** Error code 1 Stop. bmake[2]: stopped making "solaris" in /home/pbulk/work/benchmarks/hbench/work/HBenchOS/src *** Error code 1 Stop. bmake[1]: stopped making "all" in /home/pbulk/work/benchmarks/hbench/work/HBenchOS/src *** Error code 1 Stop. bmake: stopped making "build" in /home/pbulk/work/benchmarks/hbench/work/HBenchOS *** Error code 1 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/benchmarks/hbench *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/benchmarks/hbench