Error Fetching glslang from GitHub: Connection Timed Out

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Error Fetching glslang from GitHub: Connection Timed Out

692 Views
BrintoJames
Contributor II

I am encountering an issue while trying to fetch the glslang package in my Yocto build for the i.MX platform. The fetch command fails with a timeout error when attempting to connect to GitHub. Here are the details of the error message:

ERROR: glslang-git-r0 do_fetch: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; ...; LANG=C git -c core.fsyncobjectfiles=0 clone --bare --mirror git://github.com/KhronosGroup/glslang /home/arun/Brinto/yocto--imx8/OS/downloads//git2/github.com.KhronosGroup.glslang --progress failed with exit code 128, output: fatal: unable to connect to github.com: github.com[0: 20.207.73.82]: errno=Connection timed out

I have verified my internet connection and can access GitHub via a web browser, so I am not sure why this is happening.

Is there a known issue with accessing the glslang repository, or are there any recommended solutions to bypass this problem? Any assistance would be greatly appreciated!

Thank you!

0 Kudos
Reply
4 Replies

623 Views
Harvey021
NXP TechSupport
NXP TechSupport

The problem seems like the git port is restricted on your side.

Have you tried this with

git config --global url."https://".insteadOf git://

By the way, just try a test to build bitbake glslang with the latest BSP on my host and without fetch failure issue.

Regards

Harvey

609 Views
BrintoJames
Contributor II
Hi Harvey,

Thank you for your suggestion to use the HTTPS protocol for fetching the repository. I ran the command:

git config --global url."https://".insteadOf git://

However, I'm now encountering a new error when trying to fetch the glslang package:

ERROR: glslang-git-r0 do_fetch: Fetcher failure: Unable to find revision d509a5eec6f5a65b3ffdfa0a19096f338d2582be in branch master even from upstream
ERROR: glslang-git-r0 do_fetch: Fetcher failure for URL: 'git://github.com/KhronosGroup/glslang'. Unable to fetch URL from any source.

It seems that the specified revision cannot be found in the master branch. Could you please provide some advice on how to resolve this issue?

I appreciate your help!
0 Kudos
Reply

605 Views
Harvey021
NXP TechSupport
NXP TechSupport

For revision, go check bb file and then having a try to change the branch to main (if not), or a workaround like nobranch=1

 

Regards

Harvey

598 Views
BrintoJames
Contributor II
Thank you for your guidance!
It worked fine....

0 Kudos
Reply