+ 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.8rc4/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/ait-1.8rc4/work.log ===> Building for ait-1.8rc4 --- config.h --- --- command.o --- --- display.o --- --- gap.o --- --- config.h --- if [ -z "" ]; then echo "#define BACKUP_DIR NULL" > config.h; else echo "#define BACKUP_DIR \"\"" > config.h; fi --- gap.o --- cc -O3 -Wall -c gap.c --- command.o --- cc -O3 -Wall -c command.c --- key.o --- --- display.o --- cc -O3 -Wall -c display.c --- key.o --- cc -O3 -Wall -c key.c --- 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] --- gap.o --- gap.c: In function 'relocate_backup': gap.c:110:3: warning: argument 2 null where non-null expected [-Wnonnull] 110 | strcpy(fp, BACKUP_DIR); | ^~~~~~ In file included from /usr/include/string.h:34, from header.h:14, from gap.c:7: /usr/include/iso/string_iso.h:75:14: note: in a call to function 'strcpy' declared 'nonnull' 75 | extern char *strcpy(char *_RESTRICT_KYWD, const char *_RESTRICT_KYWD); | ^~~~~~ gap.c: In function 'undoset': gap.c:281:17: warning: passing argument 1 to 'restrict'-qualified parameter aliases with argument 2 [-Wrestrict] 281 | strncpy((char *)curbp->b_undo->u_data, (char *)curbp->b_undo->u_data, ulen); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gap.c:296:17: warning: passing argument 1 to 'restrict'-qualified parameter aliases with argument 2 [-Wrestrict] 296 | strncpy((char *)curbp->b_undo->u_data, (char *)curbp->b_undo->u_data, ulen); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- display.o --- *** [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:736:7: command.c:746:3: warning: 'strncpy' output may be truncated copying 1024 bytes from a string of length 1024 [-Wstringop-truncation] 746 | strncpy(temp, curbp->b_fname, PATH_MAX); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ command.c: In function 'writefile': command.c:746:3: warning: 'strncpy' output may be truncated copying 1024 bytes from a string of length 1024 [-Wstringop-truncation] 746 | 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