+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/libsscript-2.0nb1/work.log + su pbulk -c '"$@"' make /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/libsscript-2.0nb1/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. ===> Building for libsscript-2.0nb1 /home/pbulk/build/net/libsscript/work/.cwrapper/bin/libtool --tag=CC --mode=compile gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -c sscript.c libtool: compile: gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/home/pbulk/build/net/libsscript/work/.buildlink/include -c sscript.c -fPIC -DPIC -o .libs/sscript.o sscript.c: In function 'sscript_wait_clients': sscript.c:99:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 99 | int sockfd=(int)NULL,len,from_len,pid; | ^ sscript.c:110:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 110 | if(forking) if(sockfd!=(int)NULL) close(sockfd); | ^ sscript.c: In function 'sscript_lrange': sscript.c:240:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 240 | if(i<starting_at) return (int)NULL; | ^ sscript.c:240:27: warning: returning 'int' from a function with return type 'char *' makes pointer from integer without a cast [-Wint-conversion] 240 | if(i<starting_at) return (int)NULL; | ^ sscript.c: In function 'sscript_nodelay': sscript.c:508:11: warning: implicit declaration of function 'fcntl' [-Wimplicit-function-declaration] 508 | if(( i = fcntl(sockfd, F_GETFL, 0)) == -1); | ^~~~~ sscript.c:508:25: error: 'F_GETFL' undeclared (first use in this function) 508 | if(( i = fcntl(sockfd, F_GETFL, 0)) == -1); | ^~~~~~~ sscript.c:508:25: note: each undeclared identifier is reported only once for each function it appears in sscript.c:509:25: error: 'F_SETFL' undeclared (first use in this function) 509 | else if (fcntl(sockfd, F_SETFL, i | FNDELAY) == -1); | ^~~~~~~ *** [all] Error code 1 bmake: stopped in /home/pbulk/build/net/libsscript/work/sscript-lib2.0 1 error bmake: stopped in /home/pbulk/build/net/libsscript/work/sscript-lib2.0 *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-2023Q4-x86_64/net/libsscript *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-2023Q4-x86_64/net/libsscript