Package Details: lua-language-server-git 1.8.2.r10.g89c11e87-1

Git Clone URL: https://aur.archlinux.org/lua-language-server-git.git (read-only, click to copy)
Package Base: lua-language-server-git
Description: Lua Language Server coded by Lua
Upstream URL: https://github.com/sumneko/lua-language-server
Licenses: MIT
Submitter: MoSal
Maintainer: KokaKiwi
Last Packager: KokaKiwi
Votes: 5
Popularity: 0.021276
First Submitted: 2019-08-15 19:05
Last Updated: 2020-12-30 12:04

Latest Comments

1 2 Next › Last »

therisen06 commented on 2020-12-08 07:52

Still broken for me. Directories need to be created recursively:

diff -rupN old/library.lua new/library.lua
--- old/library.lua 2020-12-08 08:43:23.756092023 +0100
+++ new/library.lua 2020-12-08 08:43:33.945957321 +0100
@@ -179,7 +179,7 @@ local function compileMetaDoc()

     m.metaPath = metapath:string()
     m.metaPaths = {}
-    fs.create_directory(metapath)
+    fs.create_directories(metapath)
     local templateDir = ROOT / 'meta' / 'template'
     for fullpath in templateDir:list_directory() do
         local filename = fullpath:filename() 

wbthomason commented on 2020-11-28 03:27

Also, I believe the PKGBUILD needs to copy the meta/template directory during the install step

wbthomason commented on 2020-11-26 23:56

@KokaKiwi: Sorry, but I think the paths patch needs more changes - I'm getting an error from line 182 of script/library.lua right now, when it tries to create a directory in ROOT / 'meta' / config.config.runtime.meta... (it looks like this might happen a few other places too).

wbthomason commented on 2020-11-21 01:35

@KokaKiwi: It looks like the patch needs updating again; it's failing to apply.

sommerfeld commented on 2020-09-23 11:35

Patches need to be updated since they fail:

==> Starting prepare()...
Submodule '3rd/bee.lua' (https://github.com/actboy168/bee.lua) registered for path '3rd/bee.lua'
Submodule '3rd/lni' (https://github.com/actboy168/lni) registered for path '3rd/lni'
Submodule '3rd/lpeglabel' (https://github.com/sqmedeiros/lpeglabel) registered for path '3rd/lpeglabel'
Submodule '3rd/luamake' (https://github.com/actboy168/luamake) registered for path '3rd/luamake'
Submodule '3rd/rcedit' (https://github.com/electron/rcedit) registered for path '3rd/rcedit'
Cloning into '/tmp/makepkg/lua-language-server-git/src/lua-language-server/3rd/bee.lua'...
Cloning into '/tmp/makepkg/lua-language-server-git/src/lua-language-server/3rd/lni'...
Cloning into '/tmp/makepkg/lua-language-server-git/src/lua-language-server/3rd/lpeglabel'...
Cloning into '/tmp/makepkg/lua-language-server-git/src/lua-language-server/3rd/luamake'...
Cloning into '/tmp/makepkg/lua-language-server-git/src/lua-language-server/3rd/rcedit'...
Submodule path '3rd/bee.lua': checked out 'afe9af64f9989aee901aa32ca1a761233e9f2cb4'
Submodule path '3rd/lni': checked out '8222dc4faa62183a594f44466ebcd39ab91632c7'
Submodule path '3rd/lpeglabel': checked out '635a51b5c88e958c27b26e049c639ea774946367'
Submodule path '3rd/luamake': checked out '5130d22bf59c0ce23d7b9cd1f33234ed252f9a05'
Submodule '3rd/bee.lua' (https://github.com/actboy168/bee.lua) registered for path '3rd/luamake/3rd/bee.lua'
Cloning into '/tmp/makepkg/lua-language-server-git/src/lua-language-server/3rd/luamake/3rd/bee.lua'...
Submodule path '3rd/luamake/3rd/bee.lua': checked out '84f130e42bc54816a599c1b8f9548c492619f423'
Submodule path '3rd/rcedit': checked out 'b807b34a644c86c0b0d89c7f073967e79202731a'
error: patch failed: main-beta.lua:1
error: main-beta.lua: patch does not apply
error: patch failed: main.lua:1
error: main.lua: patch does not apply
==> ERROR: A failure occurred in prepare().
    Aborting...

wbthomason commented on 2020-06-24 15:31

No worries, thanks!

KokaKiwi commented on 2020-06-24 11:27

Oops sorry, got the problem here, shouldn't make the fix while being sleep-deprived uh will fix this asap

wbthomason commented on 2020-06-23 20:11

@KokaKiwi: Unfortunately, script/workspace.lua still needs to be patched in the same way, it's just that the original patch was no longer valid (according to git). Could you please fix the patch to appropriately modify workspace.lua? The original problem of using an unwriteable log dir happens if it is not patched.

wbthomason commented on 2020-06-22 15:28

0001-Fix-paths.patch is no longer valid - script/workspace.lua has changed.

wbthomason commented on 2020-06-08 14:47

@KokaKiwi: Thanks for the temporary patch, but you also need to patch 3rd/luamake/3rd/bee.lua/ninja/linux.ninja, or else the test failure will still be triggered while building luamake.

If anyone else is experiencing this build failure, please add information to https://github.com/actboy168/bee.lua/issues/8 to help this get fixed.