+ 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/socks4-2.2nb1/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/socks4-2.2nb1/work.log WARNING: [license.mk] Every package should define a LICENSE. ===> Building for socks4-2.2nb1 --- LIB --- --- LIBIDENT --- --- LIB --- (cd lib; /opt/pkg/bin/bmake CC="gcc" GETPASS="getpass.o" OPTIMIZE="-pipe -O2 -msave-args -fno-aggressive-loop-optimizations" RCMD="Rrcmd.o" SUPPORT_RCMD="-DSUPPORT_RCMD" DNS_THROUGH_NIS="" OTHER_CFLAGS="-DSOLARIS -Dindex=strchr -Drindex=strrchr -DSHORTENED_RBIND -DUSE_DIRENT -DGETCWD -DCOMPAT -DTRY_PASV " RANLIB="/bin/true") --- LIBIDENT --- (cd libident; /opt/pkg/bin/bmake CC="gcc" OTHER_CFLAGS="-DSOLARIS -Dindex=strchr -Drindex=strrchr -DSHORTENED_RBIND -DUSE_DIRENT -DGETCWD -DCOMPAT -DTRY_PASV" OPTIMIZE="-pipe -O2 -msave-args -fno-aggressive-loop-optimizations" RANLIB="/bin/true") --- echocwd --- --- ident.o --- --- id_open.o --- --- echocwd --- /home/pbulk/build/net/socks4/work/socks.cstc.4.2/libident --- ident.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DSOLARIS -Dindex=strchr -Drindex=strrchr -DSHORTENED_RBIND -DUSE_DIRENT -DGETCWD -DCOMPAT -DTRY_PASV -c ident.c --- id_close.o --- --- id_open.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DSOLARIS -Dindex=strchr -Drindex=strrchr -DSHORTENED_RBIND -DUSE_DIRENT -DGETCWD -DCOMPAT -DTRY_PASV -c id_open.c --- id_close.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DSOLARIS -Dindex=strchr -Drindex=strrchr -DSHORTENED_RBIND -DUSE_DIRENT -DGETCWD -DCOMPAT -DTRY_PASV -c id_close.c --- ident.o --- ident.c: In function 'ident_lookup': ident.c:76:21: error: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] 76 | ident = (IDENT *) malloc(sizeof(IDENT)); | ^~~~~~ ident.c:18:1: note: include '' or provide a declaration of 'malloc' 17 | #include "ident.h" +++ |+#include 18 | ident.c:76:21: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 76 | ident = (IDENT *) malloc(sizeof(IDENT)); | ^~~~~~ ident.c:76:21: note: include '' or provide a declaration of 'malloc' ident.c:98:5: error: implicit declaration of function 'free' [-Wimplicit-function-declaration] 98 | free(ident); | ^~~~ ident.c:98:5: note: include '' or provide a declaration of 'free' ident.c:98:5: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] ident.c:98:5: note: include '' or provide a declaration of 'free' ident.c: In function 'ident_free': ident.c:135:23: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 135 | if (id->identifier) free(id->identifier); | ^~~~ ident.c:135:23: note: include '' or provide a declaration of 'free' ident.c:136:18: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 136 | if (id->opsys) free(id->opsys); | ^~~~ ident.c:136:18: note: include '' or provide a declaration of 'free' ident.c:137:20: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 137 | if (id->charset) free(id->charset); | ^~~~ ident.c:137:20: note: include '' or provide a declaration of 'free' ident.c:138:3: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 138 | free(id); | ^~~~ ident.c:138:3: note: include '' or provide a declaration of 'free' --- id_close.o --- id_close.c: In function 'id_close': id_close.c:19:9: error: implicit declaration of function 'close'; did you mean 'id_close'? [-Wimplicit-function-declaration] 19 | res = close(id->fd); | ^~~~~ | id_close id_close.c:20:3: error: implicit declaration of function 'free' [-Wimplicit-function-declaration] 20 | free(id); | ^~~~ id_close.c:8:1: note: include '' or provide a declaration of 'free' 7 | #include "ident.h" +++ |+#include 8 | id_close.c:20:3: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 20 | free(id); | ^~~~ id_close.c:20:3: note: include '' or provide a declaration of 'free' --- LIB --- --- echocwd --- /home/pbulk/build/net/socks4/work/socks.cstc.4.2/lib --- Rconnect.o --- --- LIBIDENT --- *** [id_close.o] Error code 1 bmake[1]: stopped making "all" in /home/pbulk/build/net/socks4/work/socks.cstc.4.2/libident *** Error code 6 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/net/socks4 *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/net/socks4