=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/editors/ve", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for ve-1.0 --- edit.o --- --- term.o --- --- edit.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses -DVEDITOR -I/opt/pkg/include/ncurses -c edit.c --- term.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses -DVEDITOR -I/opt/pkg/include/ncurses -c term.c --- edit.o --- edit.c: In function 'indigestion': edit.c:59:1: warning: old-style function definition [-Wold-style-definition] 59 | indigestion(i) | ^~~~~~~~~~~ edit.c:59:1: error: type of 'i' defaults to 'int' [-Wimplicit-int] edit.c: In function 'n2ansi': edit.c:97:12: error: type defaults to 'int' in declaration of 'ansix' [-Wimplicit-int] 97 | register ansix = 0; | ^~~~~ edit.c: In function 'edit_msg': edit.c:134:3: error: implicit declaration of function 'move'; did you mean 'remove'? [-Wimplicit-function-declaration] 134 | move(b_lines, 0); | ^~~~ | remove edit.c:135:3: error: implicit declaration of function 'clrtoeol' [-Wimplicit-function-declaration] 135 | clrtoeol(); | ^~~~~~~~ edit.c:136:3: error: implicit declaration of function 'prints'; did you mean 'printf'? [-Wimplicit-function-declaration] 136 | prints("\033[%sm ½s¿è¤å³¹ \033[31;47m (Ctrl-G)\033[30m ½u¤W»²§U»¡©ú \033[31m(^X,^Q)\033[30m Àɮ׳B²z ùø%s¢x%c%c%c%cùø %3d:%3d \033[m", | ^~~~~~ | printf edit.c: In function 'back_line': edit.c:146:1: warning: old-style function definition [-Wold-style-definition] 146 | back_line(pos, num) | ^~~~~~~~~ edit.c: In function 'forward_line': edit.c:165:1: warning: old-style function definition [-Wold-style-definition] 165 | forward_line(pos, num) | ^~~~~~~~~~~~ edit.c: In function 'killsp': edit.c:199:1: warning: old-style function definition [-Wold-style-definition] 199 | killsp(s) | ^~~~~~ edit.c: In function 'alloc_line': edit.c:211:16: error: conflicting types for 'malloc'; have 'void *(void)' 211 | extern void *malloc(); | ^~~~~~ In file included from /usr/include/stdlib.h:41, from edit.c:9: /usr/include/iso/stdlib_iso.h:142:14: note: previous declaration of 'malloc' with type 'void *(long unsigned int)' 142 | extern void *malloc(size_t); | ^~~~~~ edit.c:214:24: error: too many arguments to function 'malloc'; expected 0, have 1 214 | if (p = (textline *) malloc(sizeof(textline))) | ^~~~~~ ~~~~~~~~~~~~~~~~ edit.c:211:16: note: declared here 211 | extern void *malloc(); | ^~~~~~ edit.c:221:3: error: implicit declaration of function 'abort_bbs' [-Wimplicit-function-declaration] 221 | abort_bbs(); | ^~~~~~~~~ edit.c: In function 'append': edit.c:230:1: warning: old-style function definition [-Wold-style-definition] 230 | append(p, line) | ^~~~~~ edit.c: In function 'delete_line': edit.c:250:1: warning: old-style function definition [-Wold-style-definition] 250 | delete_line(line) | ^~~~~~~~~~~ edit.c: At top level: edit.c:280:1: error: return type defaults to 'int' [-Wimplicit-int] 280 | undelete_line() | ^~~~~~~~~~~~~ edit.c: In function 'undelete_line': edit.c:296:4: error: implicit declaration of function 'insert_string' [-Wimplicit-function-declaration] 296 | insert_string(deleted_lines->data); | ^~~~~~~~~~~~~ edit.c: In function 'split': edit.c:333:1: warning: old-style function definition [-Wold-style-definition] 333 | split(line, pos) | ^~~~~ edit.c: In function 'join': edit.c:378:1: warning: old-style function definition [-Wold-style-definition] 378 | join(line) | ^~~~ --- term.o --- term.c: In function 'get_tty': --- edit.o --- edit.c: In function 'insert_char': edit.c:433:1: warning: old-style function definition [-Wold-style-definition] 433 | insert_char(ch) | ^~~~~~~~~~~ --- term.o --- term.c:52:7: error: implicit declaration of function 'gtty' [-Wimplicit-function-declaration] 52 | if (gtty (1, &tty_state) < 0) | ^~~~ --- edit.o --- edit.c: At top level: edit.c:468:1: error: return type defaults to 'int' [-Wimplicit-int] 468 | insert_string(str) | ^~~~~~~~~~~~~ edit.c: In function 'insert_string': edit.c:468:1: warning: old-style function definition [-Wold-style-definition] edit.c:477:9: error: implicit declaration of function 'isprint2'; did you mean 'isprint'? [-Wimplicit-function-declaration] 477 | if (isprint2(ch) || ch == '') | ^~~~~~~~ | isprint edit.c: In function 'load_file': edit.c:521:1: warning: old-style function definition [-Wold-style-definition] 521 | load_file(fp) | ^~~~~~~~~ --- term.o --- term.c: In function 'init_tty': term.c:86:3: error: implicit declaration of function 'stty' [-Wimplicit-function-declaration] 86 | stty(1, &tty_new); | ^~~~ term.c: In function 'outcf': term.c:155:1: warning: old-style function definition [-Wold-style-definition] 155 | outcf(ch) | ^~~~~ term.c: In function 'term_init': term.c:167:1: warning: old-style function definition [-Wold-style-definition] 167 | term_init(term) | ^~~~~~~~~ --- edit.o --- edit.c: In function 'ask_tmpbuf': edit.c:547:10: error: implicit declaration of function 'getdata'; did you mean 'getdate'? [-Wimplicit-function-declaration] 547 | if (!getdata(3, 0, msg, fp_buf + 4, 4, DOECHO)) | ^~~~~~~ | getdate --- term.o --- term.c:185:7: error: implicit declaration of function 'tgetent'; did you mean 'getenv'? [-Wimplicit-function-declaration] 185 | if (tgetent(buf, term) != 1) | ^~~~~~~ | getenv term.c:189:7: error: too many arguments to function 'tgetstr'; expected 0, have 2 189 | s = tgetstr("pc", &sbp); /* get pad character */ | ^~~~~~~ ~~~~ term.c:177:9: note: declared here 177 | char *tgetstr(); | ^~~~~~~ term.c:193:13: error: implicit declaration of function 'tgetnum' [-Wimplicit-function-declaration] 193 | t_lines = tgetnum("li"); | ^~~~~~~ --- edit.o --- edit.c: In function 'read_tmpbuf': edit.c:572:3: error: implicit declaration of function 'setuserfile'; did you mean 'setusershell'? [-Wimplicit-function-declaration] 572 | setuserfile(fp_tmpbuf, tmpf); | ^~~~~~~~~~~ | setusershell edit.c:577:27: error: implicit declaration of function 'more' [-Wimplicit-function-declaration] 577 | if (n != 0 && n != 5 && more(fp_tmpbuf, NA) != -1) | ^~~~ --- term.o --- term.c:195:17: error: implicit declaration of function 'tgetflag' [-Wimplicit-function-declaration] 195 | automargins = tgetflag("am"); | ^~~~~~~~ term.c:201:7: error: too many arguments to function 'tgetstr'; expected 0, have 2 201 | s = tgetstr("cl", &sbp); | ^~~~~~~ ~~~~ term.c:177:9: note: declared here 177 | char *tgetstr(); | ^~~~~~~ term.c:203:5: error: implicit declaration of function 'tputs'; did you mean 'puts'? [-Wimplicit-function-declaration] 203 | tputs(s, t_lines, outcf); | ^~~~~ | puts term.c:209:7: error: too many arguments to function 'tgetstr'; expected 0, have 2 209 | s = tgetstr("ce", &sbp); | ^~~~~~~ ~~~~ term.c:177:9: note: declared here 177 | char *tgetstr(); | ^~~~~~~ term.c:217:7: error: too many arguments to function 'tgetstr'; expected 0, have 2 217 | s = tgetstr("sr", &sbp); | ^~~~~~~ ~~~~ term.c:177:9: note: declared here 177 | char *tgetstr(); | ^~~~~~~ term.c:225:7: error: too many arguments to function 'tgetstr'; expected 0, have 2 225 | s = tgetstr("so", &sbp); | ^~~~~~~ ~~~~ term.c:177:9: note: declared here 177 | char *tgetstr(); | ^~~~~~~ --- edit.o --- edit.c: In function 'write_tmpbuf': --- term.o --- term.c:233:7: error: too many arguments to function 'tgetstr'; expected 0, have 2 233 | s = tgetstr("se", &sbp); | ^~~~~~~ ~~~~ term.c:177:9: note: declared here 177 | char *tgetstr(); | ^~~~~~~ term.c:238:8: error: too many arguments to function 'tgetstr'; expected 0, have 2 238 | cm = tgetstr("cm", &sbp); | ^~~~~~~ ~~~~ --- edit.o --- edit.c:602:7: error: implicit declaration of function 'dashf' [-Wimplicit-function-declaration] 602 | if (dashf(fp_tmpbuf)) | ^~~~~ --- term.o --- term.c:177:9: note: declared here 177 | char *tgetstr(); | ^~~~~~~ term.c:249:8: error: too many arguments to function 'tgetstr'; expected 0, have 2 249 | UP = tgetstr("up", &sbp); | ^~~~~~~ ~~~~ term.c:177:9: note: declared here 177 | char *tgetstr(); | ^~~~~~~ term.c:251:8: error: too many arguments to function 'tgetstr'; expected 0, have 2 251 | BC = tgetstr("bc", &sbp); | ^~~~~~~ ~~~~ term.c:177:9: note: declared here 177 | char *tgetstr(); | ^~~~~~~ term.c: In function 'do_move': term.c:260:1: warning: old-style function definition [-Wold-style-definition] 260 | do_move(destcol, destline) | ^~~~~~~ term.c:265:9: error: implicit declaration of function 'tgoto' [-Wimplicit-function-declaration] 265 | tputs(tgoto(cm, destcol, destline), 0, ochar); | ^~~~~ --- edit.o --- edit.c: In function 'restore_backup': edit.c:677:5: error: implicit declaration of function 'stand_title' [-Wimplicit-function-declaration] 677 | stand_title("½s¿è¾¹¦Û°Ê´_­ì"); | ^~~~~~~~~~~ edit.c: In function 'read_file': edit.c:698:1: warning: old-style function definition [-Wold-style-definition] 698 | read_file(fpath) | ^~~~~~~~~ edit.c: In function 'write_file': edit.c:711:1: warning: old-style function definition [-Wold-style-definition] 711 | write_file(fpath, saveheader) | ^~~~~~~~~~ edit.c:730:5: error: implicit declaration of function 'outs'; did you mean 'puts'? [-Wimplicit-function-declaration] 730 | outs("¤å³¹ ¨S¦³ ¦s¤J"); | ^~~~ | puts edit.c:782:9: error: implicit declaration of function 'trim' [-Wimplicit-function-declaration] 782 | trim(line); | ^~~~ edit.c:796:6: error: implicit declaration of function 'convert' [-Wimplicit-function-declaration] 796 | convert(FPath); | ^~~~~~~ edit.c: At top level: edit.c:805:1: error: return type defaults to 'int' [-Wimplicit-int] 805 | edit_outs(text) | ^~~~~~~~~ edit.c: In function 'edit_outs': edit.c:805:1: warning: old-style function definition [-Wold-style-definition] edit.c:813:5: error: implicit declaration of function 'outch' [-Wimplicit-function-declaration] 813 | outch(ch == 27 ? '*' : ch); | ^~~~~ edit.c: At top level: edit.c:817:1: error: return type defaults to 'int' [-Wimplicit-int] 817 | block_outs(char* text, int column) | ^~~~~~~~~~ edit.c: In function 'display_buffer': edit.c:865:8: error: too many arguments to function 'outs'; expected 0, have 1 865 | outs(""); | ^~~~ ~~~~~~ edit.c:827:5: note: declared here 827 | int outs(); | ^~~~ edit.c:874:13: error: too many arguments to function 'outs'; expected 0, have 1 874 | outs(""); | ^~~~ ~~~~~~ edit.c:827:5: note: declared here 827 | int outs(); | ^~~~ edit.c:879:10: error: too many arguments to function 'outs'; expected 0, have 1 879 | outs(""); | ^~~~ ~~~~~~ edit.c:827:5: note: declared here 827 | int outs(); | ^~~~ edit.c:890:10: error: too many arguments to function 'outs'; expected 0, have 1 890 | outs(""); | ^~~~ ~~~~~~ edit.c:827:5: note: declared here 827 | int outs(); | ^~~~ edit.c:894:10: error: too many arguments to function 'OUTS'; expected 0, have 1 894 | OUTS(&p->data[edit_margin]); | ^~~~ ~~~~~~~~~~~~~~~~~~~~~ edit.c:897:10: error: too many arguments to function 'outs'; expected 0, have 1 897 | outs(""); | ^~~~ ~~~~~~ edit.c:827:5: note: declared here 827 | int outs(); | ^~~~ edit.c: In function 'show_help': edit.c:930:1: warning: old-style function definition [-Wold-style-definition] 930 | show_help(helptext) | ^~~~~~~~~ edit.c:932:1: error: number of arguments doesn't match prototype 932 | { | ^ In file included from bbs.h:73, from edit.c:11: global.h:67:6: error: prototype declaration 67 | void show_help(); | ^~~~~~~~~ edit.c:937:3: error: implicit declaration of function 'clear' [-Wimplicit-function-declaration] 937 | clear(); | ^~~~~ edit.c: At top level: edit.c:959:1: error: return type defaults to 'int' [-Wimplicit-int] 959 | goto_line(int lino) | ^~~~~~~~~ edit.c:1022:1: error: return type defaults to 'int' [-Wimplicit-int] 1022 | search_str(int mode) | ^~~~~~~~~~ edit.c: In function 'search_str': edit.c:1037:18: error: assignment to 'FPTR' {aka 'char * (*)(void)'} from incompatible pointer type 'char * (*)(const char *, const char *)' [-Wincompatible-pointer-types] 1037 | fptr = strstr; | ^ In file included from /usr/include/string.h:35, from bbs.h:21: /usr/include/iso/string_iso.h:143:14: note: 'strstr' declared here 143 | extern char *strstr(const char *, const char *); | ^~~~~~ edit.c:1026:20: note: 'FPTR' declared here 1026 | typedef char* (*FPTR)(); | ^~~~ edit.c:1039:18: error: assignment to 'FPTR' {aka 'char * (*)(void)'} from incompatible pointer type 'char * (*)(const char *, const char *)' [-Wincompatible-pointer-types] 1039 | fptr = strcasestr; | ^ /usr/include/string.h:126:14: note: 'strcasestr' declared here 126 | extern char *strcasestr(const char *, const char *); | ^~~~~~~~~~ edit.c:1026:20: note: 'FPTR' declared here 1026 | typedef char* (*FPTR)(); | ^~~~ edit.c:1057:23: error: too many arguments to function 'fptr'; expected 0, have 2 1057 | fptr(p->data + (lino == currln ? currpnt + 1 : 0), str)) | ^~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ edit.c:1071:24: error: too many arguments to function 'fptr'; expected 0, have 2 1071 | if ((pos = fptr(p->data, str)) | ^~~~ ~~~~~~~ edit.c: At top level: edit.c:1237:1: error: return type defaults to 'int' [-Wimplicit-int] 1237 | block_del(int hide) | ^~~~~~~~~ edit.c:1382:1: error: return type defaults to 'int' [-Wimplicit-int] 1382 | block_shift_left() | ^~~~~~~~~~~~~~~~ edit.c:1411:1: error: return type defaults to 'int' [-Wimplicit-int] 1411 | block_shift_right() | ^~~~~~~~~~~~~~~~~ edit.c:1445:1: error: return type defaults to 'int' [-Wimplicit-int] 1445 | transform_to_color(char* line) | ^~~~~~~~~~~~~~~~~~ edit.c:1458:1: error: return type defaults to 'int' [-Wimplicit-int] 1458 | block_color() | ^~~~~~~~~~~ edit.c: In function 'vedit': edit.c:1492:1: warning: old-style function definition [-Wold-style-definition] 1492 | vedit(fpath, saveheader) | ^~~~~ edit.c:1535:10: error: implicit declaration of function 'igetkey'; did you mean 'setkey'? [-Wimplicit-function-declaration] 1535 | ch = igetkey(); | ^~~~~~~ | setkey edit.c:1550:36: error: too many arguments to function 'phone_char'; expected 0, have 1 1550 | else if (phone_mode && (pstr = phone_char(ch)) || ch < 0x100 && isprint2(ch)) | ^~~~~~~~~~ ~~ edit.c:1501:16: note: declared here 1501 | extern char* phone_char(); | ^~~~~~~~~~ edit.c:1625:14: error: implicit declaration of function 'ask'; did you mean 'umask'? [-Wimplicit-function-declaration] 1625 | ch = ask("µ²§ô¦ý¤£Àx¦s (Y/N)? [N]: "); | ^~~ | umask edit.c:1648:11: error: too many arguments to function 'outs'; expected 0, have 1 1648 | outs("\033[1;33;40mB\033[41mR\033[42mG\033[43mY\033[44mL\033[45mP\033[46mC\033[47mW\033[m"); | ^~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ edit.c:827:5: note: declared here 827 | int outs(); | ^~~~ --- term.o --- *** [term.o] Error code 1 bmake: stopped making "all" in /home/pbulk/work/editors/ve/work/ve-1.0 --- edit.o --- edit.c:1892:9: error: implicit declaration of function 'refresh' [-Wimplicit-function-declaration] 1892 | refresh(); | ^~~~~~~ edit.c:1893:9: error: implicit declaration of function 'reset_tty' [-Wimplicit-function-declaration] 1893 | reset_tty(); | ^~~~~~~~~ edit.c:1895:9: error: implicit declaration of function 'restore_tty' [-Wimplicit-function-declaration] 1895 | restore_tty(); | ^~~~~~~~~~~ edit.c:1906:9: error: too many arguments to function 'show_help'; expected 0, have 1 1906 | show_help(vedithelp); | ^~~~~~~~~ ~~~~~~~~~ edit.c:930:1: note: declared here 930 | show_help(helptext) | ^~~~~~~~~ edit.c:2197:11: error: implicit declaration of function 'rscroll' [-Wimplicit-function-declaration] 2197 | rscroll(); | ^~~~~~~ edit.c:2212:11: error: implicit declaration of function 'scroll'; did you mean 'strcoll'? [-Wimplicit-function-declaration] 2212 | scroll(); | ^~~~~~ | strcoll edit.c:2230:12: error: too many arguments to function 'outs'; expected 0, have 1 2230 | outs(currline->data); | ^~~~ ~~~~~~~~~~~~~~ edit.c:827:5: note: declared here 827 | int outs(); | ^~~~ *** [edit.o] Error code 1 bmake: stopped making "all" in /home/pbulk/work/editors/ve/work/ve-1.0 bmake: 2 errors bmake: stopped making "all" in /home/pbulk/work/editors/ve/work/ve-1.0 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/editors/ve *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/editors/ve