Clean sources build fails on ovmf - dunfell
When trying to build for target seco-intel-b68
we get a lot of errors like this for the cmocka
package, and the build fails:
ERROR: Unpack failure for URL: 'gitsm://git.cryptomilk.org/projects/cmocka.git;protocol=https;name=UnitTestFrameworkPkg/Library/CmockaLib/cmocka;subpath=UnitTestFrameworkPkg/Library/CmockaLib/cmocka;bareclone=1;nobranch=1'. No up to date source found: clone directory not available or not up to date: /build/common/downloads/git2/git.cryptomilk.org.projects.cmocka.git; shallow clone not enabled
Apparently, the build is still working in CI/CD pipelines because they use OSTC private download cache, but we can't use it, so we are unable to build. It seems that something has changed in the upstream repo (maybe the required revision has been deleted)
This issue is an "echo" of https://git.ostc-eu.org/distro/meta-seco-intel/-/issues/6. The important part of that is the following:
SUCCESS! Summing up, the bare clone repos that we needed to fectch from private cache are:
git2_git.cryptomilk.org.projects.cmocka.git.tar.gz
git2_github.com.google.brotli.tar.gz
git2_github.com.hillbig.esaxx.tar.gz
git2_github.com.kkos.oniguruma.tar.gz
git2_github.com.y-256.libdivsufsort.git.tar.gz
`