Mock Version: 1.4.13 Mock Version: 1.4.13 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/ruby-augeas.spec'], chrootPath='/var/lib/mock/f30-build-40763-22842/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=995gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/ruby-augeas.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/ruby-augeas-0.5.0-16.fc30.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/ruby-augeas.spec'], chrootPath='/var/lib/mock/f30-build-40763-22842/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=995gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/ruby-augeas.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.i2cGhy + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ruby-augeas-0.5.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/ruby-augeas-0.5.0.tgz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd ruby-augeas-0.5.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.rhGzHB + umask 022 + cd /builddir/build/BUILD + cd ruby-augeas-0.5.0 + export 'CONFIGURE_ARGS=--with-cflags='\''-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection'\''' + CONFIGURE_ARGS='--with-cflags='\''-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection'\''' + rake build BUILDSTDERR: ruby extconf.rb BUILDSTDERR: *** 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: --with-augeas-config BUILDSTDERR: --without-augeas-config BUILDSTDERR: --with-pkg-config BUILDSTDERR: --without-pkg-config 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:541:in `try_link0' BUILDSTDERR: from /usr/share/ruby/mkmf.rb:559:in `try_link' BUILDSTDERR: from /usr/share/ruby/mkmf.rb:660:in `try_ldflags' BUILDSTDERR: from /usr/share/ruby/mkmf.rb:1820:in `pkg_config' BUILDSTDERR: from extconf.rb:26:in `
' BUILDSTDERR: rake aborted! BUILDSTDERR: Command failed with status (1): [ruby extconf.rb...] BUILDSTDERR: /builddir/build/BUILD/ruby-augeas-0.5.0/Rakefile:38:in `block (2 levels) in ' BUILDSTDERR: /builddir/build/BUILD/ruby-augeas-0.5.0/Rakefile:37:in `chdir' BUILDSTDERR: /builddir/build/BUILD/ruby-augeas-0.5.0/Rakefile:37:in `block in ' BUILDSTDERR: /usr/share/gems/gems/rake-12.3.1/exe/rake:27:in `' BUILDSTDERR: Tasks: TOP => build => ext/augeas/_augeas.so => ext/augeas/Makefile BUILDSTDERR: (See full trace by running task with --trace) BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.rhGzHB (%build) RPM build errors: BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.rhGzHB (%build) 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/ruby-augeas.spec