=> "/opt/pkg/bin/bmake" ["-C", "/Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/net/mrstat", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] ===> Building for mrstat-1.21 --- mrstat.o --- clang -pipe -Os -c mrstat.c mrstat.c:256:28: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 256 | mach->sclnt = clnt_create(mach->host_internal.name, RSTATPROG, | ^~~~~~~~~~~~~~~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/rpc/clnt.h:318:39: note: passing argument to parameter here 318 | extern CLIENT *clnt_create __P((char *, unsigned int, unsigned int, char *)); | ^ mrstat.c:258:69: warning: incompatible function pointer types passing 'int (void)' to parameter of type 'xdrproc_t' (aka 'int (*)(struct __rpc_xdr *, void *, unsigned int)') [-Wincompatible-function-pointer-types] 258 | if (mach->sclnt == 0 || clnt_call(mach->sclnt, RSTATPROC_STATS, xdr_void, | ^~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/rpc/clnt.h:197:38: note: expanded from macro 'clnt_call' 197 | ((*(rh)->cl_ops->cl_call)(rh, proc, xargs, argsp, xres, resp, secs)) | ^~~~~ mrstat.c:259:10: warning: incompatible function 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-function-pointer-types] 259 | NULL, xdr_statstime, &statsp, timeout) != RPC_SUCCESS) | ^~~~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/rpc/clnt.h:197:52: note: expanded from macro 'clnt_call' 197 | ((*(rh)->cl_ops->cl_call)(rh, proc, xargs, argsp, xres, resp, secs)) | ^~~~ mrstat.c:268:31: warning: incompatible function 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-function-pointer-types] 268 | clnt_freeres(mach->sclnt, xdr_statstime, (char *)&statsp); | ^~~~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/rpc/clnt.h:224:68: note: expanded from macro 'clnt_freeres' 224 | #define clnt_freeres(rh,xres,resp) ((*(rh)->cl_ops->cl_freeres)(rh,xres,resp)) | ^~~~ mrstat.c:275:14: error: expected ')' 275 | (const rpcprog_t)RUSERSPROG, | ^ mrstat.c:275:7: note: to match this '(' 275 | (const rpcprog_t)RUSERSPROG, | ^ mrstat.c:275:14: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 275 | (const rpcprog_t)RUSERSPROG, | ~~~~~ ^ | int mrstat.c:274:28: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 274 | mach->uclnt = clnt_create(mach->host_internal.name, | ^~~~~~~~~~~~~~~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/rpc/clnt.h:318:39: note: passing argument to parameter here 318 | extern CLIENT *clnt_create __P((char *, unsigned int, unsigned int, char *)); | ^ mrstat.c:278:11: error: expected ')' 278 | (const rpcproc_t)RUSERSPROC_NAMES, xdr_void, | ^ mrstat.c:278:4: note: to match this '(' 278 | (const rpcproc_t)RUSERSPROC_NAMES, xdr_void, | ^ mrstat.c:278:11: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 278 | (const rpcproc_t)RUSERSPROC_NAMES, xdr_void, | ~~~~~ ^ | int /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/rpc/clnt.h:197:32: note: expanded from macro 'clnt_call' 197 | ((*(rh)->cl_ops->cl_call)(rh, proc, xargs, argsp, xres, resp, secs)) | ^~~~ mrstat.c:278:39: warning: incompatible function pointer types passing 'int (void)' to parameter of type 'xdrproc_t' (aka 'int (*)(struct __rpc_xdr *, void *, unsigned int)') [-Wincompatible-function-pointer-types] 278 | (const rpcproc_t)RUSERSPROC_NAMES, xdr_void, | ^~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/rpc/clnt.h:197:38: note: expanded from macro 'clnt_call' 197 | ((*(rh)->cl_ops->cl_call)(rh, proc, xargs, argsp, xres, resp, secs)) | ^~~~~ mrstat.c:338:27: error: use of undeclared identifier 'INFTIM' 338 | if (poll(&validfd, 1, INFTIM) != 1 || | ^ 8 warnings and 3 errors generated. *** [mrstat.o] Error code 1 bmake: stopped making "all" in /var/tmp/work/net/mrstat/work/mrstat-1.21 bmake: 1 error bmake: stopped making "all" in /var/tmp/work/net/mrstat/work/mrstat-1.21 *** Error code 2 Stop. bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/net/mrstat *** Error code 1 Stop. bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/net/mrstat