+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /usr/pkg/bin/bmake stage-install BATCH=1 DEPENDS_TARGET=/nonexistent RUBY_VERSION_REQD=27 WRKLOG=/tmp/bulklog/ruby27-RMagick-5.1.0/work.log + su pbulk -c '"$@"' make /usr/pkg/bin/bmake stage-install BATCH=1 DEPENDS_TARGET=/nonexistent RUBY_VERSION_REQD=27 WRKLOG=/tmp/bulklog/ruby27-RMagick-5.1.0/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Installing for ruby27-RMagick-5.1.0 => Generating pre-install file lists => Installing gem into installation root Building native extensions. This could take a while... ERROR: Error installing /home/pbulk/build/graphics/ruby-RMagick/work/rmagick-5.1.0/rmagick-5.1.0.gem: ERROR: Failed to build gem native extension. current directory: /home/pbulk/build/graphics/ruby-RMagick/work/.inst/usr/pkg/lib/ruby/gems/2.7.0/gems/rmagick-5.1.0/ext/RMagick /usr/pkg/bin/ruby27 -I /usr/pkg/lib/ruby/2.7.0 -r ./siteconf20221205-31499-5u52bt.rb extconf.rb *** 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 /usr/pkg/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:83:in `require': cannot load such file -- pkg-config (LoadError) from /usr/pkg/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:83:in `require' from extconf.rb:5:in `
' extconf failed, exit code 1 Gem files will remain installed in /home/pbulk/build/graphics/ruby-RMagick/work/.inst/usr/pkg/lib/ruby/gems/2.7.0/gems/rmagick-5.1.0 for inspection. Results logged to /home/pbulk/build/graphics/ruby-RMagick/work/.inst/usr/pkg/lib/ruby/gems/2.7.0/extensions/x86_64-linux/2.7.0/rmagick-5.1.0/gem_make.out *** Error code 1 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/graphics/ruby-RMagick *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/graphics/ruby-RMagick