=> Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. ===> Building for traceroute-nanog-6.4.2 cd /Users/pbulk/build/net/traceroute-nanog/work/traceroute-nanog-6.4.2.orig && clang -DBIND_8_COMPAT -DRA_SERVICE=\"nicname\" -pipe -Os traceroute.c -o traceroute-nanog -L/opt/pkg/lib -lm traceroute.c:934:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] main(argc, argv) ^ int traceroute.c:1019:43: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] ((MAX_IPOPTLEN-IPOPT_MINOFF)/sizeof(u_long))-1,terminator); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ traceroute.c:1033:40: warning: call to undeclared function 'inet_addr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] gw = inet_addr(*av); ^ traceroute.c:1120:82: warning: format specifies type 'unsigned long' but the argument has type 'int' [-Wformat] Fprintf(stderr,"Warning - unable to use parallel mode with nprobes >=%lu%s",SPRAYMAX,terminator); ~~~ ^~~~~~~~ %d traceroute.c:796:18: note: expanded from macro 'SPRAYMAX' #define SPRAYMAX 512 /* We'll only do up to 512 packets at once */ ^~~ traceroute.c:1134:53: warning: format specifies type 'unsigned long' but the argument has type 'int' [-Wformat] Fprintf(stderr,"nprobes must be >0 and <%lu%s",SPRAYMAX,terminator); ~~~ ^~~~~~~~ %d traceroute.c:796:18: note: expanded from macro 'SPRAYMAX' #define SPRAYMAX 512 /* We'll only do up to 512 packets at once */ ^~~ traceroute.c:1222:31: warning: call to undeclared function 'inet_addr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] to->sin_addr.s_addr = inet_addr(av[0]); ^ traceroute.c:1311:9: warning: cast to smaller integer type 'int' from 'void (*)(int)' [-Wpointer-to-int-cast] NOERR(signal(SIGINT,halt),"signal SIGINT"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ traceroute.c:749:30: note: expanded from macro 'NOERR' #define NOERR(val,msg) {if (((int)(val)) < 0) {perror(msg);exit(1);}} ^~~~~~~~~~ traceroute.c:1408:17: warning: call to undeclared function 'inet_ntoa'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] inet_ntoa(to->sin_addr)); ^ traceroute.c:1408:17: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat] inet_ntoa(to->sin_addr)); ^~~~~~~~~~~~~~~~~~~~~~~ traceroute.c:1461:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (cc = wait_for_reply(s, &from, &deadline)) { ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ traceroute.c:1461:23: note: place parentheses around the assignment to silence this warning while (cc = wait_for_reply(s, &from, &deadline)) { ^ ( ) traceroute.c:1461:23: note: use '==' to turn this assignment into an equality comparison while (cc = wait_for_reply(s, &from, &deadline)) { ^ == traceroute.c:1463:36: warning: passing arguments to 'deltaT' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] float dt = deltaT(&tv); ^ traceroute.c:1503:5: warning: cast to smaller integer type 'int' from 'void (*)(int)' [-Wpointer-to-int-cast] NOERR(signal(SIGINT,halt), "signal SIGINT"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ traceroute.c:749:30: note: expanded from macro 'NOERR' #define NOERR(val,msg) {if (((int)(val)) < 0) {perror(msg);exit(1);}} ^~~~~~~~~~ traceroute.c:934: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) ^ traceroute.c:1024:35: warning: expression result unused [-Wunused-value] *oix++; /* Fill in total length later */ ^~~~~~ traceroute.c:1740:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] wait_for_reply(sock, from, deadline) ^ int traceroute.c:1740:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] traceroute.c:1758:60: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] (now.tv_usec > deadline->tv_usec) ) ) return (int)NULL; ^~~~~~~~~ traceroute.c:1777:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] send_probe(seq, ttl, proto) ^ int traceroute.c:1777:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] traceroute.c:2027:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ traceroute.c:2030:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cksum(buf, nwords, ckaddr) ^ traceroute.c:2057:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] float deltaT(tp) ^ traceroute.c:914:7: 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] float deltaT(); ^ traceroute.c:2075:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pr_type(t) ^ traceroute.c:2097:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void decode_icmp_ext(buf, cc) ^ traceroute.c:2153:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] packet_ok(buf, cc, from, seq, proto) ^ int traceroute.c:2153:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] traceroute.c:2181:33: warning: call to undeclared function 'inet_ntoa'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] inet_ntoa(from->sin_addr),terminator); ^ traceroute.c:2181:33: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat] inet_ntoa(from->sin_addr),terminator); ^~~~~~~~~~~~~~~~~~~~~~~~~ traceroute.c:2290:25: warning: call to undeclared function 'inet_ntoa'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] inet_ntoa(from->sin_addr), inet_ntoa(ip->ip_dst)); ^ traceroute.c:2290:25: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat] inet_ntoa(from->sin_addr), inet_ntoa(ip->ip_dst)); ^~~~~~~~~~~~~~~~~~~~~~~~~ traceroute.c:2290:52: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat] inet_ntoa(from->sin_addr), inet_ntoa(ip->ip_dst)); ^~~~~~~~~~~~~~~~~~~~~ traceroute.c:2300:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int reduce_mtu(value) ^ traceroute.c:2326:33: warning: call to undeclared function 'inet_ntoa'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] Fprintf(stdout, " %s", inet_ntoa(from->sin_addr)); ^ traceroute.c:2326:33: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat] Fprintf(stdout, " %s", inet_ntoa(from->sin_addr)); ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~ %d traceroute.c:2328:46: warning: passing arguments to 'inetname' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Fprintf(stdout, " %s (%s)", inetname(from->sin_addr), ^ traceroute.c:2329:18: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat] inet_ntoa(from->sin_addr)); ^~~~~~~~~~~~~~~~~~~~~~~~~ traceroute.c:2332:43: warning: passing arguments to 'lookup_as' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Fprintf(stdout," [%s]", lookup_as(from->sin_addr)); ^ traceroute.c:2335:44: warning: passing arguments to 'lookup_owner' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Fprintf(stdout," %s", lookup_owner(from->sin_addr)); ^ traceroute.c:2344:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] print(buf, cc, from) ^ int traceroute.c:2344:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] traceroute.c:2357:40: warning: call to undeclared function 'inet_ntoa'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] Fprintf(stdout, " %s", inet_ntoa(from->sin_addr)); ^ traceroute.c:2357:40: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat] Fprintf(stdout, " %s", inet_ntoa(from->sin_addr)); ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~ %d traceroute.c:2359:53: warning: passing arguments to 'inetname' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Fprintf(stdout, " %s (%s)", inetname(from->sin_addr), ^ traceroute.c:2360:24: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat] inet_ntoa(from->sin_addr)); ^~~~~~~~~~~~~~~~~~~~~~~~~ traceroute.c:2363:44: warning: passing arguments to 'lookup_as' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Fprintf(stdout," [%s]", lookup_as(from->sin_addr)); ^ traceroute.c:2366:45: warning: passing arguments to 'lookup_owner' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Fprintf(stdout," %s", lookup_owner(from->sin_addr)); ^ traceroute.c:2369:50: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat] Fprintf (stderr," %d bytes to %s", cc, inet_ntoa (ip->ip_dst)); ~~ ^~~~~~~~~~~~~~~~~~~~~~ %d traceroute.c:2370:7: warning: non-void function does not return a value [-Wreturn-type] } ^ traceroute.c:2376:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] tvsub(out, in) ^ int traceroute.c:2376:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] traceroute.c:2384:1: warning: non-void function does not return a value [-Wreturn-type] } ^ traceroute.c:2430:38: warning: format specifies type 'unsigned long' but the argument has type 'in_addr_t' (aka 'unsigned int') [-Wformat] sprintf(line, "%lu.%lu.%lu.%lu", C(in.s_addr >> 24), ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ %u traceroute.c:2428:17: note: expanded from macro 'C' #define C(x) ((x) & 0xff) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ traceroute.c:2435:13: warning: format specifies type 'unsigned long' but the argument has type 'in_addr_t' (aka 'unsigned int') [-Wformat] C(in.s_addr >> 16), C(in.s_addr >> 8), C(in.s_addr)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ traceroute.c:2428:17: note: expanded from macro 'C' #define C(x) ((x) & 0xff) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ traceroute.c:2435:33: warning: format specifies type 'unsigned long' but the argument has type 'in_addr_t' (aka 'unsigned int') [-Wformat] C(in.s_addr >> 16), C(in.s_addr >> 8), C(in.s_addr)); ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ traceroute.c:2428:17: note: expanded from macro 'C' #define C(x) ((x) & 0xff) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ traceroute.c:2435:52: warning: format specifies type 'unsigned long' but the argument has type 'in_addr_t' (aka 'unsigned int') [-Wformat] C(in.s_addr >> 16), C(in.s_addr >> 8), C(in.s_addr)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ traceroute.c:2428:17: note: expanded from macro 'C' #define C(x) ((x) & 0xff) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ traceroute.c:2392:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] inetname(in) ^ traceroute.c:820:7: 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] char *inetname(); ^ traceroute.c:2446:3: warning: cast to smaller integer type 'int' from 'void (*)(int)' [-Wpointer-to-int-cast] NOERR(signal(SIGINT,0), "signal SIGINT,0"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ traceroute.c:749:30: note: expanded from macro 'NOERR' #define NOERR(val,msg) {if (((int)(val)) < 0) {perror(msg);exit(1);}} ^~~~~~~~~~ traceroute.c:2467:26: warning: passing arguments to 'doresolve' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!(owner = doresolve(dns_query))) { ^ traceroute.c:2470:28: warning: passing arguments to 'doresolve' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!(owner = doresolve(dns_query))) { ^ traceroute.c:2474:28: warning: passing arguments to 'doresolve' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] owner = doresolve(dns_query); ^ traceroute.c:2456:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *lookup_owner(in) ^ traceroute.c:2316:7: 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] char *lookup_owner(); ^ traceroute.c:2526:18: warning: passing arguments to 'get_origin' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sp = get_origin(query); ^ traceroute.c:2504:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *lookup_as(in) ^ traceroute.c:2318:7: 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] char *lookup_as(); ^ traceroute.c:2657:15: 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 previous declaration [-Wdeprecated-non-prototype] char *getenv(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:147:7: note: conflicting prototype is here char *getenv(const char *); ^ traceroute.c:2639:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *get_origin(net) ^ traceroute.c:2858:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] short getshort(ptr) ^ traceroute.c:2872:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *doresolve (name) ^ traceroute.c:2317:7: 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] char *doresolve (); ^ traceroute.c:2929:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] doqd(ans,off) ^ int traceroute.c:2929:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] traceroute.c:2942:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] dorr(ans,off,contact_ptr) ^ int traceroute.c:2942:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] traceroute.c:2961:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] doname(ans,off,name) ^ int traceroute.c:2961:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] traceroute.c:2990:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] dotype(ans,off) ^ int traceroute.c:2990:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] traceroute.c:2997:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] doclass(ans,off) ^ int traceroute.c:2997:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] traceroute.c:3004:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] dottl(ans,off) ^ int traceroute.c:3004:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] traceroute.c:3011:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] dordata(ans,off,class,typ,fname,contact_ptr) ^ int traceroute.c:3011:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] traceroute.c:3056:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void AbortIfNull (ThePointer) ^ 87 warnings generated. Undefined symbols for architecture arm64: "_res_9_mkquery", referenced from: _doresolve in traceroute-047948.o "_res_9_send", referenced from: _doresolve in traceroute-047948.o ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation) *** Error code 1 Stop. bmake[1]: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/net/traceroute-nanog *** Error code 1 Stop. bmake: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/net/traceroute-nanog