Problem with git.yoctoproject.org - looks like a server-side issue, confirmed on #yocto IRC channel
Hello,
Looks like there's some problem with Yocto's git server, surfaced just recently.
In short - "git fetch --depth=3 <refspec>", which was working just fine about a week ago, now fails with:
===
Running: git remote add origin git://git.yoctoproject.org/poky
Running: git fetch origin --depth=3 tags/dylan-9.0.2:tags/dylan-9.0.2
fatal: The remote end hung up unexpectedly
fatal: protocol error: bad pack header
===
And we've ruled out the git client version or client's location problem (tried three different git client versions and at least three different people face the problem).
This is demonstrated in detail in this Intel Galileo community thread:
https://communities.intel.com/message/227798#227798
I've also got a confirmation on the #yocto IRC channel from Khem Raj, that it must be a server-side issue. Googling the error seems to suggest that may be a sort of OOM or other resource-related problem on the server too.
Could you please look into that and fix, if that's indeed a server problem?
regards,
Alex
Quoted 25 lines · Alex T
Hello,
Looks like there's some problem with Yocto's git server, surfaced just recently.
In short - "git fetch --depth=3 <refspec>", which was working just fine about a week ago, now fails with:
===
Running: git remote add origingit://git.yoctoproject.org/pokyRunning: git fetch origin --depth=3 tags/dylan-9.0.2:tags/dylan-9.0.2
fatal: The remote end hung up unexpectedly
fatal: protocol error: bad pack header
===
And we've ruled out the git client version or client's location problem (tried three different git client versions and at least three different people face the problem).
This is demonstrated in detail in this Intel Galileo community thread:
https://communities.intel.com/message/227798#227798
Quoted 6 lines
I've also got a confirmation on the #yocto IRC channel from Khem Raj, that it must be a server-side issue. Googling the error seems to suggest that may be a sort of OOM or other resource-related problem on the server too.
Could you please look into that and fix, if that's indeed a server problem?
I recently updated git to version 1.9.0 which caused the problem. With 1.9.0 additional permissions to the are required to write temporary files in the working directory. I've rolled back the upgrade and shallow clones are working once again.
Michael Halstead
Yocto Project / Sys Admin
Quoted 3 lines
regards,
Alex
Quoted 5 lines · Alex T
Looks like there's some problem with Yocto's git server, surfaced just recently.
In short - "git fetch --depth=3 <refspec>", which was working just fine about a week ago, now fails
Thanks Michael, it indeed works ok now.
Sorry for replying to my own email - I wasn't subscribed, so haven't received your email directly, read it in the archive.
regards,
Alex