=> "/opt/pkg/bin/bmake" ["-C", "/Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/mail/drac", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for drac-1.12nb1 cc -pipe -Os -c testing.c testing.c:10:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 10 | main(argc, argv) | ^ | int testing.c:21:3: warning: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 21 | exit(1); | ^ testing.c:21:3: note: include the header or explicitly provide a declaration for 'exit' testing.c:25:7: warning: call to undeclared function 'dracauth'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 25 | rc = dracauth(host, ip, &err); | ^ testing.c:10:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 10 | main(argc, argv) | ^ 4 warnings generated. rpcgen drac.x cc -pipe -Os -c dracauth.c dracauth.c:25:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 25 | dracauth(server, userip, errmsg) | ^ dracauth.c:71:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | dracconn(server, errmsg) | ^ dracauth.c:89:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 89 | dracsend(userip, errmsg) | ^ dracauth.c:125:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 125 | dracdisc(errmsg) | ^ 4 warnings generated. cc -pipe -Os -c drac_xdr.c drac_xdr.c:9:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9 | xdr_drac_add_parm(xdrs, objp) | ^ drac_xdr.c:14:24: warning: incompatible pointer types passing 'u_long *' (aka 'unsigned long *') to parameter of type 'unsigned int *' [-Wincompatible-pointer-types] 14 | if (!xdr_u_long(xdrs, &objp->ip_addr)) | ^~~~~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/rpc/xdr.h:375:47: note: passing argument to parameter here 375 | extern bool_t xdr_u_long(XDR *, unsigned int *); | ^ drac_xdr.c:20:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 20 | xdr_addstat(xdrs, objp) | ^ 3 warnings generated. cc -pipe -Os -c drac_clnt.c drac_clnt.c:12:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 12 | dracproc_add_1(argp, clnt) | ^ drac_clnt.c:18:2: warning: call to undeclared library function 'memset' with type 'void *(void *, int, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 18 | memset((char *)&clnt_res, 0, sizeof(clnt_res)); | ^ drac_clnt.c:18:2: note: include the header or explicitly provide a declaration for 'memset' drac_clnt.c:19:36: warning: incompatible function pointer types passing 'int (XDR *, drac_add_parm *)' (aka 'int (struct __rpc_xdr *, struct drac_add_parm *)') to parameter of type 'xdrproc_t' (aka 'int (*)(struct __rpc_xdr *, void *, unsigned int)') [-Wincompatible-function-pointer-types] 19 | if (clnt_call(clnt, DRACPROC_ADD, xdr_drac_add_parm, argp, xdr_addstat, &clnt_res, 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:38: note: expanded from macro 'clnt_call' 197 | ((*(rh)->cl_ops->cl_call)(rh, proc, xargs, argsp, xres, resp, secs)) | ^~~~~ drac_clnt.c:19:61: warning: incompatible function pointer types passing 'int (XDR *, addstat *)' (aka 'int (struct __rpc_xdr *, enum addstat *)') to parameter of type 'xdrproc_t' (aka 'int (*)(struct __rpc_xdr *, void *, unsigned int)') [-Wincompatible-function-pointer-types] 19 | if (clnt_call(clnt, DRACPROC_ADD, xdr_drac_add_parm, argp, xdr_addstat, &clnt_res, 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)) | ^~~~ 4 warnings generated. rm -f libdrac.a ar cq libdrac.a dracauth.o drac_xdr.o drac_clnt.o ranlib libdrac.a cc -o testing testing.o -L. -ldrac cc -pipe -Os -c rpc.dracd.c rpc.dracd.c:66:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 66 | void catcher(n) int n; { | ^ rpc.dracd.c:71:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 71 | main(argc, argv) int argc; char **argv; { | ^ | int rpc.dracd.c:76:17: warning: call to undeclared function 'getopt'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 76 | while ((c = getopt(argc, argv, "ie:")) != EOF) { | ^ rpc.dracd.c:91:5: warning: call to undeclared function 'dracmain'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 91 | dracmain(); /* the main function from rpcgen */ | ^ rpc.dracd.c:71:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | main(argc, argv) int argc; char **argv; { | ^ rpc.dracd.c:96:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 96 | drac_run() { | ^ | int rpc.dracd.c:114:5: warning: call to undeclared function 'iniclist'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 114 | iniclist(); | ^ rpc.dracd.c:215:6: warning: call to undeclared function 'expire'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 215 | expire(); | ^ rpc.dracd.c:245:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 245 | dracproc_add_1(argp, rqstp) | ^ rpc.dracd.c:245:1: error: conflicting types for 'dracproc_add_1' ./drac.h:56:19: note: previous declaration is here 56 | extern addstat * dracproc_add_1(drac_add_parm *, CLIENT *); | ^ rpc.dracd.c:331:7: warning: call to undeclared function 'lockdb'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 331 | if ( lockdb() == (-1) ) { | ^ rpc.dracd.c:353:8: warning: call to undeclared function 'unlockdb'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 353 | (void)unlockdb(); | ^ rpc.dracd.c:245:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 245 | dracproc_add_1(argp, rqstp) | ^ rpc.dracd.c:360:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 360 | expire() { | ^ | int rpc.dracd.c:374:10: warning: call to undeclared function 'lockdb'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 374 | if ( lockdb() == (-1) ) { | ^ rpc.dracd.c:439:12: warning: call to undeclared function 'unlockdb'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 439 | (void) unlockdb(); | ^ rpc.dracd.c:443:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 443 | lockdb() { | ^ | int rpc.dracd.c:457:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 457 | unlockdb() { | ^ | int rpc.dracd.c:472:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 472 | iniclist() { | ^ | int 18 warnings and 1 error generated. *** Error code 1 Stop. bmake: stopped making "all" in /var/tmp/work/mail/drac/work *** Error code 1 Stop. bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/mail/drac *** Error code 1 Stop. bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/mail/drac