===> Building for tcl-scotty-2.1.11nb19
/Users/pbulk/build/net/tcl-scotty/work/.cwrapper/bin/libtool  --mode=compile clang -c -pipe -Os -I/opt/pkg/include  -fno-common  -I. -I./../tnm/generic -I/opt/pkg/include ./../tnm/generic/tnmJob.c
libtool: compile:  clang -c -pipe -Os -I/Users/pbulk/build/net/tcl-scotty/work/.buildlink/include -fno-common -I. -I./../tnm/generic ./../tnm/generic/tnmJob.c  -fno-common -DPIC -o .libs/tnmJob.o
libtool: compile:  clang -c -pipe -Os -I/Users/pbulk/build/net/tcl-scotty/work/.buildlink/include -fno-common -I. -I./../tnm/generic ./../tnm/generic/tnmJob.c -o tnmJob.o >/dev/null 2>&1
/Users/pbulk/build/net/tcl-scotty/work/.cwrapper/bin/libtool  --mode=compile clang -c -pipe -Os -I/opt/pkg/include  -fno-common  -I. -I./../tnm/generic -I/opt/pkg/include -DTKINEDLIB=\"/opt/pkg/lib/tcl/tkined1.4.11\" ./../tnm/generic/tnmIned.c
libtool: compile:  clang -c -pipe -Os -I/Users/pbulk/build/net/tcl-scotty/work/.buildlink/include -fno-common -I. -I./../tnm/generic -DTKINEDLIB=\"/opt/pkg/lib/tcl/tkined1.4.11\" ./../tnm/generic/tnmIned.c  -fno-common -DPIC -o .libs/tnmIned.o
libtool: compile:  clang -c -pipe -Os -I/Users/pbulk/build/net/tcl-scotty/work/.buildlink/include -fno-common -I. -I./../tnm/generic -DTKINEDLIB=\"/opt/pkg/lib/tcl/tkined1.4.11\" ./../tnm/generic/tnmIned.c -o tnmIned.o >/dev/null 2>&1
/Users/pbulk/build/net/tcl-scotty/work/.cwrapper/bin/libtool  --mode=compile clang -c -pipe -Os -I/opt/pkg/include  -fno-common  -I. -I./../tnm/generic -I/opt/pkg/include ./../tnm/generic/tnmSyslog.c
libtool: compile:  clang -c -pipe -Os -I/Users/pbulk/build/net/tcl-scotty/work/.buildlink/include -fno-common -I. -I./../tnm/generic ./../tnm/generic/tnmSyslog.c  -fno-common -DPIC -o .libs/tnmSyslog.o
libtool: compile:  clang -c -pipe -Os -I/Users/pbulk/build/net/tcl-scotty/work/.buildlink/include -fno-common -I. -I./../tnm/generic ./../tnm/generic/tnmSyslog.c -o tnmSyslog.o >/dev/null 2>&1
/Users/pbulk/build/net/tcl-scotty/work/.cwrapper/bin/libtool  --mode=compile clang -c -pipe -Os -I/opt/pkg/include  -fno-common  -I. -I./../tnm/generic -I/opt/pkg/include ./../tnm/generic/tnmIcmp.c
libtool: compile:  clang -c -pipe -Os -I/Users/pbulk/build/net/tcl-scotty/work/.buildlink/include -fno-common -I. -I./../tnm/generic ./../tnm/generic/tnmIcmp.c  -fno-common -DPIC -o .libs/tnmIcmp.o
libtool: compile:  clang -c -pipe -Os -I/Users/pbulk/build/net/tcl-scotty/work/.buildlink/include -fno-common -I. -I./../tnm/generic ./../tnm/generic/tnmIcmp.c -o tnmIcmp.o >/dev/null 2>&1
/Users/pbulk/build/net/tcl-scotty/work/.cwrapper/bin/libtool  --mode=compile clang -c -pipe -Os -I/opt/pkg/include  -fno-common  -I. -I./../tnm/generic -I/opt/pkg/include ./../tnm/generic/tnmDns.c
libtool: compile:  clang -c -pipe -Os -I/Users/pbulk/build/net/tcl-scotty/work/.buildlink/include -fno-common -I. -I./../tnm/generic ./../tnm/generic/tnmDns.c  -fno-common -DPIC -o .libs/tnmDns.o
./../tnm/generic/tnmDns.c:30:5: error: unknown type name 'HEADER'
    HEADER qb1;
    ^
./../tnm/generic/tnmDns.c:31:14: error: use of undeclared identifier 'PACKETSZ'
    char qb2[PACKETSZ];
             ^
./../tnm/generic/tnmDns.c:253:30: error: use of undeclared identifier 'QUERY'
    qlen = res_nmkquery(&rs, QUERY, query_string, C_IN, query_type, 
                             ^
./../tnm/generic/tnmDns.c:253:51: error: use of undeclared identifier 'C_IN'
    qlen = res_nmkquery(&rs, QUERY, query_string, C_IN, query_type, 
                                                  ^
./../tnm/generic/tnmDns.c:323:14: error: use of undeclared identifier 'QFIXEDSZ'
        ptr += rc + QFIXEDSZ;
                    ^
./../tnm/generic/tnmDns.c:354:2: warning: implicit declaration of function 'GETSHORT' is invalid in C99 [-Wimplicit-function-declaration]
        GETSHORT(type, ptr);
        ^
./../tnm/generic/tnmDns.c:356:2: warning: implicit declaration of function 'GETLONG' is invalid in C99 [-Wimplicit-function-declaration]
        GETLONG(ttl, ptr);
        ^
./../tnm/generic/tnmDns.c:359:14: error: use of undeclared identifier 'T_NS'
        if (type == T_NS) {
                    ^
./../tnm/generic/tnmDns.c:367:21: error: use of undeclared identifier 'T_A'
        } else if (type == T_A) {
                           ^
./../tnm/generic/tnmDns.c:372:28: error: use of undeclared identifier 'T_A'
                || query_result->type == T_A || query_result->type == -1) {
                                         ^
./../tnm/generic/tnmDns.c:373:24: error: use of undeclared identifier 'T_A'
                query_result->type = T_A;
                                     ^
./../tnm/generic/tnmDns.c:377:21: error: use of undeclared identifier 'T_SOA'
        } else if (type == T_SOA) {
                           ^
./../tnm/generic/tnmDns.c:402:32: error: use of undeclared identifier 'T_SOA'
            if (query_result->type == T_SOA || query_result->type == -1) {
                                      ^
./../tnm/generic/tnmDns.c:403:24: error: use of undeclared identifier 'T_SOA'
                query_result->type = T_SOA;
                                     ^
./../tnm/generic/tnmDns.c:407:21: error: use of undeclared identifier 'T_HINFO'
        } else if (type == T_HINFO) {
                           ^
./../tnm/generic/tnmDns.c:417:29: error: use of undeclared identifier 'T_HINFO'
                if (query_result->type == T_HINFO 
                                          ^
./../tnm/generic/tnmDns.c:419:28: error: use of undeclared identifier 'T_HINFO'
                    query_result->type = T_HINFO;
                                         ^
./../tnm/generic/tnmDns.c:424:21: error: use of undeclared identifier 'T_PTR'
        } else if (type == T_PTR) {
                           ^
./../tnm/generic/tnmDns.c:432:32: error: use of undeclared identifier 'T_PTR'
            if (query_result->type == T_PTR || query_result->type == -1) {
                                      ^
./../tnm/generic/tnmDns.c:433:24: error: use of undeclared identifier 'T_PTR'
                query_result->type = T_PTR;
                                     ^
./../tnm/generic/tnmDns.c:437:21: error: use of undeclared identifier 'T_MX'
        } else if (type == T_MX) {
                           ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
2 warnings and 20 errors generated.
*** Error code 1

Stop.
bmake: stopped making "all" in /Users/pbulk/build/net/tcl-scotty/work/scotty-2.1.11/unix
*** Error code 1

Stop.
bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-upstream-arm64/net/tcl-scotty
*** Error code 1

Stop.
bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-upstream-arm64/net/tcl-scotty