$ git clone -n https://gitee.com/insight-kernel/libpfm.git /var/lib/mock/dist-an23-build-python3.11-393785-71986/root/chroot_tmpdir/scmroot/libpfm Cloning into '/var/lib/mock/dist-an23-build-python3.11-393785-71986/root/chroot_tmpdir/scmroot/libpfm'... $ git fetch origin c6726ce54275a80df32c88798a632ef670689894:KOJI_FETCH_HEAD From https://gitee.com/insight-kernel/libpfm * [new ref] c6726ce54275a80df32c88798a632ef670689894 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at c6726ce fix build fail on Anolis 23.1