D: [iurt_root_command] chroot Installing /home/iurt/rpmbuild/SRPMS/ruby-network_interface-0.0.2-4.mga9.src.rpm Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.MTSPxx + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf network_interface-0.0.2 + /usr/bin/gem unpack /home/iurt/rpmbuild/SOURCES/network_interface-0.0.2.gem Unpacked gem: '/home/iurt/rpmbuild/BUILD/network_interface-0.0.2' + /usr/bin/gem spec /home/iurt/rpmbuild/SOURCES/network_interface-0.0.2.gem --ruby + STATUS=0 + '[' 0 -ne 0 ']' + cd network_interface-0.0.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.jVb9u2 + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd network_interface-0.0.2 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /usr/bin/gem build ../network_interface-0.0.2.gemspec WARNING: open-ended dependency on rake (>= 0, development) is not recommended use a bounded requirement, such as '~> x.y' WARNING: open-ended dependency on rake-compiler (>= 0, development) is not recommended use a bounded requirement, such as '~> x.y' WARNING: open-ended dependency on rspec (>= 0, development) is not recommended use a bounded requirement, such as '~> x.y' WARNING: See https://guides.rubygems.org/specification-reference/ for help Successfully built RubyGem Name: network_interface Version: 0.0.2 File: network_interface-0.0.2.gem + CONFIGURE_ARGS='--with-cflags='\''-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables'\'' --with-cxxflags='\''-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables'\'' --with-dldflags='\'' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags'\'' ' + /usr/bin/gem install network_interface-0.0.2.gem -V --local --env-shebang --force --ignore-dependencies --install-dir /usr/share/gems --document=ri,rdoc --bindir /usr/bin --build-root . WARNING: You build with buildroot. Build root: /home/iurt/rpmbuild/BUILD/network_interface-0.0.2 Bin dir: /home/iurt/rpmbuild/BUILD/network_interface-0.0.2/usr/bin Gem home: /home/iurt/rpmbuild/BUILD/network_interface-0.0.2/usr/share/gems /home/iurt/rpmbuild/BUILD/network_interface-0.0.2/usr/share/gems/gems/network_interface-0.0.2/.gitignore /home/iurt/rpmbuild/BUILD/network_interface-0.0.2/usr/share/gems/gems/network_interface-0.0.2/.rspec /home/iurt/rpmbuild/BUILD/network_interface-0.0.2/usr/share/gems/gems/network_interface-0.0.2/Gemfile /home/iurt/rpmbuild/BUILD/network_interface-0.0.2/usr/share/gems/gems/network_interface-0.0.2/Gemfile.lock /home/iurt/rpmbuild/BUILD/network_interface-0.0.2/usr/share/gems/gems/network_interface-0.0.2/LICENSE /home/iurt/rpmbuild/BUILD/network_interface-0.0.2/usr/share/gems/gems/network_interface-0.0.2/README.md /home/iurt/rpmbuild/BUILD/network_interface-0.0.2/usr/share/gems/gems/network_interface-0.0.2/Rakefile /home/iurt/rpmbuild/BUILD/network_interface-0.0.2/usr/share/gems/gems/network_interface-0.0.2/bin/list_interfaces.rb /home/iurt/rpmbuild/BUILD/network_interface-0.0.2/usr/share/gems/gems/network_interface-0.0.2/ext/network_interface_ext/extconf.rb /home/iurt/rpmbuild/BUILD/network_interface-0.0.2/usr/share/gems/gems/network_interface-0.0.2/ext/network_interface_ext/netifaces.c /home/iurt/rpmbuild/BUILD/network_interface-0.0.2/usr/share/gems/gems/network_interface-0.0.2/ext/network_interface_ext/netifaces.h /home/iurt/rpmbuild/BUILD/network_interface-0.0.2/usr/share/gems/gems/network_interface-0.0.2/lib/network_interface.rb /home/iurt/rpmbuild/BUILD/network_interface-0.0.2/usr/share/gems/gems/network_interface-0.0.2/lib/network_interface/version.rb /home/iurt/rpmbuild/BUILD/network_interface-0.0.2/usr/share/gems/gems/network_interface-0.0.2/network_interface.gemspec /home/iurt/rpmbuild/BUILD/network_interface-0.0.2/usr/share/gems/gems/network_interface-0.0.2/spec/netiface_spec.rb /home/iurt/rpmbuild/BUILD/network_interface-0.0.2/usr/share/gems/gems/network_interface-0.0.2/spec/spec_helper.rb Building native extensions. This could take a while... current directory: /home/iurt/rpmbuild/BUILD/network_interface-0.0.2/usr/share/gems/gems/network_interface-0.0.2/ext/network_interface_ext ["/usr/bin/ruby", "-I", "/usr/share/rubygems", "-r", "./siteconf20210429-3613907-1ceajmx.rb", "extconf.rb"] ERROR: Error installing network_interface-0.0.2.gem: ERROR: Failed to build gem native extension. current directory: /home/iurt/rpmbuild/BUILD/network_interface-0.0.2/usr/share/gems/gems/network_interface-0.0.2/ext/network_interface_ext /usr/bin/ruby -I /usr/share/rubygems -r ./siteconf20210429-3613907-1ceajmx.rb extconf.rb Building has failed. See above output for more information on the failure. To see why this extension failed to compile, please check the mkmf.log which can be found here: /home/iurt/rpmbuild/BUILD/network_interface-0.0.2/usr/lib64/gems/ruby/network_interface-0.0.2/mkmf.log extconf failed, exit code 1 Gem files will remain installed in /home/iurt/rpmbuild/BUILD/network_interface-0.0.2/usr/share/gems/gems/network_interface-0.0.2 for inspection. Results logged to /home/iurt/rpmbuild/BUILD/network_interface-0.0.2/usr/lib64/gems/ruby/network_interface-0.0.2/gem_make.out [*] 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}/lib64 --with-make-prog --without-make-prog --srcdir=. --curdir --ruby=/usr/bin/$(RUBY_BASE_NAME) /usr/share/ruby/mkmf.rb:471:in `try_do': The compiler failed to generate an executable file. (RuntimeError) You have to install development tools first. from /usr/share/ruby/mkmf.rb:564:in `try_link0' from /usr/share/ruby/mkmf.rb:582:in `try_link' from /usr/share/ruby/mkmf.rb:794:in `try_func' from /usr/share/ruby/mkmf.rb:1083:in `block in have_func' from /usr/share/ruby/mkmf.rb:971:in `block in checking_for' from /usr/share/ruby/mkmf.rb:361:in `block (2 levels) in postpone' from /usr/share/ruby/mkmf.rb:331:in `open' from /usr/share/ruby/mkmf.rb:361:in `block in postpone' from /usr/share/ruby/mkmf.rb:331:in `open' from /usr/share/ruby/mkmf.rb:357:in `postpone' from /usr/share/ruby/mkmf.rb:970:in `checking_for' from /usr/share/ruby/mkmf.rb:1082:in `have_func' from extconf.rb:43:in `
' error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.jVb9u2 (%build) RPM build errors: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.jVb9u2 (%build) I: [iurt_root_command] ERROR: chroot