I succeed to complie the latest version,but when I use git to checkout stable version to compile is fail
the error as following:
mkdir -p ".deps"
cd .deps && \
cmake -G 'Unix Makefiles' \
/home/arrake/tmp/neovim//cmake.deps
-- The C compiler identification is GNU 9.3.1
-- Check for working C compiler: /opt/rh/devtoolset-9/root/usr/bin/cc
-- Check for working C compiler: /opt/rh/devtoolset-9/root/usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- CMAKE_BUILD_TYPE not specified, default is 'Debug'
-- Performing Test HAS_OG_FLAG
-- Performing Test HAS_OG_FLAG - Success
-- Found Git: /usr/bin/git (found version "1.8.3.1")
-- Found GNU Make at /usr/bin/gmake
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.27.1")
-- Performing Test HAS_NO_STACK_CHECK
-- Performing Test HAS_NO_STACK_CHECK - Success
-- Configuring done
-- Generating done
-- Build files have been written to: /home/arrake/tmp/neovim/.deps
mkdir -p build
touch build/.ran-deps-cmake
make -C .deps
make[1]: Entering directory `/home/arrake/tmp/neovim/.deps'
make[2]: Entering directory `/home/arrake/tmp/neovim/.deps'
make[3]: Entering directory `/home/arrake/tmp/neovim/.deps'
Scanning dependencies of target msgpack
make[3]: Leaving directory `/home/arrake/tmp/neovim/.deps'
make[3]: Entering directory `/home/arrake/tmp/neovim/.deps'
[ 1%] Creating directories for 'msgpack'
[ 2%] Performing download step for 'msgpack'
-- file: /home/arrake/tmp/neovim/.deps/build/downloads/msgpack/msgpack-c-4.0.0.tar.gz
-- downloading...
src='https://github.com/msgpack/msgpack-c/releases/download/c-4.0.0/msgpack-c-4.0.0.tar.gz'
dst='/home/arrake/tmp/neovim/.deps/build/downloads/msgpack/msgpack-c-4.0.0.tar.gz'
timeout='none'
-- downloading... done
-- extracting...
src='/home/arrake/tmp/neovim/.deps/build/downloads/msgpack/msgpack-c-4.0.0.tar.gz'
dst='/home/arrake/tmp/neovim/.deps/build/src/msgpack'
-- extracting... [tar xfz]
-- extracting... [analysis]
-- extracting... [rename]
-- extracting... [clean binary dir]
-- extracting... [clean up]
-- extracting... done
[ 2%] No patch step for 'msgpack'
[ 3%] No update step for 'msgpack'
[ 4%] Performing configure step for 'msgpack'
-- The C compiler identification is GNU 9.3.1
-- The CXX compiler identification is GNU 9.3.1
-- Check for working C compiler: /opt/rh/devtoolset-9/root/usr/bin/cc
-- Check for working C compiler: /opt/rh/devtoolset-9/root/usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /opt/rh/devtoolset-9/root/usr/bin/c++
-- Check for working CXX compiler: /opt/rh/devtoolset-9/root/usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Check if the system is big endian
-- Searching 16 bit integer
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of unsigned short
-- Check size of unsigned short - done
-- Using unsigned short
-- Check if the system is big endian - little endian
-- Could NOT find GTest (missing: GTEST_LIBRARY GTEST_INCLUDE_DIR GTEST_MAIN_LIBRARY)
-- Could NOT find ZLIB (missing: ZLIB_LIBRARY ZLIB_INCLUDE_DIR)
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
-- Configuring done
-- Generating done
-- Build files have been written to: /home/arrake/tmp/neovim/.deps/build/src/msgpack-build
[ 5%] Performing build step for 'msgpack'
gmake[4]: Entering directory `/home/arrake/tmp/neovim/.deps/build/src/msgpack-build'
gmake[5]: Entering directory `/home/arrake/tmp/neovim/.deps/build/src/msgpack-build'
gmake[6]: Entering directory `/home/arrake/tmp/neovim/.deps/build/src/msgpack-build'
Scanning dependencies of target msgpackc
gmake[6]: Leaving directory `/home/arrake/tmp/neovim/.deps/build/src/msgpack-build'
gmake[6]: Entering directory `/home/arrake/tmp/neovim/.deps/build/src/msgpack-build'
[ 8%] Building C object CMakeFiles/msgpackc.dir/src/objectc.c.o
[ 16%] Building C object CMakeFiles/msgpackc.dir/src/unpack.c.o
[ 25%] Building C object CMakeFiles/msgpackc.dir/src/version.c.o
[ 33%] Building C object CMakeFiles/msgpackc.dir/src/vrefbuffer.c.o
[ 41%] Building C object CMakeFiles/msgpackc.dir/src/zone.c.o
[ 50%] Linking C shared library libmsgpackc.so
gmake[6]: Leaving directory `/home/arrake/tmp/neovim/.deps/build/src/msgpack-build'
[ 50%] Built target msgpackc
gmake[6]: Entering directory `/home/arrake/tmp/neovim/.deps/build/src/msgpack-build'
Scanning dependencies of target msgpackc-static
gmake[6]: Leaving directory `/home/arrake/tmp/neovim/.deps/build/src/msgpack-build'
gmake[6]: Entering directory `/home/arrake/tmp/neovim/.deps/build/src/msgpack-build'
[ 58%] Building C object CMakeFiles/msgpackc-static.dir/src/objectc.c.o
[ 66%] Building C object CMakeFiles/msgpackc-static.dir/src/unpack.c.o
[ 75%] Building C object CMakeFiles/msgpackc-static.dir/src/version.c.o
[ 83%] Building C object CMakeFiles/msgpackc-static.dir/src/vrefbuffer.c.o
[ 91%] Building C object CMakeFiles/msgpackc-static.dir/src/zone.c.o
[100%] Linking C static library libmsgpackc.a
gmake[6]: Leaving directory `/home/arrake/tmp/neovim/.deps/build/src/msgpack-build'
[100%] Built target msgpackc-static
gmake[5]: Leaving directory `/home/arrake/tmp/neovim/.deps/build/src/msgpack-build'
gmake[4]: Leaving directory `/home/arrake/tmp/neovim/.deps/build/src/msgpack-build'
[ 6%] Performing install step for 'msgpack'
gmake[4]: Entering directory `/home/arrake/tmp/neovim/.deps/build/src/msgpack-build'
gmake[5]: Entering directory `/home/arrake/tmp/neovim/.deps/build/src/msgpack-build'
gmake[6]: Entering directory `/home/arrake/tmp/neovim/.deps/build/src/msgpack-build'
gmake[6]: Leaving directory `/home/arrake/tmp/neovim/.deps/build/src/msgpack-build'
[ 50%] Built target msgpackc
gmake[6]: Entering directory `/home/arrake/tmp/neovim/.deps/build/src/msgpack-build'
gmake[6]: Leaving directory `/home/arrake/tmp/neovim/.deps/build/src/msgpack-build'
[100%] Built target msgpackc-static
gmake[5]: Leaving directory `/home/arrake/tmp/neovim/.deps/build/src/msgpack-build'
Install the project...
-- Install configuration: ""
-- Installing: /home/arrake/tmp/neovim/.deps/usr/lib/libmsgpackc.so.2.0.0
-- Installing: /home/arrake/tmp/neovim/.deps/usr/lib/libmsgpackc.so.2
-- Installing: /home/arrake/tmp/neovim/.deps/usr/lib/libmsgpackc.so
-- Installing: /home/arrake/tmp/neovim/.deps/usr/lib/libmsgpackc.a
-- Installing: /home/arrake/tmp/neovim/.deps/usr/include/msgpack.h
-- Installing: /home/arrake/tmp/neovim/.deps/usr/include/msgpack/fbuffer.h
-- Installing: /home/arrake/tmp/neovim/.deps/usr/include/msgpack/gcc_atomic.h
-- Installing: /home/arrake/tmp/neovim/.deps/usr/include/msgpack/object.h
-- Installing: /home/arrake/tmp/neovim/.deps/usr/include/msgpack/pack.h
-- Installing: /home/arrake/tmp/neovim/.deps/usr/include/msgpack/pack_define.h
-- Installing: /home/arrake/tmp/neovim/.deps/usr/include/msgpack/sbuffer.h
-- Installing: /home/arrake/tmp/neovim/.deps/usr/include/msgpack/timestamp.h
-- Installing: /home/arrake/tmp/neovim/.deps/usr/include/msgpack/unpack.h
-- Installing: /home/arrake/tmp/neovim/.deps/usr/include/msgpack/unpack_define.h
-- Installing: /home/arrake/tmp/neovim/.deps/usr/include/msgpack/unpack_template.h
-- Installing: /home/arrake/tmp/neovim/.deps/usr/include/msgpack/util.h
-- Installing: /home/arrake/tmp/neovim/.deps/usr/include/msgpack/version.h
-- Installing: /home/arrake/tmp/neovim/.deps/usr/include/msgpack/version_master.h
-- Installing: /home/arrake/tmp/neovim/.deps/usr/include/msgpack/vrefbuffer.h
-- Installing: /home/arrake/tmp/neovim/.deps/usr/include/msgpack/zbuffer.h
-- Installing: /home/arrake/tmp/neovim/.deps/usr/include/msgpack/zone.h
-- Installing: /home/arrake/tmp/neovim/.deps/usr/include/msgpack/pack_template.h
-- Installing: /home/arrake/tmp/neovim/.deps/usr/include/msgpack/sysdep.h
-- Installing: /home/arrake/tmp/neovim/.deps/usr/lib/pkgconfig/msgpack.pc
-- Installing: /home/arrake/tmp/neovim/.deps/usr/lib/cmake/msgpack/msgpack-targets.cmake
-- Installing: /home/arrake/tmp/neovim/.deps/usr/lib/cmake/msgpack/msgpack-targets-noconfig.cmake
-- Installing: /home/arrake/tmp/neovim/.deps/usr/lib/cmake/msgpack/msgpack-config.cmake
-- Installing: /home/arrake/tmp/neovim/.deps/usr/lib/cmake/msgpack/msgpack-config-version.cmake
gmake[4]: Leaving directory `/home/arrake/tmp/neovim/.deps/build/src/msgpack-build'
[ 7%] Completed 'msgpack'
make[3]: Leaving directory `/home/arrake/tmp/neovim/.deps'
[ 7%] Built target msgpack
make[3]: Entering directory `/home/arrake/tmp/neovim/.deps'
Scanning dependencies of target libuv
make[3]: Leaving directory `/home/arrake/tmp/neovim/.deps'
make[3]: Entering directory `/home/arrake/tmp/neovim/.deps'
[ 8%] Creating directories for 'libuv'
[ 9%] Performing download step for 'libuv'
-- file: /home/arrake/tmp/neovim/.deps/build/downloads/libuv/v1.44.2.tar.gz
-- downloading...
src='https://github.com/libuv/libuv/archive/v1.44.2.tar.gz'
dst='/home/arrake/tmp/neovim/.deps/build/downloads/libuv/v1.44.2.tar.gz'
timeout='none'
-- downloading... done
-- extracting...
src='/home/arrake/tmp/neovim/.deps/build/downloads/libuv/v1.44.2.tar.gz'
dst='/home/arrake/tmp/neovim/.deps/build/src/libuv'
-- extracting... [tar xfz]
-- extracting... [analysis]
-- extracting... [rename]
-- extracting... [clean binary dir]
-- extracting... [clean up]
-- extracting... done
[ 10%] Performing patch step for 'libuv'
Unknown option: -C
usage: git [--version] [--help] [-c name=value]
[--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]
[-p|--paginate|--no-pager] [--no-replace-objects] [--bare]
[--git-dir=<path>] [--work-tree=<path>] [--namespace=<name>]
<command> [<args>]
make[3]: *** [build/src/libuv-stamp/libuv-patch] Error 129
make[3]: Leaving directory `/home/arrake/tmp/neovim/.deps'
make[2]: *** [CMakeFiles/libuv.dir/all] Error 2
make[2]: Leaving directory `/home/arrake/tmp/neovim/.deps'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/arrake/tmp/neovim/.deps'
make: *** [deps] Error 2