+ 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=27 WRKLOG=/tmp/bulklog/ruby27-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=27 WRKLOG=/tmp/bulklog/ruby27-priority-queue-0.1.2nb4/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Installing for ruby27-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/2.7.0/gems/PriorityQueue-0.1.2/ext/priority_queue /opt/pkg/bin/ruby27 -I /opt/pkg/lib/ruby/2.7.0 -r ./siteconf20230110-953955-frcgkm.rb extconf.rb creating Makefile current directory: /home/pbulk/build/devel/ruby-priority-queue/work/.inst/opt/pkg/lib/ruby/gems/2.7.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/2.7.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-2.7.0/ruby.h:33, from priority_queue.c:24: /home/pbulk/build/devel/ruby-priority-queue/work/.buildlink/include/ruby-2.7.0/ruby/ruby.h:1986: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)'} 1986 | 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-2.7.0/ruby/ruby.h:2691:9: error: call to 'rb_varargs_bad_length' declared with attribute error: argument length doesn't match 2691 | rb_funcallv(recv, mid, \ | ^~~~~~~~~~~~~~~~~~~~~~~~ 2692 | rb_varargs_argc_check(rb_funcall_argc, rb_funcall_nargs), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2693 | 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/2.7.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/2.7.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/2.7.0/extensions/x86_64-solaris-2.11/2.7.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