=> Bootstrap dependency digest>=20211023: found digest-20220214 ===> Installing for ruby31-tk-0.4.0nb1 => Generating pre-install file lists => Installing gem into installation root Building native extensions with: '--build-args --with-X11-dir=/opt/pkg --with-X11-lib=/opt/pkg/lib' This could take a while... ERROR: Error installing /Users/pbulk/build/x11/ruby-tk/work/tk-0.4.0/tk-0.4.0.gem: ERROR: Failed to build gem native extension. current directory: /Users/pbulk/build/x11/ruby-tk/work/.inst/opt/pkg/lib/ruby/gems/3.1.0/gems/tk-0.4.0/ext/tk /opt/pkg/bin/ruby31 -I /opt/pkg/lib/ruby/3.1.0 extconf.rb --build-args --with-X11-dir\=/opt/pkg --with-X11-lib\=/opt/pkg/lib Configure options for Ruby/Tk may be updated. So, delete files which depend on old configs. check functions.checking for ruby_native_thread_p() in ruby.h... *** 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 --enable-shared --with-tk-old-extconf --without-tk-old-extconf --with-tk-old-extconf --without-tk-old-extconf --with-ActiveTcl --without-ActiveTcl --with-tk-shlib-search-path --without-tk-shlib-search-path --with-tcltkversion --without-tcltkversion --with-tcl-build-dir --without-tcl-build-dir --with-tk-build-dir --without-tk-build-dir --with-tcl-config --without-tcl-config --with-tk-config --without-tk-config --with-tclConfig-dir --without-tclConfig-dir --with-tkConfig-dir --without-tkConfig-dir --with-tclConfig-file --without-tclConfig-file --with-tkConfig-file --without-tkConfig-file --with-tcllib --without-tcllib --with-tklib --without-tklib --with-tcl-dir --without-tcl-dir --with-tk-dir --without-tk-dir --with-tcl-include --without-tcl-include --with-tk-include --without-tk-include --with-tcl-lib --without-tcl-lib --with-tk-lib --without-tk-lib --with-tcltk-framework --without-tcltk-framework --with-tcl-framework-dir --without-tcl-framework-dir --with-tk-framework-dir --without-tk-framework-dir --with-tcl-framework-header --without-tcl-framework-header --with-tk-framework-header --without-tk-framework-header --with-X11 --without-X11 --with-X11-dir --with-X11-include --without-X11-include --with-X11-lib --enable-tcltk-stubs --disable-tcltk-stubs --enable-tcl-h-ver-check --disable-tcl-h-ver-check --enable-tk-h-ver-check --disable-tk-h-ver-check --enable-mac-tcltk-framework --disable-mac-tcltk-framework --enable-tcltk-framework --disable-tcltk-framework --enable-pthread --enable-tcl-thread --disable-tcl-thread --enable-space-on-tk-libpath --disable-space-on-tk-libpath /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 /opt/pkg/lib/ruby/3.1.0/mkmf.rb:812:in `try_func' from /opt/pkg/lib/ruby/3.1.0/mkmf.rb:1116:in `block in have_func' from /opt/pkg/lib/ruby/3.1.0/mkmf.rb:989:in `block in checking_for' from /opt/pkg/lib/ruby/3.1.0/mkmf.rb:354:in `block (2 levels) in postpone' from /opt/pkg/lib/ruby/3.1.0/mkmf.rb:324:in `open' from /opt/pkg/lib/ruby/3.1.0/mkmf.rb:354:in `block in postpone' from /opt/pkg/lib/ruby/3.1.0/mkmf.rb:324:in `open' from /opt/pkg/lib/ruby/3.1.0/mkmf.rb:350:in `postpone' from /opt/pkg/lib/ruby/3.1.0/mkmf.rb:988:in `checking_for' from /opt/pkg/lib/ruby/3.1.0/mkmf.rb:1115:in `have_func' from extconf.rb:1820:in `block in
' from extconf.rb:1819:in `each' from extconf.rb:1819:in `
' To see why this extension failed to compile, please check the mkmf.log which can be found here: /Users/pbulk/build/x11/ruby-tk/work/.inst/opt/pkg/lib/ruby/gems/3.1.0/extensions/x86_64-darwin-22/3.1.0/tk-0.4.0/mkmf.log extconf failed, exit code 1 Gem files will remain installed in /Users/pbulk/build/x11/ruby-tk/work/.inst/opt/pkg/lib/ruby/gems/3.1.0/gems/tk-0.4.0 for inspection. Results logged to /Users/pbulk/build/x11/ruby-tk/work/.inst/opt/pkg/lib/ruby/gems/3.1.0/extensions/x86_64-darwin-22/3.1.0/tk-0.4.0/gem_make.out *** Error code 1 Stop. bmake[1]: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-x86_64/x11/ruby-tk *** Error code 1 Stop. bmake: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-x86_64/x11/ruby-tk