=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Installing for ruby31-RMagick-5.5.0
=> Generating pre-install file lists
=> Installing gem into installation root
Building native extensions. This could take a while...
ERROR:  Error installing /Users/pbulk/build/graphics/ruby-RMagick/work/rmagick-5.5.0/rmagick-5.5.0.gem:
	ERROR: Failed to build gem native extension.

    current directory: /Users/pbulk/build/graphics/ruby-RMagick/work/.inst/opt/pkg/lib/ruby/gems/3.1.0/gems/rmagick-5.5.0/ext/RMagick
/opt/pkg/bin/ruby31 -I /opt/pkg/lib/ruby/3.1.0 extconf.rb
checking for brew... no
checking for pacman... no
checking for Ruby version >= 2.3.0... yes
checking for outdated ImageMagick version (<= 6.7.7)... no
checking for clang++... yes

Warning: Found a partial ImageMagick installation. Your operating
system likely has some built-in ImageMagick libraries but not all of
ImageMagick. This will most likely cause problems at both compile and
runtime.
Found partial installation at: /opt/pkg

*** 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
	--with-pkg-config
	--without-pkg-config
	--with-override-variables
	--without-override-variables
/opt/pkg/lib/ruby/3.1.0/mkmf.rb:490:in `try_do': The compiler failed to generate an executable file. (RuntimeError)
You have to install development tools first.
	from /opt/pkg/lib/ruby/3.1.0/mkmf.rb:583:in `try_link0'
	from /opt/pkg/lib/ruby/3.1.0/mkmf.rb:601:in `try_link'
	from extconf.rb:117:in `configure_compile_options'
	from extconf.rb:53:in `initialize'
	from extconf.rb:464:in `new'
	from extconf.rb:464:in `<main>'

To see why this extension failed to compile, please check the mkmf.log which can be found here:

  /Users/pbulk/build/graphics/ruby-RMagick/work/.inst/opt/pkg/lib/ruby/gems/3.1.0/extensions/x86_64-darwin-22/3.1.0/rmagick-5.5.0/mkmf.log

extconf failed, exit code 1

Gem files will remain installed in /Users/pbulk/build/graphics/ruby-RMagick/work/.inst/opt/pkg/lib/ruby/gems/3.1.0/gems/rmagick-5.5.0 for inspection.
Results logged to /Users/pbulk/build/graphics/ruby-RMagick/work/.inst/opt/pkg/lib/ruby/gems/3.1.0/extensions/x86_64-darwin-22/3.1.0/rmagick-5.5.0/gem_make.out
*** Error code 1

Stop.
bmake[1]: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/graphics/ruby-RMagick
*** Error code 1

Stop.
bmake: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/graphics/ruby-RMagick