git 2.13.0-1

Problems with packages? Post here, using [tags] of the package name.

git 2.13.0-1

Postby madalu » Wed May 31, 2017 6:16 pm

I have a git server running on a pogoplug E02 (armv5). With the upgrade to git 2.13.0-1, I am getting a sha1 mismatch error when running git commands. E.g., git log results in an error like this in every one of my repos:

error: sha1 mismatch 0aa4c063d23a04b2383de32ba8f6c313c71c9c43
fatal: bad object HEAD

I believe this may be related to the recent introduction of sha1 collision detection: https://github.com/blog/2360-git-2-13-has-been-released

If I downgrade to git-2.12.2-4, there are no errors, and there are no errors with git 2.13.0-1 on my x86_64 archlinux box.

Could others please confirm whether this is an armv5 problem only or whether it also affects other arm architectures.
madalu
 
Posts: 6
Joined: Tue Dec 15, 2015 3:55 am

Re: git 2.13.0-1

Postby wobble » Wed May 31, 2017 7:28 pm

I can confirm that I also get this error on my pogoplug e02, but the same git version seems to work on my cubietruck (armv7).
wobble
 
Posts: 31
Joined: Fri Dec 04, 2015 2:15 pm

Re: git 2.13.0-1

Postby gcorreai » Sat Jun 03, 2017 4:31 pm

I'm having the same problem on a GoFlex Home. This is a fresh install, so I don't even have a backup of git to downgrade.

Where can I find one?
gcorreai
 
Posts: 2
Joined: Sat Jun 03, 2017 4:11 pm

Re: git 2.13.0-1

Postby planeteater » Sun Jun 04, 2017 8:29 am

planeteater
 
Posts: 26
Joined: Sat Dec 29, 2012 2:44 pm

Re: git 2.13.0-1

Postby gcorreai » Sun Jun 04, 2017 3:14 pm

Thank you! Worked like a charm!
gcorreai
 
Posts: 2
Joined: Sat Jun 03, 2017 4:11 pm

Re: git 2.13.0-1

Postby planeteater » Mon Jun 05, 2017 11:17 am

@madalu:
$this->bbcode_second_pass_quote('', '
')I believe this may be related to the recent introduction of sha1 collision detection: https://github.com/blog/2360-git-2-13-has-been-released

You're right!
Meanwhile, 2.13.1 is out and fixes this issue:
$this->bbcode_second_pass_code('', '
Git v2.13.1 Release Notes
=========================

Fixes since v2.13
-----------------
[...]
* The "collision detecting" SHA-1 implementation shipped with 2.13
was quite broken on some big-endian platforms and/or platforms that
do not like unaligned fetches. Update to the upstream code which
has already fixed these issues.
[...]
')
I've built it from source, and those sha1 mismatch errors indeed gone. It should be only a matter of time until the new version reaches the arch repos.
planeteater
 
Posts: 26
Joined: Sat Dec 29, 2012 2:44 pm

Re: git 2.13.0-1

Postby WarheadsSE » Mon Jun 05, 2017 5:02 pm

<3 upstream. Whoops.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm


Return to Packages

Who is online

Users browsing this forum: No registered users and 5 guests