Package Details: neovim-git 0.1.3.r158.gba97f73-1

Git Clone URL: https://aur.archlinux.org/neovim-git.git (read-only)
Package Base: neovim-git
Description: Fork of Vim aiming to improve user experience, plugins, and GUIs.
Upstream URL: https://neovim.io
Keywords: editor vim
Licenses: custom:neovim
Conflicts: neovim
Provides: neovim=0.1.3.r158.gba97f73
Submitter: fhahn
Maintainer: fwalch
Last Packager: fwalch
Votes: 194
Popularity: 6.060947
First Submitted: 2014-02-21 19:50
Last Updated: 2016-04-18 19:36

Dependencies (15)

Required by (8)

Sources (1)

Latest Comments

fwalch commented on 2016-04-23 17:43

euclio: Did you try makepkg -C? If the problem persists, can you open an issue at github.com/neovim/neovim?

euclio commented on 2016-04-23 17:23

I'm still having the problem indicated by cirk2. His patch fixed it.

sulhan commented on 2016-04-19 04:48

Thanks fwalch.

fwalch commented on 2016-04-18 19:59

libmpack still does not have a new release with a nice Makefile for systemwide installation, but I packaged it with Luarocks for now.

Thanks to sulhan, zoqaeski, bradst, cirk2 for reporting the broken build.

cirk2 commented on 2016-04-18 13:58

Yeah got confused by the cmake output which only reported the missing packages for /usr/bin/lua also works without that.

fwalch commented on 2016-04-17 06:46

cirk2: LuaJIT can use installed Lua 5.1 packages, so no need to change anything.

libmpack is currently not easily packagable, that's what I'm waiting for to update the PKGBUILD: https://github.com/neovim/neovim/issues/4573#issuecomment-210032083

cirk2 commented on 2016-04-16 10:28

The build now depends on the mpack lua rock (currently has no AUR package):
https://luarocks.org/modules/tarruda/mpack
also it depends on lua51-bitop.

Also the build cmake test 'luajit' and 'lua' the latter on arch points to lua 5.3 not 5.1. I fixed it locally with a symlink, but it looks like it can be overriden by setting LUA_PRG for cmake.

Besides the missing mpack this fixes the pkgbuild for me:
diff --git a/PKGBUILD b/PKGBUILD
index 5076fa1..f1ffe67 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -9,7 +9,7 @@ arch=('i686' 'x86_64')
url='https://neovim.io'
license=('custom:neovim')
depends=('jemalloc' 'libtermkey' 'libuv' 'libvterm' 'msgpack-c' 'unibilium')
-makedepends=('cmake' 'git' 'luajit' 'lua51-messagepack' 'lua51-lpeg')
+makedepends=('cmake' 'git' 'luajit' 'lua51-messagepack' 'lua51-lpeg' 'lua51-bitop')
optdepends=('python2-neovim: for Python 2 plugin support (see :help nvim-python)'
'python-neovim: for Python 3 plugin support (see :help nvim-python)'
'xclip: for clipboard support (or xsel) (see :help nvim-clipboard)'
@@ -33,6 +33,7 @@ build() {
-DCMAKE_BUILD_TYPE=Dev \
-DCMAKE_INSTALL_PREFIX=/usr \
-DENABLE_JEMALLOC=ON \
+ -DLUA_PRG=/usr/bin/lua5.1 \
..
make
}

bradst commented on 2016-04-16 02:23

Seems like the build is currently broken due to some recent changes upstream:

-----
-- Checking Lua interpreter /usr/bin/luajit
-- [/usr/bin/luajit] The 'mpack' lua package is required for building Neovim
-- Checking Lua interpreter /usr/bin/lua
-- [/usr/bin/lua] The 'mpack' lua package is required for building Neovim
CMake Error at CMakeLists.txt:390 (message):
A suitable Lua interpreter was not found.
...
==> ERROR: A failure occurred in build().
-----

Relevant changes: https://github.com/neovim/neovim/pull/4398
They are now using 'libmpack' (https://github.com/tarruda/libmpack) instead of lua51-messagepack. They are also now using a libuv Lua binding called 'luv' (https://github.com/luvit/luv). Looks like the following may be a quick fix for the 'luv' dependency, but I wasn't able to try it since the build doesn't get that far: https://github.com/neovim/homebrew-neovim/pull/145/commits/af967f7

fwalch commented on 2016-03-14 20:41

timofonic: Probably not. I found some discussion in https://bbs.archlinux.org/viewtopic.php?id=186880

timofonic commented on 2016-03-14 01:17

@fwalch

Can that be automated?

All comments