=> "/opt/pkg/bin/bmake" ["-C", "/Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/net/traceroute-nanog", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for traceroute-nanog-6.4.2nb1 cd /var/tmp/work/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:935:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 935 | main(argc, argv) | ^ | int traceroute.c:1020:43: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 1019 | Fprintf(stderr,"No more than %d gateway%s", | ~~ | %lu 1020 | ((MAX_IPOPTLEN-IPOPT_MINOFF)/sizeof(u_long))-1,terminator); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ traceroute.c:1121:82: warning: format specifies type 'unsigned long' but the argument has type 'int' [-Wformat] 1121 | Fprintf(stderr,"Warning - unable to use parallel mode with nprobes >=%lu%s",SPRAYMAX,terminator); | ~~~ ^~~~~~~~ | %d traceroute.c:797:18: note: expanded from macro 'SPRAYMAX' 797 | #define SPRAYMAX 512 /* We'll only do up to 512 packets at once */ | ^~~ traceroute.c:1135:53: warning: format specifies type 'unsigned long' but the argument has type 'int' [-Wformat] 1135 | Fprintf(stderr,"nprobes must be >0 and <%lu%s",SPRAYMAX,terminator); | ~~~ ^~~~~~~~ | %d traceroute.c:797:18: note: expanded from macro 'SPRAYMAX' 797 | #define SPRAYMAX 512 /* We'll only do up to 512 packets at once */ | ^~~ traceroute.c:1312:9: warning: cast to smaller integer type 'int' from 'void (*)(int)' [-Wpointer-to-int-cast] 1312 | NOERR(signal(SIGINT,halt),"signal SIGINT"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ traceroute.c:750:30: note: expanded from macro 'NOERR' 750 | #define NOERR(val,msg) {if (((int)(val)) < 0) {perror(msg);exit(1);}} | ^~~~~~~~~~ traceroute.c:1462:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1462 | while (cc = wait_for_reply(s, &from, &deadline)) { | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ traceroute.c:1462:23: note: place parentheses around the assignment to silence this warning 1462 | while (cc = wait_for_reply(s, &from, &deadline)) { | ^ | ( ) traceroute.c:1462:23: note: use '==' to turn this assignment into an equality comparison 1462 | while (cc = wait_for_reply(s, &from, &deadline)) { | ^ | == traceroute.c:1464:36: warning: passing arguments to 'deltaT' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1464 | float dt = deltaT(&tv); | ^ traceroute.c:1504:5: warning: cast to smaller integer type 'int' from 'void (*)(int)' [-Wpointer-to-int-cast] 1504 | NOERR(signal(SIGINT,halt), "signal SIGINT"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ traceroute.c:750:30: note: expanded from macro 'NOERR' 750 | #define NOERR(val,msg) {if (((int)(val)) < 0) {perror(msg);exit(1);}} | ^~~~~~~~~~ traceroute.c:935:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 935 | main(argc, argv) | ^ traceroute.c:1025:35: warning: expression result unused [-Wunused-value] 1025 | *oix++; /* Fill in total length later */ | ^~~~~~ traceroute.c:1741:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1741 | wait_for_reply(sock, from, deadline) | ^ | int traceroute.c:1741:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] traceroute.c:1759:60: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 1759 | (now.tv_usec > deadline->tv_usec) ) ) return (int)NULL; | ^~~~~~~~~ traceroute.c:1778:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1778 | send_probe(seq, ttl, proto) | ^ | int traceroute.c:1778:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] traceroute.c:2028:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 2028 | } | ^ traceroute.c:2031:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2031 | cksum(buf, nwords, ckaddr) | ^ traceroute.c:2058:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2058 | float deltaT(tp) | ^ traceroute.c:915:7: 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] 915 | float deltaT(); | ^ traceroute.c:2076:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2076 | pr_type(t) | ^ traceroute.c:2098:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2098 | void decode_icmp_ext(buf, cc) | ^ traceroute.c:2154:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2154 | packet_ok(buf, cc, from, seq, proto) | ^ | int traceroute.c:2154:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] traceroute.c:2301:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2301 | int reduce_mtu(value) | ^ traceroute.c:2329:46: warning: passing arguments to 'inetname' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2329 | Fprintf(stdout, " %s (%s)", inetname(from->sin_addr), | ^ traceroute.c:2333:43: warning: passing arguments to 'lookup_as' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2333 | Fprintf(stdout," [%s]", lookup_as(from->sin_addr)); | ^ traceroute.c:2336:44: warning: passing arguments to 'lookup_owner' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2336 | Fprintf(stdout," %s", lookup_owner(from->sin_addr)); | ^ traceroute.c:2345:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2345 | print(buf, cc, from) | ^ | int traceroute.c:2345:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] traceroute.c:2360:53: warning: passing arguments to 'inetname' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2360 | Fprintf(stdout, " %s (%s)", inetname(from->sin_addr), | ^ traceroute.c:2364:44: warning: passing arguments to 'lookup_as' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2364 | Fprintf(stdout," [%s]", lookup_as(from->sin_addr)); | ^ traceroute.c:2367:45: warning: passing arguments to 'lookup_owner' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2367 | Fprintf(stdout," %s", lookup_owner(from->sin_addr)); | ^ traceroute.c:2371:7: warning: non-void function does not return a value [-Wreturn-type] 2371 | } | ^ traceroute.c:2377:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2377 | tvsub(out, in) | ^ | int traceroute.c:2377:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] traceroute.c:2385:1: warning: non-void function does not return a value [-Wreturn-type] 2385 | } | ^ traceroute.c:2431:38: warning: format specifies type 'unsigned long' but the argument has type 'in_addr_t' (aka 'unsigned int') [-Wformat] 2431 | sprintf(line, "%lu.%lu.%lu.%lu", C(in.s_addr >> 24), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ | %u 2432 | #else /* __linux__ */ | ~~~~~~~~~~~~~~~~~~~~~ 2433 | sprintf(line, "%u.%u.%u.%u", C(in.s_addr >> 24), /* Why no lu??? */ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2434 | #endif /* __linux__ */ | ~~~~~~~~~~~~~~~~~~~~~~ 2435 | 2436 | C(in.s_addr >> 16), C(in.s_addr >> 8), C(in.s_addr)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ traceroute.c:2429:17: note: expanded from macro 'C' 2429 | #define C(x) ((x) & 0xff) | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^~~~~~~~~~~ traceroute.c:2436:13: warning: format specifies type 'unsigned long' but the argument has type 'in_addr_t' (aka 'unsigned int') [-Wformat] 2431 | sprintf(line, "%lu.%lu.%lu.%lu", C(in.s_addr >> 24), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %u 2432 | #else /* __linux__ */ | ~~~~~~~~~~~~~~~~~~~~~ 2433 | sprintf(line, "%u.%u.%u.%u", C(in.s_addr >> 24), /* Why no lu??? */ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2434 | #endif /* __linux__ */ | ~~~~~~~~~~~~~~~~~~~~~~ 2435 | 2436 | C(in.s_addr >> 16), C(in.s_addr >> 8), C(in.s_addr)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ traceroute.c:2429:17: note: expanded from macro 'C' 2429 | #define C(x) ((x) & 0xff) | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^~~~~~~~~~~ traceroute.c:2436:33: warning: format specifies type 'unsigned long' but the argument has type 'in_addr_t' (aka 'unsigned int') [-Wformat] 2431 | sprintf(line, "%lu.%lu.%lu.%lu", C(in.s_addr >> 24), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %u 2432 | #else /* __linux__ */ | ~~~~~~~~~~~~~~~~~~~~~ 2433 | sprintf(line, "%u.%u.%u.%u", C(in.s_addr >> 24), /* Why no lu??? */ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2434 | #endif /* __linux__ */ | ~~~~~~~~~~~~~~~~~~~~~~ 2435 | 2436 | C(in.s_addr >> 16), C(in.s_addr >> 8), C(in.s_addr)); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ traceroute.c:2429:17: note: expanded from macro 'C' 2429 | #define C(x) ((x) & 0xff) | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^~~~~~~~~~~ traceroute.c:2436:52: warning: format specifies type 'unsigned long' but the argument has type 'in_addr_t' (aka 'unsigned int') [-Wformat] 2431 | sprintf(line, "%lu.%lu.%lu.%lu", C(in.s_addr >> 24), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %u 2432 | #else /* __linux__ */ | ~~~~~~~~~~~~~~~~~~~~~ 2433 | sprintf(line, "%u.%u.%u.%u", C(in.s_addr >> 24), /* Why no lu??? */ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2434 | #endif /* __linux__ */ | ~~~~~~~~~~~~~~~~~~~~~~ 2435 | 2436 | C(in.s_addr >> 16), C(in.s_addr >> 8), C(in.s_addr)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ traceroute.c:2429:17: note: expanded from macro 'C' 2429 | #define C(x) ((x) & 0xff) | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^~~~~~~~~~~ traceroute.c:2393:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2393 | inetname(in) | ^ traceroute.c:821:7: 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] 821 | char *inetname(); | ^ traceroute.c:2447:3: warning: cast to smaller integer type 'int' from 'void (*)(int)' [-Wpointer-to-int-cast] 2447 | NOERR(signal(SIGINT,0), "signal SIGINT,0"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ traceroute.c:750:30: note: expanded from macro 'NOERR' 750 | #define NOERR(val,msg) {if (((int)(val)) < 0) {perror(msg);exit(1);}} | ^~~~~~~~~~ traceroute.c:2468:26: warning: passing arguments to 'doresolve' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2468 | if (!(owner = doresolve(dns_query))) { | ^ traceroute.c:2471:28: warning: passing arguments to 'doresolve' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2471 | if (!(owner = doresolve(dns_query))) { | ^ traceroute.c:2475:28: warning: passing arguments to 'doresolve' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2475 | owner = doresolve(dns_query); | ^ traceroute.c:2457:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2457 | char *lookup_owner(in) | ^ 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 2317 | char *lookup_owner(); | ^ traceroute.c:2527:18: warning: passing arguments to 'get_origin' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2527 | sp = get_origin(query); | ^ traceroute.c:2505:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2505 | char *lookup_as(in) | ^ traceroute.c:2319:7: 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] 2319 | char *lookup_as(); | ^ traceroute.c:2658:15: 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 previous declaration [-Wdeprecated-non-prototype] 2658 | char *getenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:162:18: note: conflicting prototype is here 162 | char *_LIBC_CSTR getenv(const char *); | ^ traceroute.c:2640:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2640 | char *get_origin(net) | ^ traceroute.c:2859:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2859 | short getshort(ptr) | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/resolv.h:503:19: note: expanded from macro 'getshort' 503 | #define getshort res_9_getshort | ^ traceroute.c:2859:7: error: conflicting types for 'res_9_getshort' /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/resolv.h:503:19: note: expanded from macro 'getshort' 503 | #define getshort res_9_getshort | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/resolv.h:607:11: note: previous declaration is here 607 | u_int16_t getshort(const u_char *); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/resolv.h:503:19: note: expanded from macro 'getshort' 503 | #define getshort res_9_getshort | ^ traceroute.c:2859:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2859 | short getshort(ptr) | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/resolv.h:503:19: note: expanded from macro 'getshort' 503 | #define getshort res_9_getshort | ^ traceroute.c:2873:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2873 | char *doresolve (name) | ^ 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 2318 | char *doresolve (); | ^ traceroute.c:2930:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2930 | doqd(ans,off) | ^ | int traceroute.c:2930:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] traceroute.c:2943:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2943 | dorr(ans,off,contact_ptr) | ^ | int traceroute.c:2943:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] traceroute.c:2953:26: warning: passing 'char *' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2953 | typ = ntohs(getshort((char *)ans+off)); | ^~~~~~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/_endian.h:133:46: note: expanded from macro 'ntohs' 133 | #define ntohs(x) __DARWIN_OSSwapInt16(x) | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/libkern/_OSByteOrder.h:67:40: note: expanded from macro '__DARWIN_OSSwapInt16' 67 | ((__uint16_t)(__builtin_constant_p(x) ? __DARWIN_OSSwapConstInt16(x) : _OSSwapInt16(x))) | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/resolv.h:607:34: note: passing argument to parameter here 607 | u_int16_t getshort(const u_char *); | ^ traceroute.c:2953:26: warning: passing 'char *' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2953 | typ = ntohs(getshort((char *)ans+off)); | ^~~~~~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/_endian.h:133:46: note: expanded from macro 'ntohs' 133 | #define ntohs(x) __DARWIN_OSSwapInt16(x) | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/libkern/_OSByteOrder.h:67:71: note: expanded from macro '__DARWIN_OSSwapInt16' 67 | ((__uint16_t)(__builtin_constant_p(x) ? __DARWIN_OSSwapConstInt16(x) : _OSSwapInt16(x))) | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/libkern/_OSByteOrder.h:36:34: note: expanded from macro '__DARWIN_OSSwapConstInt16' 36 | ((__uint16_t)((((__uint16_t)(x) & 0xff00U) >> 8) | \ | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/resolv.h:607:34: note: passing argument to parameter here 607 | u_int16_t getshort(const u_char *); | ^ traceroute.c:2953:26: warning: passing 'char *' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2953 | typ = ntohs(getshort((char *)ans+off)); | ^~~~~~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/_endian.h:133:46: note: expanded from macro 'ntohs' 133 | #define ntohs(x) __DARWIN_OSSwapInt16(x) | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/libkern/_OSByteOrder.h:67:71: note: expanded from macro '__DARWIN_OSSwapInt16' 67 | ((__uint16_t)(__builtin_constant_p(x) ? __DARWIN_OSSwapConstInt16(x) : _OSSwapInt16(x))) | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/libkern/_OSByteOrder.h:37:25: note: expanded from macro '__DARWIN_OSSwapConstInt16' 37 | (((__uint16_t)(x) & 0x00ffU) << 8))) | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/resolv.h:607:34: note: passing argument to parameter here 607 | u_int16_t getshort(const u_char *); | ^ traceroute.c:2953:26: warning: passing 'char *' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2953 | typ = ntohs(getshort((char *)ans+off)); | ^~~~~~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/_endian.h:133:46: note: expanded from macro 'ntohs' 133 | #define ntohs(x) __DARWIN_OSSwapInt16(x) | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/libkern/_OSByteOrder.h:67:89: note: expanded from macro '__DARWIN_OSSwapInt16' 67 | ((__uint16_t)(__builtin_constant_p(x) ? __DARWIN_OSSwapConstInt16(x) : _OSSwapInt16(x))) | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/resolv.h:607:34: note: passing argument to parameter here 607 | u_int16_t getshort(const u_char *); | ^ traceroute.c:2955:28: warning: passing 'char *' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2955 | class = ntohs(getshort((char *)ans+off)); | ^~~~~~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/_endian.h:133:46: note: expanded from macro 'ntohs' 133 | #define ntohs(x) __DARWIN_OSSwapInt16(x) | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/libkern/_OSByteOrder.h:67:40: note: expanded from macro '__DARWIN_OSSwapInt16' 67 | ((__uint16_t)(__builtin_constant_p(x) ? __DARWIN_OSSwapConstInt16(x) : _OSSwapInt16(x))) | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/resolv.h:607:34: note: passing argument to parameter here 607 | u_int16_t getshort(const u_char *); | ^ traceroute.c:2955:28: warning: passing 'char *' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2955 | class = ntohs(getshort((char *)ans+off)); | ^~~~~~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/_endian.h:133:46: note: expanded from macro 'ntohs' 133 | #define ntohs(x) __DARWIN_OSSwapInt16(x) | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/libkern/_OSByteOrder.h:67:71: note: expanded from macro '__DARWIN_OSSwapInt16' 67 | ((__uint16_t)(__builtin_constant_p(x) ? __DARWIN_OSSwapConstInt16(x) : _OSSwapInt16(x))) | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/libkern/_OSByteOrder.h:36:34: note: expanded from macro '__DARWIN_OSSwapConstInt16' 36 | ((__uint16_t)((((__uint16_t)(x) & 0xff00U) >> 8) | \ | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/resolv.h:607:34: note: passing argument to parameter here 607 | u_int16_t getshort(const u_char *); | ^ traceroute.c:2955:28: warning: passing 'char *' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2955 | class = ntohs(getshort((char *)ans+off)); | ^~~~~~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/_endian.h:133:46: note: expanded from macro 'ntohs' 133 | #define ntohs(x) __DARWIN_OSSwapInt16(x) | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/libkern/_OSByteOrder.h:67:71: note: expanded from macro '__DARWIN_OSSwapInt16' 67 | ((__uint16_t)(__builtin_constant_p(x) ? __DARWIN_OSSwapConstInt16(x) : _OSSwapInt16(x))) | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/libkern/_OSByteOrder.h:37:25: note: expanded from macro '__DARWIN_OSSwapConstInt16' 37 | (((__uint16_t)(x) & 0x00ffU) << 8))) | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/resolv.h:607:34: note: passing argument to parameter here 607 | u_int16_t getshort(const u_char *); | ^ traceroute.c:2955:28: warning: passing 'char *' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2955 | class = ntohs(getshort((char *)ans+off)); | ^~~~~~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/_endian.h:133:46: note: expanded from macro 'ntohs' 133 | #define ntohs(x) __DARWIN_OSSwapInt16(x) | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/libkern/_OSByteOrder.h:67:89: note: expanded from macro '__DARWIN_OSSwapInt16' 67 | ((__uint16_t)(__builtin_constant_p(x) ? __DARWIN_OSSwapConstInt16(x) : _OSSwapInt16(x))) | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/resolv.h:607:34: note: passing argument to parameter here 607 | u_int16_t getshort(const u_char *); | ^ traceroute.c:2962:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2962 | doname(ans,off,name) | ^ | int traceroute.c:2962:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] traceroute.c:2972:27: warning: passing 'char *' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2972 | newoff = getshort((char *)ans+off); | ^~~~~~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/resolv.h:607:34: note: passing argument to parameter here 607 | u_int16_t getshort(const u_char *); | ^ traceroute.c:2991:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2991 | dotype(ans,off) | ^ | int traceroute.c:2991:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] traceroute.c:2998:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2998 | doclass(ans,off) | ^ | int traceroute.c:2998:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] traceroute.c:3005:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 3005 | dottl(ans,off) | ^ | int traceroute.c:3005:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] traceroute.c:3012:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 3012 | dordata(ans,off,class,typ,fname,contact_ptr) | ^ | int traceroute.c:3012:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] traceroute.c:3018:30: warning: passing 'char *' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 3018 | int len = ntohs(getshort((char *)ans+off)); | ^~~~~~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/_endian.h:133:46: note: expanded from macro 'ntohs' 133 | #define ntohs(x) __DARWIN_OSSwapInt16(x) | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/libkern/_OSByteOrder.h:67:40: note: expanded from macro '__DARWIN_OSSwapInt16' 67 | ((__uint16_t)(__builtin_constant_p(x) ? __DARWIN_OSSwapConstInt16(x) : _OSSwapInt16(x))) | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/resolv.h:607:34: note: passing argument to parameter here 607 | u_int16_t getshort(const u_char *); | ^ traceroute.c:3018:30: warning: passing 'char *' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 3018 | int len = ntohs(getshort((char *)ans+off)); | ^~~~~~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/_endian.h:133:46: note: expanded from macro 'ntohs' 133 | #define ntohs(x) __DARWIN_OSSwapInt16(x) | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/libkern/_OSByteOrder.h:67:71: note: expanded from macro '__DARWIN_OSSwapInt16' 67 | ((__uint16_t)(__builtin_constant_p(x) ? __DARWIN_OSSwapConstInt16(x) : _OSSwapInt16(x))) | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/libkern/_OSByteOrder.h:36:34: note: expanded from macro '__DARWIN_OSSwapConstInt16' 36 | ((__uint16_t)((((__uint16_t)(x) & 0xff00U) >> 8) | \ | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/resolv.h:607:34: note: passing argument to parameter here 607 | u_int16_t getshort(const u_char *); | ^ traceroute.c:3018:30: warning: passing 'char *' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 3018 | int len = ntohs(getshort((char *)ans+off)); | ^~~~~~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/_endian.h:133:46: note: expanded from macro 'ntohs' 133 | #define ntohs(x) __DARWIN_OSSwapInt16(x) | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/libkern/_OSByteOrder.h:67:71: note: expanded from macro '__DARWIN_OSSwapInt16' 67 | ((__uint16_t)(__builtin_constant_p(x) ? __DARWIN_OSSwapConstInt16(x) : _OSSwapInt16(x))) | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/libkern/_OSByteOrder.h:37:25: note: expanded from macro '__DARWIN_OSSwapConstInt16' 37 | (((__uint16_t)(x) & 0x00ffU) << 8))) | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/resolv.h:607:34: note: passing argument to parameter here 607 | u_int16_t getshort(const u_char *); | ^ traceroute.c:3018:30: warning: passing 'char *' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 3018 | int len = ntohs(getshort((char *)ans+off)); | ^~~~~~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/_endian.h:133:46: note: expanded from macro 'ntohs' 133 | #define ntohs(x) __DARWIN_OSSwapInt16(x) | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/libkern/_OSByteOrder.h:67:89: note: expanded from macro '__DARWIN_OSSwapInt16' 67 | ((__uint16_t)(__builtin_constant_p(x) ? __DARWIN_OSSwapConstInt16(x) : _OSSwapInt16(x))) | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/resolv.h:607:34: note: passing argument to parameter here 607 | u_int16_t getshort(const u_char *); | ^ traceroute.c:3057:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3057 | void AbortIfNull (ThePointer) | ^ 85 warnings and 1 error generated. *** Error code 1 Stop. bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/net/traceroute-nanog *** Error code 1 Stop. bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/net/traceroute-nanog