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/rubygem-krb5-auth.spec'], chrootPath='/var/lib/mock/f30-build-40824-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/rubygem-krb5-auth.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/rubygem-krb5-auth-0.8.3-4.gita86ddf2.fc30.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/rubygem-krb5-auth.spec'], chrootPath='/var/lib/mock/f30-build-40824-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/rubygem-krb5-auth.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.4nfnms + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf rubygem-krb5-auth-0.8.3 + /usr/bin/mkdir -p rubygem-krb5-auth-0.8.3 + cd rubygem-krb5-auth-0.8.3 + /usr/bin/gzip -dc /builddir/build/SOURCES/timfel-krb5-auth-a86ddf2.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cd krb5-auth-a86ddf2c102a388863f7db99c5597f40ea2ad971 Patch #0 (rubygem-krb5-auth-fix-metadata.patch): + echo 'Patch #0 (rubygem-krb5-auth-fix-metadata.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Rakefile Patch #1 (rubygem-krb5-auth-fix-warning.patch): + echo 'Patch #1 (rubygem-krb5-auth-fix-warning.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file ext/ruby_krb5_auth.c + echo 'Patch #2 (rubygem-krb5-auth-fix-fsf-address.patch):' Patch #2 (rubygem-krb5-auth-fix-fsf-address.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file COPYING + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.eU2H6K + umask 022 + cd /builddir/build/BUILD + cd rubygem-krb5-auth-0.8.3 + cd krb5-auth-a86ddf2c102a388863f7db99c5597f40ea2ad971 + rake gem BUILDSTDERR: mkdir -p pkg BUILDSTDERR: mkdir -p pkg/krb5-auth-0.8.3 BUILDSTDERR: rm -f pkg/krb5-auth-0.8.3/COPYING BUILDSTDERR: ln COPYING pkg/krb5-auth-0.8.3/COPYING BUILDSTDERR: rm -f pkg/krb5-auth-0.8.3/README BUILDSTDERR: ln README pkg/krb5-auth-0.8.3/README BUILDSTDERR: rm -f pkg/krb5-auth-0.8.3/Rakefile BUILDSTDERR: ln Rakefile pkg/krb5-auth-0.8.3/Rakefile BUILDSTDERR: mkdir -p pkg/krb5-auth-0.8.3/examples BUILDSTDERR: rm -f pkg/krb5-auth-0.8.3/examples/example.rb BUILDSTDERR: ln examples/example.rb pkg/krb5-auth-0.8.3/examples/example.rb BUILDSTDERR: mkdir -p pkg/krb5-auth-0.8.3/ext BUILDSTDERR: rm -f pkg/krb5-auth-0.8.3/ext/extconf.rb BUILDSTDERR: ln ext/extconf.rb pkg/krb5-auth-0.8.3/ext/extconf.rb BUILDSTDERR: rm -f pkg/krb5-auth-0.8.3/ext/ruby_krb5_auth.c BUILDSTDERR: ln ext/ruby_krb5_auth.c pkg/krb5-auth-0.8.3/ext/ruby_krb5_auth.c BUILDSTDERR: cd pkg/krb5-auth-0.8.3 BUILDSTDERR: WARNING: license value 'LGPL' is invalid. Use a license identifier from BUILDSTDERR: http://spdx.org/licenses or 'Nonstandard' for a nonstandard license. BUILDSTDERR: Did you mean 'NGPL'? BUILDSTDERR: WARNING: deprecated autorequire specified BUILDSTDERR: WARNING: See http://guides.rubygems.org/specification-reference/ for help BUILDSTDERR: cd - Successfully built RubyGem Name: krb5-auth Version: 0.8.3 File: krb5-auth-0.8.3.gem + cd pkg + mkdir -p ./usr/share/gems + 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'\'' ' + gem install -V --local --build-root . --force --document=ri,rdoc krb5-auth-0.8.3.gem BUILDSTDERR: WARNING: You build with buildroot. BUILDSTDERR: Build root: /builddir/build/BUILD/rubygem-krb5-auth-0.8.3/krb5-auth-a86ddf2c102a388863f7db99c5597f40ea2ad971/pkg BUILDSTDERR: Bin dir: /builddir/build/BUILD/rubygem-krb5-auth-0.8.3/krb5-auth-a86ddf2c102a388863f7db99c5597f40ea2ad971/pkg/usr/bin BUILDSTDERR: Gem home: /builddir/build/BUILD/rubygem-krb5-auth-0.8.3/krb5-auth-a86ddf2c102a388863f7db99c5597f40ea2ad971/pkg/usr/share/gems /builddir/build/BUILD/rubygem-krb5-auth-0.8.3/krb5-auth-a86ddf2c102a388863f7db99c5597f40ea2ad971/pkg/usr/share/gems/gems/krb5-auth-0.8.3/COPYING /builddir/build/BUILD/rubygem-krb5-auth-0.8.3/krb5-auth-a86ddf2c102a388863f7db99c5597f40ea2ad971/pkg/usr/share/gems/gems/krb5-auth-0.8.3/README /builddir/build/BUILD/rubygem-krb5-auth-0.8.3/krb5-auth-a86ddf2c102a388863f7db99c5597f40ea2ad971/pkg/usr/share/gems/gems/krb5-auth-0.8.3/Rakefile /builddir/build/BUILD/rubygem-krb5-auth-0.8.3/krb5-auth-a86ddf2c102a388863f7db99c5597f40ea2ad971/pkg/usr/share/gems/gems/krb5-auth-0.8.3/examples/example.rb /builddir/build/BUILD/rubygem-krb5-auth-0.8.3/krb5-auth-a86ddf2c102a388863f7db99c5597f40ea2ad971/pkg/usr/share/gems/gems/krb5-auth-0.8.3/ext/extconf.rb /builddir/build/BUILD/rubygem-krb5-auth-0.8.3/krb5-auth-a86ddf2c102a388863f7db99c5597f40ea2ad971/pkg/usr/share/gems/gems/krb5-auth-0.8.3/ext/ruby_krb5_auth.c Building native extensions. This could take a while... current directory: /builddir/build/BUILD/rubygem-krb5-auth-0.8.3/krb5-auth-a86ddf2c102a388863f7db99c5597f40ea2ad971/pkg/usr/share/gems/gems/krb5-auth-0.8.3/ext /usr/bin/ruby -r ./siteconf20181209-30956-whjri2.rb extconf.rb BUILDSTDERR: checking for main() in -lc... *** 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-krb5_auth-dir BUILDSTDERR: --without-krb5_auth-dir BUILDSTDERR: --with-krb5_auth-include BUILDSTDERR: --without-krb5_auth-include=${krb5_auth-dir}/include BUILDSTDERR: --with-krb5_auth-lib BUILDSTDERR: --without-krb5_auth-lib=${krb5_auth-dir}/lib64 BUILDSTDERR: --with-clib BUILDSTDERR: --without-clib RPM build errors: 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:770:in `try_func' BUILDSTDERR: from /usr/share/ruby/mkmf.rb:1004:in `block in have_library' 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:999:in `have_library' BUILDSTDERR: from extconf.rb:6:in `
' BUILDSTDERR: ERROR: Error installing krb5-auth-0.8.3.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-krb5-auth-0.8.3/krb5-auth-a86ddf2c102a388863f7db99c5597f40ea2ad971/pkg/usr/lib64/gems/ruby/krb5-auth-0.8.3/mkmf.log BUILDSTDERR: extconf failed, exit code 1 BUILDSTDERR: Gem files will remain installed in /builddir/build/BUILD/rubygem-krb5-auth-0.8.3/krb5-auth-a86ddf2c102a388863f7db99c5597f40ea2ad971/pkg/usr/share/gems/gems/krb5-auth-0.8.3 for inspection. BUILDSTDERR: Results logged to /builddir/build/BUILD/rubygem-krb5-auth-0.8.3/krb5-auth-a86ddf2c102a388863f7db99c5597f40ea2ad971/pkg/usr/lib64/gems/ruby/krb5-auth-0.8.3/gem_make.out BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.eU2H6K (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.eU2H6K (%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/rubygem-krb5-auth.spec