+ 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/ucspi-unix-1.0/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/ucspi-unix-1.0/work.log ===> Building for ucspi-unix-1.0 ( echo '#!/bin/sh'; \ echo 'source=$1; shift'; \ echo 'base=`echo "$source" | sed -e s:\\\\.c$::`'; \ echo exec `head -n 1 conf-cc` -I. '-o ${base}.o -c $source ${1+"$@"}'; \ ) >compile ( echo '#!/bin/sh';\ echo 'main="$1"; shift';\ echo exec `head -n 1 conf-ld` -L. '-o "$main" "$main.o" ${1+"$@"}'; \ ) >load cat warn-auto.sh unixcat.sh >unixcat chmod 755 unixcat chmod 755 compile chmod 755 load ./compile unixclient.c ./compile utoa.c ( ( ./compile trypeercred.c && ./load trypeercred; ) && cat haspeercred.h1 || cat haspeercred.h0 ) > haspeercred.h -n Checking for socket libraries: trypeercred.c: In function 'main': trypeercred.c:7:16: error: storage size of 'peer' isn't known 7 | struct ucred peer; | ^~~~ trypeercred.c:9:29: error: 'SO_PEERCRED' undeclared (first use in this function); did you mean 'SO_RECVUCRED'? 9 | getsockopt(0, SOL_SOCKET, SO_PEERCRED, &peer, &optlen); | ^~~~~~~~~~~ | SO_RECVUCRED trypeercred.c:9:29: note: each undeclared identifier is reported only once for each function it appears in no ( ( ./compile trywaitp.c && ./load trywaitp; ) && cat haswaitp.h1 || cat haswaitp.h0 ) > haswaitp.h ./compile env.c ./load unixclient env.o utoa.o `cat socket.lib` ./compile unixserver.c Undefined first referenced symbol in file socket unixclient.o connect unixclient.o ld: fatal: symbol referencing errors. No output written to unixclient collect2: error: ld returned 1 exit status gmake: *** [Makefile:68: unixclient] Error 1 gmake: *** Waiting for unfinished jobs.... *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/net/ucspi-unix *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/net/ucspi-unix