-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Building neovim fails (lua module mpack not found) #4573
Comments
You can fix this by removing |
This also affects the neovim-git package from the AUR. |
I can not reproduce this issue,I am using archlinux,and just run |
I think because for a long time the build process was not
|
@bendem It depends what you want to do: Running just I'm looking into packaging libmpack (or rather, lua-mpack) for Arch. |
@fwalch later today I will release a new libmpack version with a proper makefile for installation as a system library |
@tarruda Great! 👍 Thanks for the heads up, then I'll wait for that. |
@tarruda Not sure what you have planned, just wanted to say that it would be nice if the Lua module could be easily built/installed without requiring luarocks. |
@tarruda Any updates? :-) |
I used Luarocks to package libmpack for now, so the Arch Linux package should work again. Thanks for reporting! |
@fwalch I don't know if what you're describing fixes the underlying problem. I still can't build neovim from source because of a failure related to mpack.
Admittedly, I'm on OSX not Arch. So I don't mean to add any confusion, but I think there's still a problem related to mpack itself. |
You are building manually from the Makefile, right? Did you try |
@fwalch I'm trying everything: building manually from the Makefile and building via Homebrew (I have a separate issue for homebrew-neovim). I just tried |
Hi guys! I'm packing neovim for openSUSE and I keep a neovim-unstable to track the changes and help to deliver newer versions faster. Since some days ago, I cannot build neovim due to the same problem described here. I also tried to pack |
cc @tarruda |
@telemachus That's quite peculiar; it works on OSX e.g. on Travis: https://travis-ci.org/neovim/homebrew-neovim/jobs/123250733 @ronisbr Maybe looking at lua51-mpack on AUR or the Ubuntu packaging can help you until a new version with a nicer Makefile is out. On Arch and Ubuntu, building seems to work even with simple |
Thanks @fwalch. I took a look at the package in AUR and the problem is that it is using luarocks, which is still not available at official openSUSE repository. Do you know if there is a way to install mpack without using luarocks? |
@fwalch Yeah, I see what you mean. The last jobs there seem to have been sometime last Friday. I first began to have this problem late Friday night. I haven't been able to build on OSX since then. Would it be possible (and worth it) to manually trigger a homebrew-neovim build now on Travis and see if anything has changed there since the last build? |
@telemachus Sure, I restarted the build: https://travis-ci.org/neovim/homebrew-neovim/builds/123187587 |
@ronisbr Something like the following should work:
Edit: I now changed the Arch PKGBUILD to not depend on Luarocks anymore. |
@fwalch Well, the Travis build passed, and I'm just very confused. I just can't see what is wrong with my environment. I regularly uninstall and reinstall neovim using Homebrew in order to track HEAD relatively closely. I've never had any trouble like this. Everything is up-to-date in terms of Xcode, Homebrew, etc. and I can install other software without trouble using If anyone has ideas for other things I can debug, I'd be glad to hear them. A recent verbose failed build log is here: https://gist.github.com/telemachus/fe078934942bdcc2a0e86319de5e1148 EDIT I uninstalled everything related to Lua and was finally able to install neovim. I still have no idea what was wrong, but I suppose it was my problem not neovim's. (I still can't install mpack, but who knows, maybe that's local to me as well.) |
@fwalch I did exactly what you suggested and I could create the lua51-mpack package. Now, the neovim (git) can be built correctly. Thanks! I will submit this package to openSUSE repositories since it will be needed for future neovim versions. |
Is any action required here? |
/usr/bin/lua -v
reports version 5.3.2Actual behaviour
Building the current head of neovim fails because it can't find the 'mpack' lua module. I don't know why it's failing, as I've been regularly building neovim every fortnight or so to keep it up to date, and I've never had this problem before. I've installed the dependencies manually, but for some reason it's not finding them when it was before.
Expected behaviour
Configure and compilation is successful.
The text was updated successfully, but these errors were encountered: