Hi,
I set the build environment as following:
$ DISTRO=fsl-imx-wayland MACHINE=imx8mn-lpddr4-evk source imx-setup-release.sh -b build-8mnlpddr4-fslwayland
$ bitbake fsl-image-validation-imx
I got the errors:
ERROR: keyctl-caam-git-r0 do_fetch: Bitbake Fetcher Error: FetchError('Unable to fetch URL from any source.', 'git://source.codeaurora.org/external/imx/keyctl_caam.git;protocol=https;branch=master')
ERROR: Logfile of failure stored in: /home/judy/bin/imx-yocto-bsp/build-8mnlpddr4-fslwayland/tmp/work/armv8a-poky-linux/keyctl-caam/git-r0/temp/log.do_fetch.31152
ERROR: Task (/home/judy/bin/imx-yocto-bsp/sources/meta-imx/meta-bsp/recipes-security/smw/keyctl-caam_git.bb:do_fetch) failed with exit code '1'
I check the error in the community, it seems the error like this:
SRC_URI = "git://${PKG_NAME}.git;branch=main;protocol=https"
Initially it was
SRC_URI = "git://${PKG_NAME}.git;branch=master;protocol=https"
But, I just use $ bitbake fsl-image-validation-imx, how to fix the error?
Best regards,
Judy Liao
Solved! Go to Solution.
Hi @Judy_Liao
To git repository, It is now required to add a branch name as master.
Please check if you can access and download git://source.codeaurora.org/external/imx/keyctl_caam.git by manual on your build host, by which you can test the source provided by this link with git repository blocked or not in your network environment.
Best regards
Harvey
Thank you. I will try