Mock Version: 1.4.9 Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/R-git2r.spec'], chrootPath='/var/lib/mock/f29-build-18578-10045/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=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/R-git2r.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/R-git2r-0.21.0-3.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/R-git2r.spec'], chrootPath='/var/lib/mock/f29-build-18578-10045/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=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/R-git2r.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.nTdTCB + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf git2r + /usr/bin/mkdir -p git2r + cd git2r + /usr/bin/tar -xof - + /usr/bin/gzip -dc /builddir/build/SOURCES/git2r_0.21.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + pushd git2r ~/build/BUILD/git2r/git2r ~/build/BUILD/git2r Patch #1 (0001-Use-system-libgit2.patch): + echo 'Patch #1 (0001-Use-system-libgit2.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file configure patching file configure.ac patching file src/Makevars.in patching file src/git2r_branch.c patching file src/git2r_checkout.c patching file src/git2r_commit.c patching file src/git2r_cred.c patching file src/git2r_diff.c patching file src/git2r_merge.c patching file src/git2r_note.c patching file src/git2r_odb.c patching file src/git2r_remote.c patching file src/git2r_repository.c patching file src/git2r_stash.c patching file src/git2r_tag.c + rm -r src/libgit2 + sed -i /libgit2/d MD5 + popd ~/build/BUILD/git2r + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.2UZBsw + umask 022 + cd /builddir/build/BUILD + cd git2r + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.txikHr + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/R-git2r-0.21.0-3.fc29.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/R-git2r-0.21.0-3.fc29.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/R-git2r-0.21.0-3.fc29.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/R-git2r-0.21.0-3.fc29.riscv64 + cd git2r + mkdir -p /builddir/build/BUILDROOT/R-git2r-0.21.0-3.fc29.riscv64/usr/lib64/R/library + /usr/bin/R CMD INSTALL -l /builddir/build/BUILDROOT/R-git2r-0.21.0-3.fc29.riscv64/usr/lib64/R/library git2r BUILDSTDERR: * installing *source* package 'git2r' ... files 'configure', 'configure.ac', 'src/Makevars.in', 'src/git2r_branch.c', 'src/git2r_checkout.c', 'src/git2r_commit.c', 'src/git2r_cred.c', 'src/git2r_diff.c', 'src/git2r_merge.c', 'src/git2r_note.c', 'src/git2r_odb.c', 'src/git2r_remote.c', 'src/git2r_repository.c', 'src/git2r_stash.c', 'src/git2r_tag.c' have the wrong MD5 checksums BUILDSTDERR: checking build system type... tools/config.guess: unable to guess system type BUILDSTDERR: This script, last modified 2015-01-01, has failed to recognize BUILDSTDERR: the operating system you are using. It is advised that you BUILDSTDERR: download the most up to date version of the config scripts from BUILDSTDERR: http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD BUILDSTDERR: and BUILDSTDERR: http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD BUILDSTDERR: If the version you run (tools/config.guess) is already up to date, please BUILDSTDERR: send the following data and any information you think might be BUILDSTDERR: pertinent to in order to provide the needed BUILDSTDERR: information to handle your system. BUILDSTDERR: config.guess timestamp = 2015-01-01 BUILDSTDERR: uname -m = riscv64 BUILDSTDERR: uname -r = 4.15.0-00046-g48fb45691946-dirty BUILDSTDERR: uname -s = Linux BUILDSTDERR: uname -v = #4 SMP Mon Jun 11 17:49:48 UTC 2018 BUILDSTDERR: /usr/bin/uname -p = riscv64 BUILDSTDERR: /bin/uname -X = BUILDSTDERR: hostinfo = BUILDSTDERR: /bin/universe = BUILDSTDERR: /usr/bin/arch -k = BUILDSTDERR: /bin/arch = riscv64 BUILDSTDERR: /usr/bin/oslevel = BUILDSTDERR: /usr/convex/getsysinfo = BUILDSTDERR: UNAME_MACHINE = riscv64 BUILDSTDERR: UNAME_RELEASE = 4.15.0-00046-g48fb45691946-dirty BUILDSTDERR: UNAME_SYSTEM = Linux BUILDSTDERR: UNAME_VERSION = #4 SMP Mon Jun 11 17:49:48 UTC 2018 BUILDSTDERR: configure: error: cannot guess build type; you must specify one BUILDSTDERR: ERROR: configuration failed for package 'git2r' BUILDSTDERR: * removing '/builddir/build/BUILDROOT/R-git2r-0.21.0-3.fc29.riscv64/usr/lib64/R/library/git2r' RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.txikHr (%install) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.txikHr (%install) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 626, 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/R-git2r.spec