+ 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") --- echocwd --- --- Rconnect.o --- --- SendGetDst.o --- --- echocwd --- /home/pbulk/build/net/socks4/work/socks.cstc.4.2/lib --- 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 --- 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 --- saddrtoname.o --- --- 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 --- 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 saddrtoname.c --- LIBIDENT --- --- 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 --- LIB --- --- Rconnect.o --- Rconnect.c: In function 'SOCKSinit': Rconnect.c:129:9: error: implicit declaration of function 'gethostname'; did you mean 'gethostbyname'? [-Wimplicit-function-declaration] 129 | gethostname(socks_src_name, sizeof(socks_src_name)); | ^~~~~~~~~~~ | gethostbyname Rconnect.c:165:55: error: implicit declaration of function 'inet_addr' [-Wimplicit-function-declaration] 165 | _res.nsaddr_list[0].sin_addr.s_addr = inet_addr(ns); | ^~~~~~~~~ Rconnect.c:211:40: error: implicit declaration of function 'getuid'; did you mean 'getpwuid'? [-Wimplicit-function-declaration] 211 | if ((pw = getpwuid(uid=getuid())) == NULL) { | ^~~~~~ | getpwuid Rconnect.c:219:32: error: implicit declaration of function 'geteuid'; did you mean 'getpwuid'? [-Wimplicit-function-declaration] *** 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