=> "/opt/pkg/bin/bmake" ["-C", "/Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/net/ywho", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for ywho-1.3 --- ywho.o --- --- xdr.o --- --- ywho.o --- clang -O2 -Wall -c ywho.c --- xdr.o --- clang -O2 -Wall -c xdr.c --- ywho.o --- ywho.c:147:17: warning: passing arguments to 'Malloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 147 | hosts = hptr = NEW(hosts_t); | ^ ywho.c:78:29: note: expanded from macro 'NEW' 78 | #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 C23 [-Wdeprecated-non-prototype] 157 | hptr = NEW(hosts_t); | ^ ywho.c:78:29: note: expanded from macro 'NEW' 78 | #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 C23 [-Wdeprecated-non-prototype] 160 | hptr->next = NEW(hosts_t); | ^ ywho.c:78:29: note: expanded from macro 'NEW' 78 | #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 C23 [-Wdeprecated-non-prototype] 165 | hptr->hp.h_name = Strdup(hp->h_name); | ^ ywho.c:81:34: note: expanded from macro 'Strdup' 81 | ((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 C23 [-Wdeprecated-non-prototype] ywho.c:81:34: note: expanded from macro 'Strdup' 81 | ((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 C23 [-Wdeprecated-non-prototype] 171 | hptr->hp.h_addr_list = NEWN(char *, i + 1); | ^ ywho.c:79:33: note: expanded from macro 'NEWN' 79 | #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 C23 [-Wdeprecated-non-prototype] 174 | hptr->hp.h_addr_list[i] = NEWN(char, hp->h_length); | ^ ywho.c:79:33: note: expanded from macro 'NEWN' 79 | #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 C23 [-Wdeprecated-non-prototype] 131 | 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 C23 [-Wdeprecated-non-prototype] 186 | 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 C23 [-Wdeprecated-non-prototype] 374 | 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 C23 [-Wdeprecated-non-prototype] 295 | 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] 381 | static struct utmpidlearr cutmpidlearr; | ^ ywho.c:381:15: note: forward declaration of 'struct utmpidlearr' 381 | static struct utmpidlearr cutmpidlearr; | ^ ywho.c:475:8: error: use of undeclared identifier 'RUSERSVERS_IDLE' 475 | RUSERSVERS_IDLE, pertry_timeout, &sock); | ^ ywho.c:495:37: error: use of undeclared identifier 'xdr_utmpidlearr' 495 | (xdrproc_t)xdr_void, 0, (xdrproc_t)xdr_utmpidlearr, | ^ ywho.c:513:18: error: incomplete definition of type 'struct utmpidlearr' 513 | if (cutmpidlearr.uia_cnt == 0 && aflag) { | ~~~~~~~~~~~~^ ywho.c:381:15: note: forward declaration of 'struct utmpidlearr' 381 | static struct utmpidlearr cutmpidlearr; | ^ ywho.c:520:30: error: incomplete definition of type 'struct utmpidlearr' 520 | for (i = 0; i < cutmpidlearr.uia_cnt; i++) { | ~~~~~~~~~~~~^ ywho.c:381:15: note: forward declaration of 'struct utmpidlearr' 381 | static struct utmpidlearr cutmpidlearr; | ^ ywho.c:521:22: error: incomplete definition of type 'struct utmpidlearr' 521 | j = cutmpidlearr.uia_arr[i]->ui_utmp.ut_time; | ~~~~~~~~~~~~^ ywho.c:381:15: note: forward declaration of 'struct utmpidlearr' 381 | static struct utmpidlearr cutmpidlearr; | ^ ywho.c:524:23: error: incomplete definition of type 'struct utmpidlearr' 524 | mm = cutmpidlearr.uia_arr[i]->ui_idle; | ~~~~~~~~~~~~^ ywho.c:381:15: note: forward declaration of 'struct utmpidlearr' 381 | static struct utmpidlearr cutmpidlearr; | ^ ywho.c:554:18: error: incomplete definition of type 'struct utmpidlearr' 554 | cutmpidlearr.uia_arr[i]->ui_utmp.ut_name, | ~~~~~~~~~~~~^ ywho.c:381:15: note: forward declaration of 'struct utmpidlearr' 381 | static struct utmpidlearr cutmpidlearr; | ^ ywho.c:555:18: error: incomplete definition of type 'struct utmpidlearr' 555 | cutmpidlearr.uia_arr[i]->ui_utmp.ut_line, | ~~~~~~~~~~~~^ ywho.c:381:15: note: forward declaration of 'struct utmpidlearr' 381 | static struct utmpidlearr cutmpidlearr; | ^ ywho.c:562:31: error: incomplete definition of type 'struct utmpidlearr' 562 | if (*(host = cutmpidlearr.uia_arr[i]->ui_utmp.ut_host)) { | ~~~~~~~~~~~~^ ywho.c:381:15: note: forward declaration of 'struct utmpidlearr' 381 | static struct utmpidlearr cutmpidlearr; | ^ ywho.c:564:36: error: incomplete definition of type 'struct utmpidlearr' 564 | (void) strncpy(tmp, host, SIZ_UT_HOST); | ^~~~~~~~~~~ ywho.c:560:40: note: expanded from macro 'SIZ_UT_HOST' 560 | #define SIZ_UT_HOST sizeof(cutmpidlearr.uia_arr[i]->ui_utmp.ut_host) | ~~~~~~~~~~~~^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_string.h:128:34: note: expanded from macro 'strncpy' 128 | __builtin___strncpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) | ^~~~~~~~~~~ ywho.c:381:15: note: forward declaration of 'struct utmpidlearr' 381 | static struct utmpidlearr cutmpidlearr; | ^ ywho.c:565:7: error: incomplete definition of type 'struct utmpidlearr' 565 | tmp[SIZ_UT_HOST] = '\0'; | ^~~~~~~~~~~ ywho.c:560:40: note: expanded from macro 'SIZ_UT_HOST' 560 | #define SIZ_UT_HOST sizeof(cutmpidlearr.uia_arr[i]->ui_utmp.ut_host) | ~~~~~~~~~~~~^ ywho.c:381:15: note: forward declaration of 'struct utmpidlearr' 381 | static struct utmpidlearr cutmpidlearr; | ^ ywho.c:589:30: error: incomplete definition of type 'struct utmpidlearr' 589 | for (i = 0; i < cutmpidlearr.uia_cnt; i++) { | ~~~~~~~~~~~~^ ywho.c:381:15: note: forward declaration of 'struct utmpidlearr' 381 | static struct utmpidlearr cutmpidlearr; | ^ ywho.c:594:38: error: incomplete definition of type 'struct utmpidlearr' 594 | (void) strncat(tmp, cutmpidlearr.uia_arr[i]->ui_utmp.ut_name, 8); | ~~~~~~~~~~~~^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_string.h:143:34: note: expanded from macro 'strncat' 143 | __builtin___strncat_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) | ^~~~~~~~~~~ ywho.c:381:15: note: forward declaration of 'struct utmpidlearr' 381 | static struct utmpidlearr cutmpidlearr; | ^ ywho.c:630:18: error: incomplete definition of type 'struct utmpidlearr' 630 | cutmpidlearr.uia_cnt, | ~~~~~~~~~~~~^ ywho.c:381:15: note: forward declaration of 'struct utmpidlearr' 381 | static struct utmpidlearr cutmpidlearr; | ^ ywho.c:631:18: error: incomplete definition of type 'struct utmpidlearr' 631 | cutmpidlearr.uia_cnt == 1 ? " user" : "users", | ~~~~~~~~~~~~^ ywho.c:381:15: note: forward declaration of 'struct utmpidlearr' 381 | static struct utmpidlearr cutmpidlearr; | ^ ywho.c:638:37: error: use of undeclared identifier 'xdr_utmpidlearr' 638 | 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 C23 [-Wdeprecated-non-prototype] 407 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 101 | 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 C23 [-Wdeprecated-non-prototype] 648 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 100 | 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 C23 [-Wdeprecated-non-prototype] 668 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 102 | static void do_timeout(); | ^ ywho.c:381:29: error: tentative definition has type 'struct utmpidlearr' that is never completed 381 | static struct utmpidlearr cutmpidlearr; | ^ ywho.c:381:15: note: forward declaration of 'struct utmpidlearr' 381 | static struct utmpidlearr cutmpidlearr; | ^ 18 warnings and 17 errors generated. *** [ywho.o] Error code 1 bmake: stopped making "all" in /var/tmp/work/net/ywho/work/ywho-1.3 bmake: 1 error bmake: stopped making "all" in /var/tmp/work/net/ywho/work/ywho-1.3 *** Error code 2 Stop. bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/net/ywho *** Error code 1 Stop. bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/net/ywho