$ git clone -n https://gitee.com/Weisson/libreport.git /var/lib/mock/dist-an8.9-build-384782-71938/root/chroot_tmpdir/scmroot/libreport Cloning into '/var/lib/mock/dist-an8.9-build-384782-71938/root/chroot_tmpdir/scmroot/libreport'... $ git reset --hard b60cf72184b35e81d827d6a1628d2358a24bb578 HEAD is now at b60cf72 argument 'Werror' blocks the build process by gcc-10.3.1.