Package Details: lunarvim-git 0.5.1.r427.g044b53a6-3

Git Clone URL: https://aur.archlinux.org/lunarvim-git.git (read-only, click to copy)
Package Base: lunarvim-git
Description: An IDE layer for Neovim with sane defaults. Completely free and community driven.
Upstream URL: https://github.com/LunarVim/LunarVim
Keywords: lunarvim neovim
Licenses: GPL3
Submitter: edward-p
Maintainer: None
Last Packager: Direct-A
Votes: 1
Popularity: 0.003016
First Submitted: 2021-08-08 18:14 (UTC)
Last Updated: 2021-11-23 07:50 (UTC)

Pinned Comments

Direct-A commented on 2021-11-04 15:00 (UTC)

Now the Tree-sitter module installation hang on problem is fixed.

Latest Comments

prometheus commented on 2022-06-05 16:17 (UTC) (edited on 2022-06-05 16:17 (UTC) by prometheus)

In the PKGBUILD file, changing this line

cp -r {colors,ftdetect,lua,init.lua} "${pkgdir}/usr/share/lunarvim"

to this

cp -r {ftdetect,lua,init.lua} "${pkgdir}/usr/share/lunarvim"

resulted in successful installation albiet with couple warnings:

==> Starting build()...
Error detected while processing command line:
E5108: Error executing lua ...-git/src/nvim-treesitter/lua/nvim-treesitter/install.lua:348: Parser not available for language perl
stack traceback:
    [C]: in function 'get_parser_install_info'
    ...-git/src/nvim-treesitter/lua/nvim-treesitter/install.lua:348: in function 'install_lang'
    ...-git/src/nvim-treesitter/lua/nvim-treesitter/install.lua:397: in function <...-git/src/nvim-treesitter/lua/nvim-treesitter/install.lua:360>
    ...-git/src/nvim-treesitter/lua/nvim-treesitter/install.lua:416: in function 'run'
    [string ":lua"]:1: in main chunkError detected while processing command line:
E5108: Error executing lua ...-git/src/nvim-treesitter/lua/nvim-treesitter/install.lua:348: Parser not available for language Tree-sitterquerylanguage
stack traceback:
    [C]: in function 'get_parser_install_info'
    ...-git/src/nvim-treesitter/lua/nvim-treesitter/install.lua:348: in function 'install_lang'
    ...-git/src/nvim-treesitter/lua/nvim-treesitter/install.lua:397: in function <...-git/src/nvim-treesitter/lua/nvim-treesitter/install.lua:360>
    ...-git/src/nvim-treesitter/lua/nvim-treesitter/install.lua:416: in function 'run'
    [string ":lua"]:1: in main chunk

prometheus commented on 2022-05-30 12:56 (UTC)

I still have the same issue as @PotHix:

==> Entering fakeroot environment...
==> Starting package()...
cp: cannot stat 'colors': No such file or directory
==> ERROR: A failure occurred in package().
    Aborting...
 -> error making: lunarvim-git

PotHix commented on 2022-03-22 13:05 (UTC)

Not working for me. It seems some directory or file is not being created:

Treesitter parser for zig has been installed==> Entering fakeroot environment...
==> Starting package()...
cp: cannot stat 'colors': No such file or directory
==> ERROR: A failure occurred in package().
    Aborting...

pancho commented on 2021-12-18 06:54 (UTC) (edited on 2021-12-18 06:55 (UTC) by pancho)

Hi! Since a week or so, running /usr/share/lunarvim/init-lvim.sh fails at this step:

==> Generate the new ftplugin template files..
lvim --headless +LvimUpdate +q
07:10:04 [ERROR] lvim: "Update failed! Check the log for further information" file="bootstrap.lua", line=150

The relevant log lines are:

07:10:04 [DEBUG] lvim: { "fatal: not a git repository (or any of the parent directories): .git" } file="lvim/lua/lvim/bootstrap.lua", line=125
07:10:04 [ERROR] lvim: "Update failed! Check the log for further information" file="lvim/lua/lvim/bootstrap.lua", line=150

Which are produced when calling the function M:update_repo() @ /usr/share/lunarvim/lua/lvim/boostrap.lua

I think the issue is that the get_lvim_base_dir() returns an incorrect directory, which is simply base_dir, which is defined on init.lua like this:

local init_path = debug.getinfo(1, "S").source:sub(2)
local base_dir = init_path:match("(.*[/\\])"):sub(1, -2)

My knowledge of lua is pretty much non-existent, so here is where I get lost.

Can you help me? Thanks a bunch!

Direct-A commented on 2021-11-07 03:45 (UTC) (edited on 2021-11-07 03:46 (UTC) by Direct-A)

It seems that you got a customized ${srcdir} please run echo ${srcdir} in the terminal. @ZorinArch

ZorinArch commented on 2021-11-05 13:09 (UTC) (edited on 2021-11-05 13:09 (UTC) by ZorinArch)

I got this error

==> Starting pkgver()...
==> Removing existing $pkgdir/ directory...
==> Starting build()...
Parsers are up-to-date!Parsers are up-to-date!Parsers are up-to-date!Parsers are up-to-date!Parsers are up-to-date!Parsers are up-to-date!Parsers are up-to-date!Parsers are up-to-date!Parsers are up-to-date!Parsers are up-to-date!Parsers are up-to-date!Parsers are up-to-date!Parsers are up-to-date!Parsers are up-to-date!Parsers are up-to-date!Parsers are up-to-date!Parsers are up-to-date!Parsers are up-to-date!Parsers are up-to-date!Parsers are up-to-date!Parsers are up-to-date!Parsers are up-to-date!Parsers are up-to-date!Parsers are up-to-date!Parsers are up-to-date!Parsers are up-to-date!Parsers are up-to-date!Parsers are up-to-date!Parsers are up-to-date!Parsers are up-to-date!Parsers are up-to-date!Parsers are up-to-date!Parsers are up-to-date!Parsers are up-to-date!Parsers are up-to-date!Parsers are up-to-date!Parsers are up-to-date!Parsers are up-to-date!Parsers are up-to-date!Parsers are up-to-date!Parsers are up-to-date!Parsers are up-to-date!Parsers are up-to-date!Parsers are up-to-date!Parsers are up-to-date!Parsers are up-to-date!Parsers are up-to-date!Parsers are up-to-date!Parsers are up-to-date!Parsers are up-to-date!Parsers are up-to-date!Parsers are up-to-date!Parsers are up-to-date!Parsers are up-to-date!Parsers are up-to-date!Parsers are up-to-date!Parsers are up-to-date!Parsers are up-to-date!Parsers are up-to-date!Parsers are up-to-date!Parsers are up-to-date!Parsers are up-to-date!Parsers are up-to-date!Parsers are up-to-date!Parsers are up-to-date!Parsers are up-to-date!Parsers are up-to-date!==> Entering fakeroot environment...
==> Starting package()...
install: cannot stat '~/neovim/lunarvim-git/src/nvim-treesitter/parser/*.so': No such file or directory
==> ERROR: A failure occurred in package().
    Aborting...

Direct-A commented on 2021-11-04 15:00 (UTC)

Now the Tree-sitter module installation hang on problem is fixed.

nightcode commented on 2021-10-30 17:19 (UTC)

The latest version fails to build for me too. It also hangs on the Tree-sitter module installation.

dedguy21 commented on 2021-10-07 15:46 (UTC)

Lunarvim fails to build.

During Tree-sitter module install to tmp folder, it hangs usually at the point of installing verilang module. By hang I mean the process stops running, if I leave that session open, and start a new sessions, then both session will start running again at the same time and point, but obviously leads to errors with main.shada creation.

tomKPZ commented on 2021-09-07 18:37 (UTC)

The latest build appears to have broken.

/home/tom/.cache/yay/lunarvim-git/PKGBUILD: line 45: [: Error detected while processing command line:
E5108: Error executing lua [string ":lua"]:1: module 'nvim-treesitter.parsers' not found:
    no field package.preload['nvim-treesitter.parsers']
    no file './nvim-treesitter/parsers.lua'
    no file '/usr/share/luajit-2.0.5/nvim-treesitter/parsers.lua'
    no file '/usr/local/share/lua/5.1/nvim-treesitter/parsers.lua'
    no file '/usr/local/share/lua/5.1/nvim-treesitter/parsers/init.lua'
    no file '/usr/share/lua/5.1/nvim-treesitter/parsers.lua'
    no file '/usr/share/lua/5.1/nvim-treesitter/parsers/init.lua'
    no file './nvim-treesitter/parsers.so'
    no file '/usr/local/lib/lua/5.1/nvim-treesitter/parsers.so'
    no file '/usr/lib/lua/5.1/nvim-treesitter/parsers.so'
    no file '/usr/local/lib/lua/5.1/loadall.so'
    no file './nvim-treesitter.so'
    no file '/usr/local/lib/lua/5.1/nvim-treesitter.so'
    no file '/usr/lib/lua/5.1/nvim-treesitter.so'
    no file '/usr/local/lib/lua/5.1/loadall.so': integer expression expected
==> Entering fakeroot environment...
==> Starting package()...
install: cannot stat '/home/tom/.cache/yay/lunarvim-git/src/nvim-treesitter/parser/*.so': No such file or directory
==> ERROR: A failure occurred in package().
    Aborting...
error making: lunarvim-git