+ 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-rugged-1.7.2/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-rugged-1.7.2/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Installing for ruby32-rugged-1.7.2
=> Generating pre-install file lists
=> Installing gem into installation root
Building native extensions with: '--build-args --use-system-libraries'
This could take a while...
ERROR:  Error installing /home/pbulk/build/devel/ruby-rugged/work/rugged-1.7.2/rugged-1.7.2.gem:
	ERROR: Failed to build gem native extension.

    current directory: /home/pbulk/build/devel/ruby-rugged/work/.inst/opt/pkg/lib/ruby/gems/3.2.0/gems/rugged-1.7.2/ext/rugged
/opt/pkg/bin/ruby32 extconf.rb --build-args --use-system-libraries
checking for gmake... no
checking for make... yes
Building Rugged using system libraries.
libgit2 version is not compatible, expected ~> 1.7.0
*** 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
	--without-opt-include=${opt-dir}/include
	--with-opt-lib
	--without-opt-lib=${opt-dir}/lib
	--with-make-prog
	--without-make-prog
	--srcdir=.
	--curdir
	--ruby=/opt/pkg/bin/$(RUBY_BASE_NAME)32
	--with-sha1dc
	--without-sha1dc
	--with-ssh
	--without-ssh
	--use-system-libraries
	--with-git2-dir
	--without-git2-dir
	--with-git2-include
	--without-git2-include=${git2-dir}/include
	--with-git2-lib
	--without-git2-lib=${git2-dir}/lib
	--with-libgit2-dir
	--without-libgit2-dir
	--with-libgit2-include
	--without-libgit2-include=${libgit2-dir}/include
	--with-libgit2-lib
	--without-libgit2-lib=${libgit2-dir}/lib
	--with-libgit2-config
	--without-libgit2-config
	--with-pkg-config
	--without-pkg-config

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

  /home/pbulk/build/devel/ruby-rugged/work/.inst/opt/pkg/lib/ruby/gems/3.2.0/extensions/x86_64-solaris-2.11/3.2.0/rugged-1.7.2/mkmf.log

extconf failed, exit code 1

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

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

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/devel/ruby-rugged