=> Bootstrap dependency digest>=20010302: found digest-20190127
===> Skipping vulnerability checks.
WARNING: No /var/db/pkg/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'.
===> Installing for ruby27-rugged-0.99.0nb1
=> 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 /data/scratch/devel/ruby-rugged/work/rugged-0.99.0/rugged-0.99.0.gem:
	ERROR: Failed to build gem native extension.

    current directory: /data/scratch/devel/ruby-rugged/work/.inst/usr/pkg/lib/ruby/gems/2.7.0/gems/rugged-0.99.0/ext/rugged
/usr/pkg/bin/ruby27 -I /usr/pkg/lib/ruby/2.7.0 -r ./siteconf20200420-20503-3k7i8s.rb 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 ~> 0.99.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)27
	--with-sha1dc
	--without-sha1dc
	--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-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:

  /data/scratch/devel/ruby-rugged/work/.inst/usr/pkg/lib/ruby/gems/2.7.0/extensions/x86_64-netbsd/2.7.0/rugged-0.99.0/mkmf.log

extconf failed, exit code 1

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

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

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