=> 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 ruby32-ncurses-1.2.4nb5 --- form_wrap.o --- --- menu_wrap.o --- --- ncurses_wrap.o --- --- panel_wrap.o --- --- form_wrap.o --- compiling form_wrap.c --- menu_wrap.o --- compiling menu_wrap.c --- panel_wrap.o --- compiling panel_wrap.c --- ncurses_wrap.o --- compiling ncurses_wrap.c --- form_wrap.o --- 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] 1052 | s = form_request_name(NUM2INT(request)); | ^~~~~~~~~~~~~~~~~ form_wrap.c:1052:5: warning: assignment to 'const char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 1052 | s = form_request_name(NUM2INT(request)); | ^ --- panel_wrap.o --- In file included from /pbulk/work/devel/ruby-ncurses/work/.buildlink/include/ruby-3.2.0/ruby/ruby.h:27, from /pbulk/work/devel/ruby-ncurses/work/.buildlink/include/ruby-3.2.0/ruby.h:38, from panel_wrap.h:25, from panel_wrap.c:24: panel_wrap.c: In function 'init_panel': panel_wrap.c:200:33: warning: passing argument 3 of 'rb_define_singleton_method_01' from incompatible pointer type [-Wincompatible-pointer-types] 200 | (&rbncurs_m_panel_above), /pbulk/work/devel/ruby-ncurses/work/.buildlink/include/ruby-3.2.0/ruby/internal/anyargs.h:308:144: note: in definition of macro 'rb_define_singleton_method' 308 | #define rb_define_singleton_method(obj, mid, func, arity) RBIMPL_ANYARGS_DISPATCH_rb_define_singleton_method((arity), (func))((obj), (mid), (func), (arity)) | ^~~~ /pbulk/work/devel/ruby-ncurses/work/.buildlink/include/ruby-3.2.0/ruby/internal/anyargs.h:271:21: 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)'} 271 | RBIMPL_ANYARGS_DECL(rb_define_singleton_method, VALUE, const char *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/ruby-ncurses/work/.buildlink/include/ruby-3.2.0/ruby/internal/anyargs.h:256:41: note: in definition of macro 'RBIMPL_ANYARGS_DECL' 256 | RBIMPL_ANYARGS_ATTRSET(sym) static void sym ## _01(__VA_ARGS__, VALUE(*)(VALUE, VALUE), int); \ | ^~~ --- form_wrap.o --- form_wrap.c: In function 'rbncurs_c_form_request_by_name': form_wrap.c:1059:18: warning: implicit declaration of function 'form_request_by_name'; did you mean 'rbncurs_c_form_request_by_name'? [-Wimplicit-function-declaration] 1059 | return INT2NUM(form_request_by_name(StringValuePtr(name))); | ^~~~~~~~~~~~~~~~~~~~ | rbncurs_c_form_request_by_name form_wrap.c: In function 'rbncurs_m_new_fieldtype': form_wrap.c:1173:72: warning: passing argument 1 of 'new_fieldtype' from incompatible pointer type [-Wincompatible-pointer-types] 1173 | FIELDTYPE* fieldtype = new_fieldtype(field_check_proc == Qnil ? NULL : field_check, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | _Bool (*)(FIELD *, const void *) {aka _Bool (*)(struct _form_field *, const void *)} In file included from form_wrap.h:26, from form_wrap.c:30: /usr/include/form.h:343:35: 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:45: warning: passing argument 2 of 'new_fieldtype' from incompatible pointer type [-Wincompatible-pointer-types] 1174 | char_check_proc == Qnil ? NULL : char_check); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ | | | _Bool (*)(int, const void *) 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] 1175 | set_fieldtype_arg(fieldtype, make_arg, NULL, NULL); | ^~~~~~~~ | | | void * (*)(__va_list_tag (*)[1]) In file included from form_wrap.h:26, from form_wrap.c:30: /usr/include/form.h:363:45: note: expected 'char * (*)(__va_list_tag (*)[1])' but argument is of type 'void * (*)(__va_list_tag (*)[1])' 363 | int set_fieldtype_arg(FIELDTYPE *, char *(*)(va_list *), | ^~~~~~~~~~~~~~~~~~~~ --- panel_wrap.o --- panel_wrap.c:207:33: warning: passing argument 3 of 'rb_define_singleton_method_01' from incompatible pointer type [-Wincompatible-pointer-types] 207 | (&rbncurs_m_panel_below), /pbulk/work/devel/ruby-ncurses/work/.buildlink/include/ruby-3.2.0/ruby/internal/anyargs.h:308:144: note: in definition of macro 'rb_define_singleton_method' 308 | #define rb_define_singleton_method(obj, mid, func, arity) RBIMPL_ANYARGS_DISPATCH_rb_define_singleton_method((arity), (func))((obj), (mid), (func), (arity)) | ^~~~ /pbulk/work/devel/ruby-ncurses/work/.buildlink/include/ruby-3.2.0/ruby/internal/anyargs.h:271:21: 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)'} 271 | RBIMPL_ANYARGS_DECL(rb_define_singleton_method, VALUE, const char *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/ruby-ncurses/work/.buildlink/include/ruby-3.2.0/ruby/internal/anyargs.h:256:41: note: in definition of macro 'RBIMPL_ANYARGS_DECL' 256 | RBIMPL_ANYARGS_ATTRSET(sym) static void sym ## _01(__VA_ARGS__, VALUE(*)(VALUE, VALUE), int); \ | ^~~ --- form_wrap.o --- form_wrap.c: In function 'rbncurs_c_set_fieldtype_choice': form_wrap.c:1215:45: warning: passing argument 2 of 'set_fieldtype_choice' from incompatible pointer type [-Wincompatible-pointer-types] 1215 | next_choice_proc == Qnil ? NULL : next_choice, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | _Bool (*)(FIELD *, const void *) {aka _Bool (*)(struct _form_field *, const void *)} In file included from form_wrap.h:26, from form_wrap.c:30: /usr/include/form.h:366:48: 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:45: warning: passing argument 3 of 'set_fieldtype_choice' from incompatible pointer type [-Wincompatible-pointer-types] 1216 | prev_choice_proc == Qnil ? NULL : prev_choice); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | _Bool (*)(FIELD *, const void *) {aka _Bool (*)(struct _form_field *, const void *)} 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 *)); | ^~~~~~~~~~~~~~~~~~~~~~~~ --- ncurses_wrap.o --- 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; | ^~ --- menu_wrap.o --- 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] 665 | s = menu_request_name(NUM2INT(request)); | ^~~~~~~~~~~~~~~~~ menu_wrap.c:665:5: warning: assignment to 'const char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 665 | s = menu_request_name(NUM2INT(request)); | ^ menu_wrap.c: In function 'rbncurs_c_menu_request_by_name': menu_wrap.c:673:18: warning: implicit declaration of function 'menu_request_by_name'; did you mean 'rbncurs_c_menu_request_by_name'? [-Wimplicit-function-declaration] 673 | return INT2NUM(menu_request_by_name(StringValuePtr(name))); | ^~~~~~~~~~~~~~~~~~~~ | rbncurs_c_menu_request_by_name menu_wrap.c: In function 'rbncurs_c_set_menu_spacing': menu_wrap.c:953:18: warning: implicit declaration of function 'set_menu_spacing'; did you mean 'set_menu_win'? [-Wimplicit-function-declaration] 953 | return INT2NUM(set_menu_spacing(menu, NUM2INT(spc_description), | ^~~~~~~~~~~~~~~~ | set_menu_win menu_wrap.c: In function 'rbncurs_c_menu_spacing': menu_wrap.c:975:18: warning: implicit declaration of function 'menu_spacing' [-Wimplicit-function-declaration] 975 | int result = menu_spacing(menu, &vals[0], &vals[1], &vals[2]); | ^~~~~~~~~~~~ --- form_wrap.o --- In file included from /pbulk/work/devel/ruby-ncurses/work/.buildlink/include/ruby-3.2.0/ruby/ruby.h:27, from /pbulk/work/devel/ruby-ncurses/work/.buildlink/include/ruby-3.2.0/ruby.h:38, from form_wrap.h:27, from form_wrap.c:30: form_wrap.c: In function 'init_form': form_wrap.h:51:35: warning: passing argument 3 of 'rb_define_method_01' from incompatible pointer type [-Wincompatible-pointer-types] 51 | rb_define_method(class, #name, (&rbncurs_c_ ## name), nargs); \ /pbulk/work/devel/ruby-ncurses/work/.buildlink/include/ruby-3.2.0/ruby/internal/anyargs.h:288:136: note: in definition of macro 'rb_define_method' 288 | #define rb_define_method(klass, mid, func, arity) RBIMPL_ANYARGS_DISPATCH_rb_define_method((arity), (func))((klass), (mid), (func), (arity)) | ^~~~ form_wrap.c:1402:3: note: in expansion of macro 'RB_CLASS_METH' 1402 | RB_CLASS_METH(cFIELD, "back", field_back,1); | ^~~~~~~~~~~~~ /pbulk/work/devel/ruby-ncurses/work/.buildlink/include/ruby-3.2.0/ruby/internal/anyargs.h:277:21: 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)'} 277 | RBIMPL_ANYARGS_DECL(rb_define_method, VALUE, const char *) | ^~~~~~~~~~~~~~~~ /pbulk/work/devel/ruby-ncurses/work/.buildlink/include/ruby-3.2.0/ruby/internal/anyargs.h:256:41: note: in definition of macro 'RBIMPL_ANYARGS_DECL' 256 | RBIMPL_ANYARGS_ATTRSET(sym) static void sym ## _01(__VA_ARGS__, VALUE(*)(VALUE, VALUE), int); \ | ^~~ form_wrap.h:53:40: warning: passing argument 3 of 'rb_define_method_01' from incompatible pointer type [-Wincompatible-pointer-types] 53 | rb_define_method(class, alt_name, (&rbncurs_c_ ## name), nargs); \ /pbulk/work/devel/ruby-ncurses/work/.buildlink/include/ruby-3.2.0/ruby/internal/anyargs.h:288:136: note: in definition of macro 'rb_define_method' 288 | #define rb_define_method(klass, mid, func, arity) RBIMPL_ANYARGS_DISPATCH_rb_define_method((arity), (func))((klass), (mid), (func), (arity)) | ^~~~ form_wrap.c:1402:3: note: in expansion of macro 'RB_CLASS_METH' 1402 | RB_CLASS_METH(cFIELD, "back", field_back,1); | ^~~~~~~~~~~~~ /pbulk/work/devel/ruby-ncurses/work/.buildlink/include/ruby-3.2.0/ruby/internal/anyargs.h:277:21: 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)'} 277 | RBIMPL_ANYARGS_DECL(rb_define_method, VALUE, const char *) | ^~~~~~~~~~~~~~~~ /pbulk/work/devel/ruby-ncurses/work/.buildlink/include/ruby-3.2.0/ruby/internal/anyargs.h:256:41: note: in definition of macro 'RBIMPL_ANYARGS_DECL' 256 | RBIMPL_ANYARGS_ATTRSET(sym) static void sym ## _01(__VA_ARGS__, VALUE(*)(VALUE, VALUE), int); \ | ^~~ form_wrap.h:51:35: warning: passing argument 3 of 'rb_define_method_01' from incompatible pointer type [-Wincompatible-pointer-types] 51 | rb_define_method(class, #name, (&rbncurs_c_ ## name), nargs); \ /pbulk/work/devel/ruby-ncurses/work/.buildlink/include/ruby-3.2.0/ruby/internal/anyargs.h:288:136: note: in definition of macro 'rb_define_method' 288 | #define rb_define_method(klass, mid, func, arity) RBIMPL_ANYARGS_DISPATCH_rb_define_method((arity), (func))((klass), (mid), (func), (arity)) | ^~~~ form_wrap.c:1404:3: note: in expansion of macro 'RB_CLASS_METH' 1404 | RB_CLASS_METH(cFIELD, "fore", field_fore,1); | ^~~~~~~~~~~~~ /pbulk/work/devel/ruby-ncurses/work/.buildlink/include/ruby-3.2.0/ruby/internal/anyargs.h:277:21: 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)'} 277 | RBIMPL_ANYARGS_DECL(rb_define_method, VALUE, const char *) | ^~~~~~~~~~~~~~~~ /pbulk/work/devel/ruby-ncurses/work/.buildlink/include/ruby-3.2.0/ruby/internal/anyargs.h:256:41: note: in definition of macro 'RBIMPL_ANYARGS_DECL' 256 | RBIMPL_ANYARGS_ATTRSET(sym) static void sym ## _01(__VA_ARGS__, VALUE(*)(VALUE, VALUE), int); \ | ^~~ form_wrap.h:53:40: warning: passing argument 3 of 'rb_define_method_01' from incompatible pointer type [-Wincompatible-pointer-types] 53 | rb_define_method(class, alt_name, (&rbncurs_c_ ## name), nargs); \ /pbulk/work/devel/ruby-ncurses/work/.buildlink/include/ruby-3.2.0/ruby/internal/anyargs.h:288:136: note: in definition of macro 'rb_define_method' 288 | #define rb_define_method(klass, mid, func, arity) RBIMPL_ANYARGS_DISPATCH_rb_define_method((arity), (func))((klass), (mid), (func), (arity)) | ^~~~ form_wrap.c:1404:3: note: in expansion of macro 'RB_CLASS_METH' 1404 | RB_CLASS_METH(cFIELD, "fore", field_fore,1); | ^~~~~~~~~~~~~ /pbulk/work/devel/ruby-ncurses/work/.buildlink/include/ruby-3.2.0/ruby/internal/anyargs.h:277:21: 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)'} 277 | RBIMPL_ANYARGS_DECL(rb_define_method, VALUE, const char *) | ^~~~~~~~~~~~~~~~ /pbulk/work/devel/ruby-ncurses/work/.buildlink/include/ruby-3.2.0/ruby/internal/anyargs.h:256:41: note: in definition of macro 'RBIMPL_ANYARGS_DECL' 256 | RBIMPL_ANYARGS_ATTRSET(sym) static void sym ## _01(__VA_ARGS__, VALUE(*)(VALUE, VALUE), int); \ | ^~~ form_wrap.h:51:35: warning: passing argument 3 of 'rb_define_method_01' from incompatible pointer type [-Wincompatible-pointer-types] 51 | rb_define_method(class, #name, (&rbncurs_c_ ## name), nargs); \ /pbulk/work/devel/ruby-ncurses/work/.buildlink/include/ruby-3.2.0/ruby/internal/anyargs.h:288:136: note: in definition of macro 'rb_define_method' 288 | #define rb_define_method(klass, mid, func, arity) RBIMPL_ANYARGS_DISPATCH_rb_define_method((arity), (func))((klass), (mid), (func), (arity)) | ^~~~ form_wrap.c:1411:3: note: in expansion of macro 'RB_CLASS_METH' 1411 | RB_CLASS_METH(cFIELD, "pad", field_pad,1); | ^~~~~~~~~~~~~ /pbulk/work/devel/ruby-ncurses/work/.buildlink/include/ruby-3.2.0/ruby/internal/anyargs.h:277:21: 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)'} 277 | RBIMPL_ANYARGS_DECL(rb_define_method, VALUE, const char *) | ^~~~~~~~~~~~~~~~ /pbulk/work/devel/ruby-ncurses/work/.buildlink/include/ruby-3.2.0/ruby/internal/anyargs.h:256:41: note: in definition of macro 'RBIMPL_ANYARGS_DECL' 256 | RBIMPL_ANYARGS_ATTRSET(sym) static void sym ## _01(__VA_ARGS__, VALUE(*)(VALUE, VALUE), int); \ | ^~~ form_wrap.h:53:40: warning: passing argument 3 of 'rb_define_method_01' from incompatible pointer type [-Wincompatible-pointer-types] 53 | rb_define_method(class, alt_name, (&rbncurs_c_ ## name), nargs); \ /pbulk/work/devel/ruby-ncurses/work/.buildlink/include/ruby-3.2.0/ruby/internal/anyargs.h:288:136: note: in definition of macro 'rb_define_method' 288 | #define rb_define_method(klass, mid, func, arity) RBIMPL_ANYARGS_DISPATCH_rb_define_method((arity), (func))((klass), (mid), (func), (arity)) | ^~~~ form_wrap.c:1411:3: note: in expansion of macro 'RB_CLASS_METH' 1411 | RB_CLASS_METH(cFIELD, "pad", field_pad,1); | ^~~~~~~~~~~~~ /pbulk/work/devel/ruby-ncurses/work/.buildlink/include/ruby-3.2.0/ruby/internal/anyargs.h:277:21: 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)'} 277 | RBIMPL_ANYARGS_DECL(rb_define_method, VALUE, const char *) | ^~~~~~~~~~~~~~~~ /pbulk/work/devel/ruby-ncurses/work/.buildlink/include/ruby-3.2.0/ruby/internal/anyargs.h:256:41: note: in definition of macro 'RBIMPL_ANYARGS_DECL' 256 | RBIMPL_ANYARGS_ATTRSET(sym) static void sym ## _01(__VA_ARGS__, VALUE(*)(VALUE, VALUE), int); \ | ^~~ --- ncurses_wrap.o --- In file included from /pbulk/work/devel/ruby-ncurses/work/.buildlink/include/ruby-3.2.0/ruby/ruby.h:27, from /pbulk/work/devel/ruby-ncurses/work/.buildlink/include/ruby-3.2.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), /pbulk/work/devel/ruby-ncurses/work/.buildlink/include/ruby-3.2.0/ruby/internal/anyargs.h:338:143: note: in definition of macro 'rb_define_module_function' 338 | #define rb_define_module_function(mod, mid, func, arity) RBIMPL_ANYARGS_DISPATCH_rb_define_module_function((arity), (func))((mod), (mid), (func), (arity)) | ^~~~ /pbulk/work/devel/ruby-ncurses/work/.buildlink/include/ruby-3.2.0/ruby/internal/anyargs.h:274: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)'} 274 | RBIMPL_ANYARGS_DECL(rb_define_module_function, VALUE, const char *) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/ruby-ncurses/work/.buildlink/include/ruby-3.2.0/ruby/internal/anyargs.h:256:41: note: in definition of macro 'RBIMPL_ANYARGS_DECL' 256 | 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), /pbulk/work/devel/ruby-ncurses/work/.buildlink/include/ruby-3.2.0/ruby/internal/anyargs.h:338:143: note: in definition of macro 'rb_define_module_function' 338 | #define rb_define_module_function(mod, mid, func, arity) RBIMPL_ANYARGS_DISPATCH_rb_define_module_function((arity), (func))((mod), (mid), (func), (arity)) | ^~~~ /pbulk/work/devel/ruby-ncurses/work/.buildlink/include/ruby-3.2.0/ruby/internal/anyargs.h:274: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)'} 274 | RBIMPL_ANYARGS_DECL(rb_define_module_function, VALUE, const char *) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/ruby-ncurses/work/.buildlink/include/ruby-3.2.0/ruby/internal/anyargs.h:257:41: note: in definition of macro 'RBIMPL_ANYARGS_DECL' 257 | RBIMPL_ANYARGS_ATTRSET(sym) static void sym ## _02(__VA_ARGS__, VALUE(*)(VALUE, VALUE, VALUE), int); \ | ^~~ *** [ncurses_wrap.o] Error code 1 make: stopped in /pbulk/work/devel/ruby-ncurses/work/ncurses-ruby-1.2.4 1 error make: stopped in /pbulk/work/devel/ruby-ncurses/work/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