+ 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/lmbench-2.11anb13/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/lmbench-2.11anb13/work.log WARNING: [license.mk] Every package should define a LICENSE. ===> Building for lmbench-2.11anb13 cd src && /opt/pkg/bin/gmake gmake[1]: Entering directory '/home/pbulk/build/benchmarks/lmbench/work/lmbench-2alpha11/src' Building for solaris /opt/pkg/bin/gmake CC="gcc" O=../bin/`../scripts/os.orig` `../scripts/target` gmake[2]: Entering directory '/home/pbulk/build/benchmarks/lmbench/work/lmbench-2alpha11/src' /opt/pkg/bin/gmake CC="gcc" O=../bin/`../scripts/os.orig` LDLIBS="-lnsl -lsocket" SYS5=-DSYS5 all gmake[3]: Entering directory '/home/pbulk/build/benchmarks/lmbench/work/lmbench-2alpha11/src' gcc -O -DSYS5 -Wl,-R/opt/pkg/lib -c lib_timing.c -o ../bin/x86_64-pc-solaris2.11/lib_timing.o gcc -O -DSYS5 -Wl,-R/opt/pkg/lib -o ../bin/x86_64-pc-solaris2.11/msleep msleep.c gcc -O -DSYS5 -Wl,-R/opt/pkg/lib -DMAIN -o ../bin/x86_64-pc-solaris2.11/flushdisk flushdisk.c lib_timing.c: In function 'use_pointer': lib_timing.c:475:49: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 475 | use_pointer(void *result) { use_result_dummy += (int)result; } | ^ lib_timing.c: In function 'touch': lib_timing.c:815:17: error: type defaults to 'int' in declaration of 'psize' [-Wimplicit-int] 815 | static psize; | ^~~~~ flushdisk.c: In function 'main': flushdisk.c:40:9: error: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 40 | exit(0); | ^~~~ flushdisk.c:1:1: note: include '' or provide a declaration of 'exit' +++ |+#include 1 | #ifdef linux flushdisk.c:40:9: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 40 | exit(0); | ^~~~ flushdisk.c:40:9: note: include '' or provide a declaration of 'exit' gmake[3]: *** [Makefile:182: ../bin/x86_64-pc-solaris2.11/flushdisk] Error 1 gmake[3]: *** Waiting for unfinished jobs.... gmake[3]: *** [Makefile:164: ../bin/x86_64-pc-solaris2.11/lmbench.a] Error 1 gmake[3]: Leaving directory '/home/pbulk/build/benchmarks/lmbench/work/lmbench-2alpha11/src' gmake[2]: *** [Makefile:122: solaris] Error 2 gmake[2]: Leaving directory '/home/pbulk/build/benchmarks/lmbench/work/lmbench-2alpha11/src' gmake[1]: *** [Makefile:85: lmbench] Error 2 gmake[1]: Leaving directory '/home/pbulk/build/benchmarks/lmbench/work/lmbench-2alpha11/src' gmake: *** [Makefile:20: build] Error 2 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/benchmarks/lmbench *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/benchmarks/lmbench