+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent RUBY_VERSION_REQD=33 WRKLOG=/tmp/bulklog/ruby33-ncurses-1.2.4nb5/work.log + su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent RUBY_VERSION_REQD=33 WRKLOG=/tmp/bulklog/ruby33-ncurses-1.2.4nb5/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for ruby33-ncurses-1.2.4nb5 --- form_wrap.o --- --- menu_wrap.o --- --- form_wrap.o --- compiling form_wrap.c --- menu_wrap.o --- compiling menu_wrap.c --- form_wrap.o --- In file included from /home/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/ruby/ruby.h:27, from /home/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.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); \ /home/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.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); | ^~~~~~~~~~~~~ /home/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.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 *) | ^~~~~~~~~~~~~~~~ /home/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.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); \ /home/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.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); | ^~~~~~~~~~~~~ /home/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.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 *) | ^~~~~~~~~~~~~~~~ /home/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.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); \ /home/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.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); | ^~~~~~~~~~~~~ /home/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.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 *) | ^~~~~~~~~~~~~~~~ /home/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.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); \ /home/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.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); | ^~~~~~~~~~~~~ /home/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.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 *) | ^~~~~~~~~~~~~~~~ /home/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.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); \ /home/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.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); | ^~~~~~~~~~~~~ /home/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.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 *) | ^~~~~~~~~~~~~~~~ /home/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.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); \ /home/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.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); | ^~~~~~~~~~~~~ /home/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.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 *) | ^~~~~~~~~~~~~~~~ /home/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.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 --- compiling ncurses_wrap.c 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: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; | ^~ --- panel_wrap.o --- compiling panel_wrap.c --- ncurses_wrap.o --- In file included from /home/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/ruby/ruby.h:27, from /home/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.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.3.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)) | ^~~~ /home/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.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 *) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.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), /home/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.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)) | ^~~~ /home/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.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 *) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.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); \ | ^~~ --- panel_wrap.o --- In file included from /home/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/ruby/ruby.h:27, from /home/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.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.3.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)) | ^~~~ /home/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.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 *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.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); \ | ^~~ 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.3.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)) | ^~~~ /home/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.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 *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.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 --- *** [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-el9-trunk-x86_64/devel/ruby-ncurses *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/devel/ruby-ncurses