+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/socks4-2.2nb1/work.log + su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/socks4-2.2nb1/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. ===> Building for socks4-2.2nb1 --- LIB --- --- LIBIDENT --- --- LIB --- (cd lib; /usr/pkg/bin/bmake CC="cc" GETPASS="" OPTIMIZE="-pipe -O2" RCMD="Rrcmd.o" SUPPORT_RCMD="-DSUPPORT_RCMD" DNS_THROUGH_NIS="" OTHER_CFLAGS=" " RANLIB="ranlib") --- LIBIDENT --- (cd libident; /usr/pkg/bin/bmake CC="cc" OTHER_CFLAGS="" OPTIMIZE="-pipe -O2" RANLIB="ranlib") --- LIB --- --- echocwd --- /home/pbulk/build/net/socks4/work/socks.cstc.4.2/lib --- LIBIDENT --- --- echocwd --- /home/pbulk/build/net/socks4/work/socks.cstc.4.2/libident --- LIB --- --- Rconnect.o --- cc -I../include -pipe -O2 -DSUPPORT_RCMD -c Rconnect.c --- LIBIDENT --- --- ident.o --- cc -pipe -O2 -c ident.c --- LIB --- Rconnect.c: In function 'SOCKSinit': Rconnect.c:129:2: warning: implicit declaration of function 'gethostname'; did you mean 'gethostbyname'? [-Wimplicit-function-declaration] gethostname(socks_src_name, sizeof(socks_src_name)); ^~~~~~~~~~~ gethostbyname Rconnect.c:165:41: warning: implicit declaration of function 'inet_addr'; did you mean 'h_addr'? [-Wimplicit-function-declaration] _res.nsaddr_list[0].sin_addr.s_addr = inet_addr(ns); ^~~~~~~~~ h_addr Rconnect.c:211:26: warning: implicit declaration of function 'getuid'; did you mean 'getpwuid'? [-Wimplicit-function-declaration] if ((pw = getpwuid(uid=getuid())) == NULL) { ^~~~~~ getpwuid --- LIBIDENT --- ident.c: In function 'ident_lookup': --- LIB --- Rconnect.c:219:25: warning: implicit declaration of function 'geteuid'; did you mean 'getpwuid'? [-Wimplicit-function-declaration] if ((pw = getpwuid(uid=geteuid())) == NULL) { ^~~~~~~ getpwuid --- LIBIDENT --- ident.c:76:21: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] ident = (IDENT *) malloc(sizeof(IDENT)); ^~~~~~ ident.c:76:21: warning: incompatible implicit declaration of built-in function 'malloc' ident.c:76:21: note: include '' or provide a declaration of 'malloc' ident.c:18:1: +#include ident.c:76:21: ident = (IDENT *) malloc(sizeof(IDENT)); ^~~~~~ ident.c:98:5: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] free(ident); ^~~~ ident.c:98:5: warning: incompatible implicit declaration of built-in function 'free' 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' 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' 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' 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' free(id); ^~~~ ident.c:138:3: note: include '' or provide a declaration of 'free' --- LIB --- Rconnect.c: In function 'connect_sockd': Rconnect.c:289:8: warning: implicit declaration of function 'dup2' [-Wimplicit-function-declaration] if (dup2(new_sock, sock) < 0) { ^~~~ Rconnect.c:290:5: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] close(new_sock); ^~~~~ pclose Rconnect.c: In function 'send_src_user': Rconnect.c:343:11: warning: implicit declaration of function 'write'; did you mean 'fwrite'? [-Wimplicit-function-declaration] if((n = write(s, p, i)) <= 0) { ^~~~~ fwrite Rconnect.c: In function 'socksC_proto': Rconnect.c:359:13: warning: implicit declaration of function 'socks_SendDst' [-Wimplicit-function-declaration] if ((sta = socks_SendDst(s, dst)) < 0) { ^~~~~~~~~~~~~ Rconnect.c:373:13: warning: implicit declaration of function 'socks_GetDst'; did you mean 'socket'? [-Wimplicit-function-declaration] if ((sta = socks_GetDst(s, dst)) < 0) { ^~~~~~~~~~~~ socket Rconnect.c: In function 'quit_C_proto': Rconnect.c:386:2: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(SOCKS_FAIL); ^~~~ Rconnect.c:386:2: warning: incompatible implicit declaration of built-in function 'exit' Rconnect.c:386:2: note: include '' or provide a declaration of 'exit' Rconnect.c:33:1: +#include Rconnect.c:386:2: exit(SOCKS_FAIL); ^~~~ Rconnect.c: In function 'do_C_proto': Rconnect.c:397:2: warning: implicit declaration of function 'alarm' [-Wimplicit-function-declaration] alarm(CLIENT_CONN_TIMEOUT); ^~~~~ Rconnect.c:404:3: warning: incompatible implicit declaration of built-in function 'exit' exit(SOCKS_FAIL); ^~~~ Rconnect.c:404:3: note: include '' or provide a declaration of 'exit' Rconnect.c:409:3: warning: incompatible implicit declaration of built-in function 'exit' exit(dst.cmd); ^~~~ Rconnect.c:409:3: note: include '' or provide a declaration of 'exit' Rconnect.c:411:2: warning: incompatible implicit declaration of built-in function 'exit' exit(SOCKS_RESULT); ^~~~ Rconnect.c:411:2: note: include '' or provide a declaration of 'exit' Rconnect.c: At top level: Rconnect.c:416:1: warning: return type defaults to 'int' [-Wimplicit-int] Rconnect(sock, sin, size) ^~~~~~~~ Rconnect.c: In function 'Rconnect': Rconnect.c:528:11: warning: implicit declaration of function 'socks_check_cconf' [-Wimplicit-function-declaration] direct = socks_check_cconf(&me, sin); ^~~~~~~~~~~~~~~~~ Rconnect.c:600:22: warning: implicit declaration of function 'fork' [-Wimplicit-function-declaration] switch (child_pid = fork()) { ^~~~ Rconnect.c: At top level: Rconnect.c:639:1: warning: return type defaults to 'int' [-Wimplicit-int] Rbind(sock, sin, size, dsthost) ^~~~~ Rconnect.c:780:1: warning: return type defaults to 'int' [-Wimplicit-int] Rlisten(s, n) ^~~~~~~ Rconnect.c:797:1: warning: return type defaults to 'int' [-Wimplicit-int] Rgetsockname(sock, sin, size) ^~~~~~~~~~~~ Rconnect.c:823:1: warning: return type defaults to 'int' [-Wimplicit-int] Raccept(sock, sin, size) ^~~~~~~ Rconnect.c: In function 'Raccept': Rconnect.c:851:11: warning: implicit declaration of function 'dup' [-Wimplicit-function-declaration] return(dup(sock)); ^~~ --- LIBIDENT --- --- id_open.o --- cc -pipe -O2 -c id_open.c id_open.c:60:14: warning: conflicting types for built-in function 'malloc' [-Wbuiltin-declaration-mismatch] extern void *malloc __P((int size)); ^~~~~~ id_open.c:63:10: error: conflicting types for 'id_open' ident_t *id_open ^~~~~~~ In file included from id_open.c:58: ident.h:63:18: note: previous declaration of 'id_open' was here extern ident_t * id_open __P((__STRUCT_IN_ADDR_P laddr, ^~~~~~~ id_open.c: In function 'id_open': id_open.c:90:5: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] free(id); ^~~~ id_open.c:90:5: warning: incompatible implicit declaration of built-in function 'free' id_open.c:90:5: note: include '' or provide a declaration of 'free' id_open.c:59:1: +#include id_open.c:90:5: free(id); ^~~~ id_open.c:172:3: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] close(id->fd); ^~~~~ pclose id_open.c:173:3: warning: incompatible implicit declaration of built-in function 'free' free(id); ^~~~ id_open.c:173:3: note: include '' or provide a declaration of 'free' *** [id_open.o] Error code 1 bmake[1]: stopped in /home/pbulk/build/net/socks4/work/socks.cstc.4.2/libident 1 error bmake[1]: stopped in /home/pbulk/build/net/socks4/work/socks.cstc.4.2/libident *** [LIBIDENT] Error code 2 bmake: stopped in /home/pbulk/build/net/socks4/work/socks.cstc.4.2 --- LIB --- A failure has been detected in another branch of the parallel make bmake[1]: stopped in /home/pbulk/build/net/socks4/work/socks.cstc.4.2/lib *** [LIB] Error code 2 bmake: stopped in /home/pbulk/build/net/socks4/work/socks.cstc.4.2 2 errors bmake: stopped in /home/pbulk/build/net/socks4/work/socks.cstc.4.2 *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/net/socks4 *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/net/socks4