Homebrew-core: Unable to install macvim on OS X Sierra with lua/luajit

Created on 9 Oct 2017  ·  3Comments  ·  Source: Homebrew/homebrew-core

What you were trying to do (and why)

Attempting to install macvim so I can edit files.

What happened (include command output)

Attempt to install with lua/luajit

brew install macvim --with-lua --with-override-system-vim --with-luajit                                                                                                                                                                                         
==> Downloading https://github.com/macvim-dev/macvim/archive/snapshot-138.tar.gz
Already downloaded: /Users/faraaz/Library/Caches/Homebrew/macvim-8.0-138.tar.gz
==> ./configure --with-features=huge --enable-multibyte --with-macarchs=x86_64 --enable-perlinterp --enable-rubyinterp --enable-tclinterp --enable-terminal --with-tlib=ncurses --with-compiledby=Homebrew --with-local-dir=/usr/local --enable-cscope --enable-luainterp --with-lua-prefix=/usr/local/opt/lua --enable-luai
==> make
Last 15 lines from /Users/faraaz/Library/Logs/Homebrew/macvim/02.make:
    export XCODE_DEVELOPER_USR_PATH=/Applications/Xcode.app/Contents/Developer/usr/bin/..
    /Applications/Xcode.app/Contents/Developer/usr/bin/ibtool --strip /tmp/macvim-20171008-10816-90eazs/macvim-snapshot-138/src/MacVim/build/Release/MacVim.app/Contents/Resources/English.lproj/FindAndReplace.nib --output-format human-readable-text /tmp/macvim-20171008-10816-90eazs/macvim-snapshot-138/src/MacVim/English.lproj/FindAndReplace.nib

CopyPlistFile build/Release/MacVim.app/Contents/Resources/KeyBinding.plist KeyBinding.plist
    cd /tmp/macvim-20171008-10816-90eazs/macvim-snapshot-138/src/MacVim
    builtin-copyPlist --outdir /tmp/macvim-20171008-10816-90eazs/macvim-snapshot-138/src/MacVim/build/Release/MacVim.app/Contents/Resources -- KeyBinding.plist

** BUILD FAILED **


The following build commands failed:
    StripNIB English.lproj/MainMenu.nib
(1 failure)
make[1]: *** [macvim] Error 65
make: *** [first] Error 2

READ THIS: https://docs.brew.sh/Troubleshooting.html

These open issues may also help:
Attempting to upgrade/install python(2) is failing with “Bad interpreter: operation not permitted” https://github.com/Homebrew/homebrew-core/issues/18816

Gistlogs: https://gist.github.com/anonymous/0fe1e2762b3c188c53abd940b3fb768b

Plain Install seems to work fine. brew install macvim

What was expected

Expected macvim to compile and install properly with lua/luajit.

Steps to reproduce:

Run brew install macvim --with-lua --with-override-system-vim --with-luajit

Please note we will close your issue without comment if you delete, do not read or do not fill out the issue checklist below and provide ALL the requested information. If you repeatedly fail to use the issue template, we will block you from ever submitting issues to Homebrew again.

Please always follow these steps:

  • [ x] Confirmed this is a problem with brew installing one, specific Homebrew/homebrew-core formula (not cask or tap) and not every time you run brew? If it's a general brew problem please file this issue at https://github.com/Homebrew/brew/issues/new. If it's a brew cask problem please file this issue at https://github.com/caskroom/homebrew-cask/issues/new. If it's a tap (e.g. Homebrew/homebrew-php) problem please file this issue at the tap.
  • [x] Ran brew update and retried your prior step?
  • [x] Ran brew doctor, fixed all issues and retried your prior step?
  • [x] Ran brew gist-logs <formula> (where <formula> is the name of the formula that failed) and included the output link?
  • [ ] If brew gist-logs didn't work: ran brew config and brew doctor and included their output with your issue?

To help us debug your issue please explain:

  • What you were trying to do (and why)
  • What happened (include command output)
  • What you expected to happen
  • Step-by-step reproduction instructions (by running brew install commands)

Formula additions or changes

To get formulae added or changed in Homebrew please file a Pull Request
We will close issues requesting formulae changes.

Most helpful comment

I got this just trying to pass the flag --with-override-system-vim and was solved by this: https://github.com/macvim-dev/macvim/issues/546#issuecomment-330986310

All 3 comments

Same issue here.
I'm on High Sierra 10.13.

I got this just trying to pass the flag --with-override-system-vim and was solved by this: https://github.com/macvim-dev/macvim/issues/546#issuecomment-330986310

Agreed, https://github.com/macvim-dev/macvim/issues/546 is the underlying issue. Closing this now. Thanks @reidblomquist for pointing this out.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jyutzler picture jyutzler  ·  4Comments

dredmorbius picture dredmorbius  ·  3Comments

yuna9 picture yuna9  ·  4Comments

kiendang picture kiendang  ·  3Comments

Thirudhas picture Thirudhas  ·  4Comments