+ 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=32 WRKLOG=/tmp/bulklog/ruby32-hpricot-0.8.6/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake stage-install BATCH=1 DEPENDS_TARGET=/nonexistent RUBY_VERSION_REQD=32 WRKLOG=/tmp/bulklog/ruby32-hpricot-0.8.6/work.log ===> Installing for ruby32-hpricot-0.8.6 => Generating pre-install file lists => Installing gem into installation root Building native extensions. This could take a while... ERROR: Error installing /home/pbulk/build/textproc/ruby-hpricot/work/hpricot-0.8.6/hpricot-0.8.6.gem: ERROR: Failed to build gem native extension. current directory: /home/pbulk/build/textproc/ruby-hpricot/work/.inst/opt/pkg/lib/ruby/gems/3.2.0/gems/hpricot-0.8.6/ext/fast_xs /opt/pkg/bin/ruby32 extconf.rb checking for stdio.h... yes creating Makefile current directory: /home/pbulk/build/textproc/ruby-hpricot/work/.inst/opt/pkg/lib/ruby/gems/3.2.0/gems/hpricot-0.8.6/ext/fast_xs make DESTDIR\= sitearchdir\=./.gem.20250715-77621-on9kx7 sitelibdir\=./.gem.20250715-77621-on9kx7 clean current directory: /home/pbulk/build/textproc/ruby-hpricot/work/.inst/opt/pkg/lib/ruby/gems/3.2.0/gems/hpricot-0.8.6/ext/fast_xs make DESTDIR\= sitearchdir\=./.gem.20250715-77621-on9kx7 sitelibdir\=./.gem.20250715-77621-on9kx7 compiling fast_xs.c fast_xs.c: In function 'fast_xs': fast_xs.c:165:46: error: passing argument 3 of 'rb_rescue' from incompatible pointer type [-Wincompatible-pointer-types] 165 | array = rb_rescue(unpack_utf8, self, unpack_uchar, self); | ^~~~~~~~~~~~ | | | VALUE (*)(VALUE) {aka long unsigned int (*)(long unsigned int)} In file included from /home/pbulk/build/textproc/ruby-hpricot/work/.buildlink/include/ruby-3.2.0/ruby/ruby.h:41, from /home/pbulk/build/textproc/ruby-hpricot/work/.buildlink/include/ruby-3.2.0/ruby.h:38, from fast_xs.c:1: /home/pbulk/build/textproc/ruby-hpricot/work/.buildlink/include/ruby-3.2.0/ruby/internal/iterator.h:364:62: 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)'} 364 | VALUE rb_rescue(VALUE (*b_proc)(VALUE), VALUE data1, VALUE (*r_proc)(VALUE, VALUE), VALUE data2); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ *** Error code 1 Stop. make: stopped making "all" in /home/pbulk/build/textproc/ruby-hpricot/work/.inst/opt/pkg/lib/ruby/gems/3.2.0/gems/hpricot-0.8.6/ext/fast_xs make failed, exit code 1 Gem files will remain installed in /home/pbulk/build/textproc/ruby-hpricot/work/.inst/opt/pkg/lib/ruby/gems/3.2.0/gems/hpricot-0.8.6 for inspection. Results logged to /home/pbulk/build/textproc/ruby-hpricot/work/.inst/opt/pkg/lib/ruby/gems/3.2.0/extensions/x86_64-solaris-2.11/3.2.0/hpricot-0.8.6/gem_make.out *** Error code 1 Stop. bmake[1]: stopped making "stage-install" in /data/jenkins/workspace/pkgsrc-upstream-trunk/textproc/ruby-hpricot *** Error code 1 Stop. bmake: stopped making "stage-install" in /data/jenkins/workspace/pkgsrc-upstream-trunk/textproc/ruby-hpricot