=> Bootstrap dependency digest>=20211023: found digest-20220214 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] 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] exit(1); ^ testing.c:21:3: note: include the header <stdlib.h> 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] if (!xdr_u_long(xdrs, &objp->ip_addr)) ^~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/rpc/xdr.h:374:47: note: passing argument to parameter here 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] memset((char *)&clnt_res, 0, sizeof(clnt_res)); ^ drac_clnt.c:18:2: note: include the header <string.h> 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] if (clnt_call(clnt, DRACPROC_ADD, xdr_drac_add_parm, argp, xdr_addstat, &clnt_res, TIMEOUT) != RPC_SUCCESS) ^~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.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)) ^~~~~ 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] if (clnt_call(clnt, DRACPROC_ADD, xdr_drac_add_parm, argp, xdr_addstat, &clnt_res, TIMEOUT) != RPC_SUCCESS) ^~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.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)) ^~~~ 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 C2x [-Wdeprecated-non-prototype] 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] 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] 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] 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 C2x [-Wdeprecated-non-prototype] 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] 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] 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] 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 C2x [-Wdeprecated-non-prototype] 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 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] 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] (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 C2x [-Wdeprecated-non-prototype] 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] 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] 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] (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] 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] 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] iniclist() { ^ int 18 warnings and 1 error generated. *** Error code 1 Stop. bmake: stopped in /Users/pbulk/build/mail/drac/work *** Error code 1 Stop. bmake[1]: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-arm64/mail/drac *** Error code 1 Stop. bmake: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-arm64/mail/drac