+ 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=30 WRKLOG=/tmp/bulklog/ruby30-gd-0.8.0nb20/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake stage-install BATCH=1 DEPENDS_TARGET=/nonexistent RUBY_VERSION_REQD=30 WRKLOG=/tmp/bulklog/ruby30-gd-0.8.0nb20/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Installing for ruby30-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/3.0.0/gems/ruby-gd-0.8.0 /opt/pkg/bin/ruby30 -I /opt/pkg/lib/ruby/3.0.0 -r ./siteconf20220726-527494-21izwl.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)30 --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-jpeg-dir --with-jpeg-include --without-jpeg-include=${jpeg-dir}/include --with-jpeg-lib --without-jpeg-lib=${jpeg-dir}/lib --with-jpeglib --without-jpeglib --with-ttf --without-ttf --with-xpm --without-xpm --with-freetype --with-freetype-dir --with-freetype-include --without-freetype-include=${freetype-dir}/include --with-freetype-lib --without-freetype-lib=${freetype-dir}/lib --with-freetypelib --without-freetypelib --with-z-dir --without-z-dir --with-z-include --without-z-include=${z-dir}/include --with-z-lib --without-z-lib=${z-dir}/lib --with-zlib --without-zlib --with-png-dir --without-png-dir --with-png-include --without-png-include=${png-dir}/include --with-png-lib --without-png-lib=${png-dir}/lib --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/3.0.0/extensions/x86_64-solaris-2.11/3.0.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/3.0.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/3.0.0/extensions/x86_64-solaris-2.11/3.0.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