=> Bootstrap dependency digest>=20010302: found digest-20190127 ===> 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 ruby27-gtk2-3.4.3nb1 => Generating pre-install file lists => Installing gem into installation root Building native extensions. This could take a while... ERROR: Error installing /tmp/x11/ruby-gtk2/work/gtk2-3.4.3/gtk2-3.4.3.gem: ERROR: Failed to build gem native extension. current directory: /tmp/x11/ruby-gtk2/work/.inst/usr/pkg/lib/ruby/gems/2.7.0/gems/gtk2-3.4.3/ext/gtk2 /usr/pkg/bin/ruby27 -I /usr/pkg/lib/ruby/2.7.0 -r ./siteconf20210907-11401-dtxt5j.rb extconf.rb mkmf-gnome2 is deprecated. Use mkmf-gnome instead. checking for --enable-debug-build option... no checking for -Wall option to compiler... yes checking for -Waggregate-return option to compiler... yes checking for -Wcast-align option to compiler... yes checking for -Wextra option to compiler... yes checking for -Wformat=2 option to compiler... yes checking for -Winit-self option to compiler... yes checking for -Wlarger-than-65500 option to compiler... yes checking for -Wmissing-declarations option to compiler... yes checking for -Wmissing-format-attribute option to compiler... yes checking for -Wmissing-include-dirs option to compiler... yes checking for -Wmissing-noreturn option to compiler... yes checking for -Wmissing-prototypes option to compiler... yes checking for -Wnested-externs option to compiler... no checking for -Wold-style-definition option to compiler... yes checking for -Wpacked option to compiler... yes checking for -Wp,-D_FORTIFY_SOURCE=2 option to compiler... yes checking for -Wpointer-arith option to compiler... yes checking for -Wundef option to compiler... yes checking for -Wout-of-line-declaration option to compiler... no checking for -Wunsafe-loop-optimizations option to compiler... yes checking for -Wwrite-strings option to compiler... yes checking for Homebrew... no checking for rb_errinfo()... yes checking for gtk+-2.0 version (>= 2.10.0)... yes checking for cairo... yes checking for rb_cairo.h... no *** 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 --enable-debug-build --disable-debug-build --with-pkg-config --without-pkg-config --with-override-variables --without-override-variables --with-rb_cairo-dir --without-rb_cairo-dir --with-rb_cairo-include --without-rb_cairo-include=${rb_cairo-dir}/include --with-rb_cairo-lib --without-rb_cairo-lib=${rb_cairo-dir}/lib To see why this extension failed to compile, please check the mkmf.log which can be found here: /tmp/x11/ruby-gtk2/work/.inst/usr/pkg/lib/ruby/gems/2.7.0/extensions/x86_64-netbsd/2.7.0/gtk2-3.4.3/mkmf.log extconf failed, exit code 1 Gem files will remain installed in /tmp/x11/ruby-gtk2/work/.inst/usr/pkg/lib/ruby/gems/2.7.0/gems/gtk2-3.4.3 for inspection. Results logged to /tmp/x11/ruby-gtk2/work/.inst/usr/pkg/lib/ruby/gems/2.7.0/extensions/x86_64-netbsd/2.7.0/gtk2-3.4.3/gem_make.out *** Error code 1 Stop. make[1]: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/x11/ruby-gtk2 *** Error code 1 Stop. make: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/x11/ruby-gtk2