$ git clone -n https://github.com/fedora-riscv/compiler-rt.git /var/lib/mock/f38-build-side-42-init-devel-701557-27070/root/chroot_tmpdir/scmroot/compiler-rt Cloning into '/var/lib/mock/f38-build-side-42-init-devel-701557-27070/root/chroot_tmpdir/scmroot/compiler-rt'... $ git fetch origin 47b872acb3f4c834b352daece3dc4772f1da8cad:KOJI_FETCH_HEAD From https://github.com/fedora-riscv/compiler-rt * [new ref] 47b872acb3f4c834b352daece3dc4772f1da8cad -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 47b872a Fix build on riscv64.