+ 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:2: warning: incompatible implicit declaration of built-in function 'bcopy' [enabled by default] bcopy(&dst->port, c+2, sizeof(dst->port)); ^ SendGetDst.c:36:3: warning: passing argument 2 of 'select' from incompatible pointer type [enabled by default] if ((ret = select(fdsbits, NULL, &fds, NULL, &timeout)) == 0) ^ In file included from /usr/include/sys/types.h:219:0, from SendGetDst.c:1: /usr/include/sys/select.h:106:12: note: expected 'struct fd_set * __restrict__' but argument is of type 'char *' extern int select (int __nfds, fd_set *__restrict __readfds, ^ SendGetDst.c:36:3: warning: passing argument 4 of 'select' from incompatible pointer type [enabled by default] if ((ret = select(fdsbits, NULL, &fds, NULL, &timeout)) == 0) ^ In file included from /usr/include/sys/types.h:219:0, from SendGetDst.c:1: /usr/include/sys/select.h:106:12: note: expected 'struct fd_set * __restrict__' but argument is of type 'char *' extern int select (int __nfds, fd_set *__restrict __readfds, ^ SendGetDst.c: In function 'socks_GetDst': SendGetDst.c:75:3: warning: passing argument 3 of 'select' from incompatible pointer type [enabled by default] if ((ret = select(fdsbits, &fds, NULL, NULL, &timeout)) == 0) ^ In file included from /usr/include/sys/types.h:219:0, from SendGetDst.c:1: /usr/include/sys/select.h:106:12: note: expected 'struct fd_set * __restrict__' but argument is of type 'char *' extern int select (int __nfds, fd_set *__restrict __readfds, ^ SendGetDst.c:75:3: warning: passing argument 4 of 'select' from incompatible pointer type [enabled by default] if ((ret = select(fdsbits, &fds, NULL, NULL, &timeout)) == 0) ^ In file included from /usr/include/sys/types.h:219:0, from SendGetDst.c:1: /usr/include/sys/select.h:106:12: note: expected 'struct fd_set * __restrict__' but argument is of type 'char *' extern int select (int __nfds, fd_set *__restrict __readfds, ^ SendGetDst.c:98:2: warning: incompatible implicit declaration of built-in function 'bcopy' [enabled by default] bcopy(c+2, &dst->port, sizeof(dst->port)); ^ --- Rconnect.o --- Rconnect.c: In function 'quit_C_proto': Rconnect.c:386:2: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default] exit(SOCKS_FAIL); ^ Rconnect.c: In function 'do_C_proto': Rconnect.c:404:3: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default] exit(SOCKS_FAIL); ^ Rconnect.c:409:3: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default] exit(dst.cmd); ^ Rconnect.c:411:2: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default] exit(SOCKS_RESULT); ^ --- saddrtoname.o --- cc -I../include -pipe -O2 -DSUPPORT_RCMD -c saddrtoname.c saddrtoname.c: In function 'socks_saddrtoname': saddrtoname.c:14:3: warning: incompatible implicit declaration of built-in function 'strncpy' [enabled by default] strncpy(name, host->h_name, namelen); ^ saddrtoname.c:16:3: warning: passing argument 2 of 'strncpy' makes pointer from integer without a cast [enabled by default] strncpy(name, inet_ntoa(*addr), namelen); ^ saddrtoname.c:16:3: 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:3: warning: incompatible implicit declaration of built-in function 'strncpy' [enabled by default] strncpy(name, serv->s_name, namelen); ^ porttoserv.c:17:3: warning: incompatible implicit declaration of built-in function 'sprintf' [enabled by default] sprintf(name, "%u", port); ^ --- check_cconf.o --- cc -I../include -pipe -O2 -DSUPPORT_RCMD -c check_cconf.c check_cconf.c: In function 'read_cconf': check_cconf.c:142:4: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default] exit(1); ^ check_cconf.c:169:4: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default] exit(1); ^ check_cconf.c:179:4: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default] exit(1); ^ check_cconf.c:183:4: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default] exit(1); ^ check_cconf.c:187:4: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default] exit(1); ^ check_cconf.c:204:5: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default] exit(1); ^ check_cconf.c:210:5: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default] exit(1); ^ check_cconf.c:253:6: warning: incompatible implicit declaration of built-in function 'realloc' [enabled by default] realloc(confNtries, (Ntries +CONF_INCR) *sizeof(struct config)); ^ check_cconf.c:283:3: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default] exit(1); ^ --- shell_cmd.o --- cc -I../include -pipe -O2 -DSUPPORT_RCMD -c shell_cmd.c --- check_user.o --- cc -I../include -pipe -O2 -DSUPPORT_RCMD -c check_user.c --- shell_cmd.o --- shell_cmd.c: In function 'socks_shell_cmd': shell_cmd.c:67:9: warning: incompatible implicit declaration of built-in function 'strpbrk' [enabled by default] if (strpbrk(cmd, alpha_num) == NULL) { ^ shell_cmd.c: In function 'do_child': shell_cmd.c:115:9: warning: incompatible implicit declaration of built-in function 'execl' [enabled by default] (void) execl("/bin/sh", "sh", "-c", command, (char *) 0); ^ shell_cmd.c: In function 'percent_x': shell_cmd.c:202:22: warning: incompatible implicit declaration of built-in function 'strlen' [enabled by default] expansion_len = strlen(expansion); ^ --- null_syslog.o --- cc -I../include -pipe -O2 -DSUPPORT_RCMD -c null_syslog.c --- Rrcmd.o --- cc -I../include -pipe -O2 -DSUPPORT_RCMD -c Rrcmd.c Rrcmd.c: In function 'Rrcmd': Rrcmd.c:90:2: warning: 'sigblock' is deprecated (declared at /usr/include/signal.h:197) [-Wdeprecated-declarations] oldmask = sigblock(sigmask(SIGURG)); ^ Rrcmd.c:105:4: warning: 'sigsetmask' is deprecated (declared at /usr/include/signal.h:200) [-Wdeprecated-declarations] sigsetmask(oldmask); ^ Rrcmd.c:155:3: warning: 'sigsetmask' is deprecated (declared at /usr/include/signal.h:200) [-Wdeprecated-declarations] sigsetmask(oldmask); ^ --- LIBIDENT --- --- LIB --- Rrcmd.c:260:2: warning: 'sigsetmask' is deprecated (declared at /usr/include/signal.h:200) [-Wdeprecated-declarations] sigsetmask(oldmask); ^ Rrcmd.c:267:2: warning: 'sigsetmask' is deprecated (declared at /usr/include/signal.h:200) [-Wdeprecated-declarations] sigsetmask(oldmask); ^ Rrcmd.c:163:8: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(s, "", 1); ^ Rrcmd.c:245:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] (void) write(s, locuser, strlen(locuser)+1); ^ Rrcmd.c:246:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] (void) write(s, remuser, strlen(remuser)+1); ^ Rrcmd.c:247:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] (void) write(s, cmd, strlen(cmd)+1); ^ --- LIBIDENT --- (cd libident; /usr/pkg/bin/bmake CC="cc" OTHER_CFLAGS="" OPTIMIZE="-pipe -O2" RANLIB="ranlib") --- LIB --- Rrcmd.c:254:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] (void) write(2, &c, 1); ^ --- LIBIDENT --- --- echocwd --- /home/pbulk/build/net/socks4/work/socks.cstc.4.2/libident --- ident.o --- cc -pipe -O2 -c ident.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 --- LIBIDENT --- ident.c: In function 'ident_lookup': ident.c:98:5: warning: incompatible implicit declaration of built-in function 'free' [enabled by default] free(ident); ^ ident.c: In function 'ident_free': ident.c:135:23: warning: incompatible implicit declaration of built-in function 'free' [enabled by default] if (id->identifier) free(id->identifier); ^ --- LIB --- ranlib libsocks.a --- RFINGER --- (cd rfinger; /usr/pkg/bin/bmake CC="cc" WHOIS_SERVER=-DWHOIS_SERVER\'=\"rs.internic.net\"\' OPTIMIZE="-pipe -O2" SOCKS="-Dconnect=Rconnect -Dgetsockname=Rgetsockname -Dlisten=Rlisten -Daccept=Raccept -Drcmd=Rrcmd -Dbind=Rbind -Dselect=Rselect -Dunix=1" RESOLV_LIB="" SOCKS_LIB="/home/pbulk/build/net/socks4/work/socks.cstc.4.2/lib/libsocks.a" OTHER_CFLAGS=" ") --- LIBIDENT --- --- id_open.o --- cc -pipe -O2 -c id_open.c --- RFINGER --- --- echocwd --- /home/pbulk/build/net/socks4/work/socks.cstc.4.2/rfinger --- rwhois --- cc -DWHOIS_SERVER'="rs.internic.net"' -I../include -pipe -O2 -Dconnect=Rconnect -Dgetsockname=Rgetsockname -Dlisten=Rlisten -Daccept=Raccept -Drcmd=Rrcmd -Dbind=Rbind -Dselect=Rselect -Dunix=1 -o rwhois finger.c /home/pbulk/build/net/socks4/work/socks.cstc.4.2/lib/libsocks.a finger.c: In function 'main': finger.c:67:4: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default] exit(1); ^ finger.c:74:3: warning: incompatible implicit declaration of built-in function 'strcat' [enabled by default] strcat(cp, " "); ^ finger.c:78:9: warning: incompatible implicit declaration of built-in function 'strlen' [enabled by default] cp += strlen(argv[i]); ^ finger.c:104:4: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default] exit(1); ^ finger.c:115:4: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default] exit(1); ^ finger.c:123:4: warning: incompatible implicit declaration of built-in function 'bcopy' [enabled by default] bcopy(*hp->h_addr_list, &(dstaddr[i].s_addr), hp->h_length); ^ finger.c:132:3: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default] exit(1); ^ finger.c:135:2: warning: passing argument 2 of 'Rconnect' from incompatible pointer type [enabled by default] while (connect(s, &sin, sizeof(sin)) < 0) { ^ :0:9: note: expected 'const struct sockaddr *' but argument is of type 'struct sockaddr_in *' finger.c:142:3: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default] exit(1); ^ finger.c:147:2: warning: incompatible implicit declaration of built-in function 'strcat' [enabled by default] strcat(cp, "\r\n"); ^ finger.c:149:17: warning: incompatible implicit declaration of built-in function 'strlen' [enabled by default] if (write(s,cp,strlen(cp)) < 0) { ^ --- LIBIDENT --- id_open.c:60:14: error: conflicting types for 'malloc' 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:0: 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: incompatible implicit declaration of built-in function 'free' [enabled by default] free(id); ^ id_open.c:173:3: warning: incompatible implicit declaration of built-in function 'free' [enabled by default] free(id); ^ *** [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 --- RFINGER --- 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/rfinger *** [RFINGER] 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-el7-trunk-x86_64/net/socks4 *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/net/socks4