+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/pkg/bin/bmake stage-install BATCH=1 DEPENDS_TARGET=/nonexistent RUBY_VERSION_REQD=30 WRKLOG=/tmp/bulklog/ruby30-priority-queue-0.1.2nb4/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake stage-install BATCH=1 DEPENDS_TARGET=/nonexistent RUBY_VERSION_REQD=30 WRKLOG=/tmp/bulklog/ruby30-priority-queue-0.1.2nb4/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Installing for ruby30-priority-queue-0.1.2nb4
=> 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-priority-queue/work/PriorityQueue-0.1.2/PriorityQueue-0.1.2.gem:
	ERROR: Failed to build gem native extension.

    current directory: /home/pbulk/build/devel/ruby-priority-queue/work/.inst/opt/pkg/lib/ruby/gems/3.0.0/gems/PriorityQueue-0.1.2/ext/priority_queue
/opt/pkg/bin/ruby30 -I /opt/pkg/lib/ruby/3.0.0 -r ./siteconf20230718-559143-wnc204.rb extconf.rb
creating Makefile

current directory: /home/pbulk/build/devel/ruby-priority-queue/work/.inst/opt/pkg/lib/ruby/gems/3.0.0/gems/PriorityQueue-0.1.2/ext/priority_queue
make DESTDIR\= clean

current directory: /home/pbulk/build/devel/ruby-priority-queue/work/.inst/opt/pkg/lib/ruby/gems/3.0.0/gems/PriorityQueue-0.1.2/ext/priority_queue
make DESTDIR\=
compiling priority_queue.c
priority_queue.c: In function 'pq_initialize_copy':
priority_queue.c:892:29: warning: passing argument 3 of 'rb_iterate' from incompatible pointer type [-Wincompatible-pointer-types]
  892 |   rb_iterate(rb_each, orig, pq_insert_node, copy);
      |                             ^~~~~~~~~~~~~~
      |                             |
      |                             VALUE (*)(VALUE,  VALUE) {aka long unsigned int (*)(long unsigned int,  long unsigned int)}
In file included from /home/pbulk/build/devel/ruby-priority-queue/work/.buildlink/include/ruby-3.0.0/ruby/ruby.h:38,
                 from /home/pbulk/build/devel/ruby-priority-queue/work/.buildlink/include/ruby-3.0.0/ruby.h:38,
                 from priority_queue.c:24:
/home/pbulk/build/devel/ruby-priority-queue/work/.buildlink/include/ruby-3.0.0/ruby/internal/iterator.h:47:40: note: expected 'rb_block_call_func_t' {aka 'long unsigned int (*)(long unsigned int,  long unsigned int,  int,  const long unsigned int *, long unsigned int)'} but argument is of type 'VALUE (*)(VALUE,  VALUE)' {aka 'long unsigned int (*)(long unsigned int,  long unsigned int)'}
   47 | VALUE rb_iterate(VALUE(*)(VALUE),VALUE,rb_block_call_func_t,VALUE);
      |                                        ^~~~~~~~~~~~~~~~~~~~
priority_queue.c: In function 'pq_node2dot':
/home/pbulk/build/devel/ruby-priority-queue/work/.buildlink/include/ruby-3.0.0/ruby/ruby.h:137:9: error: call to 'rb_varargs_bad_length' declared with attribute error:  argument length doesn't match
  137 |         rb_funcallv(recv, mid, \
      |         ^~~~~~~~~~~~~~~~~~~~~~~~
  138 |             rb_varargs_argc_check(rb_funcall_argc, rb_funcall_nargs), \
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  139 |             rb_funcall_nargs ? rb_funcall_args : NULL); \
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
priority_queue.c:826:11: note: in expansion of macro 'rb_funcall'
  826 |           rb_funcall(Qnil, id_format, 4, rb_str_new2("NODE%i -> NODE%i;\n"),
      |           ^~~~~~~~~~
*** Error code 1

Stop.
make: stopped in /home/pbulk/build/devel/ruby-priority-queue/work/.inst/opt/pkg/lib/ruby/gems/3.0.0/gems/PriorityQueue-0.1.2/ext/priority_queue

make failed, exit code 1

Gem files will remain installed in /home/pbulk/build/devel/ruby-priority-queue/work/.inst/opt/pkg/lib/ruby/gems/3.0.0/gems/PriorityQueue-0.1.2 for inspection.
Results logged to /home/pbulk/build/devel/ruby-priority-queue/work/.inst/opt/pkg/lib/ruby/gems/3.0.0/extensions/x86_64-solaris-2.11/3.0.0/PriorityQueue-0.1.2/gem_make.out
*** Error code 1

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/ruby-priority-queue
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/ruby-priority-queue