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

Broken homebrow build #2033

Closed
MichaelBlume opened this issue Feb 21, 2015 · 6 comments
Closed

Broken homebrow build #2033

MichaelBlume opened this issue Feb 21, 2015 · 6 comments

Comments

@MichaelBlume
Copy link

[ 81%] Building C object src/nvim/CMakeFiles/nvim.dir/msgpack_rpc/server.c.o
[ 81%] Building C object src/nvim/CMakeFiles/nvim.dir/tui/tui.c.o
Linking C executable ../../bin/nvim
Undefined symbols for architecture x86_64:
  "_cur_term", referenced from:
      _new_driver in libtermkey.a(driver-ti.o)
  "_setupterm", referenced from:
      _new_driver in libtermkey.a(driver-ti.o)
  "_strfnames", referenced from:
      _new_driver in libtermkey.a(driver-ti.o)
  "_strnames", referenced from:
      _new_driver in libtermkey.a(driver-ti.o)
  "_tigetstr", referenced from:
      _new_driver in libtermkey.a(driver-ti.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[3]: *** [bin/nvim] Error 1
make[2]: *** [src/nvim/CMakeFiles/nvim.dir/all] Error 2
make[1]: *** [all] Error 2
make: *** [nvim] Error 2

HOMEBREW_VERSION: 0.9.5
ORIGIN: https://github.com/neovim/neovim.git
HEAD: d35820379f57c73e594a0c29713d64ef9e6ada22
Last commit: 7 hours ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
CPU: 8-core 64-bit haswell
OS X: 10.10.2-x86_64
Xcode: 6.1.1
CLT: 6.1.1.0.1.1416017670
GCC-4.2: build 0
Clang: 6.0 build 600
X11: 2.7.6 => /opt/X11
System Ruby: 2.0.0-p481
Perl: /usr/bin/perl
Python: /usr/bin/python
Ruby: /usr/bin/ruby
Java: 1.8.0_25

HOMEBREW_CC: clang
HOMEBREW_CXX: clang++
CMAKE_PREFIX_PATH: /usr/local
CMAKE_INCLUDE_PATH: /usr/include/libxml2:/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers
CMAKE_LIBRARY_PATH: /System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries
PKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/usr/local/Library/ENV/pkgconfig/10.10
ACLOCAL_PATH: /usr/local/share/aclocal
PATH: /usr/local/Library/ENV/4.3:/usr/local/opt/cmake/bin:/usr/local/opt/libtool/bin:/usr/local/opt/automake/bin:/usr/local/opt/autoconf/bin:/usr/bin:/bin:/usr/sbin:/sbin
@jszakmeister
Copy link
Contributor

I'm looking into it, it appears something else is going on. Perhaps libtermkey is not the right version and Neovim is picking up the wrong one (the one you installed versus the one packaged with Neovim).

Also, please file issues with homebrew over in Neovim's homebrew repo rather than here in the future.

Finally, I think running through some of the debug steps in the readme for that repo would be useful. In particular, posting the logs would be helpful in debugging the problem.

Thanks!

@jszakmeister
Copy link
Contributor

@MichaelBlume I'm unable to reproduce your issue. I'm using Yosemite (the same as you), but it completes just fine. Do you have libtermkey installed some other way?

@hendrikcech
Copy link

I have the same problem on Mavericks (10.9.5). libtermkey is not installed by homebrew but might be in another way.
The build logs are in this gist https://gist.github.com/anonymous/68f4b065bd31452029bd

@tarruda
Copy link
Member

tarruda commented Feb 21, 2015

This error happens when libtermkey fails to find unibilium and tries to link against libterminfo

@jszakmeister
Copy link
Contributor

@hendrikcech You are using the wrong formula:

tap.out
Formula: neovim
Tap: path or URL
Path: /Library/Caches/Homebrew/Formula/neovim.rb

Run the following to fix it:

brew uninstall neovim --force
brew prune
brew tap neovim/homebrew-neovim
brew tap --repair
brew install neovim --HEAD

@hendrikcech
Copy link

You're right, neovim builds now. Thanks! 🍻

@tarruda tarruda closed this as completed Feb 21, 2015
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