Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/R-git2r.spec'], chrootPath='/var/lib/mock/f33-build-193947-47014/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=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=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 setting SOURCE_DATE_EPOCH=1587945600 Wrote: /builddir/build/SRPMS/R-git2r-0.26.1-5.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/R-git2r.spec'], chrootPath='/var/lib/mock/f33-build-193947-47014/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=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=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 setting SOURCE_DATE_EPOCH=1587945600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.r15NXJ + 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.26.1.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 + rm -r src/libgit2 + sed -i /libgit2/d MD5 Patch #1 (0001-Fix-compiler-warnings.patch): + echo 'Patch #1 (0001-Fix-compiler-warnings.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/git2r.c patching file src/git2r_arg.h patching file src/git2r_branch.c patching file src/git2r_cred.c patching file src/git2r_diff.c patching file src/git2r_merge.c patching file src/git2r_odb.c patching file src/git2r_stash.c patching file src/git2r_tree.c Patch #2 (0002-Handle-renamed-structures-enums-and-values-in-libgit.patch): + echo 'Patch #2 (0002-Handle-renamed-structures-enums-and-values-in-libgit.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/git2r_blob.c patching file src/git2r_clone.c patching file src/git2r_cred.c patching file src/git2r_cred.h patching file src/git2r_deprecated.h patching file src/git2r_remote.c patching file src/git2r_transfer.c patching file src/git2r_transfer.h Patch #3 (0003-configure-update-for-libgit2-v0.99.0.patch): + echo 'Patch #3 (0003-configure-update-for-libgit2-v0.99.0.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file configure patching file configure.ac patching file tools/version.c + popd ~/build/BUILD/git2r + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.IjZ10H + umask 022 + cd /builddir/build/BUILD + cd git2r + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.CBo8xL + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/R-git2r-0.26.1-5.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/R-git2r-0.26.1-5.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/R-git2r-0.26.1-5.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/R-git2r-0.26.1-5.fc33.riscv64 + cd git2r + mkdir -p /builddir/build/BUILDROOT/R-git2r-0.26.1-5.fc33.riscv64/usr/lib64/R/library + /usr/bin/R CMD INSTALL -l /builddir/build/BUILDROOT/R-git2r-0.26.1-5.fc33.riscv64/usr/lib64/R/library git2r * installing *source* package 'git2r' ... files 'configure', 'configure.ac', 'src/git2r.c', 'src/git2r_arg.h', 'src/git2r_blob.c', 'src/git2r_branch.c', 'src/git2r_clone.c', 'src/git2r_cred.c', 'src/git2r_cred.h', 'src/git2r_deprecated.h', 'src/git2r_diff.c', 'src/git2r_merge.c', 'src/git2r_odb.c', 'src/git2r_remote.c', 'src/git2r_stash.c', 'src/git2r_transfer.c', 'src/git2r_transfer.h', 'src/git2r_tree.c', 'tools/version.c' have the wrong MD5 checksums ** using staged installation checking build system type... tools/config.guess: unable to guess system type This script, last modified 2015-01-01, has failed to recognize the operating system you are using. It is advised that you download the most up to date version of the config scripts from http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD and http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD If the version you run (tools/config.guess) is already up to date, please send the following data and any information you think might be pertinent to in order to provide the needed information to handle your system. config.guess timestamp = 2015-01-01 uname -m = riscv64 uname -r = 5.5.0-0.rc5.git0.1.1.riscv64.fc32.riscv64 uname -s = Linux uname -v = #1 SMP Mon Jan 6 17:31:22 UTC 2020 /usr/bin/uname -p = riscv64 /bin/uname -X = hostinfo = /bin/universe = /usr/bin/arch -k = /bin/arch = riscv64 /usr/bin/oslevel = /usr/convex/getsysinfo = UNAME_MACHINE = riscv64 UNAME_RELEASE = 5.5.0-0.rc5.git0.1.1.riscv64.fc32.riscv64 UNAME_SYSTEM = Linux UNAME_VERSION = #1 SMP Mon Jan 6 17:31:22 UTC 2020 configure: error: cannot guess build type; you must specify one ERROR: configuration failed for package 'git2r' * removing '/builddir/build/BUILDROOT/R-git2r-0.26.1-5.fc33.riscv64/usr/lib64/R/library/git2r' RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.CBo8xL (%install) Bad exit status from /var/tmp/rpm-tmp.CBo8xL (%install) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/mockbuild/trace_decorator.py", line 95, in trace result = func(*args, **kw) File "/usr/lib/python3.8/site-packages/mockbuild/util.py", line 746, in do_with_status 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