=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Skipping vulnerability checks.
WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'.
===> 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 /pbulk/work/devel/ruby-rugged/work/rugged-1.7.2/rugged-1.7.2.gem:
	ERROR: Failed to build gem native extension.

    current directory: /pbulk/work/devel/ruby-rugged/work/.inst/usr/pkg/lib/ruby/gems/3.2.0/gems/rugged-1.7.2/ext/rugged
/usr/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=/usr/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:

  /pbulk/work/devel/ruby-rugged/work/.inst/usr/pkg/lib/ruby/gems/3.2.0/extensions/x86_64-netbsd/3.2.0/rugged-1.7.2/mkmf.log

extconf failed, exit code 1

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

Stop.
make[1]: stopped in /usr/pkgsrc/devel/ruby-rugged
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/devel/ruby-rugged