+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent RUBY_VERSION_REQD=31 WRKLOG=/tmp/bulklog/ruby31-ncurses-1.2.4nb5/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent RUBY_VERSION_REQD=31 WRKLOG=/tmp/bulklog/ruby31-ncurses-1.2.4nb5/work.log
===> Building for ruby31-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
--- ncurses_wrap.o ---
compiling ncurses_wrap.c
--- panel_wrap.o ---
compiling panel_wrap.c
--- 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 ---
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));
      |     ^
--- 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;
      |          ^~
--- 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 fieldnode *, const void *)}
--- ncurses_wrap.o ---
ncurses_wrap.c:851:9: 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;
      |          ^~
--- form_wrap.o ---
In file included from form_wrap.h:26,
                 from form_wrap.c:30:
/usr/include/form.h:259:39: note: expected 'PTF_int' {aka 'int (*)()'} but argument is of type '_Bool (*)(FIELD *, const void *)' {aka '_Bool (*)(struct fieldnode *, const void *)'}
  259 | extern FIELDTYPE *      new_fieldtype(PTF_int, PTF_int);
      |                                       ^~~~~~~
form_wrap.c:1174:136: 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 *)
/usr/include/form.h:259:48: note: expected 'PTF_int' {aka 'int (*)()'} but argument is of type '_Bool (*)(int,  const void *)'
  259 | extern FIELDTYPE *      new_fieldtype(PTF_int, PTF_int);
      |                                                ^~~~~~~
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])
/usr/include/form.h:262:56: note: expected 'PTF_charP' {aka 'char * (*)()'} but argument is of type 'void * (*)(__va_list_tag (*)[1])'
  262 | extern int              set_fieldtype_arg(FIELDTYPE *, PTF_charP,
      |                                                        ^~~~~~~~~
form_wrap.c: In function 'rbncurs_c_set_fieldtype_choice':
form_wrap.c:1215:129: 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 fieldnode *, const void *)}
/usr/include/form.h:264:59: note: expected 'PTF_int' {aka 'int (*)()'} but argument is of type '_Bool (*)(FIELD *, const void *)' {aka '_Bool (*)(struct fieldnode *, const void *)'}
  264 | extern int              set_fieldtype_choice(FIELDTYPE *, PTF_int, PTF_int);
      |                                                           ^~~~~~~
form_wrap.c:1216:129: 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 fieldnode *, const void *)}
/usr/include/form.h:264:68: note: expected 'PTF_int' {aka 'int (*)()'} but argument is of type '_Bool (*)(FIELD *, const void *)' {aka '_Bool (*)(struct fieldnode *, const void *)'}
  264 | extern int              set_fieldtype_choice(FIELDTYPE *, PTF_int, PTF_int);
      |                                                                    ^~~~~~~
--- panel_wrap.o ---
In file included from /home/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.1.0/ruby/ruby.h:26,
                 from /home/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.1.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),
/home/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.1.0/ruby/internal/anyargs.h:307:144: note: in definition of macro 'rb_define_singleton_method'
  307 | #define rb_define_singleton_method(obj, mid, func, arity)   RBIMPL_ANYARGS_DISPATCH_rb_define_singleton_method((arity), (func))((obj), (mid), (func), (arity))
      |                                                                                                                                                ^~~~
/home/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.1.0/ruby/internal/anyargs.h:270: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)'}
  270 | RBIMPL_ANYARGS_DECL(rb_define_singleton_method, VALUE, const char *)
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/ruby-ncurses/work/.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); \
      |                                         ^~~
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),
/home/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.1.0/ruby/internal/anyargs.h:307:144: note: in definition of macro 'rb_define_singleton_method'
  307 | #define rb_define_singleton_method(obj, mid, func, arity)   RBIMPL_ANYARGS_DISPATCH_rb_define_singleton_method((arity), (func))((obj), (mid), (func), (arity))
      |                                                                                                                                                ^~~~
/home/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.1.0/ruby/internal/anyargs.h:270: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)'}
  270 | RBIMPL_ANYARGS_DECL(rb_define_singleton_method, VALUE, const char *)
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/ruby-ncurses/work/.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); \
      |                                         ^~~
--- form_wrap.o ---
In file included from /home/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.1.0/ruby/ruby.h:26,
                 from /home/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.1.0/ruby.h:38,
                 from form_wrap.h:27:
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);      \
/home/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.1.0/ruby/internal/anyargs.h:287:136: note: in definition of macro 'rb_define_method'
  287 | #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);
      |   ^~~~~~~~~~~~~
/home/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.1.0/ruby/internal/anyargs.h:276: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)'}
  276 | RBIMPL_ANYARGS_DECL(rb_define_method, VALUE, const char *)
      |                     ^~~~~~~~~~~~~~~~
/home/pbulk/build/devel/ruby-ncurses/work/.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); \
      |                                         ^~~
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); \
/home/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.1.0/ruby/internal/anyargs.h:287:136: note: in definition of macro 'rb_define_method'
  287 | #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);
      |   ^~~~~~~~~~~~~
/home/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.1.0/ruby/internal/anyargs.h:276: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)'}
  276 | RBIMPL_ANYARGS_DECL(rb_define_method, VALUE, const char *)
      |                     ^~~~~~~~~~~~~~~~
/home/pbulk/build/devel/ruby-ncurses/work/.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); \
      |                                         ^~~
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);      \
/home/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.1.0/ruby/internal/anyargs.h:287:136: note: in definition of macro 'rb_define_method'
  287 | #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);
      |   ^~~~~~~~~~~~~
/home/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.1.0/ruby/internal/anyargs.h:276: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)'}
  276 | RBIMPL_ANYARGS_DECL(rb_define_method, VALUE, const char *)
      |                     ^~~~~~~~~~~~~~~~
/home/pbulk/build/devel/ruby-ncurses/work/.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); \
      |                                         ^~~
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); \
/home/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.1.0/ruby/internal/anyargs.h:287:136: note: in definition of macro 'rb_define_method'
  287 | #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);
      |   ^~~~~~~~~~~~~
/home/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.1.0/ruby/internal/anyargs.h:276: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)'}
  276 | RBIMPL_ANYARGS_DECL(rb_define_method, VALUE, const char *)
      |                     ^~~~~~~~~~~~~~~~
/home/pbulk/build/devel/ruby-ncurses/work/.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); \
      |                                         ^~~
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);      \
/home/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.1.0/ruby/internal/anyargs.h:287:136: note: in definition of macro 'rb_define_method'
  287 | #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);
      |   ^~~~~~~~~~~~~
/home/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.1.0/ruby/internal/anyargs.h:276: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)'}
  276 | RBIMPL_ANYARGS_DECL(rb_define_method, VALUE, const char *)
      |                     ^~~~~~~~~~~~~~~~
/home/pbulk/build/devel/ruby-ncurses/work/.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); \
      |                                         ^~~
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); \
/home/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.1.0/ruby/internal/anyargs.h:287:136: note: in definition of macro 'rb_define_method'
  287 | #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);
      |   ^~~~~~~~~~~~~
/home/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.1.0/ruby/internal/anyargs.h:276: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)'}
  276 | RBIMPL_ANYARGS_DECL(rb_define_method, VALUE, const char *)
      |                     ^~~~~~~~~~~~~~~~
/home/pbulk/build/devel/ruby-ncurses/work/.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.o ---
In file included from /home/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.1.0/ruby/ruby.h:26,
                 from /home/pbulk/build/devel/ruby-ncurses/work/.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),
/home/pbulk/build/devel/ruby-ncurses/work/.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))
      |                                                                                                                                               ^~~~
/home/pbulk/build/devel/ruby-ncurses/work/.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 *)
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/ruby-ncurses/work/.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),
/home/pbulk/build/devel/ruby-ncurses/work/.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))
      |                                                                                                                                               ^~~~
/home/pbulk/build/devel/ruby-ncurses/work/.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 *)
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/devel/ruby-ncurses/work/.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); \
      |                                         ^~~
*** [ncurses_wrap.o] Error code 1

bmake: stopped making "all" in /home/pbulk/build/devel/ruby-ncurses/work/ncurses-ruby-1.2.4
bmake: 1 error

bmake: stopped making "all" in /home/pbulk/build/devel/ruby-ncurses/work/ncurses-ruby-1.2.4
*** Error code 2

Stop.
bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/ruby-ncurses
*** Error code 1

Stop.
bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/ruby-ncurses