=> Bootstrap dependency digest>=20211023: found digest-20220214 ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for ruby31-ncurses-1.2.4nb5 compiling form_wrap.c form_wrap.c: In function 'rbncurs_c_form_request_name': form_wrap.c:1052:7: warning: implicit declaration of function 'form_request_name' [-Wimplicit-function-declaration] form_wrap.c:1052:5: warning: assignment to 'const char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] form_wrap.c: In function 'rbncurs_c_form_request_by_name': form_wrap.c:1059:28: warning: implicit declaration of function 'form_request_by_name'; did you mean 'rbncurs_c_form_request_by_name'? [-Wimplicit-function-declaration] form_wrap.c: In function 'rbncurs_m_new_fieldtype': form_wrap.c:1173:71: warning: passing argument 1 of 'new_fieldtype' from incompatible pointer type [-Wincompatible-pointer-types] In file included from form_wrap.h:26, from form_wrap.c:30: /usr/include/form.h:343:33: note: expected 'int (*)(FIELD *, char *)' {aka 'int (*)(struct _form_field *, char *)'} but argument is of type '_Bool (*)(FIELD *, const void *)' {aka '_Bool (*)(struct _form_field *, const void *)'} 343 | FIELDTYPE *new_fieldtype(int (* field_check)(FIELD *, char *), | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ form_wrap.c:1174:44: warning: passing argument 2 of 'new_fieldtype' from incompatible pointer type [-Wincompatible-pointer-types] In file included from form_wrap.h:26, from form_wrap.c:30: /usr/include/form.h:344:14: note: expected 'int (*)(int, char *)' but argument is of type '_Bool (*)(int, const void *)' 344 | int (* char_check)(int, char *)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ form_wrap.c:1175:32: warning: passing argument 2 of 'set_fieldtype_arg' from incompatible pointer type [-Wincompatible-pointer-types] In file included from form_wrap.h:26, from form_wrap.c:30: /usr/include/form.h:363:36: note: expected 'char * (*)(va_list *)' but argument is of type 'void * (*)(va_list *)' 363 | int set_fieldtype_arg(FIELDTYPE *, char *(*)(va_list *), | ^~~~~~~~~~~~~~~~~~~~ form_wrap.c: In function 'rbncurs_c_set_fieldtype_choice': form_wrap.c:1215:44: warning: passing argument 2 of 'set_fieldtype_choice' from incompatible pointer type [-Wincompatible-pointer-types] In file included from form_wrap.h:26, from form_wrap.c:30: /usr/include/form.h:366:39: note: expected 'int (*)(FIELD *, char *)' {aka 'int (*)(struct _form_field *, char *)'} but argument is of type '_Bool (*)(FIELD *, const void *)' {aka '_Bool (*)(struct _form_field *, const void *)'} 366 | int set_fieldtype_choice(FIELDTYPE *, int (*)(FIELD *, char *), | ^~~~~~~~~~~~~~~~~~~~~~~~ form_wrap.c:1216:44: warning: passing argument 3 of 'set_fieldtype_choice' from incompatible pointer type [-Wincompatible-pointer-types] In file included from form_wrap.h:26, from form_wrap.c:30: /usr/include/form.h:367:7: note: expected 'int (*)(FIELD *, char *)' {aka 'int (*)(struct _form_field *, char *)'} but argument is of type '_Bool (*)(FIELD *, const void *)' {aka '_Bool (*)(struct _form_field *, const void *)'} 367 | int (*)(FIELD *, char *)); | ^~~~~~~~~~~~~~~~~~~~~~~~ form_wrap.c: In function 'init_form': form_wrap.c:1402:2601: warning: passing argument 3 of 'rb_define_method_01' from incompatible pointer type [-Wincompatible-pointer-types] In file included from /tmp/pkgbuild/devel/ruby-ncurses/work.aarch64eb/.buildlink/include/ruby-3.1.0/ruby/ruby.h:26, from /tmp/pkgbuild/devel/ruby-ncurses/work.aarch64eb/.buildlink/include/ruby-3.1.0/ruby.h:38, from form_wrap.h:27, from form_wrap.c:30: /tmp/pkgbuild/devel/ruby-ncurses/work.aarch64eb/.buildlink/include/ruby-3.1.0/ruby/internal/anyargs.h:276:945: note: expected 'VALUE (*)(VALUE, VALUE)' {aka 'long unsigned int (*)(long unsigned int, long unsigned int)'} but argument is of type 'VALUE (*)(VALUE)' {aka 'long unsigned int (*)(long unsigned int)'} form_wrap.c:1402:2596: warning: passing argument 3 of 'rb_define_method_01' from incompatible pointer type [-Wincompatible-pointer-types] In file included from /tmp/pkgbuild/devel/ruby-ncurses/work.aarch64eb/.buildlink/include/ruby-3.1.0/ruby/ruby.h:26, from /tmp/pkgbuild/devel/ruby-ncurses/work.aarch64eb/.buildlink/include/ruby-3.1.0/ruby.h:38, from form_wrap.h:27, from form_wrap.c:30: /tmp/pkgbuild/devel/ruby-ncurses/work.aarch64eb/.buildlink/include/ruby-3.1.0/ruby/internal/anyargs.h:276:945: note: expected 'VALUE (*)(VALUE, VALUE)' {aka 'long unsigned int (*)(long unsigned int, long unsigned int)'} but argument is of type 'VALUE (*)(VALUE)' {aka 'long unsigned int (*)(long unsigned int)'} form_wrap.c:1404:2601: warning: passing argument 3 of 'rb_define_method_01' from incompatible pointer type [-Wincompatible-pointer-types] In file included from /tmp/pkgbuild/devel/ruby-ncurses/work.aarch64eb/.buildlink/include/ruby-3.1.0/ruby/ruby.h:26, from /tmp/pkgbuild/devel/ruby-ncurses/work.aarch64eb/.buildlink/include/ruby-3.1.0/ruby.h:38, from form_wrap.h:27, from form_wrap.c:30: /tmp/pkgbuild/devel/ruby-ncurses/work.aarch64eb/.buildlink/include/ruby-3.1.0/ruby/internal/anyargs.h:276:945: note: expected 'VALUE (*)(VALUE, VALUE)' {aka 'long unsigned int (*)(long unsigned int, long unsigned int)'} but argument is of type 'VALUE (*)(VALUE)' {aka 'long unsigned int (*)(long unsigned int)'} form_wrap.c:1404:2596: warning: passing argument 3 of 'rb_define_method_01' from incompatible pointer type [-Wincompatible-pointer-types] In file included from /tmp/pkgbuild/devel/ruby-ncurses/work.aarch64eb/.buildlink/include/ruby-3.1.0/ruby/ruby.h:26, from /tmp/pkgbuild/devel/ruby-ncurses/work.aarch64eb/.buildlink/include/ruby-3.1.0/ruby.h:38, from form_wrap.h:27, from form_wrap.c:30: /tmp/pkgbuild/devel/ruby-ncurses/work.aarch64eb/.buildlink/include/ruby-3.1.0/ruby/internal/anyargs.h:276:945: note: expected 'VALUE (*)(VALUE, VALUE)' {aka 'long unsigned int (*)(long unsigned int, long unsigned int)'} but argument is of type 'VALUE (*)(VALUE)' {aka 'long unsigned int (*)(long unsigned int)'} form_wrap.c:1411:2598: warning: passing argument 3 of 'rb_define_method_01' from incompatible pointer type [-Wincompatible-pointer-types] In file included from /tmp/pkgbuild/devel/ruby-ncurses/work.aarch64eb/.buildlink/include/ruby-3.1.0/ruby/ruby.h:26, from /tmp/pkgbuild/devel/ruby-ncurses/work.aarch64eb/.buildlink/include/ruby-3.1.0/ruby.h:38, from form_wrap.h:27, from form_wrap.c:30: /tmp/pkgbuild/devel/ruby-ncurses/work.aarch64eb/.buildlink/include/ruby-3.1.0/ruby/internal/anyargs.h:276:945: note: expected 'VALUE (*)(VALUE, VALUE)' {aka 'long unsigned int (*)(long unsigned int, long unsigned int)'} but argument is of type 'VALUE (*)(VALUE)' {aka 'long unsigned int (*)(long unsigned int)'} form_wrap.c:1411:2593: warning: passing argument 3 of 'rb_define_method_01' from incompatible pointer type [-Wincompatible-pointer-types] In file included from /tmp/pkgbuild/devel/ruby-ncurses/work.aarch64eb/.buildlink/include/ruby-3.1.0/ruby/ruby.h:26, from /tmp/pkgbuild/devel/ruby-ncurses/work.aarch64eb/.buildlink/include/ruby-3.1.0/ruby.h:38, from form_wrap.h:27, from form_wrap.c:30: /tmp/pkgbuild/devel/ruby-ncurses/work.aarch64eb/.buildlink/include/ruby-3.1.0/ruby/internal/anyargs.h:276:945: note: expected 'VALUE (*)(VALUE, VALUE)' {aka 'long unsigned int (*)(long unsigned int, long unsigned int)'} but argument is of type 'VALUE (*)(VALUE)' {aka 'long unsigned int (*)(long unsigned int)'} compiling menu_wrap.c menu_wrap.c: In function 'rbncurs_c_menu_request_name': menu_wrap.c:665:7: warning: implicit declaration of function 'menu_request_name' [-Wimplicit-function-declaration] menu_wrap.c:665:5: warning: assignment to 'const char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] menu_wrap.c: In function 'rbncurs_c_menu_request_by_name': menu_wrap.c:673:28: warning: implicit declaration of function 'menu_request_by_name'; did you mean 'rbncurs_c_menu_request_by_name'? [-Wimplicit-function-declaration] menu_wrap.c: In function 'rbncurs_c_set_menu_spacing': menu_wrap.c:953:28: warning: implicit declaration of function 'set_menu_spacing'; did you mean 'set_menu_win'? [-Wimplicit-function-declaration] menu_wrap.c: In function 'rbncurs_c_menu_spacing': menu_wrap.c:975:18: warning: implicit declaration of function 'menu_spacing' [-Wimplicit-function-declaration] compiling ncurses_wrap.c distcc[4838] ERROR: compile ncurses_wrap.c on 10.0.20.122:3760 failed distcc[4838] (dcc_build_somewhere) Warning: remote compilation of 'ncurses_wrap.c' failed, retrying locally distcc[4838] Warning: failed to distribute ncurses_wrap.c to 10.0.20.122:3760, running locally instead ncurses_wrap.c: In function 'rbncurshelper_nonblocking_wgetch': ncurses_wrap.c:818:25: error: invalid use of incomplete typedef 'WINDOW' {aka 'struct _win_st'} 818 | int windelay = c_win->_delay; | ^~ ncurses_wrap.c:835:10: error: invalid use of incomplete typedef 'WINDOW' {aka 'struct _win_st'} 835 | c_win->_delay = 0; | ^~ ncurses_wrap.c:851:2: warning: implicit declaration of function 'rb_thread_select'; did you mean 'rb_thread_sleep'? [-Wimplicit-function-declaration] 851 | rb_thread_select(infd + 1, &in_fds, NULL, NULL, &tv); | ^~~~~~~~~~~~~~~~ | rb_thread_sleep ncurses_wrap.c:854:10: error: invalid use of incomplete typedef 'WINDOW' {aka 'struct _win_st'} 854 | c_win->_delay = windelay; | ^~ In file included from /tmp/pkgbuild/devel/ruby-ncurses/work.aarch64eb/.buildlink/include/ruby-3.1.0/ruby/ruby.h:26, from /tmp/pkgbuild/devel/ruby-ncurses/work.aarch64eb/.buildlink/include/ruby-3.1.0/ruby.h:38, from ncurses_wrap.h:86, from ncurses_wrap.c:67: ncurses_wrap.c: In function 'init_functions_3': ncurses_wrap.c:2469:32: warning: passing argument 3 of 'rb_define_module_function_01' from incompatible pointer type [-Wincompatible-pointer-types] 2469 | (&rbncurs_wenclose), /tmp/pkgbuild/devel/ruby-ncurses/work.aarch64eb/.buildlink/include/ruby-3.1.0/ruby/internal/anyargs.h:337:143: note: in definition of macro 'rb_define_module_function' 337 | #define rb_define_module_function(mod, mid, func, arity) RBIMPL_ANYARGS_DISPATCH_rb_define_module_function((arity), (func))((mod), (mid), (func), (arity)) | ^~~~ /tmp/pkgbuild/devel/ruby-ncurses/work.aarch64eb/.buildlink/include/ruby-3.1.0/ruby/internal/anyargs.h:273:21: note: expected 'VALUE (*)(VALUE, VALUE)' {aka 'long unsigned int (*)(long unsigned int, long unsigned int)'} but argument is of type 'VALUE (*)(VALUE, VALUE, VALUE, VALUE)' {aka 'long unsigned int (*)(long unsigned int, long unsigned int, long unsigned int, long unsigned int)'} 273 | RBIMPL_ANYARGS_DECL(rb_define_module_function, VALUE, const char *) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/pkgbuild/devel/ruby-ncurses/work.aarch64eb/.buildlink/include/ruby-3.1.0/ruby/internal/anyargs.h:255:41: note: in definition of macro 'RBIMPL_ANYARGS_DECL' 255 | RBIMPL_ANYARGS_ATTRSET(sym) static void sym ## _01(__VA_ARGS__, VALUE(*)(VALUE, VALUE), int); \ | ^~~ ncurses_wrap.c:2483:32: warning: passing argument 3 of 'rb_define_module_function_02' from incompatible pointer type [-Wincompatible-pointer-types] 2483 | (&rbncurs_has_key), /tmp/pkgbuild/devel/ruby-ncurses/work.aarch64eb/.buildlink/include/ruby-3.1.0/ruby/internal/anyargs.h:337:143: note: in definition of macro 'rb_define_module_function' 337 | #define rb_define_module_function(mod, mid, func, arity) RBIMPL_ANYARGS_DISPATCH_rb_define_module_function((arity), (func))((mod), (mid), (func), (arity)) | ^~~~ /tmp/pkgbuild/devel/ruby-ncurses/work.aarch64eb/.buildlink/include/ruby-3.1.0/ruby/internal/anyargs.h:273:21: note: expected 'VALUE (*)(VALUE, VALUE, VALUE)' {aka 'long unsigned int (*)(long unsigned int, long unsigned int, long unsigned int)'} but argument is of type 'VALUE (*)(VALUE, VALUE)' {aka 'long unsigned int (*)(long unsigned int, long unsigned int)'} 273 | RBIMPL_ANYARGS_DECL(rb_define_module_function, VALUE, const char *) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/pkgbuild/devel/ruby-ncurses/work.aarch64eb/.buildlink/include/ruby-3.1.0/ruby/internal/anyargs.h:256:41: note: in definition of macro 'RBIMPL_ANYARGS_DECL' 256 | RBIMPL_ANYARGS_ATTRSET(sym) static void sym ## _02(__VA_ARGS__, VALUE(*)(VALUE, VALUE, VALUE), int); \ | ^~~ distcc[4838] ERROR: compile ncurses_wrap.c on localhost failed *** [ncurses_wrap.o] Error code 1 make: stopped in /tmp/pkgbuild/devel/ruby-ncurses/work.aarch64eb/ncurses-ruby-1.2.4 1 error make: stopped in /tmp/pkgbuild/devel/ruby-ncurses/work.aarch64eb/ncurses-ruby-1.2.4 *** Error code 2 Stop. make[1]: stopped in /usr/pkgsrc/devel/ruby-ncurses *** Error code 1 Stop. make: stopped in /usr/pkgsrc/devel/ruby-ncurses