+ 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-shadow-2.5.1/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-shadow-2.5.1/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Installing for ruby33-shadow-2.5.1
=> Generating pre-install file lists
=> Installing gem into installation root
Building native extensions. This could take a while...
ERROR:  Error installing /home/pbulk/build/security/ruby-shadow/work/ruby-shadow-2.5.1/ruby-shadow-2.5.1.gem:
	ERROR: Failed to build gem native extension.

    current directory: /home/pbulk/build/security/ruby-shadow/work/.inst/opt/pkg/lib/ruby/gems/3.3.0/gems/ruby-shadow-2.5.1
/opt/pkg/bin/ruby33 extconf.rb
checking for endpwent()... yes
checking for getpwent()... yes
checking for getpwnam()... yes
checking for getpwuid()... yes
checking for setpassent()... no
checking for setpwent()... yes
checking for uuid/uuid.h... yes
checking for uuid.h... no
checking for ruby/io.h... yes
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers.  Check the mkmf.log file for more details.  You may
need configuration options.

Provided configuration options:
	--with-opt-dir
	--without-opt-dir
	--with-opt-include=${opt-dir}/include
	--without-opt-include
	--with-opt-lib=${opt-dir}/lib
	--without-opt-lib
	--with-make-prog
	--without-make-prog
	--srcdir=.
	--curdir
	--ruby=/opt/pkg/bin/$(RUBY_BASE_NAME)33
	--with-uuid-dir
	--without-uuid-dir
	--with-uuid-include=${uuid-dir}/include
	--without-uuid-include
	--with-uuid-lib=${uuid-dir}/lib
	--without-uuid-lib
	--with-ruby-dir
	--without-ruby-dir
	--with-ruby-include=${ruby-dir}/include
	--without-ruby-include
	--with-ruby-lib=${ruby-dir}/lib
	--without-ruby-lib
extconf.rb:66:in `<main>': You are missing some of the required functions from either shadow.h on Linux/Solaris, or pwd.h on FreeBSD/MirBSD/NetBSD/OpenBSD/OS X. (RuntimeError)

To see why this extension failed to compile, please check the mkmf.log which can be found here:

  /home/pbulk/build/security/ruby-shadow/work/.inst/opt/pkg/lib/ruby/gems/3.3.0/extensions/x86_64-solaris-2.11/3.3.0/ruby-shadow-2.5.1/mkmf.log

extconf failed, exit code 1

Gem files will remain installed in /home/pbulk/build/security/ruby-shadow/work/.inst/opt/pkg/lib/ruby/gems/3.3.0/gems/ruby-shadow-2.5.1 for inspection.
Results logged to /home/pbulk/build/security/ruby-shadow/work/.inst/opt/pkg/lib/ruby/gems/3.3.0/extensions/x86_64-solaris-2.11/3.3.0/ruby-shadow-2.5.1/gem_make.out
*** Error code 1

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/security/ruby-shadow
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/security/ruby-shadow