=> 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'. ===> 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 /tmp/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: /tmp/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... no 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: /tmp/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.20240407-28483-36y0zw sitelibdir\=./.gem.20240407-28483-36y0zw clean current directory: /tmp/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.20240407-28483-36y0zw sitelibdir\=./.gem.20240407-28483-36y0zw compiling ./io/event/event.c compiling ./io/event/selector/selector.c In file included from /tmp/devel/ruby-io-event/work/.buildlink/include/ruby-3.1.0/ruby.h:38:0, 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) return rb_funcall(rb_Process_Status, id_wait, 2, PIDT2NUM(pid), INT2NUM(flags | WNOHANG)); ^ /tmp/devel/ruby-io-event/work/.buildlink/include/ruby-3.1.0/ruby/ruby.h:291:35: note: in definition of macro 'rb_funcall' 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 return rb_funcall(rb_Process_Status, id_wait, 2, PIDT2NUM(pid), INT2NUM(flags | WNOHANG)); ^ /tmp/devel/ruby-io-event/work/.buildlink/include/ruby-3.1.0/ruby/ruby.h:291:35: note: in definition of macro 'rb_funcall' const VALUE rb_funcall_args[] = {__VA_ARGS__}; \ ^~~~~~~~~~~ *** Error code 1 Stop. make: stopped in /tmp/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 /tmp/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 /tmp/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. make[1]: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/devel/ruby-io-event *** Error code 1 Stop. make: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/devel/ruby-io-event