=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/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 --- gcc -O2 -Wall -c ywho.c --- xdr.o --- gcc -O2 -Wall -c xdr.c xdr.c: In function 'xdr_utmp': xdr.c:7:1: warning: old-style function definition [-Wold-style-definition] 7 | xdr_utmp(xdrs, objp) | ^~~~~~~~ xdr.c: In function 'xdr_utmpptr': xdr.c:39:1: warning: old-style function definition [-Wold-style-definition] 39 | xdr_utmpptr(xdrs, objpp) | ^~~~~~~~~~~ xdr.c: In function 'xdr_utmpidle': xdr.c:65:1: warning: old-style function definition [-Wold-style-definition] 65 | xdr_utmpidle(xdrs, objp) | ^~~~~~~~~~~~ xdr.c: In function 'xdr_utmpidleptr': xdr.c:79:1: warning: old-style function definition [-Wold-style-definition] 79 | xdr_utmpidleptr(xdrs, objpp) | ^~~~~~~~~~~~~~~ xdr.c: In function 'xdr_utmpidlearr': xdr.c:94:1: error: number of arguments doesn't match prototype 94 | { | ^ In file included from xdr.c:4: /usr/include/rpcsvc/rusers.h:83:5: error: prototype declaration 83 | int xdr_utmpidlearr(); | ^~~~~~~~~~~~~~~ --- ywho.o --- ywho.c: In function 'set_signals': ywho.c:121:19: error: assignment to 'void (*)(int)' from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types] 121 | sa.sa_handler = do_timeout; | ^ ywho.c:102:13: note: 'do_timeout' declared here 102 | static void do_timeout(); | ^~~~~~~~~~ ywho.c: In function 'addhost': ywho.c:131:1: warning: old-style function definition [-Wold-style-definition] 131 | addhost(h) | ^~~~~~~ ywho.c:78:23: error: too many arguments to function 'Malloc'; expected 0, have 1 78 | #define NEW(a) ((a *) Malloc((unsigned) sizeof(a))) | ^~~~~~ ~~~~~~~~~~~~~~~~~~~~ ywho.c:147:24: note: in expansion of macro 'NEW' 147 | hosts = hptr = NEW(hosts_t); | ^~~ ywho.c:100:16: note: declared here 100 | static align_t Malloc(); | ^~~~~~ ywho.c:78:23: error: too many arguments to function 'Malloc'; expected 0, have 1 78 | #define NEW(a) ((a *) Malloc((unsigned) sizeof(a))) | ^~~~~~ ~~~~~~~~~~~~~~~~~~~~ ywho.c:157:20: note: in expansion of macro 'NEW' 157 | hptr = NEW(hosts_t); | ^~~ ywho.c:100:16: note: declared here 100 | static align_t Malloc(); | ^~~~~~ ywho.c:78:23: error: too many arguments to function 'Malloc'; expected 0, have 1 78 | #define NEW(a) ((a *) Malloc((unsigned) sizeof(a))) | ^~~~~~ ~~~~~~~~~~~~~~~~~~~~ ywho.c:160:26: note: in expansion of macro 'NEW' 160 | hptr->next = NEW(hosts_t); | ^~~ ywho.c:100:16: note: declared here 100 | static align_t Malloc(); | ^~~~~~ ywho.c:81:35: error: too many arguments to function 'Malloc'; expected 0, have 1 81 | ((char *) strcpy((char *) Malloc((unsigned) (strlen(a) + 1)), a)) | ^~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~ ywho.c:165:23: note: in expansion of macro 'Strdup' 165 | hptr->hp.h_name = Strdup(hp->h_name); | ^~~~~~ ywho.c:100:16: note: declared here 100 | static align_t Malloc(); | ^~~~~~ ywho.c:79:27: error: too many arguments to function 'Malloc'; expected 0, have 1 79 | #define NEWN(a, n) ((a *) Malloc((unsigned) (sizeof(a) * (n)))) | ^~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ywho.c:171:28: note: in expansion of macro 'NEWN' 171 | hptr->hp.h_addr_list = NEWN(char *, i + 1); | ^~~~ ywho.c:100:16: note: declared here 100 | static align_t Malloc(); | ^~~~~~ ywho.c:79:27: error: too many arguments to function 'Malloc'; expected 0, have 1 79 | #define NEWN(a, n) ((a *) Malloc((unsigned) (sizeof(a) * (n)))) | ^~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ywho.c:174:35: note: in expansion of macro 'NEWN' 174 | hptr->hp.h_addr_list[i] = NEWN(char, hp->h_length); | ^~~~ ywho.c:100:16: note: declared here 100 | static align_t Malloc(); | ^~~~~~ ywho.c: In function 'addnetgroup': ywho.c:186:1: warning: old-style function definition [-Wold-style-definition] 186 | addnetgroup(ng) | ^~~~~~~~~~~ ywho.c: In function 'main': ywho.c:295:1: warning: old-style function definition [-Wold-style-definition] 295 | main(argc, argv) | ^~~~ ywho.c:374:13: error: too many arguments to function 'do_host'; expected 0, have 1 374 | do_host(hptr); | ^~~~~~~ ~~~~ ywho.c:101:13: note: declared here 101 | static void do_host(); | ^~~~~~~ ywho.c: In function 'do_host': ywho.c:407:1: warning: old-style function definition [-Wold-style-definition] 407 | do_host(hst) | ^~~~~~~ --- xdr.o --- *** [xdr.o] Error code 1 bmake: stopped making "all" in /tmp/work/net/ywho/work/ywho-1.3 --- ywho.o --- ywho.c: In function 'Malloc': ywho.c:648:1: warning: old-style function definition [-Wold-style-definition] 648 | Malloc(nth) | ^~~~~~ ywho.c: In function 'do_timeout': ywho.c:668:1: warning: old-style function definition [-Wold-style-definition] 668 | do_timeout(signum) | ^~~~~~~~~~ ywho.c: At top level: ywho.c:22:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] 22 | static const char rcsid[] = "@(#)ywho.c,v 1.8 2000/12/17 17:03:10 kim Exp"; | ^~~~~ *** [ywho.o] Error code 1 bmake: stopped making "all" in /tmp/work/net/ywho/work/ywho-1.3 bmake: 2 errors bmake: stopped making "all" in /tmp/work/net/ywho/work/ywho-1.3 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/net/ywho *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/net/ywho