+ 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=31 WRKLOG=/tmp/bulklog/ruby31-RMagick-5.1.0/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake stage-install BATCH=1 DEPENDS_TARGET=/nonexistent RUBY_VERSION_REQD=31 WRKLOG=/tmp/bulklog/ruby31-RMagick-5.1.0/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Installing for ruby31-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/opt/pkg/lib/ruby/gems/3.1.0/gems/rmagick-5.1.0/ext/RMagick /opt/pkg/bin/ruby31 -I /opt/pkg/lib/ruby/3.1.0 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=/opt/pkg/bin/$(RUBY_BASE_NAME)31 :85:in `require': cannot load such file -- pkg-config (LoadError) from :85: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/opt/pkg/lib/ruby/gems/3.1.0/gems/rmagick-5.1.0 for inspection. Results logged to /home/pbulk/build/graphics/ruby-RMagick/work/.inst/opt/pkg/lib/ruby/gems/3.1.0/extensions/x86_64-solaris-2.11/3.1.0/rmagick-5.1.0/gem_make.out *** Error code 1 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/graphics/ruby-RMagick *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/graphics/ruby-RMagick