+ 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/ait-1.10/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/ait-1.10/work.log ===> Building for ait-1.10 --- command.o --- --- display.o --- --- gap.o --- --- key.o --- --- command.o --- cc -g -O3 -Wall -c command.c --- display.o --- cc -g -O3 -Wall -c display.c --- gap.o --- cc -g -O3 -Wall -c gap.c --- key.o --- cc -g -O3 -Wall -c key.c --- command.o --- command.c: In function 'gotoline': command.c:312:5: warning: implicit declaration of function 'asprintf'; did you mean 'vsprintf'? [-Wimplicit-function-declaration] 312 | asprintf(&prompt, "Goto line (default %d): ", lastline); | ^~~~~~~~ | vsprintf command.c: In function 'copy_cut': command.c:959:23: warning: implicit declaration of function 'strndup' [-Wimplicit-function-declaration] 959 | ns = (char_t *) strndup((const char *)p, scrap.len); | ^~~~~~~ command.c:959:23: warning: incompatible implicit declaration of built-in function 'strndup' [-Wbuiltin-declaration-mismatch] command.c: In function 'paste': command.c:1049:24: warning: incompatible implicit declaration of built-in function 'strndup' [-Wbuiltin-declaration-mismatch] 1049 | oscrap = (char_t *)strndup((char *)scrap.data, scrap.len); | ^~~~~~~ --- display.o --- In file included from display.c:8: termbox.h: In function 'tb_strerror': termbox.h:1902:13: warning: implicit declaration of function 'strerror_r'; did you mean 'strerror'? [-Wimplicit-function-declaration] 1902 | strerror_r(global.last_errno, global.errbuf, sizeof(global.errbuf)); | ^~~~~~~~~~ | strerror termbox.h: In function 'init_term_attrs': termbox.h:1965:5: warning: implicit declaration of function 'cfmakeraw' [-Wimplicit-function-declaration] 1965 | cfmakeraw(&tios); | ^~~~~~~~~ termbox.h: In function 'update_term_size': termbox.h:2153:20: error: storage size of 'sz' isn't known 2153 | struct winsize sz; | ^~ termbox.h:2157:9: warning: implicit declaration of function 'ioctl' [-Wimplicit-function-declaration] 2157 | if (ioctl(global.ttyfd, TIOCGWINSZ, &sz) == 0) { | ^~~~~ termbox.h:2157:29: error: 'TIOCGWINSZ' undeclared (first use in this function) 2157 | if (ioctl(global.ttyfd, TIOCGWINSZ, &sz) == 0) { | ^~~~~~~~~~ termbox.h:2157:29: note: each undeclared identifier is reported only once for each function it appears in termbox.h:2153:20: warning: unused variable 'sz' [-Wunused-variable] 2153 | struct winsize sz; | ^~ termbox.h: In function 'update_term_size_via_esc': termbox.h:2187:20: error: storage size of 'timeout' isn't known 2187 | struct timeval timeout; | ^~~~~~~ termbox.h:2187:20: warning: unused variable 'timeout' [-Wunused-variable] termbox.h: In function 'wait_event': termbox.h:2486:20: error: storage size of 'tv' isn't known 2486 | struct timeval tv; | ^~ termbox.h:2486:20: warning: unused variable 'tv' [-Wunused-variable] display.c: In function 'display_prompt_and_response': display.c:590:3: warning: implicit declaration of function 'asprintf'; did you mean 'vsprintf'? [-Wimplicit-function-declaration] 590 | asprintf((char **)&full, "%s%s", prompt, response); | ^~~~~~~~ | vsprintf display.c: In function 'addstr': display.c:712:12: warning: implicit declaration of function 'strndup' [-Wimplicit-function-declaration] 712 | modstr = strndup(str, COLS); | ^~~~~~~ display.c:712:12: warning: incompatible implicit declaration of built-in function 'strndup' [-Wbuiltin-declaration-mismatch] *** [display.o] Error code 1 bmake: stopped making "all" in /home/pbulk/build/editors/ait/work/ait --- command.o --- In function 'writefile', inlined from 'savebuffer' at command.c:789:7: command.c:799:3: warning: 'strncpy' output may be truncated copying 1024 bytes from a string of length 1024 [-Wstringop-truncation] 799 | strncpy(temp, curbp->b_fname, PATH_MAX); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ command.c: In function 'writefile': command.c:799:3: warning: 'strncpy' output may be truncated copying 1024 bytes from a string of length 1024 [-Wstringop-truncation] 799 | strncpy(temp, curbp->b_fname, PATH_MAX); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bmake: 1 error bmake: stopped making "all" in /home/pbulk/build/editors/ait/work/ait *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/editors/ait *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/editors/ait