neovim / homebrew-neovim

Homebrew formula
MIT License
402 stars 72 forks source link

Formula not available on Linuxbrew #223

Closed n0nick closed 7 years ago

n0nick commented 7 years ago
$ uname -srvmpio
Linux 4.4.0-75-generic #96~14.04.1-Ubuntu SMP Thu Apr 20 11:06:30 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

$ brew -v
Homebrew 1.2.1
Homebrew/homebrew-core (git revision 1bc2; last commit 2017-06-25)

$ brew install neovim
Error: No available formula with the name "neovim" 
==> Searching for a previously deleted formula...
Error: No previously deleted formula found.
==> Searching for similarly named formulae...
Error: No similarly named formulae found.
==> Searching taps...
Error: No formulae found in taps.

Tapping works:

$ brew tap neovim/neovim
==> Tapping neovim/neovim
Cloning into '/usr/local/google/home/sagie/.linuxbrew/Homebrew/Library/Taps/neovim/homebrew-neovim'...
remote: Counting objects: 7, done.
remote: Compressing objects: 100% (6/6), done.
remote: Total 7 (delta 0), reused 3 (delta 0), pack-reused 0
Unpacking objects: 100% (7/7), done.
Tapped 1 formula (33 files, 133.6KB)

/
$ brew install neovim
==> Installing neovim from neovim/neovim
justinmk commented 7 years ago

@n0nick I assume https://github.com/neovim/homebrew-neovim/pull/222 should fix this, if linuxbrew works like homebrew.

Or maybe not: what is the process for linuxbrew to adopt homebrew's core fomulae?

equal-l2 commented 7 years ago

We should just wait.

Excerpt from https://github.com/Linuxbrew/homebrew-core/blob/master/CONTRIBUTING.md :

Homebrew is merged into Linuxbrew roughly once per week.

n0nick commented 7 years ago

Thanks @equal-l2, I did not know that about Linuxbrew.

javian commented 7 years ago

The formula is now available https://github.com/Linuxbrew/homebrew-core/blob/master/Formula/neovim.rb - is it working properly for you ?

dragon788 commented 7 years ago

I'm having issues with this formula failing during the make install of mpack-1.0.6-0. I used brew gist-logs neovim from my machine running 17.04. https://gist.github.com/anonymous/3b2cc6abd48292fb4d72b96b43cbce98

javian commented 7 years ago

It looks more related to jemalloc

cd /tmp/neovim-20170702-27379-136iz7a/build/runtime/pack/dist/opt/vimball && /tmp/neovim-20170702-27379-136iz7a/build/bin/nvim -u NONE -i NONE -e --headless -c helptags\ doc -c quit
<jemalloc>: Error in dlsym(RTLD_NEXT, "pthread_create")
cd /tmp/neovim-20170702-27379-136iz7a/build/runtime && /tmp/neovim-20170702-27379-136iz7a/build/bin/nvim -u NONE -i NONE -e --headless -c helptags\ ++t\ doc -c quit
<jemalloc>: Error in dlsym(RTLD_NEXT, "pthread_create")
Aborted (core dumped)

I would suggest to post an issue in the linuxbrew repo.

n0nick commented 7 years ago

The jemalloc issue is reported here: jemalloc/jemalloc#907.

I got it as well which made me give up on linuxbrew and I went back to installing Neovim via Nix. @javian you can close this ticket if you want, seems that the Linuxbrew repository is up-to-date now.

javian commented 7 years ago

@n0nick I can't since I'm not a maintainer here but you can since you opened it =)

javian commented 7 years ago

There was also a new 5.0.1 jemalloc release within the last 24 hours which might mitigate this issue.