I have an imx6ull development kit and we are trying to build yocto project for the same!
When we are fetching the kernel, we keep getting this error. Can you please provide some help!
Please find the error below:
Hi Arun,
For one or the other reason the GIT server is sometimes not reachable, but you still have the option to download the source code from Freescale Public GIT and then build it. If you have the need for various builds based on the same release, then it's useful to download all sources one time and base the following builds then on (a copy of) the local sources:
$ bitbake -c fetchall target
In Yocto Project Development Manual in chapter 5.15 you find some more information.
Regards,
Carlos
Thanks Carlos but I still have the problem occasionally. I do have all the files local now and I'd like to cut the ties back to the internet from my yocto build but if I build with BB_NO_NETWORK = "1" I still get the build attempting to do a git ls-remote. I found this page (How do I - Yocto Project ) while searching and followed its advice (removed the branch name) but my build still wants to do a git ls-remote.
It does seem to work when I use BB_FETCH_PREMIRRORONLY but it still goes to the remote git server in order to do a build. Any ideas how to get BB_NO_NETWORK to work? Thanks!
Hello, Arun,
I have exactly the same error. One week ago it was no error on the same PC in the same office with very fast Internet access, no Proxy.
It looks like the git server has a problem (unexpected EOF in one of the files ?).
git.freescale.com is really unstable. Sometimes it works, sometimes it does not work at all for some time :smileysad:.
Regards,
Oleg
Same Problem here, cloning the exact same branch (imx_4.1.15_2.0.0_ga) fails with:
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
Somehow cloning u-boot succeeded from the same repository on the same computer on the second try.
Cloning large repositories from Github also works just fine.
Regards,
Felix
Hi Arun,
this error is usually caused by problems on your network. Please verify that you have stable internet connection and you may also contact your system administrator because if you are using firewalls or porxy server this may avoid conenction to repo.
Regards,
Carlos
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Carlos,
Thanks for the quick response.
When we try to clone using the following command it always fails with connection refused error ! We confirmed that there is no firewall or proxy settings that stops it !
git clone -b imx_4.1.15_1.0.0_ga git://git.freescale.com/imx/linux-imx.git
And, with this command git -c core.fsyncobjectfiles=0 ls-remote git://git.freescale.com/imx/linux-2.6-imx.git, once we were able to get the response back.
Looks to be issue with the server. Can you please confirm ?
Thanks,
Arun