=> "/opt/pkg/bin/bmake" ["-C", "/Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/net/rootprobe", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for rootprobe-200301 --- rootprobe.o --- clang -O -Wall -g -DDEBUG -c rootprobe.c -o rootprobe.o rootprobe.c:98:1: error: unknown type name 'HEADER' 98 | HEADER *hp = (HEADER *)sendbuf; | ^ rootprobe.c:98:23: error: expected expression 98 | HEADER *hp = (HEADER *)sendbuf; | ^ rootprobe.c:98:15: error: use of undeclared identifier 'HEADER' 98 | HEADER *hp = (HEADER *)sendbuf; | ^ rootprobe.c:141:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 141 | main(argc, argv) | ^ rootprobe.c:202:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 202 | init(argc, argv) | ^ rootprobe.c:344:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 344 | make_query(sp) | ^ rootprobe.c:356:15: error: use of undeclared identifier 'QUERY' 356 | hp->opcode = QUERY; | ^ rootprobe.c:360:23: error: use of undeclared identifier 'HEADER' 360 | bp = &sendbuf[sizeof(HEADER)]; | ^ rootprobe.c:385:17: error: use of undeclared identifier 'T_A' 385 | qtype = htons(T_A); | ^ rootprobe.c:385:17: error: use of undeclared identifier 'T_A' rootprobe.c:385:17: error: use of undeclared identifier 'T_A' rootprobe.c:385:17: error: use of undeclared identifier 'T_A' rootprobe.c:387:17: error: use of undeclared identifier 'T_SOA' 387 | qtype = htons(T_SOA); | ^ rootprobe.c:387:17: error: use of undeclared identifier 'T_SOA' rootprobe.c:387:17: error: use of undeclared identifier 'T_SOA' rootprobe.c:387:17: error: use of undeclared identifier 'T_SOA' rootprobe.c:390:17: error: use of undeclared identifier 'C_IN' 390 | qclass = htons(C_IN); | ^ rootprobe.c:390:17: error: use of undeclared identifier 'C_IN' rootprobe.c:390:17: error: use of undeclared identifier 'C_IN' rootprobe.c:390:17: error: use of undeclared identifier 'C_IN' rootprobe.c:411:2: error: use of undeclared identifier 'HEADER' 411 | HEADER *hp; | ^ rootprobe.c:514:21: warning: format specifies type 'long' but the argument has type '__darwin_suseconds_t' (aka 'int') [-Wformat] 513 | printf("timeout value (%ld.%06ld)\n", | ~~~~~ | %06d 514 | timeout.tv_sec, timeout.tv_usec); | ^~~~~~~~~~~~~~~ rootprobe.c:529:19: error: expected expression 529 | hp = (HEADER *)recvbuf; | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 4 warnings and 20 errors generated. *** [rootprobe.o] Error code 1 bmake: stopped making "all" in /var/tmp/work/net/rootprobe/work/rootprobe bmake: 1 error bmake: stopped making "all" in /var/tmp/work/net/rootprobe/work/rootprobe *** Error code 2 Stop. bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/net/rootprobe *** Error code 1 Stop. bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/net/rootprobe