+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/ve-1.0/work.log + su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/ve-1.0/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. ===> Building for ve-1.0 --- edit.o --- --- term.o --- --- edit.o --- cc -pipe -O2 -I/usr/pkg/include/ncurses -DVEDITOR -I/usr/pkg/include/ncurses -c edit.c --- term.o --- cc -pipe -O2 -I/usr/pkg/include/ncurses -DVEDITOR -I/usr/pkg/include/ncurses -c term.c term.c: In function 'init_tty': term.c:68:38: error: invalid application of 'sizeof' to incomplete type 'struct sgttyb' 68 | memcpy(&tty_new, &tty_state, sizeof(tty_new)); | ^ term.c:78:10: error: invalid use of undefined type 'struct sgttyb' 78 | tty_new.sg_flags |= RAW; | ^ term.c:78:23: error: 'RAW' undeclared (first use in this function) 78 | tty_new.sg_flags |= RAW; | ^~~ term.c:78:23: note: each undeclared identifier is reported only once for each function it appears in term.c:83:10: error: invalid use of undefined type 'struct sgttyb' 83 | tty_new.sg_flags &= ~(TANDEM | CBREAK | LCASE | ECHO | CRMOD); | ^ term.c:83:43: error: 'LCASE' undeclared (first use in this function); did you mean 'XCASE'? 83 | tty_new.sg_flags &= ~(TANDEM | CBREAK | LCASE | ECHO | CRMOD); | ^~~~~ | XCASE term.c:83:58: error: 'CRMOD' undeclared (first use in this function) 83 | tty_new.sg_flags &= ~(TANDEM | CBREAK | LCASE | ECHO | CRMOD); | ^~~~~ term.c: In function 'term_init': term.c:182:21: error: invalid use of undefined type 'struct sgttyb' 182 | ospeed = tty_state.sg_ospeed; | ^ term.c:203:23: warning: passing argument 3 of 'tputs' from incompatible pointer type [-Wincompatible-pointer-types] 203 | tputs(s, t_lines, outcf); | ^~~~~ | | | void (*)() In file included from term.c:14: /home/pbulk/build/editors/ve/work/.buildlink/include/ncurses/termcap.h:66:54: note: expected 'int (*)(int)' but argument is of type 'void (*)()' 66 | extern NCURSES_EXPORT(int) tputs (const char *, int, int (*)(int)); | ^~~~~~~~~~~~ term.c:211:17: warning: passing argument 3 of 'tputs' from incompatible pointer type [-Wincompatible-pointer-types] 211 | tputs(s, 1, outcf); | ^~~~~ | | | void (*)() In file included from term.c:14: /home/pbulk/build/editors/ve/work/.buildlink/include/ncurses/termcap.h:66:54: note: expected 'int (*)(int)' but argument is of type 'void (*)()' 66 | extern NCURSES_EXPORT(int) tputs (const char *, int, int (*)(int)); | ^~~~~~~~~~~~ term.c:219:17: warning: passing argument 3 of 'tputs' from incompatible pointer type [-Wincompatible-pointer-types] 219 | tputs(s, 1, outcf); | ^~~~~ | | | void (*)() In file included from term.c:14: /home/pbulk/build/editors/ve/work/.buildlink/include/ncurses/termcap.h:66:54: note: expected 'int (*)(int)' but argument is of type 'void (*)()' 66 | extern NCURSES_EXPORT(int) tputs (const char *, int, int (*)(int)); | ^~~~~~~~~~~~ term.c:227:17: warning: passing argument 3 of 'tputs' from incompatible pointer type [-Wincompatible-pointer-types] 227 | tputs(s, 1, outcf); | ^~~~~ | | | void (*)() In file included from term.c:14: /home/pbulk/build/editors/ve/work/.buildlink/include/ncurses/termcap.h:66:54: note: expected 'int (*)(int)' but argument is of type 'void (*)()' 66 | extern NCURSES_EXPORT(int) tputs (const char *, int, int (*)(int)); | ^~~~~~~~~~~~ term.c:235:17: warning: passing argument 3 of 'tputs' from incompatible pointer type [-Wincompatible-pointer-types] 235 | tputs(s, 1, outcf); | ^~~~~ | | | void (*)() In file included from term.c:14: /home/pbulk/build/editors/ve/work/.buildlink/include/ncurses/termcap.h:66:54: note: expected 'int (*)(int)' but argument is of type 'void (*)()' 66 | extern NCURSES_EXPORT(int) tputs (const char *, int, int (*)(int)); | ^~~~~~~~~~~~ term.c: In function 'do_move': term.c:265:42: warning: passing argument 3 of 'tputs' from incompatible pointer type [-Wincompatible-pointer-types] 265 | tputs(tgoto(cm, destcol, destline), 0, ochar); | ^~~~~ | | | void (*)() In file included from term.c:14: /home/pbulk/build/editors/ve/work/.buildlink/include/ncurses/termcap.h:66:54: note: expected 'int (*)(int)' but argument is of type 'void (*)()' 66 | extern NCURSES_EXPORT(int) tputs (const char *, int, int (*)(int)); | ^~~~~~~~~~~~ term.c: At top level: term.c:40:15: error: storage size of 'tty_state' isn't known 40 | struct sgttyb tty_state, tty_new; | ^~~~~~~~~ term.c:40:26: error: storage size of 'tty_new' isn't known 40 | struct sgttyb tty_state, tty_new; | ^~~~~~~ --- edit.o --- edit.c: In function 'indigestion': edit.c:59:1: warning: type of 'i' defaults to 'int' [-Wimplicit-int] 59 | indigestion(i) | ^~~~~~~~~~~ edit.c: In function 'n2ansi': edit.c:97:12: warning: type defaults to 'int' in declaration of 'ansix' [-Wimplicit-int] 97 | register ansix = 0; | ^~~~~ edit.c: In function 'edit_msg': edit.c:134:3: warning: implicit declaration of function 'move'; did you mean 'remove'? [-Wimplicit-function-declaration] 134 | move(b_lines, 0); | ^~~~ | remove edit.c:135:3: warning: implicit declaration of function 'clrtoeol' [-Wimplicit-function-declaration] 135 | clrtoeol(); | ^~~~~~~~ edit.c:136:3: warning: implicit declaration of function 'prints'; did you mean 'printf'? [-Wimplicit-function-declaration] 136 | prints("\033[%sm 編輯文章 \033[31;47m (Ctrl-G)\033[30m 線上輔助說明 \033[31m(^X,^Q)\033[30m 檔案處理 ║%s│%c%c%c%c║ %3d:%3d \033[m", | ^~~~~~ | printf edit.c: In function 'alloc_line': edit.c:221:3: warning: implicit declaration of function 'abort_bbs' [-Wimplicit-function-declaration] 221 | abort_bbs(); | ^~~~~~~~~ edit.c: At top level: edit.c:280:1: warning: return type defaults to 'int' [-Wimplicit-int] 280 | undelete_line() | ^~~~~~~~~~~~~ --- term.o --- *** [term.o] Error code 1 bmake: stopped making "all" in /home/pbulk/build/editors/ve/work/ve-1.0 --- edit.o --- edit.c: In function 'undelete_line': edit.c:296:4: warning: implicit declaration of function 'insert_string' [-Wimplicit-function-declaration] 296 | insert_string(deleted_lines->data); | ^~~~~~~~~~~~~ edit.c: At top level: edit.c:468:1: warning: return type defaults to 'int' [-Wimplicit-int] 468 | insert_string(str) | ^~~~~~~~~~~~~ edit.c: In function 'insert_string': edit.c:477:9: warning: 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: warning: implicit declaration of function 'getdata' [-Wimplicit-function-declaration] 547 | if (!getdata(3, 0, msg, fp_buf + 4, 4, DOECHO)) | ^~~~~~~ edit.c: In function 'read_tmpbuf': edit.c:572:3: warning: implicit declaration of function 'setuserfile'; did you mean 'setusershell'? [-Wimplicit-function-declaration] 572 | setuserfile(fp_tmpbuf, tmpf); | ^~~~~~~~~~~ | setusershell edit.c:577:27: warning: 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': edit.c:602:7: warning: implicit declaration of function 'dashf' [-Wimplicit-function-declaration] 602 | if (dashf(fp_tmpbuf)) | ^~~~~ edit.c: In function 'restore_backup': edit.c:677:5: warning: implicit declaration of function 'stand_title' [-Wimplicit-function-declaration] 677 | stand_title("編輯器自動復原"); | ^~~~~~~~~~~ edit.c: In function 'write_file': edit.c:730:5: warning: implicit declaration of function 'outs'; did you mean 'puts'? [-Wimplicit-function-declaration] 730 | outs("文章[1m 沒有 [0m存入"); | ^~~~ | puts edit.c:782:9: warning: implicit declaration of function 'trim' [-Wimplicit-function-declaration] 782 | trim(line); | ^~~~ edit.c:796:6: warning: implicit declaration of function 'convert' [-Wimplicit-function-declaration] 796 | convert(FPath); | ^~~~~~~ edit.c: At top level: edit.c:805:1: warning: return type defaults to 'int' [-Wimplicit-int] 805 | edit_outs(text) | ^~~~~~~~~ edit.c: In function 'edit_outs': edit.c:813:5: warning: implicit declaration of function 'outch' [-Wimplicit-function-declaration] 813 | outch(ch == 27 ? '*' : ch); | ^~~~~ edit.c: At top level: edit.c:817:1: warning: return type defaults to 'int' [-Wimplicit-int] 817 | block_outs(char* text, int column) | ^~~~~~~~~~ edit.c: In function 'show_help': edit.c:937:3: warning: implicit declaration of function 'clear' [-Wimplicit-function-declaration] 937 | clear(); | ^~~~~ edit.c: At top level: edit.c:959:1: warning: return type defaults to 'int' [-Wimplicit-int] 959 | goto_line(int lino) | ^~~~~~~~~ edit.c:1022:1: warning: return type defaults to 'int' [-Wimplicit-int] 1022 | search_str(int mode) | ^~~~~~~~~~ edit.c:1237:1: warning: return type defaults to 'int' [-Wimplicit-int] 1237 | block_del(int hide) | ^~~~~~~~~ edit.c:1382:1: warning: return type defaults to 'int' [-Wimplicit-int] 1382 | block_shift_left() | ^~~~~~~~~~~~~~~~ edit.c:1411:1: warning: return type defaults to 'int' [-Wimplicit-int] 1411 | block_shift_right() | ^~~~~~~~~~~~~~~~~ edit.c:1445:1: warning: return type defaults to 'int' [-Wimplicit-int] 1445 | transform_to_color(char* line) | ^~~~~~~~~~~~~~~~~~ edit.c:1458:1: warning: return type defaults to 'int' [-Wimplicit-int] 1458 | block_color() | ^~~~~~~~~~~ edit.c: In function 'vedit': edit.c:1535:10: warning: implicit declaration of function 'igetkey' [-Wimplicit-function-declaration] 1535 | ch = igetkey(); | ^~~~~~~ edit.c:1625:14: warning: implicit declaration of function 'ask'; did you mean 'umask'? [-Wimplicit-function-declaration] 1625 | ch = ask("結束但不儲存 (Y/N)? [N]: "); | ^~~ | umask edit.c:1892:9: warning: implicit declaration of function 'refresh' [-Wimplicit-function-declaration] 1892 | refresh(); | ^~~~~~~ edit.c:1893:9: warning: implicit declaration of function 'reset_tty' [-Wimplicit-function-declaration] 1893 | reset_tty(); | ^~~~~~~~~ edit.c:1895:9: warning: implicit declaration of function 'restore_tty' [-Wimplicit-function-declaration] 1895 | restore_tty(); | ^~~~~~~~~~~ edit.c:2197:11: warning: implicit declaration of function 'rscroll' [-Wimplicit-function-declaration] 2197 | rscroll(); | ^~~~~~~ edit.c:2212:11: warning: implicit declaration of function 'scroll'; did you mean 'strcoll'? [-Wimplicit-function-declaration] 2212 | scroll(); | ^~~~~~ | strcoll edit.c:1894:9: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 1894 | system(getenv("SHELL")); | ^~~~~~~~~~~~~~~~~~~~~~~ bmake: 1 error 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-el9-trunk-x86_64/editors/ve *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/editors/ve