Package Details: neovim-git 0.3.4.r1012.gf8d0e41b2-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.3.4.r1012.gf8d0e41b2
Submitter: fhahn
Maintainer: fwalch
Last Packager: fwalch
Votes: 200
Popularity: 1.383104
First Submitted: 2014-02-21 19:50
Last Updated: 2019-06-11 21:16

Dependencies (18)

Required by (71)

Sources (1)

Pinned Comments

fwalch commented on 2016-07-04 19:52

Please don't flag this package out-of-date just because the version number displayed on AUR seems old. This is normal for VCS packages. As long as building the package works without problems, it isn't necessary to update the PKGBUILD here. makepkg will automatically retrieve the latest version when you build the package locally.

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 ... Next › Last »

fwalch commented on 2016-05-30 19:52

blueyed: I can't reproduce; did you try makepkg -C? If the problem persists, can you open an issue on Github? I think that should be fixed upstream.

blueyed commented on 2016-05-30 00:19

Fails to build for me:

==> Starting pkgver()...
==> Removing existing $pkgdir/ directory...
==> Starting build()...
-- Replacing -O3 in CMAKE_C_FLAGS_RELEASE with -O2.
-- Removing --sort-common from linker flags.
-- Found Iconv
-- Checking Lua interpreter /usr/bin/lua
-- [/usr/bin/lua] The 'lpeg' lua package is required for building Neovim
CMake Error at CMakeLists.txt:395 (message):
A suitable Lua interpreter was not found.

The problem is that it uses /usr/bin/lua and not luajit from makedepends.

This fixes it:

@@ -33,6 +33,7 @@ build() {
-DCMAKE_BUILD_TYPE=Dev \
-DCMAKE_INSTALL_PREFIX=/usr \
-DENABLE_JEMALLOC=ON \
+ -DLUA_PRG=/usr/bin/luajit \
..
make
}

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.

shulhan 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