+ 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 ===> 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 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 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 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 buffer.c: In function 'buffer_open': buffer.c:120:18: error: implicit declaration of function 'strdup'; did you mean 'strcmp'? [-Wimplicit-function-declaration] 120 | self->path = strdup(path); | ^~~~~~ | strcmp buffer.c:120:16: error: 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: error: 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: error: 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: error: 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: error: 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: error: 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: error: implicit declaration of function 'wcwidth' [-Wimplicit-function-declaration] 1102 | char_w = wcwidth(ch); | ^~~~~~~ cmd.c: In function 'cmd_goto': cmd.c:675:25: error: 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: error: 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: error: 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: error: 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': cursor.c: In function 'cursor_cut_copy': cursor.c:254:41: error: 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: error: 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: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 319 | regex = strdup(opt_regex); | ^ cursor.c:320:25: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 320 | replacement = strdup(opt_replacement); | ^ bview.c: In function 'bview_new': bview.c:39:18: error: 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: error: 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: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 70 | self->path = strndup(path, path_len); | ^ cmd.c:1124:14: error: 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: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 1227 | kmap_name = strdup(ctx->static_param); | ^ gmake: *** [Makefile:35: cursor.o] Error 1 gmake: *** Waiting for unfinished jobs.... cmd.c: In function '_cmd_save': cmd.c:1543:18: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 1543 | path = strdup(bview->buffer->path); | ^ bview.c: In function '_bview_fix_path': bview.c:737:13: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 737 | tmp = strndup(path, tmp_len); | ^ bview.c:753:13: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 753 | tmp = strndup(path+2, tmp_len); | ^ gmake: *** [Makefile:35: buffer.o] Error 1 cmd.c: In function '_cmd_menu_grep_cb': bview.c:765:15: error: 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: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 794 | buffer->path = strndup(opt_path, opt_path_len); | ^ cmd.c:1758:12: error: 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: error: 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: error: 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: error: 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: error: 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: error: 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: error: 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); | ^ gmake: *** [Makefile:35: cmd.o] Error 1 gmake: *** [Makefile:35: bview.o] Error 1 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/editors/mle *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/editors/mle