+ 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 -pipe -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include/ncurses -DVEDITOR -I/usr/pkg/include/ncurses -c edit.c --- term.o --- cc -pipe -O2 -pipe -O2 -D_FORTIFY_SOURCE=2 -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' memcpy(&tty_new, &tty_state, sizeof(tty_new)); ^ term.c:78:3: error: invalid use of undefined type 'struct sgttyb' tty_new.sg_flags |= RAW; ^ term.c:78:23: error: 'RAW' undeclared (first use in this function) 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:3: error: invalid use of undefined type 'struct sgttyb' tty_new.sg_flags &= ~(TANDEM | CBREAK | LCASE | ECHO | CRMOD); ^ term.c:83:43: error: 'LCASE' undeclared (first use in this function) tty_new.sg_flags &= ~(TANDEM | CBREAK | LCASE | ECHO | CRMOD); ^ term.c:83:58: error: 'CRMOD' undeclared (first use in this function) tty_new.sg_flags &= ~(TANDEM | CBREAK | LCASE | ECHO | CRMOD); ^ term.c: In function 'term_init': term.c:182:3: error: invalid use of undefined type 'struct sgttyb' ospeed = tty_state.sg_ospeed; ^ term.c:203:5: warning: passing argument 3 of 'tputs' from incompatible pointer type [enabled by default] tputs(s, t_lines, outcf); ^ In file included from term.c:14:0: /home/pbulk/build/editors/ve/work/.buildlink/include/ncurses/termcap.h:66:28: note: expected 'int (*)(int)' but argument is of type 'void (*)()' extern NCURSES_EXPORT(int) tputs (const char *, int, int (*)(int)); ^ term.c:211:5: warning: passing argument 3 of 'tputs' from incompatible pointer type [enabled by default] tputs(s, 1, outcf); ^ In file included from term.c:14:0: /home/pbulk/build/editors/ve/work/.buildlink/include/ncurses/termcap.h:66:28: note: expected 'int (*)(int)' but argument is of type 'void (*)()' extern NCURSES_EXPORT(int) tputs (const char *, int, int (*)(int)); ^ term.c:219:5: warning: passing argument 3 of 'tputs' from incompatible pointer type [enabled by default] tputs(s, 1, outcf); ^ In file included from term.c:14:0: /home/pbulk/build/editors/ve/work/.buildlink/include/ncurses/termcap.h:66:28: note: expected 'int (*)(int)' but argument is of type 'void (*)()' extern NCURSES_EXPORT(int) tputs (const char *, int, int (*)(int)); ^ term.c:227:5: warning: passing argument 3 of 'tputs' from incompatible pointer type [enabled by default] tputs(s, 1, outcf); ^ In file included from term.c:14:0: /home/pbulk/build/editors/ve/work/.buildlink/include/ncurses/termcap.h:66:28: note: expected 'int (*)(int)' but argument is of type 'void (*)()' extern NCURSES_EXPORT(int) tputs (const char *, int, int (*)(int)); ^ term.c:235:5: warning: passing argument 3 of 'tputs' from incompatible pointer type [enabled by default] tputs(s, 1, outcf); ^ In file included from term.c:14:0: /home/pbulk/build/editors/ve/work/.buildlink/include/ncurses/termcap.h:66:28: note: expected 'int (*)(int)' but argument is of type 'void (*)()' extern NCURSES_EXPORT(int) tputs (const char *, int, int (*)(int)); ^ term.c: In function 'do_move': term.c:265:3: warning: passing argument 3 of 'tputs' from incompatible pointer type [enabled by default] tputs(tgoto(cm, destcol, destline), 0, ochar); ^ In file included from term.c:14:0: /home/pbulk/build/editors/ve/work/.buildlink/include/ncurses/termcap.h:66:28: note: expected 'int (*)(int)' but argument is of type 'void (*)()' extern NCURSES_EXPORT(int) tputs (const char *, int, int (*)(int)); ^ *** [term.o] Error code 1 bmake: stopped in /home/pbulk/build/editors/ve/work/ve-1.0 --- edit.o --- edit.c: In function 'vedit': edit.c:1894:15: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(getenv("SHELL")); ^ In file included from /usr/include/string.h:638:0, from bbs.h:21, from edit.c:11: In function 'memset', inlined from 'split.part.3' at edit.c:348:11: /usr/include/bits/string3.h:81:30: warning: call to '__warn_memset_zero_len' declared with attribute warning: memset used with constant zero length parameter; this could be due to transposed parameters [enabled by default] __warn_memset_zero_len (); ^ 1 error bmake: stopped in /home/pbulk/build/editors/ve/work/ve-1.0 *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/editors/ve *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/editors/ve