$ git clone -n https://gitee.com/src-anolis-os/libxcrypt.git /var/lib/mock/dist-an8.9-build-365257-71163/root/chroot_tmpdir/scmroot/libxcrypt Cloning into '/var/lib/mock/dist-an8.9-build-365257-71163/root/chroot_tmpdir/scmroot/libxcrypt'... $ git fetch origin d93446ffe95a593a3d472ddc8615685025644c1c:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/libxcrypt * [new ref] d93446ffe95a593a3d472ddc8615685025644c1c -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at d93446f libxcrypt is not robust enough to set werror flag for gcc-10.