+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/hbench-1.1nb11/work.log + su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/hbench-1.1nb11/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. ===> Building for hbench-1.1nb11 Building for linux-x86_64 into ../bin/linux-x86_64 gcc -O -Wl,-zrelro -Wl,-R/usr/pkg/lib -o ../bin/linux-x86_64/bw_bzero bw_bzero.c gcc -O -Wl,-zrelro -Wl,-R/usr/pkg/lib -o ../bin/linux-x86_64/bw_file_rd bw_file_rd.c bw_file_rd.c:48:0: warning: "MIN" redefined [enabled by default] #define MIN(a, b) ((a) < (b) ? (a) : (b)) ^ In file included from /usr/include/rpc/types.h:89:0, from bench.h:85, from common.c:38, from bw_file_rd.c:41: /usr/include/sys/param.h:97:0: note: this is the location of the previous definition #define MIN(a,b) (((a)<(b))?(a):(b)) ^ gcc -O -Wl,-zrelro -Wl,-R/usr/pkg/lib -o ../bin/linux-x86_64/bw_mem_cp bw_mem_cp.c gcc -O -Wl,-zrelro -Wl,-R/usr/pkg/lib -o ../bin/linux-x86_64/bw_mem_rd bw_mem_rd.c gcc -O -Wl,-zrelro -Wl,-R/usr/pkg/lib -o ../bin/linux-x86_64/bw_mem_wr bw_mem_wr.c gcc -O -Wl,-zrelro -Wl,-R/usr/pkg/lib -o ../bin/linux-x86_64/bw_mmap_rd bw_mmap_rd.c gcc -O -Wl,-zrelro -Wl,-R/usr/pkg/lib -o ../bin/linux-x86_64/bw_pipe bw_pipe.c gcc -O -Wl,-zrelro -Wl,-R/usr/pkg/lib -o ../bin/linux-x86_64/bw_tcp bw_tcp.c bw_tcp.c: In function 'absorb': bw_tcp.c:340:2: warning: ignoring return value of 'dup', declared with attribute warn_unused_result [-Wunused-result] (void)dup(control); /* stderr == control now */ ^ gcc -O -Wl,-zrelro -Wl,-R/usr/pkg/lib -o ../bin/linux-x86_64/lat_connect lat_connect.c lat_connect.c: In function 'main': lat_connect.c:119:2: warning: #warning No counters defined--results of lat_connect may not be accurate [-Wcpp] #warning No counters defined--results of lat_connect may not be accurate ^ lat_connect.c:95:8: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(sock, "0", 1); ^ lat_connect.c: In function 'server_main': lat_connect.c:185:7: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(newsock, &c, 1); ^ gcc -O -Wl,-zrelro -Wl,-R/usr/pkg/lib -o ../bin/linux-x86_64/lat_ctx lat_ctx.c lat_ctx.c: In function 'do_overhead1': lat_ctx.c:234:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(p[k = 0][1], &msg, sizeof(msg)); /* start the token */ ^ lat_ctx.c:243:8: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(p[k][0], &msg, sizeof(msg)); ^ lat_ctx.c:253:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(p[k][1], &msg, sizeof(msg)); ^ lat_ctx.c: In function 'do_ctxsw': lat_ctx.c:364:7: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(p[nprocs-1][0], &msg, sizeof(msg)); ^ lat_ctx.c:368:12: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(p[0][1], &msg, sizeof(msg)); ^ lat_ctx.c: In function 'child': lat_ctx.c:399:7: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(p[rd][0], &msg, sizeof(msg)); ^ lat_ctx.c:401:8: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(p[wr][1], &msg, sizeof(msg)); ^ gcc -O -Wl,-zrelro -Wl,-R/usr/pkg/lib -o ../bin/linux-x86_64/lat_fs lat_fs.c lat_fs.c: In function 'main': lat_fs.c:112:11: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir(tmpdir); ^ lat_fs.c: In function 'real_create': lat_fs.c:277:12: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, databuf, filesize); ^ gcc -O -Wl,-zrelro -Wl,-R/usr/pkg/lib -o ../bin/linux-x86_64/lat_fslayer lat_fslayer.c gcc -O -Wl,-zrelro -Wl,-R/usr/pkg/lib -o ../bin/linux-x86_64/lat_mem_rd lat_mem_rd.c gcc -O -Wl,-zrelro -Wl,-R/usr/pkg/lib -o ../bin/linux-x86_64/lat_mmap lat_mmap.c gcc -O -Wl,-zrelro -Wl,-R/usr/pkg/lib -o ../bin/linux-x86_64/lat_pipe lat_pipe.c gcc -O -Wl,-zrelro -Wl,-R/usr/pkg/lib -o ../bin/linux-x86_64/lat_proc lat_proc.c gcc -O -Wl,-zrelro -Wl,-R/usr/pkg/lib -o ../bin/linux-x86_64/lat_rpc lat_rpc.c lat_rpc.c: In function 'do_client': lat_rpc.c:165:3: warning: passing argument 3 of 'cl->cl_ops->cl_call' from incompatible pointer type [enabled by default] clnt_call(cl, RPC_EXIT, xdr_void, 0, xdr_void, 0, TIMEOUT); ^ lat_rpc.c:165:3: note: expected 'xdrproc_t' but argument is of type 'bool_t (*)(void)' lat_rpc.c:165:3: warning: passing argument 5 of 'cl->cl_ops->cl_call' from incompatible pointer type [enabled by default] lat_rpc.c:165:3: note: expected 'xdrproc_t' but argument is of type 'bool_t (*)(void)' lat_rpc.c: In function 'client_rpc_xact_1': lat_rpc.c:204:2: warning: passing argument 3 of 'clnt->cl_ops->cl_call' from incompatible pointer type [enabled by default] if (clnt_call(clnt, RPC_XACT, xdr_char, argp, xdr_char, &res, TIMEOUT) != RPC_SUCCESS) { ^ lat_rpc.c:204:2: note: expected 'xdrproc_t' but argument is of type 'bool_t (*)(struct XDR *, char *)' lat_rpc.c:204:2: warning: passing argument 5 of 'clnt->cl_ops->cl_call' from incompatible pointer type [enabled by default] lat_rpc.c:204:2: note: expected 'xdrproc_t' but argument is of type 'bool_t (*)(struct XDR *, char *)' lat_rpc.c: In function 'xact_prog_1': lat_rpc.c:274:3: warning: passing argument 2 of 'svc_sendreply' from incompatible pointer type [enabled by default] (void) svc_sendreply(transp, xdr_void, (char *)NULL); ^ In file included from /usr/include/rpc/rpc.h:56:0, from lat_rpc.c:46: /usr/include/rpc/svc.h:244:15: note: expected 'xdrproc_t' but argument is of type 'bool_t (*)(void)' extern bool_t svc_sendreply (SVCXPRT *__xprt, xdrproc_t __xdr_results, ^ lat_rpc.c:284:3: warning: passing argument 2 of 'svc_sendreply' from incompatible pointer type [enabled by default] (void) svc_sendreply(transp, xdr_void, (char *)NULL); ^ In file included from /usr/include/rpc/rpc.h:56:0, from lat_rpc.c:46: /usr/include/rpc/svc.h:244:15: note: expected 'xdrproc_t' but argument is of type 'bool_t (*)(void)' extern bool_t svc_sendreply (SVCXPRT *__xprt, xdrproc_t __xdr_results, ^ lat_rpc.c:293:2: warning: passing argument 2 of 'transp->xp_ops->xp_getargs' from incompatible pointer type [enabled by default] if (!svc_getargs(transp, xdr_argument, &argument)) { ^ lat_rpc.c:293:2: note: expected 'xdrproc_t' but argument is of type 'bool_t (*)()' lat_rpc.c:293:2: warning: passing argument 3 of 'transp->xp_ops->xp_getargs' from incompatible pointer type [enabled by default] lat_rpc.c:293:2: note: expected 'caddr_t' but argument is of type 'union *' lat_rpc.c:298:2: warning: passing argument 2 of 'svc_sendreply' from incompatible pointer type [enabled by default] if (result != NULL && !svc_sendreply(transp, xdr_result, result)) { ^ In file included from /usr/include/rpc/rpc.h:56:0, from lat_rpc.c:46: /usr/include/rpc/svc.h:244:15: note: expected 'xdrproc_t' but argument is of type 'bool_t (*)()' extern bool_t svc_sendreply (SVCXPRT *__xprt, xdrproc_t __xdr_results, ^ lat_rpc.c:301:2: warning: passing argument 2 of 'transp->xp_ops->xp_freeargs' from incompatible pointer type [enabled by default] if (!svc_freeargs(transp, xdr_argument, &argument)) { ^ lat_rpc.c:301:2: note: expected 'xdrproc_t' but argument is of type 'bool_t (*)()' lat_rpc.c:301:2: warning: passing argument 3 of 'transp->xp_ops->xp_freeargs' from incompatible pointer type [enabled by default] lat_rpc.c:301:2: note: expected 'caddr_t' but argument is of type 'union *' gcc -O -Wl,-zrelro -Wl,-R/usr/pkg/lib -o ../bin/linux-x86_64/lat_sig lat_sig.c gcc -O -Wl,-zrelro -Wl,-R/usr/pkg/lib -o ../bin/linux-x86_64/lat_syscall lat_syscall.c gcc -O -Wl,-zrelro -Wl,-R/usr/pkg/lib -o ../bin/linux-x86_64/lat_tcp lat_tcp.c lat_tcp.c: In function 'do_client': lat_tcp.c:166:8: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(sock, &c, 1); ^ lat_tcp.c:167:7: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(sock, &c, 1); ^ lat_tcp.c: In function 'doserver': lat_tcp.c:215:8: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(sock, &c, 1); ^ gcc -O -Wl,-zrelro -Wl,-R/usr/pkg/lib -o ../bin/linux-x86_64/lat_udp lat_udp.c gcc -O -Wl,-zrelro -Wl,-R/usr/pkg/lib-o ../bin/linux-x86_64/lat_ctx2 lat_ctx2.c lat_ctx2.c: In function 'do_overhead1': lat_ctx2.c:211:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(p[k = 0][1], &msg, sizeof(msg)); /* start the token */ ^ lat_ctx2.c:220:8: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(p[k][0], &msg, sizeof(msg)); ^ lat_ctx2.c:228:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(p[k][1], &msg, sizeof(msg)); ^ lat_ctx2.c: In function 'do_ctxsw': lat_ctx2.c:338:7: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(p[nprocs-1][0], &msg, sizeof(msg)); ^ lat_ctx2.c:342:12: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(p[0][1], &msg, sizeof(msg)); ^ lat_ctx2.c: In function 'child': lat_ctx2.c:373:7: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(p[rd][0], &msg, sizeof(msg)); ^ lat_ctx2.c:375:8: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(p[wr][1], &msg, sizeof(msg)); ^ gcc -O -Wl,-zrelro -Wl,-R/usr/pkg/lib -o ../bin/linux-x86_64/memsize memsize.c Generating dynamically-linked hello... Generating statically-linked hello... /bin/ld: cannot find -lc collect2: error: ld returned 1 exit status *** Error code 1 Stop. bmake[3]: stopped in /home/pbulk/build/benchmarks/hbench/work/HBenchOS/src *** Error code 1 Stop. bmake[2]: stopped in /home/pbulk/build/benchmarks/hbench/work/HBenchOS/src *** Error code 1 Stop. bmake[1]: stopped in /home/pbulk/build/benchmarks/hbench/work/HBenchOS/src *** Error code 1 Stop. bmake: stopped in /home/pbulk/build/benchmarks/hbench/work/HBenchOS *** Error code 1 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/benchmarks/hbench *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/benchmarks/hbench