=> Bootstrap dependency digest>=20211023: found digest-20220214 ===> Installing for ruby32-pg-1.5.3 => Generating pre-install file lists => Installing gem into installation root Building native extensions with: '--build-args --with-pgsql-include-dir=/opt/pkg/include/postgresql --with-pgsql-lib-dir=/opt/pkg/lib' This could take a while... ERROR: Error installing /Users/pbulk/build/databases/ruby-pg/work/pg-1.5.3/pg-1.5.3.gem: ERROR: Failed to build gem native extension. current directory: /Users/pbulk/build/databases/ruby-pg/work/.inst/opt/pkg/lib/ruby/gems/3.2.0/gems/pg-1.5.3/ext /opt/pkg/bin/ruby32 extconf.rb --build-args --with-pgsql-include-dir\=/opt/pkg/include/postgresql --with-pgsql-lib-dir\=/opt/pkg/lib Calling libpq with GVL unlocked checking for pg_config... yes Using config values from /Users/pbulk/build/databases/ruby-pg/work/.buildlink/bin/pg_config checking for whether -Wl,-rpath,/opt/pkg/lib is accepted as LDFLAGS... *** 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)32 --with-pg --without-pg --enable-gvl-unlock --disable-gvl-unlock --enable-windows-cross --disable-windows-cross --with-pg-config --without-pg-config --with-pg_config --without-pg_config --with-pg-dir --without-pg-dir --with-pg-include --without-pg-include=${pg-dir}/include --with-pg-lib --without-pg-lib=${pg-dir}/lib /opt/pkg/lib/ruby/3.2.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.2.0/mkmf.rb:583:in `try_link0' from /opt/pkg/lib/ruby/3.2.0/mkmf.rb:601:in `try_link' from /opt/pkg/lib/ruby/3.2.0/mkmf.rb:693:in `try_ldflags' from /opt/pkg/lib/ruby/3.2.0/mkmf.rb:699:in `block (2 levels) in append_ldflags' from /opt/pkg/lib/ruby/3.2.0/mkmf.rb:989:in `block in checking_for' from /opt/pkg/lib/ruby/3.2.0/mkmf.rb:354:in `block (2 levels) in postpone' from /opt/pkg/lib/ruby/3.2.0/mkmf.rb:324:in `open' from /opt/pkg/lib/ruby/3.2.0/mkmf.rb:354:in `block in postpone' from /opt/pkg/lib/ruby/3.2.0/mkmf.rb:324:in `open' from /opt/pkg/lib/ruby/3.2.0/mkmf.rb:350:in `postpone' from /opt/pkg/lib/ruby/3.2.0/mkmf.rb:988:in `checking_for' from /opt/pkg/lib/ruby/3.2.0/mkmf.rb:698:in `block in append_ldflags' from /opt/pkg/lib/ruby/3.2.0/mkmf.rb:697:in `each' from /opt/pkg/lib/ruby/3.2.0/mkmf.rb:697:in `append_ldflags' from extconf.rb:61:in `
' To see why this extension failed to compile, please check the mkmf.log which can be found here: /Users/pbulk/build/databases/ruby-pg/work/.inst/opt/pkg/lib/ruby/gems/3.2.0/extensions/x86_64-darwin-22/3.2.0/pg-1.5.3/mkmf.log extconf failed, exit code 1 Gem files will remain installed in /Users/pbulk/build/databases/ruby-pg/work/.inst/opt/pkg/lib/ruby/gems/3.2.0/gems/pg-1.5.3 for inspection. Results logged to /Users/pbulk/build/databases/ruby-pg/work/.inst/opt/pkg/lib/ruby/gems/3.2.0/extensions/x86_64-darwin-22/3.2.0/pg-1.5.3/gem_make.out *** Error code 1 Stop. bmake[1]: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-x86_64/databases/ruby-pg *** Error code 1 Stop. bmake: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-x86_64/databases/ruby-pg