=> Bootstrap dependency digest>=20211023: found digest-20211023 WARNING: [license.mk] Every package should define a LICENSE. ===> 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 --- portmap.o --- --- pmap_check.o --- --- from_local.o --- --- daemon.o --- --- pmap_check.o --- gcc -Dconst= -Dperror=xperror -DHOSTS_ACCESS -DCHECK_PORT -DFACILITY=LOG_AUTH -DIGNORE_SIGCHLD -O -I/usr/include -c pmap_check.c --- portmap.o --- gcc -Dconst= -Dperror=xperror -DHOSTS_ACCESS -DCHECK_PORT -DFACILITY=LOG_AUTH -DIGNORE_SIGCHLD -O -I/usr/include -c portmap.c --- from_local.o --- gcc -Dconst= -Dperror=xperror -DHOSTS_ACCESS -DCHECK_PORT -DFACILITY=LOG_AUTH -DIGNORE_SIGCHLD -O -I/usr/include -c from_local.c --- daemon.o --- gcc -Dconst= -Dperror=xperror -DHOSTS_ACCESS -DCHECK_PORT -DFACILITY=LOG_AUTH -DIGNORE_SIGCHLD -O -I/usr/include -c daemon.c daemon.c:48:1: warning: return type defaults to 'int' [-Wimplicit-int] daemon(nochdir, noclose) ^~~~~~ daemon.c: In function 'daemon': daemon.c:53:14: warning: implicit declaration of function 'fork' [-Wimplicit-function-declaration] if ((cpid = fork()) == -1) ^~~~ daemon.c:56:3: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(0); ^~~~ daemon.c:56:3: warning: incompatible implicit declaration of built-in function 'exit' daemon.c:56:3: note: include '' or provide a declaration of 'exit' daemon.c:57:9: warning: implicit declaration of function 'setsid' [-Wimplicit-function-declaration] (void) setsid(); ^~~~~~ daemon.c:59:10: warning: implicit declaration of function 'chdir' [-Wimplicit-function-declaration] (void) chdir("/"); ^~~~~ daemon.c:64:11: warning: implicit declaration of function 'dup2' [-Wimplicit-function-declaration] (void) dup2(devnull, STDIN_FILENO); ^~~~ daemon.c:68:12: warning: implicit declaration of function 'close' [-Wimplicit-function-declaration] (void) close(devnull); ^~~~~ --- from_local.o --- from_local.c: In function 'grow_addrs': from_local.c:81:36: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] 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:81:36: note: include '' or provide a declaration of 'malloc' from_local.c:87:6: warning: implicit declaration of function 'memcpy' [-Wimplicit-function-declaration] memcpy((char *) new_addrs, (char *) addrs, ^~~~~~ from_local.c:87:6: warning: incompatible implicit declaration of built-in function 'memcpy' from_local.c:87:6: note: include '' or provide a declaration of 'memcpy' from_local.c:89:6: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] 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] 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] (void) close(sock); ^~~~~ pclose from_local.c: At top level: from_local.c:157:1: warning: return type defaults to 'int' [-Wimplicit-int] from_local(addr) ^~~~~~~~~~ from_local.c: In function 'from_local': from_local.c:166:6: warning: implicit declaration of function 'memcmp' [-Wimplicit-function-declaration] if (memcmp((char *) &(addr->sin_addr), (char *) &(addrs[i]), ^~~~~~ --- 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] if (setuid(1) == -1) { ^~~~~~ si_uid pmap_check.c:100:2: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(1); ^~~~ pmap_check.c:100:2: warning: incompatible implicit declaration of built-in function 'exit' pmap_check.c:100:2: note: include '' or provide a declaration of 'exit' pmap_check.c: At top level: pmap_check.c:107:1: warning: return type defaults to 'int' [-Wimplicit-int] 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] #define good_client(a) hosts_ctl("portmap", "", inet_ntoa(a->sin_addr), "") ^ pmap_check.c:113:31: note: in expansion of macro 'good_client' 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] check_privileged_port(addr, proc, prog, port) ^~~~~~~~~~~~~~~~~~~~~ pmap_check.c:142:1: warning: return type defaults to 'int' [-Wimplicit-int] check_setunset(addr, proc, prog, port) ^~~~~~~~~~~~~~ pmap_check.c:164:1: warning: return type defaults to 'int' [-Wimplicit-int] 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] if (fork() == 0) { ^~~~ pmap_check.c:239:6: warning: implicit declaration of function 'sprintf' [-Wimplicit-function-declaration] sprintf(progname = progbuf, "%lu", prognum); ^~~~~~~ pmap_check.c:239:6: warning: incompatible implicit declaration of built-in function 'sprintf' pmap_check.c:239:6: note: include '' or provide a declaration of 'sprintf' pmap_check.c:247:6: warning: incompatible implicit declaration of built-in function 'sprintf' 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' exit(0); ^~~~ pmap_check.c:253:2: note: include '' or provide a declaration of 'exit' --- pmap_dump --- --- portmap.o --- portmap.c:131:1: warning: return type defaults to 'int' [-Wimplicit-int] main(argc, argv) ^~~~ portmap.c: In function 'main': portmap.c:141:14: warning: implicit declaration of function 'getopt'; did you mean 'cgetset'? [-Wimplicit-function-declaration] while ((c = getopt(argc, argv, "dv")) != EOF) { ^~~~~~ cgetset --- pmap_dump --- gcc -Dconst= -Dperror=xperror -DHOSTS_ACCESS -DCHECK_PORT -DFACILITY=LOG_AUTH -DIGNORE_SIGCHLD -O -o pmap_dump pmap_dump.c --- portmap.o --- portmap.c: In function 'reg_service': portmap.c:293:28: warning: passing argument 2 of 'svc_sendreply' from incompatible pointer type [-Wincompatible-pointer-types] if (!svc_sendreply(xprt, xdr_void, (caddr_t)0) && debugging) { ^~~~~~~~ In file included from /usr/include/rpc/rpc.h:68:0, from portmap.c:83: /usr/include/rpc/svc.h:266:15: note: expected 'xdrproc_t {aka int (*)(struct __rpc_xdr *, void *)}' but argument is of type 'bool_t (*)(void) {aka int (*)(void)}' extern bool_t svc_sendreply (SVCXPRT *, xdrproc_t, const char *); ^~~~~~~~~~~~~ portmap.c:302:8: warning: passing argument 3 of 'xprt->xp_ops->xp_getargs' from incompatible pointer type [-Wincompatible-pointer-types] if (!svc_getargs(xprt, xdr_pmap, ®)) ^~~~~~~~~~~ portmap.c:302:8: 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] if ((!svc_sendreply(xprt, xdr_int, (caddr_t)&ans)) && ^~~~~~~ In file included from /usr/include/rpc/rpc.h:68:0, from portmap.c:83: /usr/include/rpc/svc.h:266:15: note: expected 'xdrproc_t {aka int (*)(struct __rpc_xdr *, void *)}' but argument is of type 'bool_t (*)(XDR *, int *) {aka int (*)(struct __rpc_xdr *, int *)}' extern bool_t svc_sendreply (SVCXPRT *, xdrproc_t, const char *); ^~~~~~~~~~~~~ portmap.c:356:8: warning: passing argument 3 of 'xprt->xp_ops->xp_getargs' from incompatible pointer type [-Wincompatible-pointer-types] if (!svc_getargs(xprt, xdr_pmap, ®)) ^~~~~~~~~~~ portmap.c:356:8: 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] if ((!svc_sendreply(xprt, xdr_int, (caddr_t)&ans)) && ^~~~~~~ In file included from /usr/include/rpc/rpc.h:68:0, from portmap.c:83: /usr/include/rpc/svc.h:266:15: note: expected 'xdrproc_t {aka int (*)(struct __rpc_xdr *, void *)}' but argument is of type 'bool_t (*)(XDR *, int *) {aka int (*)(struct __rpc_xdr *, int *)}' extern bool_t svc_sendreply (SVCXPRT *, xdrproc_t, const char *); ^~~~~~~~~~~~~ portmap.c:402:8: warning: passing argument 3 of 'xprt->xp_ops->xp_getargs' from incompatible pointer type [-Wincompatible-pointer-types] if (!svc_getargs(xprt, xdr_pmap, ®)) ^~~~~~~~~~~ portmap.c:402:8: 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] if ((!svc_sendreply(xprt, xdr_int, (caddr_t)&port)) && ^~~~~~~ In file included from /usr/include/rpc/rpc.h:68:0, from portmap.c:83: /usr/include/rpc/svc.h:266:15: note: expected 'xdrproc_t {aka int (*)(struct __rpc_xdr *, void *)}' but argument is of type 'bool_t (*)(XDR *, int *) {aka int (*)(struct __rpc_xdr *, int *)}' 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] if ((!svc_sendreply(xprt, xdr_pmaplist, ^~~~~~~~~~~~ In file included from /usr/include/rpc/rpc.h:68:0, from portmap.c:83: /usr/include/rpc/svc.h:266:15: note: expected 'xdrproc_t {aka int (*)(struct __rpc_xdr *, void *)}' but argument is of type 'bool_t (*)(XDR *, struct pmaplist **) {aka int (*)(struct __rpc_xdr *, struct pmaplist **)}' 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] return (xdr_bytes(xdrs, &(epp->args), &(epp->arglen), ARGSIZE)); ^ In file included from /usr/include/rpc/rpc.h:48:0, from portmap.c:83: /usr/include/rpc/xdr.h:294:15: note: expected 'unsigned int *' but argument is of type 'u_long * {aka long unsigned int *}' extern bool_t xdr_bytes(XDR *, char **, unsigned int *, unsigned int); ^~~~~~~~~ portmap.c: In function 'callit': portmap.c:588:7: warning: passing argument 3 of 'xprt->xp_ops->xp_getargs' from incompatible pointer type [-Wincompatible-pointer-types] if (!svc_getargs(xprt, xdr_rmtcall_args, &a)) ^~~~~~~~~~~ portmap.c:588:7: 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] if ((pid = fork()) != 0) { ^~~~ portmap.c:624:8: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] (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] while (wait3((union wait *)NULL, WNOHANG, (struct rusage *)NULL) > 0); ^ In file included from portmap.c:91:0: /usr/include/sys/wait.h:208:7: note: expected 'int *' but argument is of type 'union wait *' pid_t wait3(int *, int, struct rusage *) __RENAME(__wait350); ^~~~~ --- pmap_set --- gcc -Dconst= -Dperror=xperror -DHOSTS_ACCESS -DCHECK_PORT -DFACILITY=LOG_AUTH -DIGNORE_SIGCHLD -O -o pmap_set pmap_set.c --- pmap_dump --- pmap_dump.c:26:1: warning: return type defaults to 'int' [-Wimplicit-int] main(argc, argv) ^~~~ pmap_dump.c: In function 'main': pmap_dump.c:46:31: warning: implicit declaration of function 'perror'; did you mean 'herror'? [-Wimplicit-function-declaration] return (fclose(stdout) ? (perror(argv[0]), 1) : 0); ^~~~~~ herror --- pmap_set --- pmap_set.c:20:1: warning: return type defaults to 'int' [-Wimplicit-int] main(argc, argv) ^~~~ pmap_set.c: In function 'main': pmap_set.c:34:6: warning: implicit declaration of function 'parse_line'; did you mean 'fparseln'? [-Wimplicit-function-declaration] if (parse_line(buf, &prog, &vers, &prot, &port) == 0) { ^~~~~~~~~~ fparseln pmap_set.c: At top level: pmap_set.c:46:1: warning: return type defaults to 'int' [-Wimplicit-int] parse_line(buf, prog, vers, prot, port) ^~~~~~~~~~ pmap_set.c: In function 'parse_line': pmap_set.c:58:9: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] if (strcmp(proto_name, "tcp") == 0) { ^~~~~~ --- portmap --- 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 => Creating /tmp/net/portmap/work/.rc.d/portmap