=> Bootstrap dependency digest>=20211023: found digest-20220214 ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for portmap-4nb3 gcc -Dconst= -Dperror=xperror -DHOSTS_ACCESS -DCHECK_PORT -DFACILITY=LOG_AUTH -DIGNORE_SIGCHLD -O -I/usr/include -c portmap.c -o portmap.o portmap.c:131:1: warning: return type defaults to 'int' [-Wimplicit-int] 131 | main(argc, argv) | ^~~~ portmap.c: In function 'main': portmap.c:141:14: warning: implicit declaration of function 'getopt' [-Wimplicit-function-declaration] 141 | while ((c = getopt(argc, argv, "dv")) != EOF) { | ^~~~~~ portmap.c: In function 'reg_service': portmap.c:293:28: warning: passing argument 2 of 'svc_sendreply' from incompatible pointer type [-Wincompatible-pointer-types] 293 | if (!svc_sendreply(xprt, xdr_void, (caddr_t)0) && debugging) { | ^~~~~~~~ | | | bool_t (*)(void) {aka int (*)(void)} In file included from /usr/include/rpc/rpc.h:68, from portmap.c:83: /usr/include/rpc/svc.h:266:41: note: expected 'xdrproc_t' {aka 'int (*)(XDR *, void *)'} but argument is of type 'bool_t (*)(void)' {aka 'int (*)(void)'} 266 | extern bool_t svc_sendreply (SVCXPRT *, xdrproc_t, const char *); | ^~~~~~~~~ portmap.c:302:36: warning: passing argument 3 of 'xprt->xp_ops->xp_getargs' from incompatible pointer type [-Wincompatible-pointer-types] 302 | if (!svc_getargs(xprt, xdr_pmap, ®)) | ^ | | | struct pmap * portmap.c:302:36: note: expected '__caddr_t' {aka 'char *'} but argument is of type 'struct pmap *' portmap.c:344:30: warning: passing argument 2 of 'svc_sendreply' from incompatible pointer type [-Wincompatible-pointer-types] 344 | if ((!svc_sendreply(xprt, xdr_int, (caddr_t)&ans)) && | ^~~~~~~ | | | bool_t (*)(XDR *, int *) {aka int (*)(XDR *, int *)} In file included from /usr/include/rpc/rpc.h:68, from portmap.c:83: /usr/include/rpc/svc.h:266:41: note: expected 'xdrproc_t' {aka 'int (*)(XDR *, void *)'} but argument is of type 'bool_t (*)(XDR *, int *)' {aka 'int (*)(XDR *, int *)'} 266 | extern bool_t svc_sendreply (SVCXPRT *, xdrproc_t, const char *); | ^~~~~~~~~ portmap.c:356:36: warning: passing argument 3 of 'xprt->xp_ops->xp_getargs' from incompatible pointer type [-Wincompatible-pointer-types] 356 | if (!svc_getargs(xprt, xdr_pmap, ®)) | ^ | | | struct pmap * portmap.c:356:36: note: expected '__caddr_t' {aka 'char *'} but argument is of type 'struct pmap *' portmap.c:390:30: warning: passing argument 2 of 'svc_sendreply' from incompatible pointer type [-Wincompatible-pointer-types] 390 | if ((!svc_sendreply(xprt, xdr_int, (caddr_t)&ans)) && | ^~~~~~~ | | | bool_t (*)(XDR *, int *) {aka int (*)(XDR *, int *)} In file included from /usr/include/rpc/rpc.h:68, from portmap.c:83: /usr/include/rpc/svc.h:266:41: note: expected 'xdrproc_t' {aka 'int (*)(XDR *, void *)'} but argument is of type 'bool_t (*)(XDR *, int *)' {aka 'int (*)(XDR *, int *)'} 266 | extern bool_t svc_sendreply (SVCXPRT *, xdrproc_t, const char *); | ^~~~~~~~~ portmap.c:402:36: warning: passing argument 3 of 'xprt->xp_ops->xp_getargs' from incompatible pointer type [-Wincompatible-pointer-types] 402 | if (!svc_getargs(xprt, xdr_pmap, ®)) | ^ | | | struct pmap * portmap.c:402:36: note: expected '__caddr_t' {aka 'char *'} but argument is of type 'struct pmap *' portmap.c:417:30: warning: passing argument 2 of 'svc_sendreply' from incompatible pointer type [-Wincompatible-pointer-types] 417 | if ((!svc_sendreply(xprt, xdr_int, (caddr_t)&port)) && | ^~~~~~~ | | | bool_t (*)(XDR *, int *) {aka int (*)(XDR *, int *)} In file included from /usr/include/rpc/rpc.h:68, from portmap.c:83: /usr/include/rpc/svc.h:266:41: note: expected 'xdrproc_t' {aka 'int (*)(XDR *, void *)'} but argument is of type 'bool_t (*)(XDR *, int *)' {aka 'int (*)(XDR *, int *)'} 266 | extern bool_t svc_sendreply (SVCXPRT *, xdrproc_t, const char *); | ^~~~~~~~~ portmap.c:440:30: warning: passing argument 2 of 'svc_sendreply' from incompatible pointer type [-Wincompatible-pointer-types] 440 | if ((!svc_sendreply(xprt, xdr_pmaplist, | ^~~~~~~~~~~~ | | | bool_t (*)(XDR *, struct pmaplist **) {aka int (*)(XDR *, struct pmaplist **)} In file included from /usr/include/rpc/rpc.h:68, from portmap.c:83: /usr/include/rpc/svc.h:266:41: note: expected 'xdrproc_t' {aka 'int (*)(XDR *, void *)'} but argument is of type 'bool_t (*)(XDR *, struct pmaplist **)' {aka 'int (*)(XDR *, struct pmaplist **)'} 266 | extern bool_t svc_sendreply (SVCXPRT *, xdrproc_t, const char *); | ^~~~~~~~~ portmap.c: In function 'xdr_encap_parms': portmap.c:484:40: warning: passing argument 3 of 'xdr_bytes' from incompatible pointer type [-Wincompatible-pointer-types] 484 | return (xdr_bytes(xdrs, &(epp->args), &(epp->arglen), ARGSIZE)); | ^~~~~~~~~~~~~~ | | | u_long * {aka long unsigned int *} In file included from /usr/include/rpc/rpc.h:48, from portmap.c:83: /usr/include/rpc/xdr.h:294:41: note: expected 'unsigned int *' but argument is of type 'u_long *' {aka 'long unsigned int *'} 294 | extern bool_t xdr_bytes(XDR *, char **, unsigned int *, unsigned int); | ^~~~~~~~~~~~~~ In file included from /usr/include/rpc/rpc.h:68, from portmap.c:83: portmap.c: In function 'callit': portmap.c:588:43: warning: passing argument 3 of 'xprt->xp_ops->xp_getargs' from incompatible pointer type [-Wincompatible-pointer-types] 588 | if (!svc_getargs(xprt, xdr_rmtcall_args, &a)) | ^ | | | struct rmtcallargs * portmap.c:588:43: note: expected '__caddr_t' {aka 'char *'} but argument is of type 'struct rmtcallargs *' portmap.c:601:13: warning: implicit declaration of function 'fork' [-Wimplicit-function-declaration] 601 | if ((pid = fork()) != 0) { | ^~~~ portmap.c:624:8: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] 624 | (void)close(so); | ^~~~~ | pclose portmap.c: In function 'reap': portmap.c:631:15: warning: passing argument 1 of 'wait3' from incompatible pointer type [-Wincompatible-pointer-types] 631 | while (wait3((union wait *)NULL, WNOHANG, (struct rusage *)NULL) > 0); | ^ | | | union wait * In file included from portmap.c:91: /usr/include/sys/wait.h:208:13: note: expected 'int *' but argument is of type 'union wait *' 208 | pid_t wait3(int *, int, struct rusage *) __RENAME(__wait350); | ^~~~~ gcc -Dconst= -Dperror=xperror -DHOSTS_ACCESS -DCHECK_PORT -DFACILITY=LOG_AUTH -DIGNORE_SIGCHLD -O -I/usr/include -c pmap_check.c -o pmap_check.o pmap_check.c: In function 'check_startup': pmap_check.c:98:9: warning: implicit declaration of function 'setuid'; did you mean 'si_uid'? [-Wimplicit-function-declaration] 98 | if (setuid(1) == -1) { | ^~~~~~ | si_uid pmap_check.c:100:2: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 100 | exit(1); | ^~~~ pmap_check.c:100:2: warning: incompatible implicit declaration of built-in function 'exit' pmap_check.c:51:1: note: include '' or provide a declaration of 'exit' 50 | #include "pmap_check.h" +++ |+#include 51 | pmap_check.c: At top level: pmap_check.c:107:1: warning: return type defaults to 'int' [-Wimplicit-int] 107 | check_default(addr, proc, prog) | ^~~~~~~~~~~~~ pmap_check.c: In function 'check_default': pmap_check.c:69:24: warning: implicit declaration of function 'hosts_ctl' [-Wimplicit-function-declaration] 69 | #define good_client(a) hosts_ctl("portmap", "", inet_ntoa(a->sin_addr), "") | ^~~~~~~~~ pmap_check.c:113:31: note: in expansion of macro 'good_client' 113 | if (!(from_local(addr) || good_client(addr))) { | ^~~~~~~~~~~ pmap_check.c: At top level: pmap_check.c:125:1: warning: return type defaults to 'int' [-Wimplicit-int] 125 | check_privileged_port(addr, proc, prog, port) | ^~~~~~~~~~~~~~~~~~~~~ pmap_check.c:142:1: warning: return type defaults to 'int' [-Wimplicit-int] 142 | check_setunset(addr, proc, prog, port) | ^~~~~~~~~~~~~~ pmap_check.c:164:1: warning: return type defaults to 'int' [-Wimplicit-int] 164 | check_callit(addr, proc, prog, aproc) | ^~~~~~~~~~~~ pmap_check.c: In function 'logit': pmap_check.c:230:9: warning: implicit declaration of function 'fork' [-Wimplicit-function-declaration] 230 | if (fork() == 0) { | ^~~~ pmap_check.c:239:6: warning: implicit declaration of function 'sprintf' [-Wimplicit-function-declaration] 239 | sprintf(progname = progbuf, "%lu", prognum); | ^~~~~~~ pmap_check.c:239:6: warning: incompatible implicit declaration of built-in function 'sprintf' pmap_check.c:51:1: note: include '' or provide a declaration of 'sprintf' 50 | #include "pmap_check.h" +++ |+#include 51 | pmap_check.c:247:6: warning: incompatible implicit declaration of built-in function 'sprintf' 247 | sprintf(procname = procbuf, "%lu", (u_long) procnum); | ^~~~~~~ pmap_check.c:247:6: note: include '' or provide a declaration of 'sprintf' pmap_check.c:253:2: warning: incompatible implicit declaration of built-in function 'exit' 253 | exit(0); | ^~~~ pmap_check.c:253:2: note: include '' or provide a declaration of 'exit' gcc -Dconst= -Dperror=xperror -DHOSTS_ACCESS -DCHECK_PORT -DFACILITY=LOG_AUTH -DIGNORE_SIGCHLD -O -I/usr/include -c from_local.c -o from_local.o from_local.c: In function 'grow_addrs': from_local.c:81:36: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] 81 | new_addrs = (struct in_addr *) malloc(sizeof(*addrs) * new_num); | ^~~~~~ from_local.c:81:36: warning: incompatible implicit declaration of built-in function 'malloc' from_local.c:54:1: note: include '' or provide a declaration of 'malloc' 53 | #include +++ |+#include 54 | from_local.c:87:6: warning: implicit declaration of function 'memcpy' [-Wimplicit-function-declaration] 87 | memcpy((char *) new_addrs, (char *) addrs, | ^~~~~~ from_local.c:87:6: warning: incompatible implicit declaration of built-in function 'memcpy' from_local.c:54:1: note: include '' or provide a declaration of 'memcpy' 53 | #include +++ |+#include 54 | from_local.c:89:6: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] 89 | free((char *) addrs); | ^~~~ from_local.c:89:6: warning: incompatible implicit declaration of built-in function 'free' from_local.c:89:6: note: include '' or provide a declaration of 'free' from_local.c: At top level: from_local.c:99:1: warning: return type defaults to 'int' [-Wimplicit-int] 99 | find_local() | ^~~~~~~~~~ from_local.c: In function 'find_local': from_local.c:121:9: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] 121 | (void) close(sock); | ^~~~~ | pclose from_local.c: At top level: from_local.c:157:1: warning: return type defaults to 'int' [-Wimplicit-int] 157 | from_local(addr) | ^~~~~~~~~~ from_local.c: In function 'from_local': from_local.c:166:6: warning: implicit declaration of function 'memcmp' [-Wimplicit-function-declaration] 166 | if (memcmp((char *) &(addr->sin_addr), (char *) &(addrs[i]), | ^~~~~~ gcc -Dconst= -Dperror=xperror -DHOSTS_ACCESS -DCHECK_PORT -DFACILITY=LOG_AUTH -DIGNORE_SIGCHLD -O -I/usr/include -c daemon.c -o daemon.o daemon.c:48:1: warning: return type defaults to 'int' [-Wimplicit-int] 48 | daemon(nochdir, noclose) | ^~~~~~ daemon.c: In function 'daemon': daemon.c:53:14: warning: implicit declaration of function 'fork' [-Wimplicit-function-declaration] 53 | if ((cpid = fork()) == -1) | ^~~~ daemon.c:56:3: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 56 | exit(0); | ^~~~ daemon.c:56:3: warning: incompatible implicit declaration of built-in function 'exit' daemon.c:39:1: note: include '' or provide a declaration of 'exit' 38 | #include +++ |+#include 39 | daemon.c:57:9: warning: implicit declaration of function 'setsid' [-Wimplicit-function-declaration] 57 | (void) setsid(); | ^~~~~~ daemon.c:59:10: warning: implicit declaration of function 'chdir' [-Wimplicit-function-declaration] 59 | (void) chdir("/"); | ^~~~~ daemon.c:64:11: warning: implicit declaration of function 'dup2' [-Wimplicit-function-declaration] 64 | (void) dup2(devnull, STDIN_FILENO); | ^~~~ daemon.c:68:12: warning: implicit declaration of function 'close' [-Wimplicit-function-declaration] 68 | (void) close(devnull); | ^~~~~ gcc -Dconst= -Dperror=xperror -DHOSTS_ACCESS -DCHECK_PORT -DFACILITY=LOG_AUTH -DIGNORE_SIGCHLD -O -o portmap portmap.o pmap_check.o from_local.o daemon.o /usr/lib/libwrap.a ld: /usr/lib/libwrap.a(hosts_access.o):(.text+0xfb9): undefined reference to `blocklist_open' ld: /usr/lib/libwrap.a(hosts_access.o):(.text+0xf9e): undefined reference to `blocklist_sa_r' ld: /usr/lib/libwrap.a(hosts_access.o):(.text+0xfb1): undefined reference to `blocklist_r' *** Error code 1 Stop. make: stopped in /shared/pkgsrc/net/portmap/work/portmap_4 *** Error code 1 Stop. make[1]: stopped in /shared/pkgsrc/net/portmap *** Error code 1 Stop. make: stopped in /shared/pkgsrc/net/portmap