+ 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/sndio-1.10.0/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/sndio-1.10.0/work.log ===> Building for sndio-1.10.0 --- debug.o --- --- aucat.o --- --- mio.o --- --- mio_rmidi.o --- --- debug.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -fPIC -I. -I../bsd-compat -DDEBUG -o debug.o -c debug.c --- aucat.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -fPIC -I. -I../bsd-compat -DDEBUG -o aucat.o -c aucat.c --- mio.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -fPIC -I. -I../bsd-compat -DDEBUG -o mio.o -c mio.c --- mio_rmidi.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -fPIC -I. -I../bsd-compat -DDEBUG -o mio_rmidi.o -c mio_rmidi.c --- mio_alsa.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -fPIC -I. -I../bsd-compat -DDEBUG -o mio_alsa.o -c mio_alsa.c --- debug.o --- In file included from debug.c:23: ../bsd-compat/bsd-compat.h:51:9: warning: "CLOCK_MONOTONIC" redefined 51 | #define CLOCK_MONOTONIC 0 | ^~~~~~~~~~~~~~~ In file included from /usr/include/sys/select.h:51, from /usr/include/sys/types.h:687, from /usr/include/unistd.h:41, from debug.c:20: /usr/include/sys/time_impl.h:124:9: note: this is the location of the previous definition 124 | #define CLOCK_MONOTONIC 4 /* high resolution monotonic clock */ | ^~~~~~~~~~~~~~~ --- mio.o --- In file included from mio.c:31: ../bsd-compat/bsd-compat.h:51:9: warning: "CLOCK_MONOTONIC" redefined 51 | #define CLOCK_MONOTONIC 0 | ^~~~~~~~~~~~~~~ In file included from /usr/include/sys/select.h:51, from /usr/include/sys/types.h:687, from mio.c:18: /usr/include/sys/time_impl.h:124:9: note: this is the location of the previous definition 124 | #define CLOCK_MONOTONIC 4 /* high resolution monotonic clock */ | ^~~~~~~~~~~~~~~ --- aucat.o --- In file included from aucat.c:38: ../bsd-compat/bsd-compat.h:51:9: warning: "CLOCK_MONOTONIC" redefined 51 | #define CLOCK_MONOTONIC 0 | ^~~~~~~~~~~~~~~ In file included from /usr/include/sys/select.h:51, from /usr/include/sys/types.h:687, from aucat.c:18: /usr/include/sys/time_impl.h:124:9: note: this is the location of the previous definition 124 | #define CLOCK_MONOTONIC 4 /* high resolution monotonic clock */ | ^~~~~~~~~~~~~~~ ../bsd-compat/bsd-compat.h:58:9: warning: "SOCK_CLOEXEC" redefined 58 | #define SOCK_CLOEXEC 0 | ^~~~~~~~~~~~ In file included from aucat.c:19: /usr/include/sys/socket.h:127:9: note: this is the location of the previous definition 127 | #define SOCK_CLOEXEC 0x080000 /* like open(2) O_CLOEXEC for socket */ | ^~~~~~~~~~~~ --- mio_aucat.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -fPIC -I. -I../bsd-compat -DDEBUG -o mio_aucat.o -c mio_aucat.c --- sio.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -fPIC -I. -I../bsd-compat -DDEBUG -o sio.o -c sio.c --- mio_aucat.o --- In file included from mio_aucat.c:34: ../bsd-compat/bsd-compat.h:51:9: warning: "CLOCK_MONOTONIC" redefined 51 | #define CLOCK_MONOTONIC 0 | ^~~~~~~~~~~~~~~ In file included from /usr/include/sys/select.h:51, from /usr/include/sys/types.h:687, from mio_aucat.c:18: /usr/include/sys/time_impl.h:124:9: note: this is the location of the previous definition 124 | #define CLOCK_MONOTONIC 4 /* high resolution monotonic clock */ | ^~~~~~~~~~~~~~~ ../bsd-compat/bsd-compat.h:58:9: warning: "SOCK_CLOEXEC" redefined 58 | #define SOCK_CLOEXEC 0 | ^~~~~~~~~~~~ In file included from mio_aucat.c:19: /usr/include/sys/socket.h:127:9: note: this is the location of the previous definition 127 | #define SOCK_CLOEXEC 0x080000 /* like open(2) O_CLOEXEC for socket */ | ^~~~~~~~~~~~ --- sio_alsa.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -fPIC -I. -I../bsd-compat -DDEBUG -o sio_alsa.o -c sio_alsa.c --- sio.o --- In file included from sio.c:31: ../bsd-compat/bsd-compat.h:51:9: warning: "CLOCK_MONOTONIC" redefined 51 | #define CLOCK_MONOTONIC 0 | ^~~~~~~~~~~~~~~ In file included from /usr/include/sys/select.h:51, from /usr/include/sys/types.h:687, from sio.c:18: /usr/include/sys/time_impl.h:124:9: note: this is the location of the previous definition 124 | #define CLOCK_MONOTONIC 4 /* high resolution monotonic clock */ | ^~~~~~~~~~~~~~~ --- sio_aucat.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -fPIC -I. -I../bsd-compat -DDEBUG -o sio_aucat.o -c sio_aucat.c --- sio_oss.o --- --- sio_aucat.o --- In file included from sio_aucat.c:34: ../bsd-compat/bsd-compat.h:51:9: warning: "CLOCK_MONOTONIC" redefined 51 | #define CLOCK_MONOTONIC 0 | ^~~~~~~~~~~~~~~ In file included from /usr/include/sys/select.h:51, from /usr/include/sys/types.h:687, from sio_aucat.c:18: /usr/include/sys/time_impl.h:124:9: note: this is the location of the previous definition 124 | #define CLOCK_MONOTONIC 4 /* high resolution monotonic clock */ | ^~~~~~~~~~~~~~~ ../bsd-compat/bsd-compat.h:58:9: warning: "SOCK_CLOEXEC" redefined 58 | #define SOCK_CLOEXEC 0 | ^~~~~~~~~~~~ In file included from sio_aucat.c:19: /usr/include/sys/socket.h:127:9: note: this is the location of the previous definition 127 | #define SOCK_CLOEXEC 0x080000 /* like open(2) O_CLOEXEC for socket */ | ^~~~~~~~~~~~ --- sio_oss.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -fPIC -I. -I../bsd-compat -DDEBUG -o sio_oss.o -c sio_oss.c --- sio_sun.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -fPIC -I. -I../bsd-compat -DDEBUG -o sio_sun.o -c sio_sun.c --- sioctl.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -fPIC -I. -I../bsd-compat -DDEBUG -o sioctl.o -c sioctl.c --- sioctl_aucat.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -fPIC -I. -I../bsd-compat -DDEBUG -o sioctl_aucat.o -c sioctl_aucat.c --- sioctl.o --- In file included from sioctl.c:25: ../bsd-compat/bsd-compat.h:51:9: warning: "CLOCK_MONOTONIC" redefined 51 | #define CLOCK_MONOTONIC 0 | ^~~~~~~~~~~~~~~ In file included from /usr/include/sys/select.h:51, from /usr/include/sys/types.h:687, from /usr/include/time.h:46, from /usr/include/poll.h:40, from sioctl.c:18: /usr/include/sys/time_impl.h:124:9: note: this is the location of the previous definition 124 | #define CLOCK_MONOTONIC 4 /* high resolution monotonic clock */ | ^~~~~~~~~~~~~~~ --- sioctl_aucat.o --- In file included from sioctl_aucat.c:27: ../bsd-compat/bsd-compat.h:51:9: warning: "CLOCK_MONOTONIC" redefined 51 | #define CLOCK_MONOTONIC 0 | ^~~~~~~~~~~~~~~ In file included from /usr/include/sys/select.h:51, from /usr/include/sys/types.h:687, from /usr/include/time.h:46, from /usr/include/poll.h:40, from sioctl_aucat.c:17: /usr/include/sys/time_impl.h:124:9: note: this is the location of the previous definition 124 | #define CLOCK_MONOTONIC 4 /* high resolution monotonic clock */ | ^~~~~~~~~~~~~~~ ../bsd-compat/bsd-compat.h:58:9: warning: "SOCK_CLOEXEC" redefined 58 | #define SOCK_CLOEXEC 0 | ^~~~~~~~~~~~ In file included from /usr/include/arpa/inet.h:43, from sioctl_aucat.c:23: /usr/include/sys/socket.h:127:9: note: this is the location of the previous definition 127 | #define SOCK_CLOEXEC 0x080000 /* like open(2) O_CLOEXEC for socket */ | ^~~~~~~~~~~~ --- sioctl_sun.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -fPIC -I. -I../bsd-compat -DDEBUG -o sioctl_sun.o -c sioctl_sun.c --- getpeereid.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -fPIC -I../bsd-compat -DDEBUG -c -o getpeereid.o ../bsd-compat/getpeereid.c --- issetugid.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -fPIC -I../bsd-compat -DDEBUG -c -o issetugid.o ../bsd-compat/issetugid.c --- strlcat.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -fPIC -I../bsd-compat -DDEBUG -c -o strlcat.o ../bsd-compat/strlcat.c --- getpeereid.o --- In file included from ../bsd-compat/getpeereid.c:18: ../bsd-compat/bsd-compat.h:51:9: warning: "CLOCK_MONOTONIC" redefined 51 | #define CLOCK_MONOTONIC 0 | ^~~~~~~~~~~~~~~ In file included from /usr/include/sys/select.h:51, from /usr/include/sys/types.h:687, from ../bsd-compat/getpeereid.c:16: /usr/include/sys/time_impl.h:124:9: note: this is the location of the previous definition 124 | #define CLOCK_MONOTONIC 4 /* high resolution monotonic clock */ | ^~~~~~~~~~~~~~~ ../bsd-compat/bsd-compat.h:58:9: warning: "SOCK_CLOEXEC" redefined 58 | #define SOCK_CLOEXEC 0 | ^~~~~~~~~~~~ --- issetugid.o --- In file included from ../bsd-compat/issetugid.c:17: ../bsd-compat/bsd-compat.h:51:9: warning: "CLOCK_MONOTONIC" redefined 51 | #define CLOCK_MONOTONIC 0 | ^~~~~~~~~~~~~~~ --- getpeereid.o --- In file included from ../bsd-compat/getpeereid.c:17: /usr/include/sys/socket.h:127:9: note: this is the location of the previous definition 127 | #define SOCK_CLOEXEC 0x080000 /* like open(2) O_CLOEXEC for socket */ | ^~~~~~~~~~~~ ../bsd-compat/getpeereid.c: In function '_sndio_getpeereid': ../bsd-compat/getpeereid.c:24:22: error: storage size of 'cr' isn't known 24 | struct ucred cr; | ^~ --- issetugid.o --- In file included from /usr/include/sys/select.h:51, from /usr/include/sys/types.h:687, from /usr/include/unistd.h:41, from ../bsd-compat/issetugid.c:16: /usr/include/sys/time_impl.h:124:9: note: this is the location of the previous definition 124 | #define CLOCK_MONOTONIC 4 /* high resolution monotonic clock */ | ^~~~~~~~~~~~~~~ --- getpeereid.o --- ../bsd-compat/getpeereid.c:27:39: error: 'SO_PEERCRED' undeclared (first use in this function); did you mean 'SO_RECVUCRED'? 27 | if (getsockopt(s, SOL_SOCKET, SO_PEERCRED, &cr, &len) < 0) | ^~~~~~~~~~~ | SO_RECVUCRED ../bsd-compat/getpeereid.c:27:39: note: each undeclared identifier is reported only once for each function it appears in --- strlcat.o --- In file included from ../bsd-compat/strlcat.c:21: ../bsd-compat/bsd-compat.h:51:9: warning: "CLOCK_MONOTONIC" redefined 51 | #define CLOCK_MONOTONIC 0 | ^~~~~~~~~~~~~~~ In file included from /usr/include/sys/select.h:51, from /usr/include/sys/types.h:687, from ../bsd-compat/strlcat.c:19: /usr/include/sys/time_impl.h:124:9: note: this is the location of the previous definition 124 | #define CLOCK_MONOTONIC 4 /* high resolution monotonic clock */ | ^~~~~~~~~~~~~~~ --- getpeereid.o --- *** [getpeereid.o] Error code 1 bmake: stopped making "all" in /home/pbulk/build/audio/sndio/work/sndio-1.10.0/libsndio bmake: 1 error bmake: stopped making "all" in /home/pbulk/build/audio/sndio/work/sndio-1.10.0/libsndio *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/audio/sndio *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/audio/sndio