WARNING: [license.mk] Every package should define a LICENSE.
===> Building for traceroute-nanog-6.4.2nb1
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:935:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
main(argc, argv)
^
traceroute.c:1020: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:1025:35: warning: expression result unused [-Wunused-value]
                                  *oix++;       /* Fill in total length later */
                                  ^~~~~~
traceroute.c:1121: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:797:18: note: expanded from macro 'SPRAYMAX'
#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]
                                        Fprintf(stderr,"nprobes must be >0 and <%lu%s",SPRAYMAX,terminator);
                                                                                ~~~    ^~~~~~~~
                                                                                %d
traceroute.c:797:18: note: expanded from macro 'SPRAYMAX'
#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]
        NOERR(signal(SIGINT,halt),"signal SIGINT");
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
traceroute.c:750:30: note: expanded from macro 'NOERR'
#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]
            while (cc = wait_for_reply(s, &from, &deadline)) {
                   ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
traceroute.c:1462:23: note: place parentheses around the assignment to silence this warning
            while (cc = wait_for_reply(s, &from, &deadline)) {
                      ^
                   (                                       )
traceroute.c:1462:23: note: use '==' to turn this assignment into an equality comparison
            while (cc = wait_for_reply(s, &from, &deadline)) {
                      ^
                      ==
traceroute.c:1504:5: warning: cast to smaller integer type 'int' from 'void (*)(int)' [-Wpointer-to-int-cast]
                  NOERR(signal(SIGINT,halt), "signal SIGINT");
                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
traceroute.c:750:30: note: expanded from macro 'NOERR'
#define NOERR(val,msg) {if (((int)(val)) < 0) {perror(msg);exit(1);}}
                             ^~~~~~~~~~
traceroute.c:1741:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
wait_for_reply(sock, from, deadline)
^
traceroute.c:1759: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:1778:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
send_probe(seq, ttl, proto)
^
traceroute.c:2028:1: warning: non-void function does not return a value in all control paths [-Wreturn-type]
}
^
traceroute.c:2154:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
packet_ok(buf, cc, from, seq, proto)
^
traceroute.c:2345:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
print(buf, cc, from)
^
traceroute.c:2371:7: warning: non-void function does not return a value [-Wreturn-type]
      }
      ^
traceroute.c:2377:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
tvsub(out, in)
^
traceroute.c:2385:1: warning: non-void function does not return a value [-Wreturn-type]
}
^
traceroute.c:2431:38: warning: format specifies type 'unsigned long' but the argument has type 'unsigned int' [-Wformat]
    sprintf(line, "%lu.%lu.%lu.%lu", C(in.s_addr >> 24),
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
                   %u
traceroute.c:2429:17: note: expanded from macro 'C'
#define C(x)    ((x) & 0xff)
                ^
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/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:2436:13: warning: format specifies type 'unsigned long' but the argument has type 'unsigned int' [-Wformat]
            C(in.s_addr >> 16), C(in.s_addr >> 8), C(in.s_addr));
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
traceroute.c:2429:17: note: expanded from macro 'C'
#define C(x)    ((x) & 0xff)
                ^
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/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:2436:33: warning: format specifies type 'unsigned long' but the argument has type 'unsigned int' [-Wformat]
            C(in.s_addr >> 16), C(in.s_addr >> 8), C(in.s_addr));
            ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
traceroute.c:2429:17: note: expanded from macro 'C'
#define C(x)    ((x) & 0xff)
                ^
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/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:2436:52: warning: format specifies type 'unsigned long' but the argument has type 'unsigned int' [-Wformat]
            C(in.s_addr >> 16), C(in.s_addr >> 8), C(in.s_addr));
            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
traceroute.c:2429:17: note: expanded from macro 'C'
#define C(x)    ((x) & 0xff)
                ^
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/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:2447:3: warning: cast to smaller integer type 'int' from 'void (*)(int)' [-Wpointer-to-int-cast]
  NOERR(signal(SIGINT,0), "signal SIGINT,0");
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
traceroute.c:750:30: note: expanded from macro 'NOERR'
#define NOERR(val,msg) {if (((int)(val)) < 0) {perror(msg);exit(1);}}
                             ^~~~~~~~~~
traceroute.c:2930:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
doqd(ans,off)
^
traceroute.c:2943:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
dorr(ans,off,contact_ptr)
^
traceroute.c:2962:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
doname(ans,off,name)
^
traceroute.c:2991:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
dotype(ans,off)
^
traceroute.c:2998:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
doclass(ans,off)
^
traceroute.c:3005:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
dottl(ans,off)
^
traceroute.c:3012:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
dordata(ans,off,class,typ,fname,contact_ptr)
^
29 warnings generated.
Undefined symbols for architecture arm64:
  "_res_9_mkquery", referenced from:
      _doresolve in traceroute-a98b74.o
  "_res_9_send", referenced from:
      _doresolve in traceroute-a98b74.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 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