+ 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/pipebench-0.40/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/pipebench-0.40/work.log WARNING: [license.mk] Every package should define a LICENSE. ===> Building for pipebench-0.40 --- pipebench --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -w -pedantic -o pipebench pipebench.c pipebench.c: In function 'time_diff': pipebench.c:128:30: warning: format '%d' expects argument of type 'int', but argument 4 has type 'time_t' {aka 'long int'} [-Wformat=] 128 | snprintf(buf,max,"%.2dh%.2dm%.2d.%.2ds", | ~~~^ | | | int | %.2ld 129 | diff.tv_sec / 3600, | ~~~~~~~~~~~~~~~~~~ | | | time_t {aka long int} pipebench.c:128:35: warning: format '%d' expects argument of type 'int', but argument 5 has type 'time_t' {aka 'long int'} [-Wformat=] 128 | snprintf(buf,max,"%.2dh%.2dm%.2d.%.2ds", | ~~~^ | | | int | %.2ld 129 | diff.tv_sec / 3600, 130 | (diff.tv_sec / 60) % 60, | ~~~~~~~~~~~~~~~~~~~~~~~ | | | time_t {aka long int} pipebench.c:128:40: warning: format '%d' expects argument of type 'int', but argument 6 has type 'time_t' {aka 'long int'} [-Wformat=] 128 | snprintf(buf,max,"%.2dh%.2dm%.2d.%.2ds", | ~~~^ | | | int | %.2ld ...... 131 | diff.tv_sec % 60, | ~~~~~~~~~~~~~~~~ | | | time_t {aka long int} pipebench.c:128:45: warning: format '%d' expects argument of type 'int', but argument 7 has type 'suseconds_t' {aka 'long int'} [-Wformat=] 128 | snprintf(buf,max,"%.2dh%.2dm%.2d.%.2ds", | ~~~^ | | | int | %.2ld ...... 132 | diff.tv_usec/10000); | ~~~~~~~~~~~~~~~~~~ | | | suseconds_t {aka long int} pipebench.c: In function 'main': pipebench.c:188:35: error: implicit declaration of function 'atoi' [-Wimplicit-function-declaration] 188 | bufsize = atoi(optarg); | ^~~~ pipebench.c:241:27: error: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] 241 | while (!(buffer = malloc(bufsize))) { | ^~~~~~ pipebench.c:36:1: note: include '' or provide a declaration of 'malloc' 35 | #include +++ |+#include 36 | pipebench.c:241:27: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 241 | while (!(buffer = malloc(bufsize))) { | ^~~~~~ pipebench.c:241:27: note: include '' or provide a declaration of 'malloc' pipebench.c:274:17: error: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] 274 | strcpy(ctimebuf,ctime(&tv2.tv_sec)); | ^~~~~~ pipebench.c:36:1: note: include '' or provide a declaration of 'strcpy' 35 | #include +++ |+#include 36 | pipebench.c:274:17: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch] 274 | strcpy(ctimebuf,ctime(&tv2.tv_sec)); | ^~~~~~ pipebench.c:274:17: note: include '' or provide a declaration of 'strcpy' pipebench.c:275:24: error: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] 275 | if ((n=strlen(ctimebuf)) && ctimebuf[n-1] == '\n') { | ^~~~~~ pipebench.c:275:24: note: include '' or provide a declaration of 'strlen' pipebench.c:275:24: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] pipebench.c:275:24: note: include '' or provide a declaration of 'strlen' pipebench.c:298:54: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=] 298 | fprintf(statusf, "%llu\n",speed); | ~~~^ ~~~~~ | | | | | uint64_t {aka long unsigned int} | long long unsigned int | %lu pipebench.c:302:9: error: implicit declaration of function 'free' [-Wimplicit-function-declaration] 302 | free(buffer); | ^~~~ pipebench.c:302:9: note: include '' or provide a declaration of 'free' pipebench.c:302:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] pipebench.c:302:9: note: include '' or provide a declaration of 'free' *** [pipebench] Error code 1 bmake: stopped making "all" in /home/pbulk/build/benchmarks/pipebench/work/pipebench-0.40 bmake: 1 error bmake: stopped making "all" in /home/pbulk/build/benchmarks/pipebench/work/pipebench-0.40 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/benchmarks/pipebench *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/benchmarks/pipebench