+ 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/socket_wrapper-1.5.0/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/socket_wrapper-1.5.0/work.log ===> Building for socket_wrapper-1.5.0 [ 1%] Building C object tests/CMakeFiles/torture.dir/torture.c.o [ 2%] Building C object src/CMakeFiles/socket_wrapper_noop.dir/socket_wrapper_noop.c.o [ 4%] Building C object src/CMakeFiles/socket_wrapper.dir/socket_wrapper.c.o [ 5%] Building C object tests/CMakeFiles/echo_srv.dir/echo_srv.c.o /home/pbulk/build/devel/socket_wrapper/work/socket_wrapper-1.5.0/src/socket_wrapper.c:3923:56: warning: argument 4 of type 'int[2]' with mismatched bound [-Warray-parameter=] 3923 | int socketpair(int family, int type, int protocol, int sv[2]) | ~~~~^~~~~ In file included from /home/pbulk/build/devel/socket_wrapper/work/socket_wrapper-1.5.0/src/socket_wrapper.c:62: /usr/include/sys/socket.h:559:38: note: previously declared as 'int *' 559 | extern int socketpair(int, int, int, int *); | ^~~~~ /home/pbulk/build/devel/socket_wrapper/work/socket_wrapper-1.5.0/src/socket_wrapper.c:3968:14: warning: argument 1 of type 'int[2]' with mismatched bound [-Warray-parameter=] 3968 | int pipe(int pipefd[2]) | ~~~~^~~~~~~~~ In file included from /home/pbulk/build/devel/socket_wrapper/work/socket_wrapper-1.5.0/src/socket_wrapper.c:92: /usr/include/unistd.h:432:17: note: previously declared as 'int *' 432 | extern int pipe(int *); | ^~~~~ /home/pbulk/build/devel/socket_wrapper/work/socket_wrapper-1.5.0/src/socket_wrapper.c: In function 'swrap_setsockopt': /home/pbulk/build/devel/socket_wrapper/work/socket_wrapper-1.5.0/src/socket_wrapper.c:5186:32: error: 'SO_REUSEPORT' undeclared (first use in this function); did you mean 'SO_REUSEADDR'? 5186 | if (optname == SO_REUSEPORT) { | ^~~~~~~~~~~~ | SO_REUSEADDR /home/pbulk/build/devel/socket_wrapper/work/socket_wrapper-1.5.0/src/socket_wrapper.c:5186:32: note: each undeclared identifier is reported only once for each function it appears in /home/pbulk/build/devel/socket_wrapper/work/socket_wrapper-1.5.0/src/socket_wrapper.c: In function 'swrap_vioctl': /home/pbulk/build/devel/socket_wrapper/work/socket_wrapper-1.5.0/src/socket_wrapper.c:5310:14: error: 'TIOCOUTQ' undeclared (first use in this function) 5310 | case TIOCOUTQ: /* same as SIOCOUTQ on Linux */ | ^~~~~~~~ [ 7%] Linking C shared library libsocket_wrapper_noop.so /home/pbulk/build/devel/socket_wrapper/work/socket_wrapper-1.5.0/src/socket_wrapper.c: At top level: /home/pbulk/build/devel/socket_wrapper/work/socket_wrapper-1.5.0/src/socket_wrapper.c:8872:10: error: conflicting types for 'syscall'; have 'long int(long int, ...)' 8872 | long int syscall(long int sysno, ...) | ^~~~~~~ In file included from /home/pbulk/build/devel/socket_wrapper/work/socket_wrapper-1.5.0/src/socket_wrapper.c:57: /usr/include/sys/syscall.h:517:17: note: previous declaration of 'syscall' with type 'long int(int, ...)' 517 | extern long syscall(int, ...); | ^~~~~~~ --- src/CMakeFiles/socket_wrapper.dir/socket_wrapper.c.o --- *** [src/CMakeFiles/socket_wrapper.dir/socket_wrapper.c.o] Error code 1 bmake[2]: stopped making "src/CMakeFiles/socket_wrapper.dir/build" in /home/pbulk/build/devel/socket_wrapper/work/socket_wrapper-1.5.0/cmake-pkgsrc-build bmake[2]: 1 error bmake[2]: stopped making "src/CMakeFiles/socket_wrapper.dir/build" in /home/pbulk/build/devel/socket_wrapper/work/socket_wrapper-1.5.0/cmake-pkgsrc-build --- src/CMakeFiles/socket_wrapper.dir/all --- *** [src/CMakeFiles/socket_wrapper.dir/all] Error code 2 bmake[1]: stopped making "all" in /home/pbulk/build/devel/socket_wrapper/work/socket_wrapper-1.5.0/cmake-pkgsrc-build --- tests/CMakeFiles/echo_srv.dir/all --- *** [tests/CMakeFiles/echo_srv.dir/all] Error code 6 bmake[1]: stopped making "all" in /home/pbulk/build/devel/socket_wrapper/work/socket_wrapper-1.5.0/cmake-pkgsrc-build [ 8%] Linking C static library libtorture.a --- src/CMakeFiles/socket_wrapper_noop.dir/all --- *** [src/CMakeFiles/socket_wrapper_noop.dir/all] Error code 6 bmake[1]: stopped making "all" in /home/pbulk/build/devel/socket_wrapper/work/socket_wrapper-1.5.0/cmake-pkgsrc-build --- tests/CMakeFiles/torture.dir/all --- *** [tests/CMakeFiles/torture.dir/all] Error code 6 bmake[1]: stopped making "all" in /home/pbulk/build/devel/socket_wrapper/work/socket_wrapper-1.5.0/cmake-pkgsrc-build bmake[1]: 4 errors bmake[1]: stopped making "all" in /home/pbulk/build/devel/socket_wrapper/work/socket_wrapper-1.5.0/cmake-pkgsrc-build *** [all] Error code 2 bmake: stopped making "all" in /home/pbulk/build/devel/socket_wrapper/work/socket_wrapper-1.5.0/cmake-pkgsrc-build bmake: 1 error bmake: stopped making "all" in /home/pbulk/build/devel/socket_wrapper/work/socket_wrapper-1.5.0/cmake-pkgsrc-build *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/socket_wrapper *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/socket_wrapper