=> Bootstrap dependency digest>=20010302: found digest-20190127 ===> Skipping vulnerability checks. WARNING: No /opt/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/opt/pkg/sbin/pkg_admin -K /opt/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for mrstat-1.21 --- mrstat.o --- clang -O2 -c mrstat.c mrstat.c:256:28: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] mach->sclnt = clnt_create(mach->host_internal.name, RSTATPROG, ^~~~~~~~~~~~~~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/rpc/clnt.h:318:39: note: passing argument to parameter here extern CLIENT *clnt_create __P((char *, unsigned int, unsigned int, char *)); ^ mrstat.c:258:69: warning: incompatible pointer types passing 'int (void)' to parameter of type 'xdrproc_t' (aka 'int (*)(struct __rpc_xdr *, void *, unsigned int)') [-Wincompatible-pointer-types] if (mach->sclnt == 0 || clnt_call(mach->sclnt, RSTATPROC_STATS, xdr_void, ^~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/rpc/clnt.h:197:38: note: expanded from macro 'clnt_call' ((*(rh)->cl_ops->cl_call)(rh, proc, xargs, argsp, xres, resp, secs)) ^~~~~ mrstat.c:259:10: warning: incompatible pointer types passing 'int (XDR *, statstime *)' (aka 'int (struct __rpc_xdr *, struct statstime *)') to parameter of type 'xdrproc_t' (aka 'int (*)(struct __rpc_xdr *, void *, unsigned int)') [-Wincompatible-pointer-types] NULL, xdr_statstime, &statsp, timeout) != RPC_SUCCESS) ^~~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/rpc/clnt.h:197:52: note: expanded from macro 'clnt_call' ((*(rh)->cl_ops->cl_call)(rh, proc, xargs, argsp, xres, resp, secs)) ^~~~ mrstat.c:268:31: warning: incompatible pointer types passing 'int (XDR *, statstime *)' (aka 'int (struct __rpc_xdr *, struct statstime *)') to parameter of type 'xdrproc_t' (aka 'int (*)(struct __rpc_xdr *, void *, unsigned int)') [-Wincompatible-pointer-types] clnt_freeres(mach->sclnt, xdr_statstime, (char *)&statsp); ^~~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/rpc/clnt.h:224:68: note: expanded from macro 'clnt_freeres' #define clnt_freeres(rh,xres,resp) ((*(rh)->cl_ops->cl_freeres)(rh,xres,resp)) ^~~~ mrstat.c:275:14: error: expected ')' (const rpcprog_t)RUSERSPROG, ^ mrstat.c:275:7: note: to match this '(' (const rpcprog_t)RUSERSPROG, ^ mrstat.c:275:14: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] (const rpcprog_t)RUSERSPROG, ~~~~~ ^ mrstat.c:274:28: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] mach->uclnt = clnt_create(mach->host_internal.name, ^~~~~~~~~~~~~~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/rpc/clnt.h:318:39: note: passing argument to parameter here extern CLIENT *clnt_create __P((char *, unsigned int, unsigned int, char *)); ^ mrstat.c:278:11: error: expected ')' (const rpcproc_t)RUSERSPROC_NAMES, xdr_void, ^ mrstat.c:278:4: note: to match this '(' (const rpcproc_t)RUSERSPROC_NAMES, xdr_void, ^ mrstat.c:278:11: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] (const rpcproc_t)RUSERSPROC_NAMES, xdr_void, ~~~~~ ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/rpc/clnt.h:197:32: note: expanded from macro 'clnt_call' ((*(rh)->cl_ops->cl_call)(rh, proc, xargs, argsp, xres, resp, secs)) ^~~~ mrstat.c:278:39: warning: incompatible pointer types passing 'int (void)' to parameter of type 'xdrproc_t' (aka 'int (*)(struct __rpc_xdr *, void *, unsigned int)') [-Wincompatible-pointer-types] (const rpcproc_t)RUSERSPROC_NAMES, xdr_void, ^~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/rpc/clnt.h:197:38: note: expanded from macro 'clnt_call' ((*(rh)->cl_ops->cl_call)(rh, proc, xargs, argsp, xres, resp, secs)) ^~~~~ mrstat.c:338:27: error: use of undeclared identifier 'INFTIM' if (poll(&validfd, 1, INFTIM) != 1 || ^ 8 warnings and 3 errors generated. *** [mrstat.o] Error code 1 bmake: stopped in /opt/work/net/mrstat/work/mrstat-1.21 1 error bmake: stopped in /opt/work/net/mrstat/work/mrstat-1.21 *** Error code 2 Stop. bmake[1]: stopped in /opt/pkgsrc/net/mrstat *** Error code 1 Stop. bmake: stopped in /opt/pkgsrc/net/mrstat