+ 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=26 WRKLOG=/tmp/bulklog/ruby26-gd-0.8.0nb20/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake stage-install BATCH=1 DEPENDS_TARGET=/nonexistent RUBY_VERSION_REQD=26 WRKLOG=/tmp/bulklog/ruby26-gd-0.8.0nb20/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Installing for ruby26-gd-0.8.0nb20 => Generating pre-install file lists => Installing gem into installation root Building native extensions with: '--build-args --with-gd-dir=/opt/pkg --with-jpeg --with-jpeg-dir=/opt/pkg --with-freetype --with-freetype-dir=/opt/pkg --enable-gd2_0 --with-ldflags=-Wl,-R/opt/pkg/lib' This could take a while... ERROR: Error installing /home/pbulk/build/graphics/ruby-gd/work/ruby-gd-0.8.0/ruby-gd-0.8.0.gem: ERROR: Failed to build gem native extension. current directory: /home/pbulk/build/graphics/ruby-gd/work/.inst/opt/pkg/lib/ruby/gems/2.6.0/gems/ruby-gd-0.8.0 /opt/pkg/bin/ruby26 -I /opt/pkg/lib/ruby/2.6.0 -r ./siteconf20220726-174584-6c9zky.rb extconf.rb --build-args --with-gd-dir\=/opt/pkg --with-jpeg --with-jpeg-dir\=/opt/pkg --with-freetype --with-freetype-dir\=/opt/pkg --enable-gd2_0 --with-ldflags\=-Wl,-R/opt/pkg/lib checking for -ljpeg... yes checking for -lfreetype... yes checking for -lz... yes checking for -lpng... 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=/opt/pkg/bin/$(RUBY_BASE_NAME)26 --with-gd-dir --with-gd-include --without-gd-include=${gd-dir}/include --with-gd-lib --without-gd-lib=${gd-dir}/lib --with-xpm --without-xpm --with-jpeg --with-jpeglib --without-jpeglib --with-ttf --without-ttf --with-xpm --without-xpm --with-freetype --with-freetypelib --without-freetypelib --with-zlib --without-zlib --with-pnglib --without-pnglib To see why this extension failed to compile, please check the mkmf.log which can be found here: /home/pbulk/build/graphics/ruby-gd/work/.inst/opt/pkg/lib/ruby/gems/2.6.0/extensions/x86_64-solaris-2.11/2.6.0/ruby-gd-0.8.0/mkmf.log extconf failed, exit code 1 Gem files will remain installed in /home/pbulk/build/graphics/ruby-gd/work/.inst/opt/pkg/lib/ruby/gems/2.6.0/gems/ruby-gd-0.8.0 for inspection. Results logged to /home/pbulk/build/graphics/ruby-gd/work/.inst/opt/pkg/lib/ruby/gems/2.6.0/extensions/x86_64-solaris-2.11/2.6.0/ruby-gd-0.8.0/gem_make.out *** Error code 1 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/graphics/ruby-gd *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/graphics/ruby-gd