=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/net/traceroute-as", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for traceroute-as-991603nb1 --- aslookup.o --- --- vers.o --- --- aslookup.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DSYSV -c aslookup.c --- vers.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DSYSV -c vers.c --- aslookup --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DSYSV -DSTANDALONE -c aslookup.c -o aslookup-std.o --- aslookup.o --- In file included from aslookup.c:38: port.h:129:17: error: 'bool' cannot be defined via 'typedef' 129 | typedef int bool; /* boolean type */ | ^~~~ port.h:129:17: note: 'bool' is a keyword with '-std=c23' onwards port.h:129:1: warning: useless type name in empty declaration 129 | typedef int bool; /* boolean type */ | ^~~~~~~ aslookup.c: In function 'as_lookup': aslookup.c:89:1: warning: old-style function definition [-Wold-style-definition] 89 | as_lookup(inaddr, server, port, keepopen) | ^~~~~~~~~ aslookup.c:94:1: error: number of arguments doesn't match prototype 94 | { | ^ In file included from aslookup.c:61: defs.h:75:7: error: prototype declaration 75 | char *as_lookup PROTO((struct in_addr, char *, int, bool)); | ^~~~~~~~~ aslookup.c:170:26: error: too many arguments to function 'as_connect'; expected 0, have 2 170 | status = as_connect(server, port); | ^~~~~~~~~~ ~~~~~~ defs.h:76:5: note: declared here 76 | int as_connect PROTO((char *, int)); | ^~~~~~~~~~ aslookup.c:180:58: error: too many arguments to function 'as_netof'; expected 0, have 1 180 | (void) sprintf(buf, "%.80s %s", options, as_netof(inaddr)); | ^~~~~~~~ ~~~~~~ defs.h:80:7: note: declared here 80 | char *as_netof PROTO((struct in_addr)); | ^~~~~~~~ aslookup.c:182:61: error: too many arguments to function 'as_netof'; expected 0, have 1 182 | (void) sprintf(buf, "-k %.80s %s", options, as_netof(inaddr)); | ^~~~~~~~ ~~~~~~ defs.h:80:7: note: declared here 80 | char *as_netof PROTO((struct in_addr)); | ^~~~~~~~ aslookup.c:188:9: error: too many arguments to function 'as_put'; expected 0, have 1 188 | as_put(buf); | ^~~~~~ ~~~ defs.h:78:6: note: declared here 78 | void as_put PROTO((char *)); | ^~~~~~ aslookup.c:193:21: error: too many arguments to function 'as_get'; expected 0, have 2 193 | while ((p = as_get(buf, sizeof(buf))) != NULL) | ^~~~~~ ~~~ defs.h:79:7: note: declared here 79 | char *as_get PROTO((char *, int)); | ^~~~~~ aslookup.c: In function 'timer': aslookup.c:275:1: warning: old-style function definition [-Wold-style-definition] 275 | timer(sig) | ^~~~~ aslookup.c: In function 'as_connect': aslookup.c:283:1: warning: old-style function definition [-Wold-style-definition] 283 | as_connect(server, port) | ^~~~~~~~~~ aslookup.c:286:1: error: number of arguments doesn't match prototype 286 | { | ^ defs.h:76:5: error: prototype declaration 76 | int as_connect PROTO((char *, int)); | ^~~~~~~~~~ aslookup.c: In function 'as_put': aslookup.c:460:1: warning: old-style function definition [-Wold-style-definition] 460 | as_put(buf) | ^~~~~~ aslookup.c:462:1: error: number of arguments doesn't match prototype 462 | { | ^ defs.h:78:6: error: prototype declaration 78 | void as_put PROTO((char *)); | ^~~~~~ aslookup.c: In function 'as_get': aslookup.c:486:1: warning: old-style function definition [-Wold-style-definition] 486 | as_get(buf, size) | ^~~~~~ aslookup.c:489:1: error: number of arguments doesn't match prototype 489 | { | ^ defs.h:79:7: error: prototype declaration 79 | char *as_get PROTO((char *, int)); | ^~~~~~ aslookup.c: In function 'as_netof': aslookup.c:570:1: warning: old-style function definition [-Wold-style-definition] 570 | as_netof(inaddr) | ^~~~~~~~ aslookup.c:572:1: error: number of arguments doesn't match prototype 572 | { | ^ defs.h:80:7: error: prototype declaration 80 | char *as_netof PROTO((struct in_addr)); | ^~~~~~~~ *** [aslookup.o] Error code 1 bmake: stopped making "all" in /tmp/work/net/traceroute-as/work --- aslookup --- In file included from aslookup.c:38: port.h:129:17: error: 'bool' cannot be defined via 'typedef' 129 | typedef int bool; /* boolean type */ | ^~~~ port.h:129:17: note: 'bool' is a keyword with '-std=c23' onwards port.h:129:1: warning: useless type name in empty declaration 129 | typedef int bool; /* boolean type */ | ^~~~~~~ aslookup.c: In function 'as_lookup': aslookup.c:89:1: warning: old-style function definition [-Wold-style-definition] 89 | as_lookup(inaddr, server, port, keepopen) | ^~~~~~~~~ aslookup.c:94:1: error: number of arguments doesn't match prototype 94 | { | ^ In file included from aslookup.c:61: defs.h:75:7: error: prototype declaration 75 | char *as_lookup PROTO((struct in_addr, char *, int, bool)); | ^~~~~~~~~ aslookup.c:170:26: error: too many arguments to function 'as_connect'; expected 0, have 2 170 | status = as_connect(server, port); | ^~~~~~~~~~ ~~~~~~ defs.h:76:5: note: declared here 76 | int as_connect PROTO((char *, int)); | ^~~~~~~~~~ aslookup.c:180:58: error: too many arguments to function 'as_netof'; expected 0, have 1 180 | (void) sprintf(buf, "%.80s %s", options, as_netof(inaddr)); | ^~~~~~~~ ~~~~~~ defs.h:80:7: note: declared here 80 | char *as_netof PROTO((struct in_addr)); | ^~~~~~~~ aslookup.c:182:61: error: too many arguments to function 'as_netof'; expected 0, have 1 182 | (void) sprintf(buf, "-k %.80s %s", options, as_netof(inaddr)); | ^~~~~~~~ ~~~~~~ defs.h:80:7: note: declared here 80 | char *as_netof PROTO((struct in_addr)); | ^~~~~~~~ aslookup.c:188:9: error: too many arguments to function 'as_put'; expected 0, have 1 188 | as_put(buf); | ^~~~~~ ~~~ defs.h:78:6: note: declared here 78 | void as_put PROTO((char *)); | ^~~~~~ aslookup.c:193:21: error: too many arguments to function 'as_get'; expected 0, have 2 193 | while ((p = as_get(buf, sizeof(buf))) != NULL) | ^~~~~~ ~~~ defs.h:79:7: note: declared here 79 | char *as_get PROTO((char *, int)); | ^~~~~~ aslookup.c: In function 'timer': aslookup.c:275:1: warning: old-style function definition [-Wold-style-definition] 275 | timer(sig) | ^~~~~ aslookup.c: In function 'as_connect': aslookup.c:283:1: warning: old-style function definition [-Wold-style-definition] 283 | as_connect(server, port) | ^~~~~~~~~~ aslookup.c:286:1: error: number of arguments doesn't match prototype 286 | { | ^ defs.h:76:5: error: prototype declaration 76 | int as_connect PROTO((char *, int)); | ^~~~~~~~~~ aslookup.c: In function 'as_put': aslookup.c:460:1: warning: old-style function definition [-Wold-style-definition] 460 | as_put(buf) | ^~~~~~ aslookup.c:462:1: error: number of arguments doesn't match prototype 462 | { | ^ defs.h:78:6: error: prototype declaration 78 | void as_put PROTO((char *)); | ^~~~~~ aslookup.c: In function 'as_get': aslookup.c:486:1: warning: old-style function definition [-Wold-style-definition] 486 | as_get(buf, size) | ^~~~~~ aslookup.c:489:1: error: number of arguments doesn't match prototype 489 | { | ^ defs.h:79:7: error: prototype declaration 79 | char *as_get PROTO((char *, int)); | ^~~~~~ aslookup.c: In function 'as_netof': aslookup.c:570:1: warning: old-style function definition [-Wold-style-definition] 570 | as_netof(inaddr) | ^~~~~~~~ aslookup.c:572:1: error: number of arguments doesn't match prototype 572 | { | ^ defs.h:80:7: error: prototype declaration 80 | char *as_netof PROTO((struct in_addr)); | ^~~~~~~~ aslookup.c: In function 'main': aslookup.c:625:1: warning: old-style function definition [-Wold-style-definition] 625 | main(argc, argv) | ^~~~ aslookup.c:628:1: error: number of arguments doesn't match prototype 628 | { | ^ aslookup.c:603:5: error: prototype declaration 603 | int main PROTO((int, char **)); | ^~~~ aslookup.c:658:33: error: too many arguments to function 'fatal'; expected 0, have 1 658 | fatal("Missing server name"); | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~ aslookup.c:605:6: note: declared here 605 | void fatal PROTO((char *, ...)); | ^~~~~ aslookup.c:671:33: error: too many arguments to function 'fatal'; expected 0, have 1 671 | fatal("Missing port number"); | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~ aslookup.c:605:6: note: declared here 605 | void fatal PROTO((char *, ...)); | ^~~~~ aslookup.c:674:33: error: too many arguments to function 'fatal'; expected 0, have 2 674 | fatal("Invalid port number %s", argv[2]); | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~ aslookup.c:605:6: note: declared here 605 | void fatal PROTO((char *, ...)); | ^~~~~ aslookup.c:676:65: error: too many arguments to function 'itoa'; expected 0, have 1 676 | fatal("Maximum port number %s", itoa(MAXINT16)); | ^~~~ aslookup.c:609:7: note: declared here 609 | char *itoa PROTO((int)); | ^~~~ aslookup.c:676:33: error: too many arguments to function 'fatal'; expected 0, have 2 676 | fatal("Maximum port number %s", itoa(MAXINT16)); | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~ aslookup.c:605:6: note: declared here 605 | void fatal PROTO((char *, ...)); | ^~~~~ aslookup.c:686:25: error: too many arguments to function 'fatal'; expected 0, have 2 686 | fatal(Usage, program); | ^~~~~ ~~~~~ aslookup.c:605:6: note: declared here 605 | void fatal PROTO((char *, ...)); | ^~~~~ aslookup.c:697:17: error: too many arguments to function 'fatal'; expected 0, have 2 697 | fatal(Usage, program); | ^~~~~ ~~~~~ aslookup.c:605:6: note: declared here 605 | void fatal PROTO((char *, ...)); | ^~~~~ aslookup.c:703:26: error: too many arguments to function 'lookup'; expected 0, have 4 703 | result = lookup(argv[i], server, port, keepopen); | ^~~~~~ ~~~~~~~ aslookup.c:604:5: note: declared here 604 | int lookup PROTO((char *, char *, int, bool)); | ^~~~~~ aslookup.c: In function 'lookup': aslookup.c:725:1: warning: old-style function definition [-Wold-style-definition] 725 | lookup(host, server, port, keepopen) | ^~~~~~ aslookup.c:730:1: error: number of arguments doesn't match prototype 730 | { | ^ aslookup.c:604:5: error: prototype declaration 604 | int lookup PROTO((char *, char *, int, bool)); | ^~~~~~ aslookup.c:750:25: error: too many arguments to function 'error'; expected 0, have 2 750 | error("Unknown host: %s", host); | ^~~~~ ~~~~~~~~~~~~~~~~~~ aslookup.c:606:6: note: declared here 606 | void error PROTO((char *, ...)); | ^~~~~ aslookup.c:787:28: error: too many arguments to function 'as_lookup'; expected 0, have 4 787 | asnumber = as_lookup(inaddr[i], server, port, keepopen); | ^~~~~~~~~ ~~~~~~~~~ aslookup.c:89:1: note: declared here 89 | as_lookup(inaddr, server, port, keepopen) | ^~~~~~~~~ aslookup.c: In function 'fatal': aslookup.c:815:1: warning: old-style function definition [-Wold-style-definition] 815 | fatal(fmt, a, b, c, d) | ^~~~~ aslookup.c:818:1: error: number of arguments doesn't match prototype 818 | { | ^ aslookup.c:605:6: error: prototype declaration 605 | void fatal PROTO((char *, ...)); | ^~~~~ aslookup.c: In function 'error': aslookup.c:834:1: warning: old-style function definition [-Wold-style-definition] 834 | error(fmt, a, b, c, d) | ^~~~~ aslookup.c:837:1: error: number of arguments doesn't match prototype 837 | { | ^ aslookup.c:606:6: error: prototype declaration 606 | void error PROTO((char *, ...)); | ^~~~~ aslookup.c: In function 'itoa': aslookup.c:851:1: warning: old-style function definition [-Wold-style-definition] 851 | itoa(n) | ^~~~ aslookup.c:853:1: error: number of arguments doesn't match prototype 853 | { | ^ aslookup.c:609:7: error: prototype declaration 609 | char *itoa PROTO((int)); | ^~~~ *** [aslookup] Error code 1 bmake: stopped making "all" in /tmp/work/net/traceroute-as/work bmake: 2 errors bmake: stopped making "all" in /tmp/work/net/traceroute-as/work *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/net/traceroute-as *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/net/traceroute-as