=> "/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 --- nn.o --- nn.c:748:35: warning: 'sbrk' is deprecated [-Wdeprecated-declarations] initial_memory_break = (long) sbrk(0); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/unistd.h:582:1: note: 'sbrk' has been explicitly marked deprecated here __deprecated __WATCHOS_PROHIBITED __TVOS_PROHIBITED ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/sys/cdefs.h:214:40: note: expanded from macro '__deprecated' #define __deprecated __attribute__((__deprecated__)) ^ --- 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 --- 1 warning generated. --- db.o --- clang -Iconf -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include/ncurses -c db.c --- 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] fprintf(stderr, usage_mesg); ^~~~~~~~~~ options.c:76:18: note: treat the string as an argument to avoid this fprintf(stderr, usage_mesg); ^ "%s", options.c:239:37: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] *((int *) (od->option_address)) = (int) (od->option_default); ^~~~~~~~~~~~~~~~~~~~~~~~~~ --- 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] if (ISASCII(artp->a_lines[0]) && ISDIGIT(artp->a_lines[0])) ^ --- options.o --- 2 warnings generated. --- init.o --- clang -Iconf -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include/ncurses -c init.c --- 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 C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern char *mktemp(); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/unistd.h:681:7: note: conflicting prototype is here char *mktemp(char *); ^ 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] new_name = mktemp(relative(tmp_directory, "nngrXXXXXX")); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/stdlib.h:210:1: note: 'mktemp' has been explicitly marked deprecated here __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-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' #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] 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] 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] temp = CALL(other_compl) (head, len); ^ init.c:575:24: warning: 'sbrk' is deprecated [-Wdeprecated-declarations] cur_mem = (((long) sbrk(0)) - initial_memory_break) / 1024; ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/unistd.h:582:1: note: 'sbrk' has been explicitly marked deprecated here __deprecated __WATCHOS_PROHIBITED __TVOS_PROHIBITED ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/sys/cdefs.h:214:40: note: expanded from macro '__deprecated' #define __deprecated __attribute__((__deprecated__)) ^ init.c:792:9: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] 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] for (cp = buf; *cp && ISASCII(*cp) && ISSPACE(*cp); cp++); ^ --- 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 C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] static int var_on_stack(); ^ variable.c:27:17: note: conflicting prototype is here 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] 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 C2x [-Wdeprecated-non-prototype] static int var_on_stack(); ^ variable.c:1078:1: note: conflicting prototype is here 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] 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] 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] if (ISASCII(c) && ISSPACE(c)) ^ 6 warnings generated. --- keymap.o --- clang -Iconf -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include/ncurses -c keymap.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 C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern void clrmsg(); ^ ./nn_term.h:101:17: note: conflicting prototype is here 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 C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern void gotoxy(); ^ ./nn_term.h:70:17: note: conflicting prototype is here 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 C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] char *tgoto(); ^ /var/tmp/work/news/nn/work/.buildlink/include/ncurses/termcap.h:62:31: note: conflicting prototype is here 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 C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] char *tgetstr(); ^ /var/tmp/work/news/nn/work/.buildlink/include/ncurses/termcap.h:61:31: note: conflicting prototype is here 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 C2x [-Wdeprecated-non-prototype] extern void gotoxy(); ^ term.c:796:1: note: conflicting prototype is here gotoxy(int c, int l) ^ term.c:1743:21: warning: comparing a pointer to a null character constant; did you mean to compare to NULL? [-Wpointer-compare] if (mk->cur_key == NUL) ^~~ (void *)0 ./global.h:36:13: note: expanded from macro 'NUL' #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] mk->cur_key = NUL; ^~~ ./global.h:36:13: note: expanded from macro 'NUL' #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] switch (CALL(completion) ((char *) NULL, 0)) { ^ 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] extern void clrmsg(); ^ term.c:2381:1: note: conflicting prototype is here clrmsg(int col) ^ --- init.o --- 7 warnings generated. --- macro.o --- clang -Iconf -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include/ncurses -c macro.c macro.c:412:48: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] 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 --- term.o --- 13 warnings generated. --- 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] so_printf(" " + 20 - pad); ~~~~~~~~~~~~~~~~~~~~~~~^~~~ menu.c:477:35: note: use array indexing to silence this warning 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] if (ISASCII(*p) && ISDIGIT(*p)) ^ --- more.o --- 2 warnings generated. --- group.o --- clang -Iconf -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include/ncurses -c group.c --- menu.o --- 2 warnings generated. --- 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern struct passwd *getpwnam(); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/pwd.h:101:16: note: conflicting prototype is here 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] 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 --- 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] if (action != "send") { ^ ~~~~~~ aux.c:472:7: warning: address of array 'lookfor' will always evaluate to 'true' [-Wpointer-bool-conversion] if (lookfor); /* grep for lookfor */ ~~ ^~~~~~~ aux.c:472:15: warning: if statement has empty body [-Wempty-body] 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] if (fname) ~~ ^~~~~ --- 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 C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] static int order_arrival(); ^ sort.c:19:17: note: conflicting prototype is here 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] static int order_arrival(); ^ sort.c:193:1: note: conflicting prototype is here order_arrival(article_header ** a, article_header ** b) ^ --- aux.o --- 4 warnings generated. --- sequence.o --- --- 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 C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern attr_type test_article(); ^ ./newsrc.h:7:17: note: conflicting prototype is here attr_type test_article(article_header *); ^ --- sequence.o --- clang -Iconf -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include/ncurses -c sequence.c --- sort.o --- 3 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] while (*cp && ISASCII(*cp) && ISSPACE(*cp)) ^ --- fullname.o --- --- answer.o --- --- 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 --- 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 C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern struct tm *gmtime(); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/time.h:113:12: note: conflicting prototype is here 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 C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern char *asctime(); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/time.h:108:7: note: conflicting prototype is here char *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] while (*p && ISASCII(*p) && ISSPACE(*p)) ^ --- hostname.o --- --- save.o --- --- hostname.o --- clang -Iconf -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include/ncurses -c hostname.c --- 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 C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern char *ctime(); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/time.h:110:7: note: conflicting prototype is here char *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 C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern long ftell(); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/stdio.h:156:7: note: conflicting prototype is here long ftell(FILE *); ^ --- save.o --- 1 warning generated. --- execute.o --- clang -Iconf -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include/ncurses -c execute.c --- unshar.o --- 1 warning generated. --- 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] 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] 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 C2x [-Wdeprecated-non-prototype] 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] 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] 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] check("pproved:", 8, ng_appr); ^ news.c:126:9: note: expanded from macro 'check' 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] 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] 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] check("ate:", 4, dg_date); ^ digest.c:517:9: note: expanded from macro 'check' if (ISASCII(lp[lgt]) && ISSPACE(lp[lgt]) \ ^ --- 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] 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] 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] 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] *bp++ = (!ISASCII(c) || !ISUPPER(c)) ? c : _TOLOWER(c); ^ 4 warnings generated. --- printconf.o --- clang -Iconf -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include/ncurses -c printconf.c --- digest.o --- 3 warnings generated. --- awksplit.o --- --- hash.o --- --- 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 C2x [-Wdeprecated-non-prototype] (*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] } ^ 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (*nodefunc) (hp->he_key, hp->he_data, hook); ^ --- prefix.o --- clang -Iconf -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include/ncurses -c prefix.c --- hdbm.o --- 3 warnings generated. --- 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 C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern char *getlogin(), *getenv(); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/stdlib.h:147:7: note: conflicting prototype is here char *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] mktemp(buf); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/stdlib.h:210:1: note: 'mktemp' has been explicitly marked deprecated here __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-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' #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 --- prefix --- --- inst --- --- 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 --- inst --- building install script: ./inst --- prefix --- ./mkprefix prefix < /dev/null > prefix --- nn --- 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