=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/net/ucspi-unix", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] ===> 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 chmod 755 compile chmod 755 load cat warn-auto.sh unixcat.sh >unixcat ./compile unixclient.c chmod 755 unixcat ( ( ./compile trypeercred.c && ./load trypeercred; ) && cat haspeercred.h1 || cat haspeercred.h0 ) > haspeercred.h 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 ./compile utoa.c -n Checking for socket libraries: ( ( ./compile trywaitp.c && ./load trywaitp; ) && cat haswaitp.h1 || cat haswaitp.h0 ) > haswaitp.h no ./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.... unixserver.c: In function 'handle_children': unixserver.c:271:19: error: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] 271 | signal(SIGCHLD, handle_children); | ^~~~~~~~~~~~~~~ | | | void (*)(void) In file included from /usr/include/signal.h:42, from unixserver.c:1: /usr/include/iso/signal_iso.h:63:27: note: expected 'void (*)(int)' but argument is of type 'void (*)(void)' 63 | extern void (*signal(int, void (*)(int)))(int); | ^~~~~~~~~~~~~ unixserver.c:257:6: note: 'handle_children' declared here 257 | void handle_children() | ^~~~~~~~~~~~~~~ unixserver.c: In function 'main': unixserver.c:295:19: error: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] 295 | signal(SIGCHLD, handle_children); | ^~~~~~~~~~~~~~~ | | | void (*)(void) /usr/include/iso/signal_iso.h:63:27: note: expected 'void (*)(int)' but argument is of type 'void (*)(void)' 63 | extern void (*signal(int, void (*)(int)))(int); | ^~~~~~~~~~~~~ unixserver.c:257:6: note: 'handle_children' declared here 257 | void handle_children() | ^~~~~~~~~~~~~~~ unixserver.c:296:18: error: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] 296 | signal(SIGINT, handle_intr); | ^~~~~~~~~~~ | | | void (*)(void) /usr/include/iso/signal_iso.h:63:27: note: expected 'void (*)(int)' but argument is of type 'void (*)(void)' 63 | extern void (*signal(int, void (*)(int)))(int); | ^~~~~~~~~~~~~ unixserver.c:284:6: note: 'handle_intr' declared here 284 | void handle_intr() | ^~~~~~~~~~~ unixserver.c:297:19: error: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] 297 | signal(SIGTERM, handle_intr); | ^~~~~~~~~~~ | | | void (*)(void) /usr/include/iso/signal_iso.h:63:27: note: expected 'void (*)(int)' but argument is of type 'void (*)(void)' 63 | extern void (*signal(int, void (*)(int)))(int); | ^~~~~~~~~~~~~ unixserver.c:284:6: note: 'handle_intr' declared here 284 | void handle_intr() | ^~~~~~~~~~~ unixserver.c:298:19: error: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] 298 | signal(SIGQUIT, handle_intr); | ^~~~~~~~~~~ | | | void (*)(void) /usr/include/iso/signal_iso.h:63:27: note: expected 'void (*)(int)' but argument is of type 'void (*)(void)' 63 | extern void (*signal(int, void (*)(int)))(int); | ^~~~~~~~~~~~~ unixserver.c:284:6: note: 'handle_intr' declared here 284 | void handle_intr() | ^~~~~~~~~~~ gmake: *** [Makefile:83: unixserver.o] Error 1 *** 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