+ 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=31 WRKLOG=/tmp/bulklog/ruby31-network_interface-0.0.2/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake stage-install BATCH=1 DEPENDS_TARGET=/nonexistent RUBY_VERSION_REQD=31 WRKLOG=/tmp/bulklog/ruby31-network_interface-0.0.2/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Installing for ruby31-network_interface-0.0.2 => Generating pre-install file lists => Installing gem into installation root Building native extensions. This could take a while... ERROR: Error installing /home/pbulk/build/net/ruby-network_interface/work/network_interface-0.0.2/network_interface-0.0.2.gem: ERROR: Failed to build gem native extension. current directory: /home/pbulk/build/net/ruby-network_interface/work/.inst/opt/pkg/lib/ruby/gems/3.1.0/gems/network_interface-0.0.2/ext/network_interface_ext /opt/pkg/bin/ruby31 -I /opt/pkg/lib/ruby/3.1.0 -r ./siteconf20221123-510223-2bkuc4.rb extconf.rb [*] Running checks for netifaces code... [*] Warning : this platform as not been tested checking for getifaddrs()... *** 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 /opt/pkg/lib/ruby/3.1.0/mkmf.rb:498: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:591:in `try_link0' from /opt/pkg/lib/ruby/3.1.0/mkmf.rb:609:in `try_link' from /opt/pkg/lib/ruby/3.1.0/mkmf.rb:830:in `try_func' from /opt/pkg/lib/ruby/3.1.0/mkmf.rb:1119:in `block in have_func' from /opt/pkg/lib/ruby/3.1.0/mkmf.rb:1007:in `block in checking_for' from /opt/pkg/lib/ruby/3.1.0/mkmf.rb:362:in `block (2 levels) in postpone' from /opt/pkg/lib/ruby/3.1.0/mkmf.rb:332:in `open' from /opt/pkg/lib/ruby/3.1.0/mkmf.rb:362:in `block in postpone' from /opt/pkg/lib/ruby/3.1.0/mkmf.rb:332:in `open' from /opt/pkg/lib/ruby/3.1.0/mkmf.rb:358:in `postpone' from /opt/pkg/lib/ruby/3.1.0/mkmf.rb:1006:in `checking_for' from /opt/pkg/lib/ruby/3.1.0/mkmf.rb:1118:in `have_func' from extconf.rb:43:in `
' To see why this extension failed to compile, please check the mkmf.log which can be found here: /home/pbulk/build/net/ruby-network_interface/work/.inst/opt/pkg/lib/ruby/gems/3.1.0/extensions/x86_64-solaris-2.11/3.1.0/network_interface-0.0.2/mkmf.log extconf failed, exit code 1 Gem files will remain installed in /home/pbulk/build/net/ruby-network_interface/work/.inst/opt/pkg/lib/ruby/gems/3.1.0/gems/network_interface-0.0.2 for inspection. Results logged to /home/pbulk/build/net/ruby-network_interface/work/.inst/opt/pkg/lib/ruby/gems/3.1.0/extensions/x86_64-solaris-2.11/3.1.0/network_interface-0.0.2/gem_make.out *** Error code 1 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/net/ruby-network_interface *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/net/ruby-network_interface