=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/editors/mle", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] ===> Building for mle-1.7.2nb1 => 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 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); | ^ 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); | ^ 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); | ^ 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); | ^~~~~~ 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); | ^ 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); | ^ 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); | ^~~~~~~ gmake: *** [Makefile:35: bview.o] Error 1 gmake: *** Waiting for unfinished jobs.... gmake: *** [Makefile:35: buffer.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