Re: Bug#547503: git-core: "git clone" fails on armel
Hi arm porters,
Can you reproduce this problem? If so, any ideas on how to fix it?
Gerrit Pape wrote:
> On Sun, Sep 20, 2009 at 02:08:20PM +0200, Sascha Silbe wrote:
>> git clone fails on my Debian armel system:
>>
>> sascha.silbe@flatty:~$ git clone git://git.sugarlabs.org/sugar-jhbuild/mainline.git sugar-jhbuild
>> Initialized empty Git repository in /home/sascha.silbe/sugar-jhbuild/.git/
>> remote: Counting objects: 4772, done.
>> remote: Compressing objects: 100% (2079/2079), done.
>> error: inflate: data stream error (invalid distance too far back)
>> fatal: pack has bad object at offset 616818: inflate returned -3
>> fatal: index-pack failed
>> sascha.silbe@flatty:~$ git clone git://git.gnome.org/jhbuild
>> Initialized empty Git repository in /home/sascha.silbe/jhbuild/.git/
>> remote: Counting objects: 19804, done.
>> remote: Compressing objects: 100% (6374/6374), done.
>> fatal: pack has bad object at offset 487227: inflate returned -5
>> fatal: index-pack failed
>> sascha.silbe@flatty:~$
>
> Hi Sascha, the bug seems to be in zlib, not git. git uses the inflate()
> function from zlib, which, in your case, returns the errors -3
> (Z_DATA_ERROR) and -5 (Z_BUF_ERROR). See /usr/include/zlib.h.
Thanks,
Jonathan
Please CC me on replies, as I’m not subscribed.
Reply to: