===> Building for sacc-1.07nb1
cp config.def.h config.h
printf '#define VERSION "%s"
' "$(git rev-parse --is-inside-work-tree >/dev/null 2>&1  && git describe --tags  || echo "1.07")" > version.h
clang -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=700 -D_BSD_SOURCE -D_GNU_SOURCE  -DUSE_TLS  -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -c ui_ti.c
ui_ti.c:388:8: warning: implicit declaration of function 'strcasestr' is invalid in C99 [-Wimplicit-function-declaration]
                        if (strcasestr(dir->items[i].username, searchstr)) {
                            ^
ui_ti.c:395:8: warning: implicit declaration of function 'strcasestr' is invalid in C99 [-Wimplicit-function-declaration]
                        if (strcasestr(dir->items[i].username, searchstr)) {
                            ^
2 warnings generated.
clang -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=700 -D_BSD_SOURCE -D_GNU_SOURCE  -DUSE_TLS  -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -c io_tls.c
io_tls.c:112:9: warning: assigning to 'const char *' from 'const uint8_t *' (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]
        if ((s = tls_peer_cert_chain_pem(t, &ln)) == NULL)
               ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
io_tls.c:116:16: warning: field precision should have type 'int', but argument has type 'size_t' (aka 'unsigned long') [-Wformat]
        fprintf(f, "%.*s\n", ln, s);
                    ~~^~     ~~
io_tls.c:270:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
        if (p = strstr(url, "://")) {
            ~~^~~~~~~~~~~~~~~~~~~~
io_tls.c:270:8: note: place parentheses around the assignment to silence this warning
        if (p = strstr(url, "://")) {
              ^
            (                     )
io_tls.c:270:8: note: use '==' to turn this assignment into an equality comparison
        if (p = strstr(url, "://")) {
              ^
              ==
3 warnings generated.
clang -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=700 -D_BSD_SOURCE -D_GNU_SOURCE  -DUSE_TLS  -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -c sacc.c
sacc.c:233:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
        if (dir = item->dat) {
            ~~~~^~~~~~~~~~~
sacc.c:233:10: note: place parentheses around the assignment to silence this warning
        if (dir = item->dat) {
                ^
            (              )
sacc.c:233:10: note: use '==' to turn this assignment into an equality comparison
        if (dir = item->dat) {
                ^
                ==
sacc.c:360:12: error: use of undeclared identifier 'SIGWINCH'
        sigaction(SIGWINCH, &sa, NULL);
                  ^
sacc.c:381:12: error: use of undeclared identifier 'SIGWINCH'
        sigaction(SIGWINCH, &sa, NULL);
                  ^
sacc.c:382:13: error: use of undeclared identifier 'SIGWINCH'
        uisigwinch(SIGWINCH); /* force redraw */
                   ^
sacc.c:452:31: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
        for (nl = raw, nitems = 0; p = strchr(nl, '\n'); nl = p+1)
                                   ~~^~~~~~~~~~~~~~~~~~
sacc.c:452:31: note: place parentheses around the assignment to silence this warning
        for (nl = raw, nitems = 0; p = strchr(nl, '\n'); nl = p+1)
                                     ^
                                   (                   )
sacc.c:452:31: note: use '==' to turn this assignment into an equality comparison
        for (nl = raw, nitems = 0; p = strchr(nl, '\n'); nl = p+1)
                                     ^
                                     ==
sacc.c:562:18: error: use of undeclared identifier 'SIGWINCH'
        sigaddset(&set, SIGWINCH);
                        ^
sacc.c:565:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
        if (r = getaddrinfo(host, port, &hints, &addrs)) {
            ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sacc.c:565:8: note: place parentheses around the assignment to silence this warning
        if (r = getaddrinfo(host, port, &hints, &addrs)) {
              ^
            (                                          )
sacc.c:565:8: note: use '==' to turn this assignment into an equality comparison
        if (r = getaddrinfo(host, port, &hints, &addrs)) {
              ^
              ==
sacc.c:642:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
        if (file = strrchr(item->selector, '/'))
            ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sacc.c:642:11: note: place parentheses around the assignment to silence this warning
        if (file = strrchr(item->selector, '/'))
                 ^
            (                                  )
sacc.c:642:11: note: use '==' to turn this assignment into an equality comparison
        if (file = strrchr(item->selector, '/'))
                 ^
                 ==
sacc.c:653:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
        if (tag = item->tag) {
            ~~~~^~~~~~~~~~~
sacc.c:653:10: note: place parentheses around the assignment to silence this warning
        if (tag = item->tag) {
                ^
            (              )
sacc.c:653:10: note: use '==' to turn this assignment into an equality comparison
        if (tag = item->tag) {
                ^
                ==
sacc.c:748:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
        if (file = strrchr(item->selector, '/'))
            ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sacc.c:748:11: note: place parentheses around the assignment to silence this warning
        if (file = strrchr(item->selector, '/'))
                 ^
            (                                  )
sacc.c:748:11: note: use '==' to turn this assignment into an equality comparison
        if (file = strrchr(item->selector, '/'))
                 ^
                 ==
sacc.c:768:8: warning: implicit declaration of function 'asprintf' is invalid in C99 [-Wimplicit-function-declaration]
                        if (asprintf(&path, "%s/%s", tmpdir, file) == -1)
                            ^
sacc.c:838:7: warning: implicit declaration of function 'asprintf' is invalid in C99 [-Wimplicit-function-declaration]
                if (asprintf(&plumburi, "telnet://%s%s%s:%s",
                    ^
sacc.c:1044:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
                if (p = strstr(gopherpath, "%09")) {
                    ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
sacc.c:1044:9: note: place parentheses around the assignment to silence this warning
                if (p = strstr(gopherpath, "%09")) {
                      ^
                    (                            )
sacc.c:1044:9: note: use '==' to turn this assignment into an equality comparison
                if (p = strstr(gopherpath, "%09")) {
                      ^
                      ==
sacc.c:1049:4: warning: implicit declaration of function 'asprintf' is invalid in C99 [-Wimplicit-function-declaration]
                        asprintf(&entry->tag, "%s", gopherpath);
                        ^
sacc.c:1106:7: warning: implicit declaration of function 'mkdtemp' is invalid in C99 [-Wimplicit-function-declaration]
        if (!mkdtemp(tmpdir))
             ^
sacc.c:1108:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
        if (interactive = isatty(1)) {
            ~~~~~~~~~~~~^~~~~~~~~~~
sacc.c:1108:18: note: place parentheses around the assignment to silence this warning
        if (interactive = isatty(1)) {
                        ^
            (                      )
sacc.c:1108:18: note: use '==' to turn this assignment into an equality comparison
        if (interactive = isatty(1)) {
                        ^
                        ==
sacc.c:1112:13: error: use of undeclared identifier 'SIGWINCH'
                sigaction(SIGWINCH, &sa, NULL);
                          ^
12 warnings and 5 errors generated.
*** [sacc.o] Error code 1

bmake: stopped making "all" in /Users/pbulk/build/net/sacc/work/sacc-1.07
bmake: 1 error

bmake: stopped making "all" in /Users/pbulk/build/net/sacc/work/sacc-1.07
*** Error code 2

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

Stop.
bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/net/sacc