+ 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 => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for ait-1.8rc4 if [ -z "" ]; then echo "#define BACKUP_DIR NULL" > config.h; else echo "#define BACKUP_DIR \"\"" > config.h; fi cc -O3 -Wall -c command.c In file included from command.c:6: header.h:5: warning: "_XOPEN_SOURCE" redefined 5 | #define _XOPEN_SOURCE | <command-line>: note: this is the location of the previous definition 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -O3 -Wall -c display.c In file included from display.c:5: header.h:5: warning: "_XOPEN_SOURCE" redefined 5 | #define _XOPEN_SOURCE | <command-line>: note: this is the location of the previous definition In file included from display.c:8: termbox.h: In function 'init_term_attrs': termbox.h:1965:5: warning: implicit declaration of function 'cfmakeraw' [-Wimplicit-function-declaration] 1965 | cfmakeraw(&tios); | ^~~~~~~~~ In function 'cell_set', inlined from 'tb_set_cell_ex' at termbox.h:1621:5, inlined from 'tb_set_cell' at termbox.h:1612:12, inlined from 'display' at display.c:371:13: termbox.h:3116:14: warning: 'uni' may be used uninitialized [-Wmaybe-uninitialized] 3116 | cell->ch = ch ? *ch : 0; | ~~~~~~~~~^~~~~~~~~~~~~~ display.c: In function 'display': display.c:364:20: note: 'uni' was declared here 364 | uint32_t uni; | ^~~ In function 'cell_set', inlined from 'tb_set_cell_ex' at termbox.h:1621:5, inlined from 'tb_set_cell' at termbox.h:1612:12, inlined from 'display' at display.c:351:11: termbox.h:3116:14: warning: 'uni' may be used uninitialized [-Wmaybe-uninitialized] 3116 | cell->ch = ch ? *ch : 0; | ~~~~~~~~~^~~~~~~~~~~~~~ display.c: In function 'display': display.c:349:20: note: 'uni' was declared here 349 | uint32_t uni; | ^~~ In function 'cell_set', inlined from 'display' at display.c:425:9: termbox.h:3117:14: warning: 'front_wide' may be used uninitialized [-Wmaybe-uninitialized] 3117 | cell->fg = fg; | ~~~~~~~~~^~~~ display.c: In function 'display': display.c:415:23: note: 'front_wide' was declared here 415 | struct tb_cell *front_wide, *back_wide; | ^~~~~~~~~~ cc -O3 -Wall -c gap.c In file included from gap.c:7: header.h:5: warning: "_XOPEN_SOURCE" redefined 5 | #define _XOPEN_SOURCE | In file included from /usr/include/sys/stat.h:34, from gap.c:6: /usr/include/sys/feature_tests.h:357: note: this is the location of the previous definition 357 | #define _XOPEN_SOURCE 700 | 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: /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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -O3 -Wall -c key.c In file included from key.c:6: header.h:5: warning: "_XOPEN_SOURCE" redefined 5 | #define _XOPEN_SOURCE | <command-line>: note: this is the location of the previous definition cc -O3 -Wall -c search.c In file included from search.c:6: header.h:5: warning: "_XOPEN_SOURCE" redefined 5 | #define _XOPEN_SOURCE | <command-line>: note: this is the location of the previous definition cc -O3 -Wall -c buffer.c In file included from buffer.c:5: header.h:5: warning: "_XOPEN_SOURCE" redefined 5 | #define _XOPEN_SOURCE | In file included from /usr/include/assert.h:38, from buffer.c:3: /usr/include/sys/feature_tests.h:357: note: this is the location of the previous definition 357 | #define _XOPEN_SOURCE 700 | cc -O3 -Wall -c replace.c In file included from replace.c:4: header.h:5: warning: "_XOPEN_SOURCE" redefined 5 | #define _XOPEN_SOURCE | In file included from /usr/include/iso/string_iso.h:49, from /usr/include/string.h:34, from replace.c:3: /usr/include/sys/feature_tests.h:357: note: this is the location of the previous definition 357 | #define _XOPEN_SOURCE 700 | replace.c: In function 'query_replace': replace.c:47:3: warning: 'strncpy' specified bound 64 equals destination size [-Wstringop-truncation] 47 | strncpy(pquery, searchtext, STRBUF_M); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ replace.c:48:3: warning: 'strncpy' specified bound 64 equals destination size [-Wstringop-truncation] 48 | strncpy(pwith, replace, STRBUF_M); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -O3 -Wall -c window.c In file included from window.c:3: header.h:5: warning: "_XOPEN_SOURCE" redefined 5 | #define _XOPEN_SOURCE | <command-line>: note: this is the location of the previous definition cc -O3 -Wall -c complete.c In file included from complete.c:3: header.h:5: warning: "_XOPEN_SOURCE" redefined 5 | #define _XOPEN_SOURCE | <command-line>: note: this is the location of the previous definition complete.c: In function 'getbuffername': complete.c:174:9: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] 174 | strncpy(tabbuffer, buf, PATH_MAX); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -O3 -Wall -c hilite.c In file included from hilite.c:3: header.h:5: warning: "_XOPEN_SOURCE" redefined 5 | #define _XOPEN_SOURCE | <command-line>: note: this is the location of the previous definition cc -O3 -Wall -c util.c In file included from util.c:1: header.h:5: warning: "_XOPEN_SOURCE" redefined 5 | #define _XOPEN_SOURCE | <command-line>: note: this is the location of the previous definition cc -O3 -Wall -c shell.c In file included from shell.c:4: header.h:5: warning: "_XOPEN_SOURCE" redefined 5 | #define _XOPEN_SOURCE | In file included from /usr/include/stdio.h:37, from shell.c:3: /usr/include/sys/feature_tests.h:357: note: this is the location of the previous definition 357 | #define _XOPEN_SOURCE 700 | cc -O3 -Wall -c main.c In file included from main.c:6: header.h:5: warning: "_XOPEN_SOURCE" redefined 5 | #define _XOPEN_SOURCE | <command-line>: note: this is the location of the previous definition main.c: In function 'main': main.c:133:9: warning: 'strncpy' output may be truncated copying 1024 bytes from a string of length 1024 [-Wstringop-truncation] 133 | strncpy(curbp->b_fname, editor_dir, PATH_MAX); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -o ait command.o display.o gap.o key.o search.o buffer.o replace.o window.o complete.o hilite.o util.o shell.o main.o Undefined first referenced symbol in file cfmakeraw display.o ld: fatal: symbol referencing errors. No output written to ait collect2: error: ld returned 1 exit status *** [ait] Error code 1 bmake: stopped in /home/pbulk/build/editors/ait/work/ait 1 error bmake: stopped in /home/pbulk/build/editors/ait/work/ait *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/editors/ait *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/editors/ait