+ 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") --- LIB --- --- echocwd --- --- Rconnect.o --- --- echocwd --- /home/pbulk/build/net/socks4/work/socks.cstc.4.2/lib --- LIBIDENT --- --- echocwd --- --- ident.o --- --- echocwd --- /home/pbulk/build/net/socks4/work/socks.cstc.4.2/libident --- id_open.o --- --- LIB --- --- SendGetDst.o --- --- Rconnect.o --- gcc -I../include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DSOLARIS -Dindex=strchr -Drindex=strrchr -DSHORTENED_RBIND -DUSE_DIRENT -DGETCWD -DCOMPAT -DTRY_PASV -DSUPPORT_RCMD -c Rconnect.c --- SendGetDst.o --- gcc -I../include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DSOLARIS -Dindex=strchr -Drindex=strrchr -DSHORTENED_RBIND -DUSE_DIRENT -DGETCWD -DCOMPAT -DTRY_PASV -DSUPPORT_RCMD -c SendGetDst.c --- 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_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 --- 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] --- id_open.o --- id_open.c:60:14: warning: conflicting types for built-in function 'malloc'; expected 'void *(long unsigned int)' [-Wbuiltin-declaration-mismatch] 60 | extern void *malloc __P((int size)); | ^~~~~~ id_open.c:59:1: note: 'malloc' is declared in header '' 58 | #include "ident.h" +++ |+#include 59 | id_open.c: In function 'id_open': id_open.c:90:5: error: implicit declaration of function 'free' [-Wimplicit-function-declaration] 90 | free(id); | ^~~~ id_open.c:90:5: note: include '' or provide a declaration of 'free' id_open.c:90:5: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] id_open.c:90:5: note: include '' or provide a declaration of 'free' id_open.c:172:3: error: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] 172 | close(id->fd); | ^~~~~ | pclose --- ident.o --- 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' --- id_open.o --- id_open.c:173:3: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 173 | free(id); | ^~~~ id_open.c:173:3: note: include '' or provide a declaration of 'free' --- ident.o --- 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' *** [ident.o] Error code 1 bmake[1]: stopped making "all" in /home/pbulk/build/net/socks4/work/socks.cstc.4.2/libident --- id_open.o --- *** [id_open.o] Error code 1 bmake[1]: stopped making "all" in /home/pbulk/build/net/socks4/work/socks.cstc.4.2/libident bmake[1]: 2 errors bmake[1]: stopped making "all" in /home/pbulk/build/net/socks4/work/socks.cstc.4.2/libident *** [LIBIDENT] Error code 2 bmake: stopped making "all" in /home/pbulk/build/net/socks4/work/socks.cstc.4.2 --- LIB --- *** [LIB] Error code 6 bmake: stopped making "all" in /home/pbulk/build/net/socks4/work/socks.cstc.4.2 bmake: 2 errors bmake: stopped making "all" in /home/pbulk/build/net/socks4/work/socks.cstc.4.2 *** Error code 2 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