=> Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. ===> Building for ywho-1.3 --- ywho.o --- --- xdr.o --- clang -O2 -Wall -c xdr.c --- ywho.o --- clang -O2 -Wall -c ywho.c ywho.c:147:17: warning: passing arguments to 'Malloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] hosts = hptr = NEW(hosts_t); ^ ywho.c:78:29: note: expanded from macro 'NEW' #define NEW(a) ((a *) Malloc((unsigned) sizeof(a))) ^ ywho.c:157:13: warning: passing arguments to 'Malloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] hptr = NEW(hosts_t); ^ ywho.c:78:29: note: expanded from macro 'NEW' #define NEW(a) ((a *) Malloc((unsigned) sizeof(a))) ^ ywho.c:160:19: warning: passing arguments to 'Malloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] hptr->next = NEW(hosts_t); ^ ywho.c:78:29: note: expanded from macro 'NEW' #define NEW(a) ((a *) Malloc((unsigned) sizeof(a))) ^ ywho.c:165:23: warning: passing arguments to 'Malloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] hptr->hp.h_name = Strdup(hp->h_name); ^ ywho.c:81:34: note: expanded from macro 'Strdup' ((char *) strcpy((char *) Malloc((unsigned) (strlen(a) + 1)), a)) ^ ywho.c:165:23: warning: passing arguments to 'Malloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ywho.c:81:34: note: expanded from macro 'Strdup' ((char *) strcpy((char *) Malloc((unsigned) (strlen(a) + 1)), a)) ^ ywho.c:171:28: warning: passing arguments to 'Malloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] hptr->hp.h_addr_list = NEWN(char *, i + 1); ^ ywho.c:79:33: note: expanded from macro 'NEWN' #define NEWN(a, n) ((a *) Malloc((unsigned) (sizeof(a) * (n)))) ^ ywho.c:174:28: warning: passing arguments to 'Malloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] hptr->hp.h_addr_list[i] = NEWN(char, hp->h_length); ^ ywho.c:79:33: note: expanded from macro 'NEWN' #define NEWN(a, n) ((a *) Malloc((unsigned) (sizeof(a) * (n)))) ^ ywho.c:131:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] addhost(h) ^ ywho.c:186:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] addnetgroup(ng) ^ ywho.c:374:13: warning: passing arguments to 'do_host' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] do_host(hptr); ^ ywho.c:295: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) ^ ywho.c:381:29: warning: tentative definition of variable with internal linkage has incomplete non-array type 'struct utmpidlearr' [-Wtentative-definition-incomplete-type] static struct utmpidlearr cutmpidlearr; ^ ywho.c:381:15: note: forward declaration of 'struct utmpidlearr' static struct utmpidlearr cutmpidlearr; ^ ywho.c:475:8: error: use of undeclared identifier 'RUSERSVERS_IDLE' RUSERSVERS_IDLE, pertry_timeout, &sock); ^ ywho.c:495:37: error: use of undeclared identifier 'xdr_utmpidlearr' (xdrproc_t)xdr_void, 0, (xdrproc_t)xdr_utmpidlearr, ^ ywho.c:513:18: error: incomplete definition of type 'struct utmpidlearr' if (cutmpidlearr.uia_cnt == 0 && aflag) { ~~~~~~~~~~~~^ ywho.c:381:15: note: forward declaration of 'struct utmpidlearr' static struct utmpidlearr cutmpidlearr; ^ ywho.c:520:30: error: incomplete definition of type 'struct utmpidlearr' for (i = 0; i < cutmpidlearr.uia_cnt; i++) { ~~~~~~~~~~~~^ ywho.c:381:15: note: forward declaration of 'struct utmpidlearr' static struct utmpidlearr cutmpidlearr; ^ ywho.c:521:22: error: incomplete definition of type 'struct utmpidlearr' j = cutmpidlearr.uia_arr[i]->ui_utmp.ut_time; ~~~~~~~~~~~~^ ywho.c:381:15: note: forward declaration of 'struct utmpidlearr' static struct utmpidlearr cutmpidlearr; ^ ywho.c:524:23: error: incomplete definition of type 'struct utmpidlearr' mm = cutmpidlearr.uia_arr[i]->ui_idle; ~~~~~~~~~~~~^ ywho.c:381:15: note: forward declaration of 'struct utmpidlearr' static struct utmpidlearr cutmpidlearr; ^ ywho.c:554:18: error: incomplete definition of type 'struct utmpidlearr' cutmpidlearr.uia_arr[i]->ui_utmp.ut_name, ~~~~~~~~~~~~^ ywho.c:381:15: note: forward declaration of 'struct utmpidlearr' static struct utmpidlearr cutmpidlearr; ^ ywho.c:555:18: error: incomplete definition of type 'struct utmpidlearr' cutmpidlearr.uia_arr[i]->ui_utmp.ut_line, ~~~~~~~~~~~~^ ywho.c:381:15: note: forward declaration of 'struct utmpidlearr' static struct utmpidlearr cutmpidlearr; ^ ywho.c:562:31: error: incomplete definition of type 'struct utmpidlearr' if (*(host = cutmpidlearr.uia_arr[i]->ui_utmp.ut_host)) { ~~~~~~~~~~~~^ ywho.c:381:15: note: forward declaration of 'struct utmpidlearr' static struct utmpidlearr cutmpidlearr; ^ ywho.c:564:36: error: incomplete definition of type 'struct utmpidlearr' (void) strncpy(tmp, host, SIZ_UT_HOST); ^~~~~~~~~~~ ywho.c:560:40: note: expanded from macro 'SIZ_UT_HOST' #define SIZ_UT_HOST sizeof(cutmpidlearr.uia_arr[i]->ui_utmp.ut_host) ~~~~~~~~~~~~^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_string.h:128:34: note: expanded from macro 'strncpy' __builtin___strncpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^~~~~~~~~~~ ywho.c:381:15: note: forward declaration of 'struct utmpidlearr' static struct utmpidlearr cutmpidlearr; ^ ywho.c:565:7: error: incomplete definition of type 'struct utmpidlearr' tmp[SIZ_UT_HOST] = '\0'; ^~~~~~~~~~~ ywho.c:560:40: note: expanded from macro 'SIZ_UT_HOST' #define SIZ_UT_HOST sizeof(cutmpidlearr.uia_arr[i]->ui_utmp.ut_host) ~~~~~~~~~~~~^ ywho.c:381:15: note: forward declaration of 'struct utmpidlearr' static struct utmpidlearr cutmpidlearr; ^ ywho.c:589:30: error: incomplete definition of type 'struct utmpidlearr' for (i = 0; i < cutmpidlearr.uia_cnt; i++) { ~~~~~~~~~~~~^ ywho.c:381:15: note: forward declaration of 'struct utmpidlearr' static struct utmpidlearr cutmpidlearr; ^ ywho.c:594:38: error: incomplete definition of type 'struct utmpidlearr' (void) strncat(tmp, cutmpidlearr.uia_arr[i]->ui_utmp.ut_name, 8); ~~~~~~~~~~~~^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_string.h:143:34: note: expanded from macro 'strncat' __builtin___strncat_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^~~~~~~~~~~ ywho.c:381:15: note: forward declaration of 'struct utmpidlearr' static struct utmpidlearr cutmpidlearr; ^ ywho.c:630:18: error: incomplete definition of type 'struct utmpidlearr' cutmpidlearr.uia_cnt, ~~~~~~~~~~~~^ ywho.c:381:15: note: forward declaration of 'struct utmpidlearr' static struct utmpidlearr cutmpidlearr; ^ ywho.c:631:18: error: incomplete definition of type 'struct utmpidlearr' cutmpidlearr.uia_cnt == 1 ? " user" : "users", ~~~~~~~~~~~~^ ywho.c:381:15: note: forward declaration of 'struct utmpidlearr' static struct utmpidlearr cutmpidlearr; ^ ywho.c:638:37: error: use of undeclared identifier 'xdr_utmpidlearr' clnt_freeres(client, (xdrproc_t)xdr_utmpidlearr, (caddr_t) &cutmpidlearr); ^ ywho.c:407:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] do_host(hst) ^ ywho.c:101:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void do_host(); ^ ywho.c:648:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Malloc(nth) ^ ywho.c:100:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static align_t Malloc(); ^ ywho.c:668:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] do_timeout(signum) ^ ywho.c:102:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void do_timeout(); ^ ywho.c:381:29: error: tentative definition has type 'struct utmpidlearr' that is never completed static struct utmpidlearr cutmpidlearr; ^ ywho.c:381:15: note: forward declaration of 'struct utmpidlearr' static struct utmpidlearr cutmpidlearr; ^ 18 warnings and 17 errors generated. *** [ywho.o] Error code 1 bmake: stopped in /Users/pbulk/build/net/ywho/work/ywho-1.3 1 error bmake: stopped in /Users/pbulk/build/net/ywho/work/ywho-1.3 *** Error code 2 Stop. bmake[1]: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-arm64/net/ywho *** Error code 1 Stop. bmake: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-arm64/net/ywho