On 03/15/2014 01:50 PM, Alex T wrote:
Looks like there's some problem with Yocto's git server, surfaced just
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:
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
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.
Yocto Project / Sys Admin