Hello,
I am trying to build the Yocto BSP imx-5.4.70-2.3.0 (branch: imx-linux-zeus, manifest: imx-5.4.70-2.3.0.xml) and I am hitting fetch failures during the build of imx-image-full.
The errors are:
ERROR: spirv-tools-git-r0 do_fetch: Fetcher failure for URL: 'git://github.com/KhronosGroup/SPIRV-Tools.git;name=spirv-tools;branch=main;protocol=https'. Unable to fetch URL from any source.
ERROR: glslang-git-r0 do_fetch: Fetcher failure for URL: 'git://github.com/KhronosGroup/glslang'. Unable to fetch URL from any source.
Interestingly, when I try to fetch manually outside of bitbake, it works fine:
git clone https://github.com/KhronosGroup/glslang.git
git checkout 703bd9caab50b139428cea1aaff9974ebee5742e
git clone https://github.com/KhronosGroup/SPIRV-Tools.git
git checkout 9b3cc3e05337358d0bd9fec1b7a51e3cbf55312b
So, network connectivity is fine and the repositories are accessible.
Can anyone help me understand why Yocto’s fetcher is failing here?
Is there a protocol mismatch (git:// vs https://)?
Do I need to update the recipe or apply a patch for zeus branch?
Or is there any recommended workaround to fetch these dependencies successfully?
Thanks in advance.
HI @binil!
While reviewing the documentation, I noticed that GitHub no longer supports the git:// protocol. To continue working with repositories, you'll need to switch to either HTTPS or SSH.
Please update your repository URLs accordingly.
Best regards,
Chavira
Please check the attached image
Hi @binil,
Thank you for contacting NXP Support!
Could you please share the log file showing the fetch errors? I’d like to analyze it on my end to better understand the issue.
In parallel, I’ll attempt to replicate the error on my side.
Best regards,
Chavira