lewis6991 / impatient.nvim

Improve startup time for Neovim
MIT License
1.19k stars 28 forks source link

make command exits with error #49

Closed emirror-de closed 2 years ago

emirror-de commented 2 years ago

Hi there, I just tried to add this project to my configuration. For this I did the following steps:

This failed and produced the output as below. What am I missing?

Thanks in advance!

git clone --depth 1 https://github.com/neovim/neovim --branch master neovim-master
make -C neovim-master
make[1]: Entering directory '/home/user/.config/nvim/plugged/impatient.nvim/neovim-master'
mkdir -p ".deps"
cd .deps && \
    cmake -G 'Ninja'   \
     /home/user/.config/nvim/plugged/impatient.nvim/neovim-master//third-party
-- The C compiler identification is GNU 11.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Performing Test HAS_OG_FLAG
-- Performing Test HAS_OG_FLAG - Success
-- Found GNU Make at /usr/bin/gmake
-- The CXX compiler identification is GNU 11.2.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.2") 
-- Performing Test HAS_NO_STACK_CHECK
-- Performing Test HAS_NO_STACK_CHECK - Success
-- Configuring done
-- Generating done
-- Build files have been written to: /home/user/.config/nvim/plugged/impatient.nvim/neovim-master/.deps
mkdir -p build
touch build/.ran-third-party-cmake
ninja  -C .deps
ninja: Entering directory `.deps'
[1/106] Creating directories for 'libuv'
[2/106] Creating directories for 'msgpack'
[3/106] Creating directories for 'luajit'
[4/106] Creating directories for 'treesitter-c'
[5/106] Creating directories for 'libvterm'
[6/106] Creating directories for 'lua-compat-5.3'
[7/106] Creating directories for 'tree-sitter'
[8/106] Creating directories for 'unibilium'
[9/106] Creating directories for 'gperf'
[10/106] Performing download step for 'libvterm'
-- file: /home/user/.config/nvim/plugged/impatient.nvim/neovim-master/.deps/build/downloads/libvterm/libvterm-0.1.4.tar.gz
-- downloading...
       src='https://www.leonerd.org.uk/code/libvterm/libvterm-0.1.4.tar.gz'
       dst='/home/user/.config/nvim/plugged/impatient.nvim/neovim-master/.deps/build/downloads/libvterm/libvterm-0.1.4.tar.gz'
       timeout='none'
-- downloading... done
-- extracting...
     src='/home/user/.config/nvim/plugged/impatient.nvim/neovim-master/.deps/build/downloads/libvterm/libvterm-0.1.4.tar.gz'
     dst='/home/user/.config/nvim/plugged/impatient.nvim/neovim-master/.deps/build/src/libvterm'
-- extracting... [tar xfz]
-- extracting... [analysis]
-- extracting... [rename]
-- extracting... [clean binary dir]
-- extracting... [clean up]
-- extracting... done
[11/106] No update step for 'libvterm'
[12/106] No patch step for 'libvterm'
[13/106] No configure step for 'libvterm'
[14/106] No build step for 'libvterm'
[15/106] Performing install step for 'libvterm'
FAILED: build/src/libvterm-stamp/libvterm-install /home/user/.config/nvim/plugged/impatient.nvim/neovim-master/.deps/build/src/libvterm-stamp/libvterm-install 
cd /home/user/.config/nvim/plugged/impatient.nvim/neovim-master/.deps/build/src/libvterm && /usr/bin/gmake CC=/usr/bin/cc PREFIX=/home/user/.config/nvim/plugged/impatient.nvim/neovim-master/.deps/usr CFLAGS=-fPIC LDFLAGS+=-static CFLAGS+=-Og CFLAGS+=-g install && /usr/bin/cmake -E touch /home/user/.config/nvim/plugged/impatient.nvim/neovim-master/.deps/build/src/libvterm-stamp/libvterm-install
gmake[2]: Entering directory '/home/user/.config/nvim/plugged/impatient.nvim/neovim-master/.deps/build/src/libvterm'
install -d /home/user/.config/nvim/plugged/impatient.nvim/neovim-master/.deps/usr/include
install -m644 include/vterm.h include/vterm_keycodes.h /home/user/.config/nvim/plugged/impatient.nvim/neovim-master/.deps/usr/include
install -d /home/user/.config/nvim/plugged/impatient.nvim/neovim-master/.deps/usr/lib/pkgconfig
sed -e "s,@PREFIX@,/home/user/.config/nvim/plugged/impatient.nvim/neovim-master/.deps/usr," -e "s,@LIBDIR@,/home/user/.config/nvim/plugged/impatient.nvim/neovim-master/.deps/usr/lib," -e "s,@VERSION@,0.1.4," <vterm.pc.in >/home/user/.config/nvim/plugged/impatient.nvim/neovim-master/.deps/usr/lib/pkgconfig/vterm.pc
CC src/encoding.c
gmake[2]: libtool: No such file or directory
gmake[2]: *** [Makefile:60: src/encoding.lo] Error 127
gmake[2]: Leaving directory '/home/user/.config/nvim/plugged/impatient.nvim/neovim-master/.deps/build/src/libvterm'
[16/106] Performing download step for 'lua-compat-5.3'
-- file: /home/user/.config/nvim/plugged/impatient.nvim/neovim-master/.deps/build/downloads/lua-compat-5.3/v0.9.tar.gz
-- downloading...
       src='https://github.com/keplerproject/lua-compat-5.3/archive/v0.9.tar.gz'
       dst='/home/user/.config/nvim/plugged/impatient.nvim/neovim-master/.deps/build/downloads/lua-compat-5.3/v0.9.tar.gz'
       timeout='none'
-- downloading... done
-- extracting...
     src='/home/user/.config/nvim/plugged/impatient.nvim/neovim-master/.deps/build/downloads/lua-compat-5.3/v0.9.tar.gz'
     dst='/home/user/.config/nvim/plugged/impatient.nvim/neovim-master/.deps/build/src/lua-compat-5.3'
-- extracting... [tar xfz]
-- extracting... [analysis]
-- extracting... [rename]
-- extracting... [clean binary dir]
-- extracting... [clean up]
-- extracting... done
[17/106] Performing download step for 'gperf'
-- file: /home/user/.config/nvim/plugged/impatient.nvim/neovim-master/.deps/build/downloads/gperf/gperf-3.1.tar.gz
-- downloading...
       src='https://github.com/neovim/deps/raw/ff5b4b18a87397a8564016071ae64f64bcd8c635/opt/gperf-3.1.tar.gz'
       dst='/home/user/.config/nvim/plugged/impatient.nvim/neovim-master/.deps/build/downloads/gperf/gperf-3.1.tar.gz'
       timeout='none'
-- downloading... done
-- extracting...
     src='/home/user/.config/nvim/plugged/impatient.nvim/neovim-master/.deps/build/downloads/gperf/gperf-3.1.tar.gz'
     dst='/home/user/.config/nvim/plugged/impatient.nvim/neovim-master/.deps/build/src/gperf'
-- extracting... [tar xfz]
-- extracting... [analysis]
-- extracting... [rename]
-- extracting... [clean binary dir]
-- extracting... [clean up]
-- extracting... done
[18/106] Performing download step for 'unibilium'
-- file: /home/user/.config/nvim/plugged/impatient.nvim/neovim-master/.deps/build/downloads/unibilium/92d929f.tar.gz
-- downloading...
       src='https://github.com/neovim/unibilium/archive/92d929f.tar.gz'
       dst='/home/user/.config/nvim/plugged/impatient.nvim/neovim-master/.deps/build/downloads/unibilium/92d929f.tar.gz'
       timeout='none'
-- downloading... done
-- extracting...
     src='/home/user/.config/nvim/plugged/impatient.nvim/neovim-master/.deps/build/downloads/unibilium/92d929f.tar.gz'
     dst='/home/user/.config/nvim/plugged/impatient.nvim/neovim-master/.deps/build/src/unibilium'
-- extracting... [tar xfz]
-- extracting... [analysis]
-- extracting... [rename]
-- extracting... [clean binary dir]
-- extracting... [clean up]
-- extracting... done
[19/106] Performing download step for 'luajit'
-- file: /home/user/.config/nvim/plugged/impatient.nvim/neovim-master/.deps/build/downloads/luajit/1d20f33d2905db55fb7191076bbac10f570f9175.tar.gz
-- downloading...
       src='https://github.com/LuaJIT/LuaJIT/archive/1d20f33d2905db55fb7191076bbac10f570f9175.tar.gz'
       dst='/home/user/.config/nvim/plugged/impatient.nvim/neovim-master/.deps/build/downloads/luajit/1d20f33d2905db55fb7191076bbac10f570f9175.tar.gz'
       timeout='none'
-- downloading... done
-- extracting...
     src='/home/user/.config/nvim/plugged/impatient.nvim/neovim-master/.deps/build/downloads/luajit/1d20f33d2905db55fb7191076bbac10f570f9175.tar.gz'
     dst='/home/user/.config/nvim/plugged/impatient.nvim/neovim-master/.deps/build/src/luajit'
-- extracting... [tar xfz]
-- extracting... [analysis]
-- extracting... [rename]
-- extracting... [clean binary dir]
-- extracting... [clean up]
-- extracting... done
[20/106] Performing download step for 'treesitter-c'
-- file: /home/user/.config/nvim/plugged/impatient.nvim/neovim-master/.deps/build/downloads/treesitter-c/v0.20.1.tar.gz
-- downloading...
       src='https://github.com/tree-sitter/tree-sitter-c/archive/v0.20.1.tar.gz'
       dst='/home/user/.config/nvim/plugged/impatient.nvim/neovim-master/.deps/build/downloads/treesitter-c/v0.20.1.tar.gz'
       timeout='none'
-- downloading... done
-- extracting...
     src='/home/user/.config/nvim/plugged/impatient.nvim/neovim-master/.deps/build/downloads/treesitter-c/v0.20.1.tar.gz'
     dst='/home/user/.config/nvim/plugged/impatient.nvim/neovim-master/.deps/build/src/treesitter-c'
-- extracting... [tar xfz]
-- extracting... [analysis]
-- extracting... [rename]
-- extracting... [clean binary dir]
-- extracting... [clean up]
-- extracting... done
[21/106] Performing download step for 'msgpack'
-- file: /home/user/.config/nvim/plugged/impatient.nvim/neovim-master/.deps/build/downloads/msgpack/msgpack-3.0.0.tar.gz
-- downloading...
       src='https://github.com/msgpack/msgpack-c/releases/download/cpp-3.0.0/msgpack-3.0.0.tar.gz'
       dst='/home/user/.config/nvim/plugged/impatient.nvim/neovim-master/.deps/build/downloads/msgpack/msgpack-3.0.0.tar.gz'
       timeout='none'
-- downloading... done
-- extracting...
     src='/home/user/.config/nvim/plugged/impatient.nvim/neovim-master/.deps/build/downloads/msgpack/msgpack-3.0.0.tar.gz'
     dst='/home/user/.config/nvim/plugged/impatient.nvim/neovim-master/.deps/build/src/msgpack'
-- extracting... [tar xfz]
-- extracting... [analysis]
-- extracting... [rename]
-- extracting... [clean binary dir]
-- extracting... [clean up]
-- extracting... done
[22/106] Performing download step for 'libuv'
-- file: /home/user/.config/nvim/plugged/impatient.nvim/neovim-master/.deps/build/downloads/libuv/v1.44.0.tar.gz
-- downloading...
       src='https://github.com/libuv/libuv/archive/v1.44.0.tar.gz'
       dst='/home/user/.config/nvim/plugged/impatient.nvim/neovim-master/.deps/build/downloads/libuv/v1.44.0.tar.gz'
       timeout='none'
-- downloading... done
-- extracting...
     src='/home/user/.config/nvim/plugged/impatient.nvim/neovim-master/.deps/build/downloads/libuv/v1.44.0.tar.gz'
     dst='/home/user/.config/nvim/plugged/impatient.nvim/neovim-master/.deps/build/src/libuv'
-- extracting... [tar xfz]
-- extracting... [analysis]
-- extracting... [rename]
-- extracting... [clean binary dir]
-- extracting... [clean up]
-- extracting... done
[23/106] Performing download step for 'tree-sitter'
-- file: /home/user/.config/nvim/plugged/impatient.nvim/neovim-master/.deps/build/downloads/tree-sitter/v0.20.6.tar.gz
-- downloading...
       src='https://github.com/tree-sitter/tree-sitter/archive/v0.20.6.tar.gz'
       dst='/home/user/.config/nvim/plugged/impatient.nvim/neovim-master/.deps/build/downloads/tree-sitter/v0.20.6.tar.gz'
       timeout='none'
-- downloading... done
-- extracting...
     src='/home/user/.config/nvim/plugged/impatient.nvim/neovim-master/.deps/build/downloads/tree-sitter/v0.20.6.tar.gz'
     dst='/home/user/.config/nvim/plugged/impatient.nvim/neovim-master/.deps/build/src/tree-sitter'
-- extracting... [tar xfz]
-- extracting... [analysis]
-- extracting... [rename]
-- extracting... [clean binary dir]
-- extracting... [clean up]
-- extracting... done
ninja: build stopped: subcommand failed.
make[1]: Leaving directory '/home/user/.config/nvim/plugged/impatient.nvim/neovim-master'
make[1]: *** [Makefile:107: deps] Error 1
make: *** [Makefile:14: neovim-master] Error 2
lewis6991 commented 2 years ago

Why are you running make?

emirror-de commented 2 years ago

Oh, because I thought it would be required before using is possible. But I see now that it is just for CI. Thanks for the hint! :)