+ local run_cmd + run_cmd=run_su + shift + run_su /usr/pkg/bin/bmake stage-install BATCH=1 DEPENDS_TARGET=/nonexistent RUBY_VERSION_REQD=31 WRKLOG=/tmp/bulklog/ruby31-io-event-1.5.1/work.log + su pbulk -c '"$@"' make /usr/pkg/bin/bmake stage-install BATCH=1 DEPENDS_TARGET=/nonexistent RUBY_VERSION_REQD=31 WRKLOG=/tmp/bulklog/ruby31-io-event-1.5.1/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Installing for ruby31-io-event-1.5.1 => Generating pre-install file lists => Installing gem into installation root Building native extensions. This could take a while... ERROR: Error installing /home/pbulk/build/devel/ruby-io-event/work/io-event-1.5.1/io-event-1.5.1.gem: ERROR: Failed to build gem native extension. current directory: /home/pbulk/build/devel/ruby-io-event/work/.inst/usr/pkg/lib/ruby/gems/3.1.0/gems/io-event-1.5.1/ext /usr/pkg/bin/ruby31 -I /usr/pkg/lib/ruby/3.1.0 extconf.rb checking for rb_ext_ractor_safe()... yes checking for &rb_fiber_transfer()... yes checking for -luring... no checking for sys/epoll.h... no checking for sys/event.h... yes checking for sys/eventfd.h... yes checking for rb_io_descriptor()... yes checking for &rb_process_status_wait()... no checking for rb_fiber_current()... yes checking for &rb_fiber_raise()... yes checking for epoll_pwait2()... no checking for ruby/io/buffer.h... yes creating extconf.h creating Makefile current directory: /home/pbulk/build/devel/ruby-io-event/work/.inst/usr/pkg/lib/ruby/gems/3.1.0/gems/io-event-1.5.1/ext make DESTDIR\= sitearchdir\=./.gem.20240503-28429-5s15y9 sitelibdir\=./.gem.20240503-28429-5s15y9 clean current directory: /home/pbulk/build/devel/ruby-io-event/work/.inst/usr/pkg/lib/ruby/gems/3.1.0/gems/io-event-1.5.1/ext make DESTDIR\= sitearchdir\=./.gem.20240503-28429-5s15y9 sitelibdir\=./.gem.20240503-28429-5s15y9 compiling ./io/event/event.c compiling ./io/event/selector/selector.c In file included from /home/pbulk/build/devel/ruby-io-event/work/.buildlink/include/ruby-3.1.0/ruby.h:38, from ./io/event/selector/selector.h:23, from ./io/event/selector/selector.c:21: ./io/event/selector/selector.c: In function 'IO_Event_Selector_process_status_wait': ./io/event/selector/selector.c:77:82: error: 'WNOHANG' undeclared (first use in this function) 77 | return rb_funcall(rb_Process_Status, id_wait, 2, PIDT2NUM(pid), INT2NUM(flags | WNOHANG)); | ^~~~~~~ /home/pbulk/build/devel/ruby-io-event/work/.buildlink/include/ruby-3.1.0/ruby/ruby.h:291:35: note: in definition of macro 'rb_funcall' 291 | const VALUE rb_funcall_args[] = {__VA_ARGS__}; \ | ^~~~~~~~~~~ ./io/event/selector/selector.c:77:82: note: each undeclared identifier is reported only once for each function it appears in 77 | return rb_funcall(rb_Process_Status, id_wait, 2, PIDT2NUM(pid), INT2NUM(flags | WNOHANG)); | ^~~~~~~ /home/pbulk/build/devel/ruby-io-event/work/.buildlink/include/ruby-3.1.0/ruby/ruby.h:291:35: note: in definition of macro 'rb_funcall' 291 | const VALUE rb_funcall_args[] = {__VA_ARGS__}; \ | ^~~~~~~~~~~ *** Error code 1 Stop. make: stopped in /home/pbulk/build/devel/ruby-io-event/work/.inst/usr/pkg/lib/ruby/gems/3.1.0/gems/io-event-1.5.1/ext make failed, exit code 1 Gem files will remain installed in /home/pbulk/build/devel/ruby-io-event/work/.inst/usr/pkg/lib/ruby/gems/3.1.0/gems/io-event-1.5.1 for inspection. Results logged to /home/pbulk/build/devel/ruby-io-event/work/.inst/usr/pkg/lib/ruby/gems/3.1.0/extensions/x86_64-netbsd/3.1.0/io-event-1.5.1/gem_make.out *** Error code 1 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-netbsd-trunk-x86_64/devel/ruby-io-event *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-netbsd-trunk-x86_64/devel/ruby-io-event