Closed hsanson closed 1 year ago
It seems like git needs to be installed for it, but not clear why:
-- Could NOT find Git (missing: GIT_EXECUTABLE) CMake Error at CMakeLists.txt:69 (message): Git is required to apply patches.
Thanks, added git with apk add git
before running install_vim and it got a little further. Now it fails to find tree-sitter that I understand is not available in Alpine. Tries setting the USE_BUNDLED_TS_PARSES but also failed to build:
-- Found Threads: TRUE
-- Found LibUV: /usr/lib/libuv.so (Required is at least version "1.28.0")
-- Found Msgpack: /usr/lib/libmsgpackc.so (found suitable version "3.3.0", minimum required is "1.0.0")
-- Found LibLUV: /usr/lib/libluv.so (Required is at least version "1.43.0")
CMake Error at cmake/LibFindMacros.cmake:263 (message):
REQUIRED PACKAGE NOT FOUND
We could not find development headers for TreeSitter. Do you have the
necessary dev package installed? This package is REQUIRED and you need to
install it or adjust CMake configuration in order to continue building
nvim.
Relevant CMake configuration variables:
TreeSitter_INCLUDE_DIR=<not found>
TreeSitter_LIBRARY=<not found>
You may use CMake GUI, cmake -D or ccmake to modify the values. Delete
CMakeCache.txt to discard all values and force full re-detection if
necessary.
Call Stack (most recent call first):
cmake/FindTreeSitter.cmake:11 (libfind_process)
CMakeLists.txt:416 (find_package)
-- Configuring incomplete, errors occurred!
See also "/vim/neovim-neovim/neovim-v0.8.0/build/CMakeFiles/CMakeOutput.log".
See also "/vim/neovim-neovim/neovim-v0.8.0/build/CMakeFiles/CMakeError.log".
make[1]: *** [Makefile:96: build/.ran-cmake] Error 1
make[1]: Leaving directory '/vim/neovim-neovim/neovim-v0.8.0'
make: *** [Makefile:93: cmake] Error 2
+ bail 'make cmake failed'
+ echo 'make cmake failed'
make cmake failed
+ exit 1
Thanks for investigating further. A fix for this is in https://github.com/Vimjas/vim-testbed/pull/83, but has not the git package added yet. What's your patch for this? I will look into fixing this later.
I just added RUN apk add git
to the Dockerfile file after the upgrade command RUN apk --no-cache upgrade