narray-0.6.1.1/usr/share/gems/gems/narray-0.6.1.1/src/na_func.c /builddir/build/BUILD/rubygem-narray-0.6.1.1/usr/share/gems/gems/narray-0.6.1.1/src/na_index.c /builddir/build/BUILD/rubygem-narray-0.6.1.1/usr/share/gems/gems/narray-0.6.1.1/src/na_linalg.c /builddir/build/BUILD/rubygem-narray-0.6.1.1/usr/share/gems/gems/narray-0.6.1.1/src/na_random.c /builddir/build/BUILD/rubygem-narray-0.6.1.1/usr/share/gems/gems/narray-0.6.1.1/src/narray.c /builddir/build/BUILD/rubygem-narray-0.6.1.1/usr/share/gems/gems/narray-0.6.1.1/src/narray.def /builddir/build/BUILD/rubygem-narray-0.6.1.1/usr/share/gems/gems/narray-0.6.1.1/src/narray.h /builddir/build/BUILD/rubygem-narray-0.6.1.1/usr/share/gems/gems/narray-0.6.1.1/src/narray_local.h Building native extensions. This could take a while... current directory: /builddir/build/BUILD/rubygem-narray-0.6.1.1/usr/share/gems/gems/narray-0.6.1.1/src /usr/bin/ruby -r ./siteconf20181205-28286-1d2836p.rb extconf.rb BUILDSTDERR: checking for stdint.h... *** extconf.rb failed *** BUILDSTDERR: Could not create Makefile due to some reason, probably lack of necessary BUILDSTDERR: libraries and/or headers. Check the mkmf.log file for more details. You may BUILDSTDERR: need configuration options. BUILDSTDERR: Provided configuration options: BUILDSTDERR: --with-opt-dir BUILDSTDERR: --without-opt-dir BUILDSTDERR: --with-opt-include BUILDSTDERR: --without-opt-include=${opt-dir}/include BUILDSTDERR: --with-opt-lib BUILDSTDERR: --without-opt-lib=${opt-dir}/lib64 BUILDSTDERR: --with-make-prog BUILDSTDERR: --without-make-prog BUILDSTDERR: --srcdir=. BUILDSTDERR: --curdir BUILDSTDERR: --ruby=/usr/bin/$(RUBY_BASE_NAME) BUILDSTDERR: /usr/share/ruby/mkmf.rb:456:in `try_do': The compiler failed to generate an executable file. (RuntimeError) BUILDSTDERR: You have to install development tools first. BUILDSTDERR: from /usr/share/ruby/mkmf.rb:590:in `try_cpp' BUILDSTDERR: from /usr/share/ruby/mkmf.rb:1097:in `block in have_header' BUILDSTDERR: from /usr/share/ruby/mkmf.rb:947:in `block in checking_for' BUILDSTDERR: from /usr/share/ruby/mkmf.rb:350:in `block (2 levels) in postpone' BUILDSTDERR: from /usr/share/ruby/mkmf.rb:320:in `open' BUILDSTDERR: from /usr/share/ruby/mkmf.rb:350:in `block in postpone' BUILDSTDERR: from /usr/share/ruby/mkmf.rb:320:in `open' BUILDSTDERR: from /usr/share/ruby/mkmf.rb:346:in `postpone' BUILDSTDERR: from /usr/share/ruby/mkmf.rb:946:in `checking_for' BUILDSTDERR: from /usr/share/ruby/mkmf.rb:1096:in `have_header' BUILDSTDERR: from extconf.rb:83:in `
' BUILDSTDERR: ERROR: Error installing /builddir/build/SOURCES/narray-0.6.1.1.gem: BUILDSTDERR: ERROR: Failed to build gem native extension. BUILDSTDERR: Building has failed. See above output for more information on the failure. BUILDSTDERR: To see why this extension failed to compile, please check the mkmf.log which can be found here: BUILDSTDERR: /builddir/build/BUILD/rubygem-narray-0.6.1.1/usr/lib64/gems/ruby/narray-0.6.1.1/mkmf.log BUILDSTDERR: extconf failed, exit code 1 BUILDSTDERR: Gem files will remain installed in /builddir/build/BUILD/rubygem-narray-0.6.1.1/usr/share/gems/gems/narray-0.6.1.1 for inspection. BUILDSTDERR: Results logged to /builddir/build/BUILD/rubygem-narray-0.6.1.1/usr/lib64/gems/ruby/narray-0.6.1.1/gem_make.out BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.dOlXK3 (%prep) RPM build errors: BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.dOlXK3 (%prep) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.7/site-packages/mockbuild/util.py", line 636, in do raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/rubygem-narray.spec