Summary: | app-editors/neovim-0.2.2-r1 does not respect USE=-luajit | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Khumba <bog> |
Component: | Current packages | Assignee: | Vim Maintainers <vim> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge --info
build.log |
Created attachment 513572 [details]
emerge --info
Created attachment 513574 [details]
build.log
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=15dd089f16501e34ad722e32a32068d911cb4fae commit 15dd089f16501e34ad722e32a32068d911cb4fae Author: Patrice Clement <monsieurp@gentoo.org> AuthorDate: 2018-01-07 21:46:34 +0000 Commit: Patrice Clement <monsieurp@gentoo.org> CommitDate: 2018-01-07 21:52:03 +0000 app-editors/neovim: add PREFER_LUA CMake option. This option allows neovim to build even when the luajit USE flag is disabled. Courtesy of Kumba <gentoo-bugs-72052@khumba.net>. Closes: https://bugs.gentoo.org/643752 Package-Manager: Portage-2.3.13, Repoman-2.3.3 app-editors/neovim/neovim-0.2.0-r1.ebuild | 1 + app-editors/neovim/neovim-0.2.2-r1.ebuild | 1 + app-editors/neovim/neovim-9999.ebuild | 1 + 3 files changed, 3 insertions(+) |
I set USE=-luajit to stop neovim-0.2.2-r1 from pulling in unstable luajit (I'm on mostly stable amd64), but the build still requires it: > CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:137 (message): > Could NOT find LuaJit (missing: LUAJIT_LIBRARY LUAJIT_INCLUDE_DIR) > Call Stack (most recent call first): > /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:377 (_FPHSA_FAILURE_MESSAGE) > cmake/FindLuaJit.cmake:52 (find_package_handle_standard_args) > CMakeLists.txt:324 (find_package) Looking at CMakeLists.txt, the PREFER_LUA option needs to be on in order to enable use of regular Lua over LuaJIT. It builds if I add -DPREFER_LUA=$(usex luajit no yes) to src_configure's mycmakeargs array. I haven't checked whether the other neovim ebuilds have this issue.