Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error during installation of spread-versioning #4

Open
pierredup opened this issue Aug 25, 2016 · 4 comments
Open

Error during installation of spread-versioning #4

pierredup opened this issue Aug 25, 2016 · 4 comments

Comments

@pierredup
Copy link

I'm getting the following error when doing brew install spread-versioning

could not determine kind of name for C.GIT_MERGE_TREE_FIND_RENAMES
could not determine kind of name for C.git_merge_tree_flag_t

screen shot 2016-08-25 at 10 29 02

Here is the full log file
screen shot 2016-08-25 at 10 30 07

@pierredup pierredup changed the title Error during installation Error during installation of spread-versioning Aug 25, 2016
@IlyaSemenov
Copy link

This is because the latest Homebrewed libgit2 is 0.24.1 and spread only works with 0.23.4.

That's how you can overcome this temporarily:

cd /usr/local/Library/Taps/homebrew/homebrew-core/
git show f1e8599fbbb6334808b88c91ae02b88a78f169dc:Formula/libgit2.rb > Formula/libgit2.rb
brew install spread-versioning
git reset --hard

@cphrmky
Copy link

cphrmky commented Oct 20, 2016

NOTE: if you're running macOS Sierra the path is a little different.

You'll want to use:

cd /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core

@aramkarapetian
Copy link

Commit f1e8599fbbb6334808b88c91ae02b88a78f169dc is somehow gone now.
fatal: bad object f1e8599fbbb6334808b88c91ae02b88a78f169dc

@cphrmky
Copy link

cphrmky commented Oct 26, 2016

@aramkarapetian my guess is it got rebased away or something? I put the contents up as a gist for you.

You should be able to use the following:

cd /usr/local/Library/Taps/homebrew/homebrew-core/
curl -Lo Formula/libgit2.rb https://gist.githubusercontent.com/cphrmky/4a1c4093964aa73e960abe188a61d090/raw/0a4878898b51a6c2b5602ca2ddac0ee41670b4b6/libgit2.rb
brew install spread-versioning
git reset --hard

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants