=> "/opt/pkg/bin/bmake" ["-C", "/Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/net/sacc", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] ===> Building for sacc-1.07nb1 --- config.h --- --- version.h --- --- config.h --- cp config.def.h config.h --- version.h --- printf '#define VERSION "%s" ' "$(git rev-parse --is-inside-work-tree >/dev/null 2>&1 && git describe --tags || echo "1.07")" > version.h --- io_tls.o --- 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 --- ui_ti.o --- 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 --- io_tls.o --- 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] 112 | 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] 116 | fprintf(f, "%.*s\n", ln, s); | ~~^~ ~~ io_tls.c:270:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 270 | if (p = strstr(url, "://")) { | ~~^~~~~~~~~~~~~~~~~~~~ io_tls.c:270:8: note: place parentheses around the assignment to silence this warning 270 | if (p = strstr(url, "://")) { | ^ | ( ) io_tls.c:270:8: note: use '==' to turn this assignment into an equality comparison 270 | if (p = strstr(url, "://")) { | ^ | == 3 warnings generated. --- sacc.o --- 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 --- ui_ti.o --- ui_ti.c:388:8: warning: call to undeclared function 'strcasestr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 388 | if (strcasestr(dir->items[i].username, searchstr)) { | ^ ui_ti.c:395:8: warning: call to undeclared function 'strcasestr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 395 | if (strcasestr(dir->items[i].username, searchstr)) { | ^ 2 warnings generated. --- sacc.o --- sacc.c:233:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 233 | if (dir = item->dat) { | ~~~~^~~~~~~~~~~ sacc.c:233:10: note: place parentheses around the assignment to silence this warning 233 | if (dir = item->dat) { | ^ | ( ) sacc.c:233:10: note: use '==' to turn this assignment into an equality comparison 233 | if (dir = item->dat) { | ^ | == sacc.c:360:12: error: use of undeclared identifier 'SIGWINCH' 360 | sigaction(SIGWINCH, &sa, NULL); | ^ sacc.c:381:12: error: use of undeclared identifier 'SIGWINCH' 381 | sigaction(SIGWINCH, &sa, NULL); | ^ sacc.c:382:13: error: use of undeclared identifier 'SIGWINCH' 382 | uisigwinch(SIGWINCH); /* force redraw */ | ^ sacc.c:452:31: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 452 | 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 452 | 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 452 | for (nl = raw, nitems = 0; p = strchr(nl, '\n'); nl = p+1) | ^ | == sacc.c:562:18: error: use of undeclared identifier 'SIGWINCH' 562 | sigaddset(&set, SIGWINCH); | ^ sacc.c:565:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 565 | if (r = getaddrinfo(host, port, &hints, &addrs)) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sacc.c:565:8: note: place parentheses around the assignment to silence this warning 565 | if (r = getaddrinfo(host, port, &hints, &addrs)) { | ^ | ( ) sacc.c:565:8: note: use '==' to turn this assignment into an equality comparison 565 | if (r = getaddrinfo(host, port, &hints, &addrs)) { | ^ | == sacc.c:642:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 642 | if (file = strrchr(item->selector, '/')) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sacc.c:642:11: note: place parentheses around the assignment to silence this warning 642 | if (file = strrchr(item->selector, '/')) | ^ | ( ) sacc.c:642:11: note: use '==' to turn this assignment into an equality comparison 642 | if (file = strrchr(item->selector, '/')) | ^ | == sacc.c:653:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 653 | if (tag = item->tag) { | ~~~~^~~~~~~~~~~ sacc.c:653:10: note: place parentheses around the assignment to silence this warning 653 | if (tag = item->tag) { | ^ | ( ) sacc.c:653:10: note: use '==' to turn this assignment into an equality comparison 653 | if (tag = item->tag) { | ^ | == sacc.c:748:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 748 | if (file = strrchr(item->selector, '/')) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sacc.c:748:11: note: place parentheses around the assignment to silence this warning 748 | if (file = strrchr(item->selector, '/')) | ^ | ( ) sacc.c:748:11: note: use '==' to turn this assignment into an equality comparison 748 | if (file = strrchr(item->selector, '/')) | ^ | == sacc.c:768:8: warning: call to undeclared function 'asprintf'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 768 | if (asprintf(&path, "%s/%s", tmpdir, file) == -1) | ^ sacc.c:838:7: warning: call to undeclared function 'asprintf'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 838 | 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] 1044 | if (p = strstr(gopherpath, "%09")) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ sacc.c:1044:9: note: place parentheses around the assignment to silence this warning 1044 | if (p = strstr(gopherpath, "%09")) { | ^ | ( ) sacc.c:1044:9: note: use '==' to turn this assignment into an equality comparison 1044 | if (p = strstr(gopherpath, "%09")) { | ^ | == sacc.c:1049:4: warning: call to undeclared function 'asprintf'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1049 | asprintf(&entry->tag, "%s", gopherpath); | ^ sacc.c:1106:7: warning: call to undeclared function 'mkdtemp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1106 | if (!mkdtemp(tmpdir)) | ^ sacc.c:1108:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1108 | if (interactive = isatty(1)) { | ~~~~~~~~~~~~^~~~~~~~~~~ sacc.c:1108:18: note: place parentheses around the assignment to silence this warning 1108 | if (interactive = isatty(1)) { | ^ | ( ) sacc.c:1108:18: note: use '==' to turn this assignment into an equality comparison 1108 | if (interactive = isatty(1)) { | ^ | == sacc.c:1112:13: error: use of undeclared identifier 'SIGWINCH' 1112 | sigaction(SIGWINCH, &sa, NULL); | ^ 12 warnings and 5 errors generated. *** [sacc.o] Error code 1 bmake: stopped making "all" in /var/tmp/work/net/sacc/work/sacc-1.07 bmake: 1 error bmake: stopped making "all" in /var/tmp/work/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