=> "/opt/pkg/bin/bmake" ["-C", "/Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/news/nn", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] ===> Building for nn-6.7.3nb7 --- ymakefile --- cp xmakefile MF.c tradcpp -DCOMPILER="clang" -DPREPROC="tradcpp" -DLDEBUG="-L/opt/pkg/lib" -DCDEBUG="-pipe -Os -I/opt/pkg/include/ncurses" -Iconf MF.c | sed -e '1,/MAKE WILL CUT HERE/d' -e '/^#/d' -e 's/^ */ /' -e '/^[ ]$/d' -e '/^[ \/]*[*]/d' | sed -n -e '/^..*$/p' > ymakefile In file included from MF.c:7:2: In file included from config.h:101:2: conf/s-netbsd.h:15:2: Include file sys/types.h not found In file included from MF.c:7:2: In file included from config.h:101:2: conf/s-netbsd.h:16:2: Include file sys/stat.h not found In file included from MF.c:7:2: In file included from config.h:101:2: conf/s-netbsd.h:17:2: Include file fcntl.h not found In file included from MF.c:7:2: In file included from config.h:101:2: conf/s-netbsd.h:18:2: Include file paths.h not found In file included from MF.c:7:2: In file included from config.h:101:2: conf/s-netbsd.h:94:2: Include file dirent.h not found rm -f MF.c --- all --- /opt/pkg/bin/bmake -j 3 -f ymakefile all --- nn.o --- --- admin.o --- --- proto.o --- --- nn.o --- clang -Iconf -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include/ncurses -c nn.c --- admin.o --- clang -Iconf -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include/ncurses -c admin.c --- proto.o --- clang -Iconf -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include/ncurses -c proto.c --- update.h --- configuration number updated to 1 --- options.o --- clang -Iconf -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include/ncurses -c options.c --- nn.o --- nn.c:748:35: warning: 'sbrk' is deprecated [-Wdeprecated-declarations] 748 | initial_memory_break = (long) sbrk(0); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/unistd.h:586:1: note: 'sbrk' has been explicitly marked deprecated here 586 | __deprecated __WATCHOS_PROHIBITED __TVOS_PROHIBITED | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h:214:40: note: expanded from macro '__deprecated' 214 | #define __deprecated __attribute__((__deprecated__)) | ^ --- db.o --- clang -Iconf -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include/ncurses -c db.c --- nn.o --- 1 warning generated. --- nntp.o --- clang -Iconf -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include/ncurses -c nntp.c --- options.o --- options.c:76:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 76 | fprintf(stderr, usage_mesg); | ^~~~~~~~~~ options.c:76:18: note: treat the string as an argument to avoid this 76 | fprintf(stderr, usage_mesg); | ^ | "%s", options.c:239:37: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] 239 | *((int *) (od->option_address)) = (int) (od->option_default); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 2 warnings generated. --- init.o --- clang -Iconf -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include/ncurses -c init.c --- db.o --- db.c:1620:9: warning: call to undeclared function 'ISASCII'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1620 | if (ISASCII(artp->a_lines[0]) && ISDIGIT(artp->a_lines[0])) | ^ --- nntp.o --- nntp.c:118:17: 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] 118 | extern char *mktemp(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/unistd.h:677:18: note: conflicting prototype is here 677 | char *_LIBC_CSTR mktemp(char *_LIBC_CSTR); | ^ nntp.c:1051:16: warning: 'mktemp' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of mktemp(3), it is highly recommended that you use mkstemp(3) instead. [-Wdeprecated-declarations] 1051 | new_name = mktemp(relative(tmp_directory, "nngrXXXXXX")); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:231:1: note: 'mktemp' has been explicitly marked deprecated here 231 | __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of mktemp(3), it is highly recommended that you use mkstemp(3) instead.") | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' 218 | #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) | ^ nntp.c:1534:9: warning: call to undeclared function 'ISASCII'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1534 | if (ISASCII(c) && ISUPPER(c)) | ^ --- db.o --- 1 warning generated. --- variable.o --- clang -Iconf -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include/ncurses -c variable.c --- nntp.o --- 3 warnings generated. --- term.o --- clang -Iconf -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include/ncurses -c term.c --- init.o --- init.c:115:20: warning: call to undeclared function 'ISASCII'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 115 | while (*cmd && ISASCII(*cmd) && ISSPACE(*cmd)) | ^ init.c:156:20: warning: call to undeclared function 'ISASCII'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 156 | while (*cmd && (!ISASCII(*cmd) || !ISSPACE(*cmd))) | ^ init.c:380:27: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 380 | temp = CALL(other_compl) (buf, index); | ^ init.c:480:32: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 480 | temp = CALL(other_compl) (head, len); | ^ init.c:575:24: warning: 'sbrk' is deprecated [-Wdeprecated-declarations] 575 | cur_mem = (((long) sbrk(0)) - initial_memory_break) / 1024; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/unistd.h:586:1: note: 'sbrk' has been explicitly marked deprecated here 586 | __deprecated __WATCHOS_PROHIBITED __TVOS_PROHIBITED | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h:214:40: note: expanded from macro '__deprecated' 214 | #define __deprecated __attribute__((__deprecated__)) | ^ init.c:792:9: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] 792 | code = (int) m_define("-2", initf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ init.c:1032:24: warning: call to undeclared function 'ISASCII'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1032 | for (cp = buf; *cp && ISASCII(*cp) && ISSPACE(*cp); cp++); | ^ 7 warnings generated. --- keymap.o --- clang -Iconf -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include/ncurses -c keymap.c --- variable.o --- variable.c:192:17: 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] 192 | static int var_on_stack(); | ^ variable.c:27:17: note: conflicting prototype is here 27 | static int var_on_stack(register struct variable_defs * var); | ^ variable.c:696:20: warning: call to undeclared function 'ISASCII'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 696 | while (*vs && (!ISASCII(*vs) || ISSPACE(*vs))) | ^ variable.c:192:17: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 192 | static int var_on_stack(); | ^ variable.c:1078:1: note: conflicting prototype is here 1078 | var_on_stack(register struct variable_defs * var) | ^ variable.c:1142:20: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] 1142 | if (var->var_name == "nntp-password" || var->var_name == "nntp-user") | ^ ~~~~~~~~~~~~~~~ variable.c:1142:56: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] 1142 | if (var->var_name == "nntp-password" || var->var_name == "nntp-user") | ^ ~~~~~~~~~~~ variable.c:1178:10: warning: call to undeclared function 'ISASCII'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1178 | if (ISASCII(c) && ISSPACE(c)) | ^ --- term.o --- term.c:128:17: 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] 128 | extern void clrmsg(); | ^ ./nn_term.h:101:17: note: conflicting prototype is here 101 | void clrmsg(int); | ^ term.c:129:17: 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] 129 | extern void gotoxy(); | ^ ./nn_term.h:70:17: note: conflicting prototype is here 70 | void gotoxy(int, int); | ^ term.c:173:17: 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] 173 | char *tgoto(); | ^ /var/tmp/work/news/nn/work/.buildlink/include/ncurses/termcap.h:62:31: note: conflicting prototype is here 62 | extern NCURSES_EXPORT(char *) tgoto (const char *, int, int); | ^ term.c:296:21: 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] 296 | char *tgetstr(); | ^ /var/tmp/work/news/nn/work/.buildlink/include/ncurses/termcap.h:61:31: note: conflicting prototype is here 61 | extern NCURSES_EXPORT(char *) tgetstr (const char *, char **); | ^ term.c:129:17: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 129 | extern void gotoxy(); | ^ term.c:796:1: note: conflicting prototype is here 796 | gotoxy(int c, int l) | ^ --- variable.o --- 6 warnings generated. --- term.o --- term.c:1743:21: warning: comparing a pointer to a null character constant; did you mean to compare to NULL? [-Wpointer-compare] 1743 | if (mk->cur_key == NUL) | ^~~ | (void *)0 ./global.h:36:13: note: expanded from macro 'NUL' 36 | #define NUL '\0' | ^ term.c:1746:20: warning: expression which evaluates to zero treated as a null pointer constant of type 'key_type *' (aka 'unsigned char *') [-Wnon-literal-null-conversion] 1746 | mk->cur_key = NUL; | ^~~ ./global.h:36:13: note: expanded from macro 'NUL' 36 | #define NUL '\0' | ^~~~ term.c:1932:25: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1932 | if (!CALL(completion) (lbuf, -(i + 1)) && did_help) | ^ term.c:1944:41: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1944 | if ((comp_used = CALL(completion) (lbuf, i)) == 0) { | ^ term.c:1955:28: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1955 | if (CALL(completion) ((char *) NULL, 1)) { | ^ term.c:1969:28: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1969 | switch (CALL(completion) ((char *) NULL, 0)) { | ^ --- macro.o --- --- term.o --- term.c:1996:25: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1996 | if (!CALL(completion) (lbuf, -(i + 1)) && did_help) | ^ term.c:128:17: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 128 | extern void clrmsg(); | ^ term.c:2381:1: note: conflicting prototype is here 2381 | clrmsg(int col) | ^ --- macro.o --- clang -Iconf -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include/ncurses -c macro.c --- regexp.o --- --- term.o --- 13 warnings generated. --- macro.o --- macro.c:412:48: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] 412 | return type == 0 ? (char *) macro[cur_m] : (char *) (K_MACRO | cur_m); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ --- regexp.o --- clang -Iconf -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include/ncurses -c regexp.c --- menu.o --- clang -Iconf -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include/ncurses -c menu.c --- macro.o --- 1 warning generated. --- more.o --- clang -Iconf -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include/ncurses -c more.c --- menu.o --- menu.c:477:35: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int] 477 | so_printf(" " + 20 - pad); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ menu.c:477:35: note: use array indexing to silence this warning 477 | so_printf(" " + 20 - pad); | ^ | & [ ] menu.c:1028:7: warning: call to undeclared function 'ISASCII'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1028 | if (!ISASCII(line[len]) || !ISSPACE(line[len])) | ^ --- more.o --- more.c:620:21: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 620 | CALL(hdrattr) (1); | ^ more.c:638:21: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 638 | CALL(hdrattr) (0); | ^ --- newsrc.o --- clang -Iconf -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include/ncurses -c newsrc.c newsrc.c:709:7: warning: call to undeclared function 'ISASCII'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 709 | if (ISASCII(*p) && ISDIGIT(*p)) | ^ --- menu.o --- 2 warnings generated. --- group.o --- --- more.o --- 2 warnings generated. --- group.o --- clang -Iconf -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include/ncurses -c group.c --- folder.o --- clang -Iconf -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include/ncurses -c folder.c --- newsrc.o --- 1 warning generated. --- dir.o --- clang -Iconf -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include/ncurses -c dir.c --- group.o --- group.c:384:27: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 384 | menu_cmd = CALL(menu) (print_header); | ^ --- folder.o --- folder.c:56:23: 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] 56 | extern struct passwd *getpwnam(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/pwd.h:101:16: note: conflicting prototype is here 101 | struct passwd *getpwnam(const char *); | ^ folder.c:71:21: warning: call to undeclared function 'ISASCII'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 71 | while (*tail && ISASCII(*tail) && !ISSPACE(*tail) && *tail != '/') | ^ --- aux.o --- clang -Iconf -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include/ncurses -c aux.c --- folder.o --- 2 warnings generated. --- sort.o --- clang -Iconf -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include/ncurses -c sort.c --- group.o --- 1 warning generated. --- articles.o --- clang -Iconf -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include/ncurses -c articles.c --- sort.o --- sort.c:24:17: 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] 24 | static int order_arrival(); | ^ sort.c:19:17: note: conflicting prototype is here 19 | static int order_arrival(article_header ** a, article_header ** b); | ^ sort.c:66:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 66 | static int match_subject(a, b) | ^ sort.c:24:17: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 24 | static int order_arrival(); | ^ sort.c:193:1: note: conflicting prototype is here 193 | order_arrival(article_header ** a, article_header ** b) | ^ --- aux.o --- aux.c:359:16: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] 359 | if (action != "send") { | ^ ~~~~~~ aux.c:472:7: warning: address of array 'lookfor' will always evaluate to 'true' [-Wpointer-bool-conversion] 472 | if (lookfor); /* grep for lookfor */ | ~~ ^~~~~~~ aux.c:472:15: warning: if statement has empty body [-Wempty-body] 472 | if (lookfor); /* grep for lookfor */ | ^ aux.c:472:15: note: put the semicolon on a separate line to silence this warning aux.c:557:7: warning: address of array 'fname' will always evaluate to 'true' [-Wpointer-bool-conversion] 557 | if (fname) | ~~ ^~~~~ --- articles.o --- articles.c:39:18: 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] 39 | extern attr_type test_article(); | ^ ./newsrc.h:7:17: note: conflicting prototype is here 7 | attr_type test_article(article_header *); | ^ --- sort.o --- 3 warnings generated. --- sequence.o --- clang -Iconf -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include/ncurses -c sequence.c --- aux.o --- 4 warnings generated. --- kill.o --- clang -Iconf -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include/ncurses -c kill.c --- articles.o --- 1 warning generated. --- active.o --- clang -Iconf -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include/ncurses -c active.c --- kill.o --- kill.c:653:16: warning: call to undeclared function 'ISASCII'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 653 | while (*cp && ISASCII(*cp) && ISSPACE(*cp)) | ^ --- fullname.o --- clang -Iconf -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include/ncurses -c fullname.c --- answer.o --- clang -Iconf -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include/ncurses -c answer.c --- kill.o --- 1 warning generated. --- reroute.o --- clang -Iconf -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include/ncurses -c reroute.c --- hostname.o --- clang -Iconf -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include/ncurses -c hostname.c --- answer.o --- answer.c:102:19: 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] 102 | extern struct tm *gmtime(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_time.h:116:12: note: conflicting prototype is here 116 | struct tm *gmtime(const time_t *); | ^ answer.c:103:17: 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] 103 | extern char *asctime(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_time.h:111:18: note: conflicting prototype is here 111 | char *_LIBC_CSTR asctime(const struct tm *); | ^ answer.c:206:15: warning: call to undeclared function 'ISASCII'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 206 | while (*p && ISASCII(*p) && ISSPACE(*p)) | ^ --- save.o --- clang -Iconf -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include/ncurses -c save.c --- answer.o --- 3 warnings generated. --- unshar.o --- clang -Iconf -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include/ncurses -c unshar.c --- decode.o --- clang -Iconf -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include/ncurses -c decode.c --- save.o --- save.c:70:17: 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] 70 | extern char *ctime(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_time.h:113:18: note: conflicting prototype is here 113 | char *_LIBC_CSTR ctime(const time_t *); | ^ --- unshar.o --- unshar.c:28:17: 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] 28 | extern long ftell(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:254:7: note: conflicting prototype is here 254 | long ftell(FILE *); | ^ --- save.o --- 1 warning generated. --- execute.o --- --- unshar.o --- 1 warning generated. --- execute.o --- clang -Iconf -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include/ncurses -c execute.c --- pack_date.o --- clang -Iconf -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include/ncurses -c pack_date.c --- pack_name.o --- clang -Iconf -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include/ncurses -c pack_name.c --- pack_date.o --- pack_date.c:357:21: warning: call to undeclared function 'ISASCII'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 357 | for (; *date && ISASCII(*date); date++) { | ^ --- pack_subject.o --- clang -Iconf -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include/ncurses -c pack_subject.c --- pack_date.o --- 1 warning generated. --- news.o --- clang -Iconf -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include/ncurses -c news.c --- digest.o --- clang -Iconf -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include/ncurses -c digest.c --- pack_subject.o --- pack_subject.c:68:10: warning: call to undeclared function 'ISASCII'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 68 | if (ISASCII(*src) && ISSPACE(*src)) { | ^ --- news.o --- news.c:67:32: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 67 | else if ((fptr = (*hdr_field) (bp, all))) { | ^ news.c:68:34: warning: call to undeclared function 'ISASCII'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 68 | while (*bp && *bp != ':' && ISASCII(*bp) && !ISSPACE(*bp)) | ^ news.c:106:19: warning: call to undeclared function 'ISASCII'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 106 | if (!(*cp && ISASCII(*cp) && ISSPACE(*cp) && *cp != NL)) { | ^ news.c:136:6: warning: call to undeclared function 'ISASCII'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 136 | check("pproved:", 8, ng_appr); | ^ news.c:126:9: note: expanded from macro 'check' 126 | if (ISASCII(lp[lgt]) && ISSPACE(lp[lgt]) \ | ^ --- pack_subject.o --- 1 warning generated. --- match.o --- clang -Iconf -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include/ncurses -c match.c --- news.o --- 4 warnings generated. --- chset.o --- clang -Iconf -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include/ncurses -c chset.c --- digest.o --- digest.c:130:29: warning: call to undeclared function 'ISASCII'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 130 | while (*lp && *lp != NL && ISASCII(*lp) && ISSPACE(*lp)) | ^ digest.c:371:28: warning: call to undeclared function 'ISASCII'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 371 | for (cp = line; *cp && ISASCII(*cp) && ISSPACE(*cp); cp++); | ^ digest.c:538:6: warning: call to undeclared function 'ISASCII'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 538 | check("ate:", 4, dg_date); | ^ digest.c:517:9: note: expanded from macro 'check' 517 | if (ISASCII(lp[lgt]) && ISSPACE(lp[lgt]) \ | ^ 3 warnings generated. --- printconf.o --- clang -Iconf -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include/ncurses -c printconf.c --- match.o --- match.c:40:7: warning: call to undeclared function 'ISASCII'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 40 | if (!ISASCII(c) || !ISUPPER(c)) | ^ match.c:61:7: warning: call to undeclared function 'ISASCII'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 61 | if (!ISASCII(c) || !ISUPPER(c) || _TOLOWER(c) != (unsigned) d) | ^ match.c:82:11: warning: call to undeclared function 'ISASCII'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 82 | if (!ISASCII(c) || !ISUPPER(c)) | ^ match.c:142:12: warning: call to undeclared function 'ISASCII'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 142 | *bp++ = (!ISASCII(c) || !ISUPPER(c)) ? c : _TOLOWER(c); | ^ 4 warnings generated. --- awksplit.o --- clang -Iconf -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include/ncurses -c awksplit.c --- hash.o --- clang -Iconf -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include/ncurses -c hash.c --- hdbm.o --- clang -Iconf -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include/ncurses -c hdbm.c --- hash.o --- hash.c:157:18: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 157 | (*thp->func) (key.dat_ptr, data.dat_ptr, thp->realhook); | ^ hash.c:158:1: warning: non-void function does not return a value [-Wreturn-type] 158 | } | ^ 2 warnings generated. --- libnov.o --- clang -Iconf -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include/ncurses -c libnov.c --- split.o --- clang -Iconf -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include/ncurses -c split.c --- hdbm.o --- hdbm.c:208:42: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 208 | hepp = &tbl->ht_addr[(*tbl->ht_hash) (key) % size]; | ^ hdbm.c:278:29: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 278 | hp->he_data = (*allocator) (key); | ^ hdbm.c:342:18: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 342 | (*nodefunc) (hp->he_key, hp->he_data, hook); | ^ 3 warnings generated. --- prefix.o --- clang -Iconf -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include/ncurses -c prefix.c --- cvt-help --- clang -o cvt-help cvt-help.c -L/opt/pkg/lib --- usercheck --- clang -o usercheck usercheck.c -L/opt/pkg/lib --- man/nn.1 --- cp -p man/nn.1.nov man/nn.1 --- global.o --- clang -Iconf -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include/ncurses -c global.c global.c:84:30: 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] 84 | extern char *getlogin(), *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 *); | ^ global.c:371:5: warning: 'mktemp' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of mktemp(3), it is highly recommended that you use mkstemp(3) instead. [-Wdeprecated-declarations] 371 | mktemp(buf); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:231:1: note: 'mktemp' has been explicitly marked deprecated here 231 | __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of mktemp(3), it is highly recommended that you use mkstemp(3) instead.") | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' 218 | #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) | ^ 2 warnings generated. --- nn --- --- mkprefix --- --- nn --- linking nn --- mkprefix --- clang -o mkprefix -Iconf -pipe -Os -I/opt/pkg/include/ncurses prefix.o global.o -L/opt/pkg/lib --- nn --- Undefined symbols for architecture arm64: "_ISASCII", referenced from: _db_read_art in db.o _lower in nntp.o _argv in init.o _parse_on_to_end in init.o _strip_str in init.o _set_variable in variable.o _set_variable in variable.o ... ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation) *** [nn] Error code 1 bmake[1]: stopped making "all" in /var/tmp/work/news/nn/work/nn-6.7.3 bmake[1]: 1 error bmake[1]: stopped making "all" in /var/tmp/work/news/nn/work/nn-6.7.3 *** [all] Error code 2 bmake: stopped making "all" in /var/tmp/work/news/nn/work/nn-6.7.3 bmake: 1 error bmake: stopped making "all" in /var/tmp/work/news/nn/work/nn-6.7.3 *** Error code 2 Stop. bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/news/nn *** Error code 1 Stop. bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/news/nn