Package Details: lua-language-server-git 2.5.5.r0.g4f74c75c-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
Conflicts: lua-language-server
Provides: lua-language-server
Submitter: MoSal
Maintainer: KokaKiwi
Last Packager: KokaKiwi
Votes: 11
Popularity: 0.000000
First Submitted: 2019-08-15 19:05 (UTC)
Last Updated: 2021-12-17 11:06 (UTC)

Required by (1)

Sources (2)

Latest Comments

« First ‹ Previous 1 2 3

Shatur commented on 2020-06-03 22:17 (UTC) (edited on 2020-06-03 22:17 (UTC) by Shatur)

Can't build it:

ninja: Entering directory `3rd/luamake'
[0/3] cd 3rd/bee.lua && ninja -f ninja/linux.ninja
[23/57] Compile C   build/linux/obj/source_lua/lstring.obj
В функции «createstrobj»,
    включённом из «luaS_createlngstrobj» в 3rd/lua/lstring.c:170:17,
    включённом из «luaS_newlstr» в 3rd/lua/lstring.c:240:10:
3rd/lua/lstring.c:164:17: предупреждение: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
  164 |   getstr(ts)[l] = '\0';  /* ending 0 */
In file included from 3rd/lua/ldebug.h:11,
                 from 3rd/lua/lstring.c:17:
3rd/lua/lstring.c: В функции «luaS_newlstr»:
3rd/lua/lstate.h:315:18: замечание: at offset 0 to object «ts» with size 24 declared here
  315 |   struct TString ts;
      |                  ^~
[57/57] build/linux/bin/bootstrap test/test.lua
FAILED: build/linux/_/test 
build/linux/bin/bootstrap test/test.lua
OS:             Linux
Arch:           64
Compiler:       GCC 10.1.0
CRT:            libstdc++ 20200507
DEBUG:          false
....
ninja: build stopped: subcommand failed.
FAILED: build/linux/_/bee 
cd 3rd/bee.lua && ninja -f ninja/linux.ninja
ninja: build stopped: subcommand failed.

wbthomason commented on 2020-05-13 15:57 (UTC)

@KokaKiwi: Can you please remove the print call at line 50 in the log path patch (https://aur.archlinux.org/cgit/aur.git/tree/0001-Fix-paths.patch?h=lua-language-server-git#n50)? This output breaks compatibility with some LSP clients (e.g. coc.nvim)

wbthomason commented on 2020-01-19 08:01 (UTC)

This PKGBUILD is broken. The included patch is no longer valid, as the directory structure of the project has changed. Additionally, the package() function is broken for the same reason.

I've created a fixed patch and PKGBUILD here: https://gist.github.com/wbthomason/bbd5e1c0a4ba71e7fa9c54f3a6a18b99