=> Bootstrap dependency digest>=20010302: found digest-20160304 ===> Building for nfsshell-1.0nb1 --- mount.h --- --- mount_clnt.c --- --- mount_svc.c --- --- mount.h --- rpcgen -C mount.x --- mount_clnt.c --- rpcgen -C mount.x --- mount_svc.c --- rpcgen -C mount.x --- nfs_prot.h --- --- nfs_prot_clnt.c --- --- nfs_prot_svc.c --- --- nfs_prot.h --- rpcgen -C nfs_prot.x --- nfs_prot_clnt.c --- rpcgen -C nfs_prot.x --- nfs_prot_svc.c --- rpcgen -C nfs_prot.x --- mount_xdr.o --- --- nfs_prot_clnt.o --- --- nfs_prot_xdr.o --- --- nfs_prot_clnt.o --- gcc -O2 -O2 -I. -c nfs_prot_clnt.c --- mount_xdr.o --- gcc -O2 -O2 -I. -c mount_xdr.c --- nfs_prot_xdr.o --- gcc -O2 -O2 -I. -c nfs_prot_xdr.c --- nfsshell.o --- --- mount_clnt.o --- --- nfsbug.o --- --- nfsshell.o --- gcc -O2 -O2 -I. -c nfsshell.c --- mount_clnt.o --- gcc -O2 -O2 -I. -c mount_clnt.c --- nfsbug.o --- gcc -O2 -O2 -I. -c nfsbug.c nfsbug.c:43:10: fatal error: 'ufs/inode.h' file not found #include ^~~~~~~~~~~~~ 1 error generated. *** [nfsbug.o] Error code 1 bmake: stopped in /var/pkgsrc/work/security/nfsbug/work/nfsbug --- nfsshell.o --- nfsshell.c:170:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] main(argc, argv) ^ nfsshell.c:179:19: warning: implicit declaration of function 'getopt' is invalid in C99 [-Wimplicit-function-declaration] while ((opt = getopt(argc, argv, "vi")) != EOF) { ^ nfsshell.c:199:13: warning: implicit declaration of function 'command' is invalid in C99 [-Wimplicit-function-declaration] if ((cmd = command(argvec[0])) == CMD_QUIT) ^ nfsshell.c:215:6: warning: implicit declaration of function 'do_lcd' is invalid in C99 [-Wimplicit-function-declaration] do_lcd(argcount, argvec); ^ nfsshell.c:260:6: warning: implicit declaration of function 'do_mroot' is invalid in C99 [-Wimplicit-function-declaration] do_mroot(&uid, argcount, argvec); ^ nfsshell.c:295:21: warning: implicit declaration of function 'close_mount' is invalid in C99 [-Wimplicit-function-declaration] if (remotehost) close_mount(); ^ nfsshell.c:361:2: warning: implicit declaration of function 'open_mount' is invalid in C99 [-Wimplicit-function-declaration] open_mount(argv[1]); ^ nfsshell.c:436:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] do_lcd(argc, argv) ^ nfsshell.c:443:10: warning: implicit declaration of function 'chdir' is invalid in C99 [-Wimplicit-function-declaration] if (chdir(home) != 0) perror("lcd"); ^ nfsshell.c:445:6: warning: implicit declaration of function 'chdir' is invalid in C99 [-Wimplicit-function-declaration] if (chdir(argv[1]) != 0) perror("lcd"); ^ nfsshell.c:446:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ nfsshell.c:519:10: warning: implicit declaration of function 'getdirentries' is invalid in C99 [-Wimplicit-function-declaration] if (!getdirentries(directory_handle, &table, &ptr, 20)) ^ nfsshell.c:522:7: warning: implicit declaration of function 'match' is invalid in C99 [-Wimplicit-function-declaration] if (!match(*p, argc, argv)) continue; ^ nfsshell.c:600:5: warning: implicit declaration of function 'writefiledate' is invalid in C99 [-Wimplicit-function-declaration] writefiledate(res->diropres_u.diropres.attributes.ctime.seconds); ^ nfsshell.c:662:10: warning: implicit declaration of function 'getdirentries' is invalid in C99 [-Wimplicit-function-declaration] if (!getdirentries(directory_handle, &table, &ptr, 20)) ^ nfsshell.c:666:7: warning: implicit declaration of function 'match' is invalid in C99 [-Wimplicit-function-declaration] if (!match(*p, argc, argv)) continue; ^ nfsshell.c:733:33: warning: incompatible pointer types passing 'fhandle' (aka 'char [32]') to parameter of type 'nfs_fh *' (aka 'struct nfs_fh *') [-Wincompatible-pointer-types] if ((res = nfsproc_statfs_2(directory_handle, nfsclient)) == NULL) { ^~~~~~~~~~~~~~~~ ./nfs_prot.h:316:46: note: passing argument to parameter here extern statfsres * nfsproc_statfs_2(nfs_fh *, CLIENT *); ^ nfsshell.c:1155:12: warning: implicit declaration of function 'privileged' is invalid in C99 [-Wimplicit-function-declaration] sock = privileged(); ^ nfsshell.c:1174:16: warning: implicit declaration of function 'xtoa' is invalid in C99 [-Wimplicit-function-declaration] *p++ = (char) xtoa(argv[i + 1]); ^ nfsshell.c:1228:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] do_mroot(var, argc, argv) ^ nfsshell.c:1247:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ nfsshell.c:1296:14: warning: implicit declaration of function 'open_mount' is invalid in C99 [-Wimplicit-function-declaration] } else if (!open_mount(host)) ^ nfsshell.c:1304:5: warning: implicit declaration of function 'open_nfs' is invalid in C99 [-Wimplicit-function-declaration] open_nfs(path, umount, portmap); ^ nfsshell.c:1444:16: warning: implicit declaration of function 'privileged' is invalid in C99 [-Wimplicit-function-declaration] int sock = privileged(); ^ nfsshell.c:1448:2: warning: implicit declaration of function 'close_mount' is invalid in C99 [-Wimplicit-function-declaration] close_mount(); ^ nfsshell.c:1491:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] close_mount() ^ nfsshell.c:1501:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ nfsshell.c:1513:16: warning: implicit declaration of function 'privileged' is invalid in C99 [-Wimplicit-function-declaration] int sock = privileged(); ^ nfsshell.c:1582:7: warning: incompatible pointer types passing 'bool_t (XDR *, dirpath *)' (aka 'int (struct XDR *, char **)') to parameter of type 'xdrproc_t' (aka 'int (*)(struct XDR *, ...)') [-Wincompatible-pointer-types] xdr_dirpath, argp, xdr_fhstatus, &res, timeout, &port)) != RPC_SUCCESS) { ^~~~~~~~~~~ /usr/include/rpc/pmap_clnt.h:74:19: note: passing argument to parameter here xdrproc_t, caddr_t, ^ nfsshell.c:1582:20: warning: incompatible pointer types passing 'dirpath *' (aka 'char **') to parameter of type 'caddr_t' (aka 'char *'); dereference with * [-Wincompatible-pointer-types] xdr_dirpath, argp, xdr_fhstatus, &res, timeout, &port)) != RPC_SUCCESS) { ^~~~ * /usr/include/rpc/pmap_clnt.h:74:28: note: passing argument to parameter here xdrproc_t, caddr_t, ^ nfsshell.c:1582:26: warning: incompatible pointer types passing 'bool_t (XDR *, fhstatus *)' (aka 'int (struct XDR *, struct fhstatus *)') to parameter of type 'xdrproc_t' (aka 'int (*)(struct XDR *, ...)') [-Wincompatible-pointer-types] xdr_dirpath, argp, xdr_fhstatus, &res, timeout, &port)) != RPC_SUCCESS) { ^~~~~~~~~~~~ /usr/include/rpc/pmap_clnt.h:75:19: note: passing argument to parameter here xdrproc_t, caddr_t, ^ nfsshell.c:1582:40: warning: incompatible pointer types passing 'fhstatus *' (aka 'struct fhstatus *') to parameter of type 'caddr_t' (aka 'char *') [-Wincompatible-pointer-types] xdr_dirpath, argp, xdr_fhstatus, &res, timeout, &port)) != RPC_SUCCESS) { ^~~~ /usr/include/rpc/pmap_clnt.h:75:28: note: passing argument to parameter here xdrproc_t, caddr_t, ^ nfsshell.c:1597:33: warning: incompatible pointer types passing 'fhandle' (aka 'char [32]') to parameter of type 'nfs_fh *' (aka 'struct nfs_fh *') [-Wincompatible-pointer-types] if ((res = nfsproc_statfs_2(directory_handle, nfsclient)) == NULL) ^~~~~~~~~~~~~~~~ ./nfs_prot.h:316:46: note: passing argument to parameter here extern statfsres * nfsproc_statfs_2(nfs_fh *, CLIENT *); ^ nfsshell.c:1621:14: warning: incompatible pointer types passing 'caddr_t' (aka 'char *') to parameter of type 'const struct sockaddr *' [-Wincompatible-pointer-types] if (bind(s, (caddr_t)&sin, sizeof (sin)/*, 0*//*HF*/) >= 0) { ^~~~~~~~~~~~~ /usr/include/sys/socket.h:616:38: note: passing argument to parameter here int bind(int, const struct sockaddr *, socklen_t); ^ nfsshell.c:1664:9: warning: implicit declaration of function 'gethostname' is invalid in C99 [-Wimplicit-function-declaration] if (gethostname(machname, MAX_MACHINE_NAME) == -1) { ^ nfsshell.c:1670:52: warning: passing 'int [1]' to parameter of type 'u_int *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] return (authunix_create(machname, uid, gid, 1, gids)); ^~~~ /usr/include/rpc/auth.h:251:64: note: passing argument to parameter here extern AUTH *authunix_create(char *, u_int, u_int, int, u_int *); ^ nfsshell.c:1678:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] getdirentries(dirhandle, table, ptr, nentries) ^ nfsshell.c:1771:6: warning: implicit declaration of function 'matchpattern' is invalid in C99 [-Wimplicit-function-declaration] if (matchpattern(s, argv[i])) ^ nfsshell.c:1782:12: warning: implicit declaration of function 'amatchpattern' is invalid in C99 [-Wimplicit-function-declaration] return amatchpattern(s, p); ^ nfsshell.c:1792:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (scc = *s++) ~~~~^~~~~~ nfsshell.c:1792:13: note: place parentheses around the assignment to silence this warning if (scc = *s++) ^ ( ) nfsshell.c:1792:13: note: use '==' to turn this assignment into an equality comparison if (scc = *s++) ^ == nfsshell.c:1800:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (cc = *p++) { ~~~^~~~~~ nfsshell.c:1800:12: note: place parentheses around the assignment to silence this warning while (cc = *p++) { ^ ( ) nfsshell.c:1800:12: note: use '==' to turn this assignment into an equality comparison while (cc = *p++) { ^ == nfsshell.c:1815:9: warning: implicit declaration of function 'umatchpattern' is invalid in C99 [-Wimplicit-function-declaration] return umatchpattern(--s, p); ^ 42 warnings generated. 1 error bmake: stopped in /var/pkgsrc/work/security/nfsbug/work/nfsbug *** Error code 2 Stop. bmake[1]: stopped in /usr/pkgsrc/security/nfsbug *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/security/nfsbug