+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/ve-1.0/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/ve-1.0/work.log WARNING: [license.mk] Every package should define a LICENSE. ===> Building for ve-1.0 --- edit.o --- --- term.o --- --- screen.o --- --- stuff.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 --- screen.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses -DVEDITOR -I/opt/pkg/include/ncurses -c screen.c --- stuff.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses -DVEDITOR -I/opt/pkg/include/ncurses -c stuff.c --- edit.o --- edit.c: In function 'indigestion': edit.c:59:1: error: type of 'i' defaults to 'int' [-Wimplicit-int] 59 | indigestion(i) | ^~~~~~~~~~~ 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(); | ^~~~~~~~ --- stuff.o --- stuff.c: In function 'strstr_lower': stuff.c:165:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 165 | return (int) strstr(buf, tag); | ^ stuff.c: In function 'pressanykey': --- edit.o --- 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 'alloc_line': edit.c:221:3: error: implicit declaration of function 'abort_bbs' [-Wimplicit-function-declaration] 221 | abort_bbs(); | ^~~~~~~~~ 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: 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: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 '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 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) | ^~~~ edit.c: In function 'write_tmpbuf': --- stuff.o --- stuff.c:363:3: error: implicit declaration of function 'outmsg' [-Wimplicit-function-declaration] 363 | outmsg(" ¡´ ½Ð«ö (Space/Return) Ä~Äò ¡´ "); | ^~~~~~ stuff.c:366:10: error: implicit declaration of function 'igetkey' [-Wimplicit-function-declaration] 366 | ch = igetkey(); | ^~~~~~~ stuff.c:368:3: error: implicit declaration of function 'move'; did you mean 'remove'? [-Wimplicit-function-declaration] 368 | move(b_lines, 0); | ^~~~ | remove stuff.c:369:3: error: implicit declaration of function 'clrtoeol' [-Wimplicit-function-declaration] 369 | clrtoeol(); | ^~~~~~~~ stuff.c:370:3: error: implicit declaration of function 'refresh' [-Wimplicit-function-declaration] 370 | refresh(); | ^~~~~~~ stuff.c: In function 'search_num': stuff.c:382:1: error: type of 'ch' defaults to 'int' [-Wimplicit-int] 382 | search_num(ch, max) | ^~~~~~~~~~ --- edit.o --- edit.c:602:7: error: implicit declaration of function 'dashf' [-Wimplicit-function-declaration] 602 | if (dashf(fp_tmpbuf)) | ^~~~~ 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 'write_file': 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) | ^~~~~~~~~ --- stuff.o --- stuff.c:382:1: error: type of 'max' defaults to 'int' [-Wimplicit-int] stuff.c:389:3: error: implicit declaration of function 'outc'; did you mean 'putc'? [-Wimplicit-function-declaration] 389 | outc(ch); | ^~~~ | putc stuff.c:391:3: error: implicit declaration of function 'getyx' [-Wimplicit-function-declaration] 391 | getyx(&y, &x); | ^~~~~ stuff.c:393:16: error: implicit declaration of function 'igetch'; did you mean 'getc'? [-Wimplicit-function-declaration] 393 | while ((ch = igetch()) != '\r') | ^~~~~~ | getc stuff.c:403:9: error: implicit declaration of function 'bell'; did you mean 'tell'? [-Wimplicit-function-declaration] 403 | bell(); | ^~~~ | tell stuff.c:430:10: error: implicit declaration of function 'atoi' [-Wimplicit-function-declaration] 430 | clen = atoi(genbuf); | ^~~~ stuff.c: In function 'stand_title': --- edit.o --- edit.c: In function 'edit_outs': 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) | ^~~~~~~~~~ --- stuff.o --- stuff.c:443:3: error: implicit declaration of function 'clear' [-Wimplicit-function-declaration] 443 | clear(); | ^~~~~ stuff.c:444:3: error: implicit declaration of function 'prints'; did you mean 'printf'? [-Wimplicit-function-declaration] 444 | prints("¡i %s ¡j\n", title); | ^~~~~~ | printf stuff.c: In function 'cursor_show': stuff.c:455:3: error: implicit declaration of function 'outs'; did you mean 'puts'? [-Wimplicit-function-declaration] 455 | outs(STR_CURSOR); | ^~~~ | puts stuff.c: In function 'printdash': stuff.c:495:5: error: implicit declaration of function 'outch' [-Wimplicit-function-declaration] 495 | outch('-'); | ^~~~~ stuff.c: At top level: stuff.c:509:1: error: return type defaults to 'int' [-Wimplicit-int] 509 | more(char* fpath, int i) | ^~~~ stuff.c:522:1: error: return type defaults to 'int' [-Wimplicit-int] 522 | setuserfile(char* fpath, char* fname) | ^~~~~~~~~~~ --- edit.o --- edit.c: In function '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: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() | ^~~~~~~~~~~ --- term.o --- term.c: In function 'get_tty': term.c:52:7: error: implicit declaration of function 'gtty' [-Wimplicit-function-declaration] 52 | if (gtty (1, &tty_state) < 0) | ^~~~ 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 'term_init': 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:193:13: error: implicit declaration of function 'tgetnum' [-Wimplicit-function-declaration] 193 | t_lines = tgetnum("li"); | ^~~~~~~ term.c:195:17: error: implicit declaration of function 'tgetflag' [-Wimplicit-function-declaration] 195 | automargins = tgetflag("am"); | ^~~~~~~~ --- edit.o --- edit.c: In function 'vedit': edit.c:1535:10: error: implicit declaration of function 'igetkey'; did you mean 'setkey'? [-Wimplicit-function-declaration] 1535 | ch = igetkey(); | ^~~~~~~ | setkey 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 --- term.o --- 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: In function 'do_move': 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: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: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 --- screen.o --- screen.c: In function 'initscr': screen.c:49:18: warning: conflicting types for built-in function 'calloc'; expected 'void *(long unsigned int, long unsigned int)' [-Wbuiltin-declaration-mismatch] 49 | extern char *calloc(); | ^~~~~~ screen.c:11:1: note: 'calloc' is declared in header '' 10 | #include "bbs.h" +++ |+#include 11 | screen.c: In function 'move': screen.c:61:1: error: type of 'y' defaults to 'int' [-Wimplicit-int] 61 | move(y, x) | ^~~~ screen.c:61:1: error: type of 'x' defaults to 'int' [-Wimplicit-int] screen.c: In function 'rel_move': screen.c:78:1: error: type of 'was_col' defaults to 'int' [-Wimplicit-int] 78 | rel_move(was_col, was_ln, new_col, new_ln) | ^~~~~~~~ screen.c:78:1: error: type of 'was_ln' defaults to 'int' [-Wimplicit-int] screen.c:78:1: error: type of 'new_col' defaults to 'int' [-Wimplicit-int] screen.c:78:1: error: type of 'new_ln' defaults to 'int' [-Wimplicit-int] screen.c:112:9: error: implicit declaration of function 'tputs'; did you mean 'puts'? [-Wimplicit-function-declaration] 112 | tputs(BC, 1, ochar); | ^~~~~ | puts screen.c:118:3: error: implicit declaration of function 'do_move' [-Wimplicit-function-declaration] 118 | do_move(new_col, new_ln); | ^~~~~~~ screen.c: In function 'redoscr': screen.c:190:3: error: implicit declaration of function 'oflush'; did you mean 'fflush'? [-Wimplicit-function-declaration] 190 | oflush(); | ^~~~~~ | fflush screen.c: In function 'refresh': screen.c:204:7: error: implicit declaration of function 'num_in_buf' [-Wimplicit-function-declaration] 204 | if (num_in_buf()) | ^~~~~~~~~~ screen.c:207:19: error: implicit declaration of function 'abs' [-Wimplicit-function-declaration] 207 | if ((docls) || (abs(scrollcnt) >= (scr_lns - 3))) | ^~~ screen.c:207:19: note: include '' or provide a declaration of 'abs' screen.c: In function 'outch': screen.c:406:24: error: implicit declaration of function 'isprint2'; did you mean 'isprint'? [-Wimplicit-function-declaration] 406 | if ((c != '') && !isprint2(c)) | ^~~~~~~~ | isprint screen.c: In function 'parsecolor': screen.c:506:9: error: implicit declaration of function 'atoi' [-Wimplicit-function-declaration] 506 | if (atoi(val) < 30) | ^~~~ screen.c: In function 'outc': screen.c:562:29: error: implicit declaration of function 'not_alpha' [-Wimplicit-function-declaration] 562 | else if ((p < 24) && (not_alpha(ch))) | ^~~~~~~~~ screen.c: At top level: screen.c:584:1: error: return type defaults to 'int' [-Wimplicit-int] 584 | outs(str) | ^~~~ --- stuff.o --- *** [stuff.o] Error code 1 bmake: stopped making "all" in /home/pbulk/build/editors/ve/work/ve-1.0 --- term.o --- *** [term.o] Error code 1 bmake: stopped making "all" in /home/pbulk/build/editors/ve/work/ve-1.0 --- screen.o --- *** [screen.o] Error code 1 bmake: stopped making "all" in /home/pbulk/build/editors/ve/work/ve-1.0 --- edit.o --- *** [edit.o] Error code 1 bmake: stopped making "all" in /home/pbulk/build/editors/ve/work/ve-1.0 bmake: 4 errors bmake: stopped making "all" in /home/pbulk/build/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