+ 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/xtrace-1.4.0/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/xtrace-1.4.0/work.log ===> Building for xtrace-1.4.0 --- all --- /opt/pkg/bin/bmake all-am --- main.o --- --- x11common.o --- --- x11client.o --- --- x11server.o --- --- main.o --- gcc -DHAVE_CONFIG_H -I. -DPKGDATADIR='"/opt/pkg/share/xtrace"' -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.c --- x11common.o --- gcc -DHAVE_CONFIG_H -I. -DPKGDATADIR='"/opt/pkg/share/xtrace"' -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -MT x11common.o -MD -MP -MF .deps/x11common.Tpo -c -o x11common.o x11common.c --- x11client.o --- gcc -DHAVE_CONFIG_H -I. -DPKGDATADIR='"/opt/pkg/share/xtrace"' -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -MT x11client.o -MD -MP -MF .deps/x11client.Tpo -c -o x11client.o x11client.c --- x11server.o --- gcc -DHAVE_CONFIG_H -I. -DPKGDATADIR='"/opt/pkg/share/xtrace"' -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -MT x11server.o -MD -MP -MF .deps/x11server.Tpo -c -o x11server.o x11server.c --- main.o --- main.c: In function 'doread': main.c:116:26: warning: implicit declaration of function 'CMSG_SPACE' [-Wimplicit-function-declaration] 116 | char buf[CMSG_SPACE(FDQUEUE_MAX_FD * sizeof(int))]; | ^~~~~~~~~~ main.c:123:18: error: 'struct msghdr' has no member named 'msg_control' 123 | .msg_control = cmsgbuf.buf, | ^~~~~~~~~~~ main.c:124:18: error: 'struct msghdr' has no member named 'msg_controllen' 124 | .msg_controllen = CMSG_SPACE(sizeof(int) * (FDQUEUE_MAX_FD - fdq->nfd)), | ^~~~~~~~~~~~~~ main.c:133:16: error: 'struct msghdr' has no member named 'msg_flags' 133 | if (msg.msg_flags & (MSG_TRUNC|MSG_CTRUNC)) | ^ main.c:137:16: error: 'struct msghdr' has no member named 'msg_controllen' 137 | if (msg.msg_controllen >= sizeof (struct cmsghdr)) { | ^ main.c:138:28: warning: implicit declaration of function 'CMSG_FIRSTHDR' [-Wimplicit-function-declaration] 138 | for (hdr = CMSG_FIRSTHDR(&msg); hdr; hdr = CMSG_NXTHDR(&msg, hdr)) { | ^~~~~~~~~~~~~ main.c:138:26: warning: assignment to 'struct cmsghdr *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 138 | for (hdr = CMSG_FIRSTHDR(&msg); hdr; hdr = CMSG_NXTHDR(&msg, hdr)) { | ^ main.c:138:60: warning: implicit declaration of function 'CMSG_NXTHDR' [-Wimplicit-function-declaration] 138 | for (hdr = CMSG_FIRSTHDR(&msg); hdr; hdr = CMSG_NXTHDR(&msg, hdr)) { | ^~~~~~~~~~~ main.c:138:58: warning: assignment to 'struct cmsghdr *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 138 | for (hdr = CMSG_FIRSTHDR(&msg); hdr; hdr = CMSG_NXTHDR(&msg, hdr)) { | ^ main.c:140:60: warning: implicit declaration of function 'CMSG_LEN' [-Wimplicit-function-declaration] 140 | int nfd = (hdr->cmsg_len - CMSG_LEN(0)) / sizeof (int); | ^~~~~~~~ main.c:141:60: warning: implicit declaration of function 'CMSG_DATA' [-Wimplicit-function-declaration] 141 | memcpy(fdq->fd + fdq->nfd, CMSG_DATA(hdr), nfd * sizeof (int)); | ^~~~~~~~~ main.c:141:60: warning: passing argument 2 of 'memcpy' makes pointer from integer without a cast [-Wint-conversion] 141 | memcpy(fdq->fd + fdq->nfd, CMSG_DATA(hdr), nfd * sizeof (int)); | ^~~~~~~~~~~~~~ | | | int In file included from /usr/include/string.h:34, from main.c:26: /usr/include/iso/string_iso.h:70:43: note: expected 'const void * restrict' but argument is of type 'int' 70 | extern void *memcpy(void *_RESTRICT_KYWD, const void *_RESTRICT_KYWD, size_t); | ^ main.c: In function 'dowrite': main.c:169:26: error: 'struct msghdr' has no member named 'msg_control' 169 | .msg_control = cmsgbuf.buf, | ^~~~~~~~~~~ main.c:170:26: error: 'struct msghdr' has no member named 'msg_controllen' 170 | .msg_controllen = CMSG_LEN(fdq->nfd * sizeof (int)), | ^~~~~~~~~~~~~~ main.c:173:39: warning: initialization of 'struct cmsghdr *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 173 | struct cmsghdr *hdr = CMSG_FIRSTHDR(&msg); | ^~~~~~~~~~~~~ main.c:175:36: error: 'struct msghdr' has no member named 'msg_controllen' 175 | hdr->cmsg_len = msg.msg_controllen; | ^ main.c:178:24: warning: passing argument 1 of 'memcpy' makes pointer from integer without a cast [-Wint-conversion] 178 | memcpy(CMSG_DATA(hdr), fdq->fd, fdq->nfd * sizeof (int)); | ^~~~~~~~~~~~~~ | | | int /usr/include/iso/string_iso.h:70:21: note: expected 'void * restrict' but argument is of type 'int' 70 | extern void *memcpy(void *_RESTRICT_KYWD, const void *_RESTRICT_KYWD, size_t); | ^ *** [main.o] Error code 1 bmake[1]: stopped making "all-am" in /home/pbulk/build/x11/xtrace/work/xtrace-1.4.0 --- x11common.o --- mv -f .deps/x11common.Tpo .deps/x11common.Po --- x11client.o --- mv -f .deps/x11client.Tpo .deps/x11client.Po --- x11server.o --- mv -f .deps/x11server.Tpo .deps/x11server.Po bmake[1]: 1 error bmake[1]: stopped making "all-am" in /home/pbulk/build/x11/xtrace/work/xtrace-1.4.0 bmake: stopped making "all" in /home/pbulk/build/x11/xtrace/work/xtrace-1.4.0 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/x11/xtrace *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/x11/xtrace