+ 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=33 WRKLOG=/tmp/bulklog/ruby33-posix-spawn-0.3.15/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake stage-install BATCH=1 DEPENDS_TARGET=/nonexistent RUBY_VERSION_REQD=33 WRKLOG=/tmp/bulklog/ruby33-posix-spawn-0.3.15/work.log ===> Installing for ruby33-posix-spawn-0.3.15 => 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-posix-spawn/work/posix-spawn-0.3.15/posix-spawn-0.3.15.gem: ERROR: Failed to build gem native extension. current directory: /home/pbulk/build/devel/ruby-posix-spawn/work/.inst/opt/pkg/lib/ruby/gems/3.3.0/gems/posix-spawn-0.3.15/ext /opt/pkg/bin/ruby33 extconf.rb creating Makefile current directory: /home/pbulk/build/devel/ruby-posix-spawn/work/.inst/opt/pkg/lib/ruby/gems/3.3.0/gems/posix-spawn-0.3.15/ext make DESTDIR\= sitearchdir\=./.gem.20250704-878661-ae2b8a sitelibdir\=./.gem.20250704-878661-ae2b8a clean current directory: /home/pbulk/build/devel/ruby-posix-spawn/work/.inst/opt/pkg/lib/ruby/gems/3.3.0/gems/posix-spawn-0.3.15/ext make DESTDIR\= sitearchdir\=./.gem.20250704-878661-ae2b8a sitelibdir\=./.gem.20250704-878661-ae2b8a compiling posix-spawn.c posix-spawn.c: In function 'posixspawn_file_actions_init': posix-spawn.c:226:34: error: passing argument 2 of 'rb_hash_foreach' from incompatible pointer type [-Wincompatible-pointer-types] 226 | rb_hash_foreach(options, posixspawn_file_actions_operations_iter, (VALUE)fops); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | int (*)(VALUE, VALUE, posix_spawn_file_actions_t *) {aka int (*)(long unsigned int, long unsigned int, posix_spawn_file_actions_t *)} In file included from /home/pbulk/build/devel/ruby-posix-spawn/work/.buildlink/include/ruby-3.3.0/ruby/internal/scan_args.h:37, from /home/pbulk/build/devel/ruby-posix-spawn/work/.buildlink/include/ruby-3.3.0/ruby/ruby.h:46, from /home/pbulk/build/devel/ruby-posix-spawn/work/.buildlink/include/ruby-3.3.0/ruby.h:38, from posix-spawn.c:14: /home/pbulk/build/devel/ruby-posix-spawn/work/.buildlink/include/ruby-3.3.0/ruby/internal/intern/hash.h:83:40: note: expected 'int (*)(VALUE, VALUE, VALUE)' {aka 'int (*)(long unsigned int, long unsigned int, long unsigned int)'} but argument is of type 'int (*)(VALUE, VALUE, posix_spawn_file_actions_t *)' {aka 'int (*)(long unsigned int, long unsigned int, posix_spawn_file_actions_t *)'} 83 | void rb_hash_foreach(VALUE hash, int (*func)(VALUE key, VALUE val, VALUE arg), VALUE arg); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ *** Error code 1 Stop. make: stopped making "all" in /home/pbulk/build/devel/ruby-posix-spawn/work/.inst/opt/pkg/lib/ruby/gems/3.3.0/gems/posix-spawn-0.3.15/ext make failed, exit code 1 Gem files will remain installed in /home/pbulk/build/devel/ruby-posix-spawn/work/.inst/opt/pkg/lib/ruby/gems/3.3.0/gems/posix-spawn-0.3.15 for inspection. Results logged to /home/pbulk/build/devel/ruby-posix-spawn/work/.inst/opt/pkg/lib/ruby/gems/3.3.0/extensions/x86_64-solaris-2.11/3.3.0/posix-spawn-0.3.15/gem_make.out *** Error code 1 Stop. bmake[1]: stopped making "stage-install" in /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/ruby-posix-spawn *** Error code 1 Stop. bmake: stopped making "stage-install" in /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/ruby-posix-spawn