+ 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/mle-1.7.2/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/mle-1.7.2/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for mle-1.7.2 => rewrite lua directory directives => remove -v flag from install(1) command gcc -c -std=c99 -Wall -Wextra -pedantic -Wno-pointer-arith -Wno-unused-result -Wno-unused-parameter -g -O0 -D_GNU_SOURCE -DPCRE2_CODE_UNIT_WIDTH=8 -I. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/lua-5.4 -I/opt/pkg/include/ncurses buffer.c -o buffer.o buffer.c: In function 'buffer_open': buffer.c:120:18: warning: implicit declaration of function 'strdup'; did you mean 'strcmp'? [-Wimplicit-function-declaration] 120 | self->path = strdup(path); | ^~~~~~ | strcmp buffer.c:120:16: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 120 | self->path = strdup(path); | ^ buffer.c: In function 'buffer_save_as': buffer.c:161:20: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 161 | self->path = strdup(path); | ^ buffer.c: In function 'buffer_write_to_file': buffer.c:173:37: warning: implicit declaration of function 'fileno' [-Wimplicit-function-declaration] 173 | return buffer_write_to_fd(self, fileno(fp), optret_nbytes); | ^~~~~~ buffer.c: In function 'buffer_replace_w_bline': buffer.c:676:24: warning: implicit declaration of function 'strndup'; did you mean 'strncmp'? [-Wimplicit-function-declaration] 676 | action->data = strndup(data, action->byte_delta); | ^~~~~~~ | strncmp buffer.c:676:22: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 676 | action->data = strndup(data, action->byte_delta); | ^ buffer.c: In function 'buffer_register_get': buffer.c:1034:19: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 1034 | *ret_data = strndup(sreg->data, sreg->len); | ^ buffer.c: In function 'bline_count_chars': buffer.c:1102:26: warning: implicit declaration of function 'wcwidth' [-Wimplicit-function-declaration] 1102 | char_w = wcwidth(ch); | ^~~~~~~ gcc -c -std=c99 -Wall -Wextra -pedantic -Wno-pointer-arith -Wno-unused-result -Wno-unused-parameter -g -O0 -D_GNU_SOURCE -DPCRE2_CODE_UNIT_WIDTH=8 -I. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/lua-5.4 -I/opt/pkg/include/ncurses bview.c -o bview.o bview.c: In function 'bview_new': bview.c:39:18: warning: implicit declaration of function 'strndup'; did you mean 'strncmp'? [-Wimplicit-function-declaration] 39 | self->path = strndup(opt_path, opt_path_len); | ^~~~~~~ | strncmp bview.c:39:16: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 39 | self->path = strndup(opt_path, opt_path_len); | ^ bview.c: In function 'bview_open': bview.c:70:16: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 70 | self->path = strndup(path, path_len); | ^ bview.c: In function '_bview_fix_path': bview.c:737:13: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 737 | tmp = strndup(path, tmp_len); | ^ bview.c:753:13: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 753 | tmp = strndup(path+2, tmp_len); | ^ bview.c:765:15: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 765 | *ret_path = strndup(path + fix_nudge, fix_len); | ^ bview.c: In function '_bview_open_buffer': bview.c:794:26: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 794 | buffer->path = strndup(opt_path, opt_path_len); | ^ gcc -c -std=c99 -Wall -Wextra -pedantic -Wno-pointer-arith -Wno-unused-result -Wno-unused-parameter -g -O0 -D_GNU_SOURCE -DPCRE2_CODE_UNIT_WIDTH=8 -I. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/lua-5.4 -I/opt/pkg/include/ncurses cmd.c -o cmd.o cmd.c: In function 'cmd_goto': cmd.c:675:25: warning: implicit declaration of function 'strdup'; did you mean 'strcmp'? [-Wimplicit-function-declaration] 675 | bview_num_str = strdup(ctx->static_param); | ^~~~~~ | strcmp cmd.c:675:23: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 675 | bview_num_str = strdup(ctx->static_param); | ^ cmd.c: In function 'cmd_grep': cmd.c:749:5: warning: implicit declaration of function 'asprintf'; did you mean 'vsprintf'? [-Wimplicit-function-declaration] 749 | asprintf(&cmd, grep_fmt, path_arg); | ^~~~~~~~ | vsprintf cmd.c: In function 'cmd_shell': cmd.c:1103:13: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 1103 | cmd = strdup(ctx->static_param); | ^ cmd.c: In function 'cmd_perl': cmd.c:1124:14: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 1124 | code = strdup(ctx->static_param); | ^ cmd.c: In function 'cmd_push_kmap': cmd.c:1227:19: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 1227 | kmap_name = strdup(ctx->static_param); | ^ cmd.c: In function '_cmd_save': cmd.c:1543:18: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 1543 | path = strdup(bview->buffer->path); | ^ cmd.c: In function '_cmd_menu_grep_cb': cmd.c:1758:12: warning: implicit declaration of function 'strndup'; did you mean 'strncmp'? [-Wimplicit-function-declaration] 1758 | line = strndup(ctx->bview->active_cursor->mark->bline->data, ctx->bview->active_cursor->mark->bline->data_len); | ^~~~~~~ | strncmp cmd.c:1758:10: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 1758 | line = strndup(ctx->bview->active_cursor->mark->bline->data, ctx->bview->active_cursor->mark->bline->data_len); | ^ cmd.c: In function '_cmd_menu_ctag_cb': cmd.c:1787:10: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 1787 | line = strndup(ctx->bview->active_cursor->mark->bline->data, ctx->bview->active_cursor->mark->bline->data_len); | ^ cmd.c: In function '_cmd_menu_browse_cb': cmd.c:1834:10: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 1834 | line = strndup(ctx->bview->active_cursor->mark->bline->data, ctx->bview->active_cursor->mark->bline->data_len); | ^ cmd.c: In function '_cmd_insert_auto_indent_newline': cmd.c:1933:15: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 1933 | prev_line = strndup(prev_bline->data, prev_bline->data_len); | ^ cmd.c: In function '_cmd_insert_auto_indent_closing_bracket': cmd.c:1980:19: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 1980 | this_line = strndup(ctx->cursor->mark->bline->data, ctx->cursor->mark->bline->data_len); | ^ cmd.c:1981:19: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 1981 | prev_line = strndup(ctx->cursor->mark->bline->prev->data, ctx->cursor->mark->bline->prev->data_len); | ^ gcc -c -std=c99 -Wall -Wextra -pedantic -Wno-pointer-arith -Wno-unused-result -Wno-unused-parameter -g -O0 -D_GNU_SOURCE -DPCRE2_CODE_UNIT_WIDTH=8 -I. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/lua-5.4 -I/opt/pkg/include/ncurses cursor.c -o cursor.o cursor.c: In function 'cursor_cut_copy': cursor.c:254:41: warning: implicit declaration of function 'strdup'; did you mean 'strcmp'? [-Wimplicit-function-declaration] 254 | cursor->bview->editor->cut_buffer = strdup(cursor->cut_buffer); | ^~~~~~ | strcmp cursor.c:254:39: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 254 | cursor->bview->editor->cut_buffer = strdup(cursor->cut_buffer); | ^ cursor.c: In function 'cursor_replace': cursor.c:319:19: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 319 | regex = strdup(opt_regex); | ^ cursor.c:320:25: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 320 | replacement = strdup(opt_replacement); | ^ gcc -c -std=c99 -Wall -Wextra -pedantic -Wno-pointer-arith -Wno-unused-result -Wno-unused-parameter -g -O0 -D_GNU_SOURCE -DPCRE2_CODE_UNIT_WIDTH=8 -I. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/lua-5.4 -I/opt/pkg/include/ncurses editor.c -o editor.o In file included from editor.c:8: termbox2.h: In function 'tb_strerror': termbox2.h:1904:13: warning: implicit declaration of function 'strerror_r'; did you mean 'strerror'? [-Wimplicit-function-declaration] 1904 | strerror_r(global.last_errno, global.errbuf, sizeof(global.errbuf)); | ^~~~~~~~~~ | strerror termbox2.h: In function 'init_term_attrs': termbox2.h:1967:5: warning: implicit declaration of function 'cfmakeraw' [-Wimplicit-function-declaration] 1967 | cfmakeraw(&tios); | ^~~~~~~~~ termbox2.h: In function 'init_resize_handler': termbox2.h:2111:22: error: storage size of 'sa' isn't known 2111 | struct sigaction sa; | ^~ termbox2.h:2114:9: warning: implicit declaration of function 'sigaction' [-Wimplicit-function-declaration] 2114 | if (sigaction(SIGWINCH, &sa, NULL) != 0) { | ^~~~~~~~~ termbox2.h:2111:22: warning: unused variable 'sa' [-Wunused-variable] 2111 | struct sigaction sa; | ^~ termbox2.h: In function 'tb_deinit': termbox2.h:2247:46: error: 'struct sigaction' has no member named 'sa_handler' 2247 | sigaction(SIGWINCH, &(struct sigaction){.sa_handler = SIG_DFL}, NULL); | ^~~~~~~~~~ termbox2.h:2247:59: warning: excess elements in struct initializer 2247 | sigaction(SIGWINCH, &(struct sigaction){.sa_handler = SIG_DFL}, NULL); | ^~~~~~~ termbox2.h:2247:59: note: (near initialization for '(anonymous)') termbox2.h:2247:44: error: invalid use of undefined type 'struct sigaction' 2247 | sigaction(SIGWINCH, &(struct sigaction){.sa_handler = SIG_DFL}, NULL); | ^ termbox2.h: In function 'load_terminfo': termbox2.h:2269:14: error: 'PATH_MAX' undeclared (first use in this function); did you mean 'PASS_MAX'? 2269 | char tmp[PATH_MAX]; | ^~~~~~~~ | PASS_MAX termbox2.h:2269:14: note: each undeclared identifier is reported only once for each function it appears in termbox2.h:2269:10: warning: unused variable 'tmp' [-Wunused-variable] 2269 | char tmp[PATH_MAX]; | ^~~ termbox2.h: In function 'load_terminfo_from_path': termbox2.h:2329:14: error: 'PATH_MAX' undeclared (first use in this function); did you mean 'PASS_MAX'? 2329 | char tmp[PATH_MAX]; | ^~~~~~~~ | PASS_MAX termbox2.h:2329:10: warning: unused variable 'tmp' [-Wunused-variable] 2329 | char tmp[PATH_MAX]; | ^~~ termbox2.h: In function 'read_terminfo_path': termbox2.h:2351:15: warning: implicit declaration of function 'fileno' [-Wimplicit-function-declaration] 2351 | if (fstat(fileno(fp), &st) != 0) { | ^~~~~~ editor.c: In function 'editor_init': editor.c:131:17: warning: implicit declaration of function 'asprintf'; did you mean 'vsprintf'? [-Wimplicit-function-declaration] 131 | asprintf(&home_rc, "%s/%s", getenv("HOME"), ".mlerc"); | ^~~~~~~~ | vsprintf editor.c: In function 'editor_register_cmd': editor.c:534:21: warning: implicit declaration of function 'strdup'; did you mean 'strcmp'? [-Wimplicit-function-declaration] 534 | new_cmd->name = strdup(new_cmd->name); | ^~~~~~ | strcmp editor.c:534:19: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 534 | new_cmd->name = strdup(new_cmd->name); | ^ editor.c: In function 'editor_register_observer': editor.c:594:26: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 594 | observer->event_patt = strdup(event_patt); | ^ editor.c: In function '_editor_prompt_input_submit': editor.c:665:36: warning: implicit declaration of function 'strndup'; did you mean 'strncmp'? [-Wimplicit-function-declaration] 665 | ctx->loop_ctx->prompt_answer = strndup(answer, answer_len); | ^~~~~~~ | strncmp editor.c:665:34: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 665 | ctx->loop_ctx->prompt_answer = strndup(answer, answer_len); | ^ editor.c: In function '_editor_prompt_find_or_add_history': editor.c:755:36: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 755 | prompt_history->prompt_str = strdup(ctx->bview->prompt_str); | ^ editor.c: In function '_editor_prompt_history_append': editor.c:797:24: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 797 | prompt_hnode->data = strdup(data); | ^ editor.c: In function '_editor_init_signal_handlers': editor.c:1627:22: error: storage size of 'action' isn't known 1627 | struct sigaction action; | ^~~~~~ editor.c:1630:31: error: invalid application of 'sizeof' to incomplete type 'struct sigaction' 1630 | memset(&action, 0, sizeof(struct sigaction)); | ^~~~~~ editor.c:1627:22: warning: unused variable 'action' [-Wunused-variable] 1627 | struct sigaction action; | ^~~~~~ editor.c: In function '_editor_init_kmap': editor.c:1990:16: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 1990 | kmap->name = strdup(name); | ^ editor.c:1994:32: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 1994 | kmap->default_cmd_name = strdup(default_cmd_name); | ^ editor.c: In function '_editor_init_kmap_add_binding': editor.c:2009:18: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 2009 | cur_key_patt = strdup(binding_def->key_patt); | ^ editor.c: In function '_editor_init_kmap_add_binding_to_trie': editor.c:2062:66: warning: pointer/integer type mismatch in conditional expression 2062 | node->static_param = static_param ? strdup(static_param) : NULL; | ^ editor.c:2063:24: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 2063 | node->key_patt = strdup(full_key_patt); | ^ editor.c:2064:24: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 2064 | node->cmd_name = strdup(cmd_name); | ^ editor.c: In function '_editor_add_macro_by_str': editor.c:2129:25: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 2129 | macro->name = strdup(token); | ^ editor.c: In function '_editor_init_syntax': editor.c:2209:18: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 2209 | syntax->name = strdup(name); | ^ editor.c:2210:26: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 2210 | syntax->path_pattern = strdup(path_pattern); | ^ editor.c: In function '_editor_init_from_args': editor.c:2502:40: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 2502 | editor->kmap_init_name = strdup(optarg); | ^ editor.c:2506:44: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 2506 | editor->startup_macro_name = strdup(optarg); | ^ gmake: *** [Makefile:35: editor.o] Error 1 *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/editors/mle *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/editors/mle