+ 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 --- (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") --- echocwd --- --- Rconnect.o --- --- echocwd --- /home/pbulk/build/net/socks4/work/socks.cstc.4.2/lib --- Rconnect.o --- cc -I../include -pipe -O2 -DSUPPORT_RCMD -c Rconnect.c --- SendGetDst.o --- cc -I../include -pipe -O2 -DSUPPORT_RCMD -c SendGetDst.c SendGetDst.c: In function 'socks_SendDst': SendGetDst.c:28:9: warning: implicit declaration of function 'bcopy' [-Wimplicit-function-declaration] 28 | bcopy(&dst->port, c+2, sizeof(dst->port)); | ^~~~~ SendGetDst.c:28:9: warning: incompatible implicit declaration of built-in function 'bcopy' [-Wbuiltin-declaration-mismatch] SendGetDst.c:13:14: warning: passing argument 2 of 'select' from incompatible pointer type [-Wincompatible-pointer-types] 13 | #define NULL ((char *)0) | ^~~~~~~~~~~ | | | char * SendGetDst.c:36:44: note: in expansion of macro 'NULL' 36 | if ((ret = select(fdsbits, NULL, &fds, NULL, &timeout)) == 0) | ^~~~ In file included from /usr/include/sys/types.h:179, from SendGetDst.c:1: /usr/include/sys/select.h:102:51: note: expected 'fd_set * restrict' but argument is of type 'char *' 102 | extern int select (int __nfds, fd_set *__restrict __readfds, | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ SendGetDst.c:13:14: warning: passing argument 4 of 'select' from incompatible pointer type [-Wincompatible-pointer-types] 13 | #define NULL ((char *)0) | ^~~~~~~~~~~ | | | char * SendGetDst.c:36:56: note: in expansion of macro 'NULL' 36 | if ((ret = select(fdsbits, NULL, &fds, NULL, &timeout)) == 0) | ^~~~ In file included from /usr/include/sys/types.h:179, from SendGetDst.c:1: /usr/include/sys/select.h:104:39: note: expected 'fd_set * restrict' but argument is of type 'char *' 104 | fd_set *__restrict __exceptfds, | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ SendGetDst.c:46:25: warning: implicit declaration of function 'write' [-Wimplicit-function-declaration] 46 | if((n = write(s, p, i)) > 0) { | ^~~~~ SendGetDst.c: In function 'socks_GetDst': SendGetDst.c:13:14: warning: passing argument 3 of 'select' from incompatible pointer type [-Wincompatible-pointer-types] 13 | #define NULL ((char *)0) | ^~~~~~~~~~~ | | | char * SendGetDst.c:75:50: note: in expansion of macro 'NULL' 75 | if ((ret = select(fdsbits, &fds, NULL, NULL, &timeout)) == 0) | ^~~~ In file included from /usr/include/sys/types.h:179, from SendGetDst.c:1: /usr/include/sys/select.h:103:39: note: expected 'fd_set * restrict' but argument is of type 'char *' 103 | fd_set *__restrict __writefds, | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ SendGetDst.c:13:14: warning: passing argument 4 of 'select' from incompatible pointer type [-Wincompatible-pointer-types] 13 | #define NULL ((char *)0) | ^~~~~~~~~~~ | | | char * SendGetDst.c:75:56: note: in expansion of macro 'NULL' 75 | if ((ret = select(fdsbits, &fds, NULL, NULL, &timeout)) == 0) | ^~~~ In file included from /usr/include/sys/types.h:179, from SendGetDst.c:1: /usr/include/sys/select.h:104:39: note: expected 'fd_set * restrict' but argument is of type 'char *' 104 | fd_set *__restrict __exceptfds, | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ SendGetDst.c:85:25: warning: implicit declaration of function 'read' [-Wimplicit-function-declaration] 85 | if((n = read(s, p, i)) > 0) { | ^~~~ SendGetDst.c:98:9: warning: incompatible implicit declaration of built-in function 'bcopy' [-Wbuiltin-declaration-mismatch] 98 | bcopy(c+2, &dst->port, sizeof(dst->port)); | ^~~~~ --- Rconnect.o --- Rconnect.c: In function 'SOCKSinit': Rconnect.c:129:9: warning: 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: warning: 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: warning: implicit declaration of function 'getuid'; did you mean 'getpwuid'? [-Wimplicit-function-declaration] 211 | if ((pw = getpwuid(uid=getuid())) == NULL) { | ^~~~~~ | getpwuid Rconnect.c:219:32: warning: implicit declaration of function 'geteuid'; did you mean 'getpwuid'? [-Wimplicit-function-declaration] 219 | if ((pw = getpwuid(uid=geteuid())) == NULL) { | ^~~~~~~ | getpwuid Rconnect.c: In function 'connect_sockd': Rconnect.c:289:29: warning: implicit declaration of function 'dup2' [-Wimplicit-function-declaration] 289 | if (dup2(new_sock, sock) < 0) { | ^~~~ Rconnect.c:290:33: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] 290 | close(new_sock); | ^~~~~ | pclose Rconnect.c: In function 'send_src_user': Rconnect.c:343:25: warning: implicit declaration of function 'write'; did you mean 'fwrite'? [-Wimplicit-function-declaration] 343 | if((n = write(s, p, i)) <= 0) { | ^~~~~ | fwrite Rconnect.c: In function 'socksC_proto': Rconnect.c:359:20: warning: implicit declaration of function 'socks_SendDst' [-Wimplicit-function-declaration] 359 | if ((sta = socks_SendDst(s, dst)) < 0) { | ^~~~~~~~~~~~~ Rconnect.c:373:20: warning: implicit declaration of function 'socks_GetDst' [-Wimplicit-function-declaration] 373 | if ((sta = socks_GetDst(s, dst)) < 0) { | ^~~~~~~~~~~~ Rconnect.c: In function 'quit_C_proto': Rconnect.c:386:9: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 386 | exit(SOCKS_FAIL); | ^~~~ Rconnect.c:33:1: note: include '' or provide a declaration of 'exit' 32 | #include +++ |+#include 33 | Rconnect.c:386:9: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 386 | exit(SOCKS_FAIL); | ^~~~ Rconnect.c:386:9: note: include '' or provide a declaration of 'exit' Rconnect.c: In function 'do_C_proto': Rconnect.c:397:9: warning: implicit declaration of function 'alarm' [-Wimplicit-function-declaration] 397 | alarm(CLIENT_CONN_TIMEOUT); | ^~~~~ Rconnect.c:404:17: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 404 | exit(SOCKS_FAIL); | ^~~~ Rconnect.c:404:17: note: include '' or provide a declaration of 'exit' Rconnect.c:409:17: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 409 | exit(dst.cmd); | ^~~~ Rconnect.c:409:17: note: include '' or provide a declaration of 'exit' Rconnect.c:411:9: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 411 | exit(SOCKS_RESULT); | ^~~~ Rconnect.c:411:9: 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] 416 | Rconnect(sock, sin, size) | ^~~~~~~~ Rconnect.c: In function 'Rconnect': Rconnect.c:528:18: warning: implicit declaration of function 'socks_check_cconf' [-Wimplicit-function-declaration] 528 | direct = socks_check_cconf(&me, sin); | ^~~~~~~~~~~~~~~~~ Rconnect.c:600:29: warning: implicit declaration of function 'fork' [-Wimplicit-function-declaration] 600 | switch (child_pid = fork()) { | ^~~~ Rconnect.c: At top level: Rconnect.c:639:1: warning: return type defaults to 'int' [-Wimplicit-int] 639 | Rbind(sock, sin, size, dsthost) | ^~~~~ Rconnect.c:780:1: warning: return type defaults to 'int' [-Wimplicit-int] 780 | Rlisten(s, n) | ^~~~~~~ Rconnect.c:797:1: warning: return type defaults to 'int' [-Wimplicit-int] 797 | Rgetsockname(sock, sin, size) | ^~~~~~~~~~~~ Rconnect.c:823:1: warning: return type defaults to 'int' [-Wimplicit-int] 823 | Raccept(sock, sin, size) | ^~~~~~~ Rconnect.c: In function 'Raccept': Rconnect.c:851:32: warning: implicit declaration of function 'dup' [-Wimplicit-function-declaration] 851 | return(dup(sock)); | ^~~ --- saddrtoname.o --- cc -I../include -pipe -O2 -DSUPPORT_RCMD -c saddrtoname.c saddrtoname.c: In function 'socks_saddrtoname': saddrtoname.c:14:17: warning: implicit declaration of function 'strncpy' [-Wimplicit-function-declaration] 14 | strncpy(name, host->h_name, namelen); | ^~~~~~~ saddrtoname.c:5:1: note: include '' or provide a declaration of 'strncpy' 4 | #include +++ |+#include 5 | saddrtoname.c:14:17: warning: incompatible implicit declaration of built-in function 'strncpy' [-Wbuiltin-declaration-mismatch] 14 | strncpy(name, host->h_name, namelen); | ^~~~~~~ saddrtoname.c:14:17: note: include '' or provide a declaration of 'strncpy' saddrtoname.c:16:17: warning: incompatible implicit declaration of built-in function 'strncpy' [-Wbuiltin-declaration-mismatch] 16 | strncpy(name, inet_ntoa(*addr), namelen); | ^~~~~~~ saddrtoname.c:16:17: note: include '' or provide a declaration of 'strncpy' saddrtoname.c:16:31: warning: implicit declaration of function 'inet_ntoa' [-Wimplicit-function-declaration] 16 | strncpy(name, inet_ntoa(*addr), namelen); | ^~~~~~~~~ saddrtoname.c:16:31: warning: passing argument 2 of 'strncpy' makes pointer from integer without a cast [-Wint-conversion] 16 | strncpy(name, inet_ntoa(*addr), namelen); | ^~~~~~~~~~~~~~~~ | | | int saddrtoname.c:16:31: note: expected 'const char *' but argument is of type 'int' --- porttoserv.o --- cc -I../include -pipe -O2 -DSUPPORT_RCMD -c porttoserv.c porttoserv.c: In function 'socks_porttoserv': porttoserv.c:15:17: warning: implicit declaration of function 'strncpy' [-Wimplicit-function-declaration] 15 | strncpy(name, serv->s_name, namelen); | ^~~~~~~ porttoserv.c:5:1: note: include '' or provide a declaration of 'strncpy' 4 | #include +++ |+#include 5 | porttoserv.c:15:17: warning: incompatible implicit declaration of built-in function 'strncpy' [-Wbuiltin-declaration-mismatch] 15 | strncpy(name, serv->s_name, namelen); | ^~~~~~~ porttoserv.c:15:17: note: include '' or provide a declaration of 'strncpy' porttoserv.c:17:17: warning: implicit declaration of function 'sprintf' [-Wimplicit-function-declaration] 17 | sprintf(name, "%u", port); | ^~~~~~~ porttoserv.c:5:1: note: include '' or provide a declaration of 'sprintf' 4 | #include +++ |+#include 5 | porttoserv.c:17:17: warning: incompatible implicit declaration of built-in function 'sprintf' [-Wbuiltin-declaration-mismatch] 17 | sprintf(name, "%u", port); | ^~~~~~~ porttoserv.c:17:17: note: include '' or provide a declaration of 'sprintf' --- check_cconf.o --- cc -I../include -pipe -O2 -DSUPPORT_RCMD -c check_cconf.c --- shell_cmd.o --- cc -I../include -pipe -O2 -DSUPPORT_RCMD -c shell_cmd.c shell_cmd.c: In function 'socks_shell_cmd': shell_cmd.c:64:26: warning: implicit declaration of function 'getpid' [-Wimplicit-function-declaration] 64 | int daemon_pid = getpid(); | ^~~~~~ shell_cmd.c:67:9: warning: implicit declaration of function 'strpbrk' [-Wimplicit-function-declaration] 67 | if (strpbrk(cmd, alpha_num) == NULL) { | ^~~~~~~ shell_cmd.c:31:1: note: include '' or provide a declaration of 'strpbrk' 30 | #include "socks.h" +++ |+#include 31 | shell_cmd.c:67:9: warning: incompatible implicit declaration of built-in function 'strpbrk' [-Wbuiltin-declaration-mismatch] 67 | if (strpbrk(cmd, alpha_num) == NULL) { | ^~~~~~~ shell_cmd.c:67:9: note: include '' or provide a declaration of 'strpbrk' shell_cmd.c:77:25: warning: implicit declaration of function 'fork' [-Wimplicit-function-declaration] 77 | switch (child_pid = fork()) { | ^~~~ shell_cmd.c:85:28: warning: implicit declaration of function 'wait' [-Wimplicit-function-declaration] 85 | while ((wait_pid = wait((int *) 0)) != -1 && wait_pid != child_pid) | ^~~~ shell_cmd.c: In function 'do_child': shell_cmd.c:106:16: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] 106 | (void) close(tmp_fd); | ^~~~~ | pclose shell_cmd.c:110:9: warning: implicit declaration of function 'open'; did you mean 'popen'? [-Wimplicit-function-declaration] 110 | if (open("/dev/null", 2) != 0) { | ^~~~ | popen shell_cmd.c:112:16: warning: implicit declaration of function 'dup' [-Wimplicit-function-declaration] 112 | } else if (dup(0) != 1 || dup(0) != 2) { | ^~~ shell_cmd.c:115:16: warning: implicit declaration of function 'execl' [-Wimplicit-function-declaration] 115 | (void) execl("/bin/sh", "sh", "-c", command, (char *) 0); | ^~~~~ shell_cmd.c:115:16: warning: incompatible implicit declaration of built-in function 'execl' [-Wbuiltin-declaration-mismatch] shell_cmd.c: In function 'percent_x': shell_cmd.c:202:29: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] 202 | expansion_len = strlen(expansion); | ^~~~~~ shell_cmd.c:202:29: note: include '' or provide a declaration of 'strlen' shell_cmd.c:202:29: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] shell_cmd.c:202:29: note: include '' or provide a declaration of 'strlen' shell_cmd.c:214:36: warning: 'strncpy' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 214 | strncpy(result, expansion, expansion_len); | ^~~~~~~~~~~~~ shell_cmd.c:33:14: note: built-in 'strncpy' declared here 33 | extern char *strncpy(); | ^~~~~~~ --- check_cconf.o --- check_cconf.c:34:1: warning: return type defaults to 'int' [-Wimplicit-int] 34 | socks_check_cconf(src, dst) | ^~~~~~~~~~~~~~~~~ check_cconf.c: In function 'socks_check_cconf': check_cconf.c:46:23: warning: implicit declaration of function 'inet_addr' [-Wimplicit-function-declaration] 46 | self.s_addr = inet_addr("127.0.0.1"); | ^~~~~~~~~ check_cconf.c:83:17: warning: implicit declaration of function 'socks_shell_cmd' [-Wimplicit-function-declaration] 83 | socks_shell_cmd(confPtr->cmdp, src, dst); | ^~~~~~~~~~~~~~~ check_cconf.c: At top level: check_cconf.c:88:8: warning: return type defaults to 'int' [-Wimplicit-int] 88 | static read_cconf(void) | ^~~~~~~~~~ check_cconf.c: In function 'read_cconf': check_cconf.c:142:25: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 142 | exit(1); | ^~~~ check_cconf.c:13:1: note: include '' or provide a declaration of 'exit' 12 | #include "socks.h" +++ |+#include 13 | check_cconf.c:142:25: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 142 | exit(1); | ^~~~ check_cconf.c:142:25: note: include '' or provide a declaration of 'exit' check_cconf.c:169:25: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 169 | exit(1); | ^~~~ check_cconf.c:169:25: note: include '' or provide a declaration of 'exit' check_cconf.c:179:25: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 179 | exit(1); | ^~~~ check_cconf.c:179:25: note: include '' or provide a declaration of 'exit' check_cconf.c:183:25: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 183 | exit(1); | ^~~~ check_cconf.c:183:25: note: include '' or provide a declaration of 'exit' check_cconf.c:187:25: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 187 | exit(1); | ^~~~ check_cconf.c:187:25: note: include '' or provide a declaration of 'exit' check_cconf.c:204:33: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 204 | exit(1); | ^~~~ check_cconf.c:204:33: note: include '' or provide a declaration of 'exit' check_cconf.c:210:33: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 210 | exit(1); | ^~~~ check_cconf.c:210:33: note: include '' or provide a declaration of 'exit' check_cconf.c:251:46: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] 251 | (struct config **) malloc(CONF_INCR *sizeof(struct config **)); | ^~~~~~ check_cconf.c:251:46: note: include '' or provide a declaration of 'malloc' check_cconf.c:251:46: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] check_cconf.c:251:46: note: include '' or provide a declaration of 'malloc' check_cconf.c:253:27: warning: implicit declaration of function 'realloc' [-Wimplicit-function-declaration] 253 | realloc(confNtries, (Ntries +CONF_INCR) *sizeof(struct config)); | ^~~~~~~ check_cconf.c:253:27: note: include '' or provide a declaration of 'realloc' check_cconf.c:253:27: warning: incompatible implicit declaration of built-in function 'realloc' [-Wbuiltin-declaration-mismatch] check_cconf.c:253:27: note: include '' or provide a declaration of 'realloc' check_cconf.c:255:59: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 255 | *(confNtries +Ntries) = (struct config *) malloc(sizeof(struct config)); | ^~~~~~ check_cconf.c:255:59: note: include '' or provide a declaration of 'malloc' check_cconf.c:283:17: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 283 | exit(1); | ^~~~ check_cconf.c:283:17: note: include '' or provide a declaration of 'exit' --- check_user.o --- cc -I../include -pipe -O2 -DSUPPORT_RCMD -c check_user.c check_user.c: In function 'socks_GetQuad': check_user.c:59:29: warning: implicit declaration of function 'inet_addr' [-Wimplicit-function-declaration] 59 | if ((addr->s_addr = inet_addr(dotquad)) != (u_int32) -1) | ^~~~~~~~~ check_user.c: In function 'socks_GetPort': check_user.c:101:16: warning: implicit declaration of function 'atol' [-Wimplicit-function-declaration] 101 | return atol(name); | ^~~~ --- null_syslog.o --- cc -I../include -pipe -O2 -DSUPPORT_RCMD -c null_syslog.c null_syslog.c:20:1: warning: return type defaults to 'int' [-Wimplicit-int] 20 | socks_0openlog(ident, log_opt, fac) | ^~~~~~~~~~~~~~ null_syslog.c:28:1: warning: return type defaults to 'int' [-Wimplicit-int] 28 | socks_0closelog() | ^~~~~~~~~~~~~~~ null_syslog.c:33:9: warning: return type defaults to 'int' [-Wimplicit-int] 33 | VARARGS(socks_0syslog, int, prio) | ^~~~~~~~~~~~~ null_syslog.c:10:32: note: in definition of macro 'VARARGS' 10 | #define VARARGS(func,type,arg) func(type arg, ...) | ^~~~ --- Rrcmd.o --- cc -I../include -pipe -O2 -DSUPPORT_RCMD -c Rrcmd.c Rrcmd.c:60:1: warning: return type defaults to 'int' [-Wimplicit-int] 60 | Rrcmd(ahost, rport, locuser, remuser, cmd, fd2p) | ^~~~~ Rrcmd.c: In function 'Rrcmd': Rrcmd.c:90:9: warning: 'sigblock' is deprecated [-Wdeprecated-declarations] 90 | oldmask = sigblock(sigmask(SIGURG)); | ^~~~~~~ In file included from /usr/include/sys/param.h:28, from Rrcmd.c:39: /usr/include/signal.h:173:12: note: declared here 173 | extern int sigblock (int __mask) __THROW __attribute_deprecated__; | ^~~~~~~~ --- LIBIDENT --- --- LIB --- Rrcmd.c:90:20: warning: sigmask is deprecated 90 | oldmask = sigblock(sigmask(SIGURG)); | ^~~~~~~~~~~~~~~~~~~~~~~ Rrcmd.c:105:25: warning: 'sigsetmask' is deprecated [-Wdeprecated-declarations] 105 | sigsetmask(oldmask); | ^~~~~~~~~~ In file included from /usr/include/sys/param.h:28, from Rrcmd.c:39: /usr/include/signal.h:176:12: note: declared here 176 | extern int sigsetmask (int __mask) __THROW __attribute_deprecated__; | ^~~~~~~~~~ Rrcmd.c:125:21: warning: implicit declaration of function 'Rconnect'; did you mean 'connect'? [-Wimplicit-function-declaration] 125 | if (Rconnect(s, (struct sockaddr *)&sin, sizeof(sin)) >= 0) | ^~~~~~~~ | connect Rrcmd.c:155:17: warning: 'sigsetmask' is deprecated [-Wdeprecated-declarations] 155 | sigsetmask(oldmask); | ^~~~~~~~~~ In file included from /usr/include/sys/param.h:28, from Rrcmd.c:39: /usr/include/signal.h:176:12: note: declared here 176 | extern int sigsetmask (int __mask) __THROW __attribute_deprecated__; | ^~~~~~~~~~ Rrcmd.c:186:21: warning: implicit declaration of function 'Rbind'; did you mean 'bind'? [-Wimplicit-function-declaration] 186 | if (Rbind(s2, (struct sockaddr *)&tsin, sizeof(tsin), | ^~~~~ | bind --- LIBIDENT --- (cd libident; /usr/pkg/bin/bmake CC="cc" OTHER_CFLAGS="" OPTIMIZE="-pipe -O2" RANLIB="ranlib") --- LIB --- Rrcmd.c:193:21: warning: implicit declaration of function 'Rgetsockname'; did you mean 'getsockname'? [-Wimplicit-function-declaration] 193 | if (Rgetsockname(s2, (struct sockaddr *)&tsin, &tlen) < 0) { | ^~~~~~~~~~~~ | getsockname --- LIBIDENT --- --- echocwd --- /home/pbulk/build/net/socks4/work/socks.cstc.4.2/libident --- ident.o --- --- LIB --- Rrcmd.c:198:17: warning: implicit declaration of function 'Rlisten'; did you mean 'listen'? [-Wimplicit-function-declaration] 198 | Rlisten(s2, 1); | ^~~~~~~ | listen --- LIBIDENT --- cc -pipe -O2 -c ident.c --- LIB --- Rrcmd.c:228:22: warning: implicit declaration of function 'Raccept'; did you mean 'accept'? [-Wimplicit-function-declaration] 228 | s3 = Raccept(s2, (struct sockaddr *)&from, &len); | ^~~~~~~ | accept Rrcmd.c:260:9: warning: 'sigsetmask' is deprecated [-Wdeprecated-declarations] 260 | sigsetmask(oldmask); | ^~~~~~~~~~ In file included from /usr/include/sys/param.h:28, from Rrcmd.c:39: /usr/include/signal.h:176:12: note: declared here 176 | extern int sigsetmask (int __mask) __THROW __attribute_deprecated__; | ^~~~~~~~~~ Rrcmd.c:267:9: warning: 'sigsetmask' is deprecated [-Wdeprecated-declarations] 267 | sigsetmask(oldmask); | ^~~~~~~~~~ In file included from /usr/include/sys/param.h:28, from Rrcmd.c:39: /usr/include/signal.h:176:12: note: declared here 176 | extern int sigsetmask (int __mask) __THROW __attribute_deprecated__; | ^~~~~~~~~~ Rrcmd.c:163:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 163 | write(s, "", 1); | ^~~~~~~~~~~~~~~ Rrcmd.c:245:16: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 245 | (void) write(s, locuser, strlen(locuser)+1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Rrcmd.c:246:16: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 246 | (void) write(s, remuser, strlen(remuser)+1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Rrcmd.c:247:16: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 247 | (void) write(s, cmd, strlen(cmd)+1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ Rrcmd.c:254:32: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 254 | (void) write(2, &c, 1); | ^~~~~~~~~~~~~~~ --- LIBIDENT --- ident.c: In function 'ident_lookup': ident.c:76:21: warning: 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: warning: 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_open.o --- cc -pipe -O2 -c id_open.c --- LIB --- --- libsocks.a --- rm -f libsocks.a ar rc libsocks.a Rconnect.o SendGetDst.o saddrtoname.o porttoserv.o check_cconf.o shell_cmd.o check_user.o null_syslog.o Rrcmd.o ranlib libsocks.a --- LIBIDENT --- 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:63:10: error: conflicting types for 'id_open'; have 'ident_t *(struct in_addr *, struct in_addr *, struct timeval *)' 63 | ident_t *id_open | ^~~~~~~ In file included from id_open.c:58: ident.h:63:18: note: previous declaration of 'id_open' with type 'ident_t *(struct in_addr *, struct in_addr *, void *)' 63 | 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] 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: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] 172 | close(id->fd); | ^~~~~ | pclose 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' *** [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-el9-trunk-x86_64/net/socks4 *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/net/socks4