Package Details: erlang_ls 1.1.0-1

Git Clone URL: https://aur.archlinux.org/erlang_ls.git (read-only, click to copy)
Package Base: erlang_ls
Description: The Erlang Language Server
Upstream URL: https://erlang-ls.github.io/
Licenses: Apache
Submitter: 314eter
Maintainer: 314eter
Last Packager: 314eter
Votes: 2
Popularity: 0.000171
First Submitted: 2022-11-13 23:04 (UTC)
Last Updated: 2024-10-11 22:33 (UTC)

Dependencies (2)

Required by (0)

Sources (1)

Latest Comments

0m3 commented on 2024-06-16 20:24 (UTC)

Hello @314eter,

Ok. I have OTP 27.

314eter commented on 2024-06-16 19:41 (UTC)

Version 0.52.0 is indeed not compiling in OTP 26, and it's fixed on master. I cherry-picked the fix until there is a new release.

0m3 commented on 2024-06-16 18:53 (UTC)

Hello @314eter,

I tried cloning from here: https://github.com/erlang-ls/erlang_ls

git clone https://github.com/erlang-ls/erlang_ls
cd erlang_ls/
make

Compiles normally.

0m3 commented on 2024-06-16 16:26 (UTC) (edited on 2024-06-16 17:58 (UTC) by 0m3)

Hello @314eter,

yay -Syu
...
1  aur/erlang_ls  0.51.0-1 -> 0.52.0-1
...
===> Compiling katana_code
===> Compiling _build/default/plugins/katana_code/src/ktn_code.erl failed
    ┌─ _build/default/plugins/katana_code/src/ktn_code.erl:
    │
 52 │        | undef | ifdef | ifndef | else | endif | elif | error | warning
    │                                   ╰── syntax error before: 'else'
...
===> Errors loading plugin {rebar3_lint,"1.0.2"}. Run rebar3 with DEBUG=1 set to see errors.
===> Fetching rebar3_bsp (from {git,"https://github.com/erlang-ls/rebar3_bsp.git",
                      {ref,"master"}})
===> Analyzing applications...
===> Compiling rebar3_bsp
===> Compiling _build/default/plugins/katana_code/src/ktn_dodger.erl failed
     ┌─ _build/default/plugins/katana_code/src/ktn_dodger.erl:
     │
 582 │  quickscan_form([{'-', _L}, {atom, La, else} | _Ts]) ->
     │                                        ╰── syntax error before: 'else'
...
===> Errors loading plugin {rebar3_bsp,
                                   {git,
                                    "https://github.com/erlang-ls/rebar3_bsp.git",
                                    {ref,"master"}}}. Run rebar3 with DEBUG=1 set to see errors.
===> Analyzing applications...
===> Compiling zipper
===> Compiling katana_code
===> Compiling _build/default/plugins/rebar3_bsp/src/rebar3_bsp_client.erl failed
    ┌─ _build/default/plugins/rebar3_bsp/src/rebar3_bsp_client.erl:
    │
 38 │  -include("rebar3_bsp.hrl").
    │           ╰── can't find include file "rebar3_bsp.hrl"
...
===> Errors loading plugin {rebar3_lint,"1.0.2"}. Run rebar3 with DEBUG=1 set to see errors.
===> Analyzing applications...
===> Compiling rebar3_bsp
===> Compiling _build/default/plugins/katana_code/src/ktn_code.erl failed
    ┌─ _build/default/plugins/katana_code/src/ktn_code.erl:
    │
 52 │        | undef | ifdef | ifndef | else | endif | elif | error | warning
    │                                   ╰── syntax error before: 'else'
...
===> Errors loading plugin {rebar3_bsp,
                                   {git,
                                    "https://github.com/erlang-ls/rebar3_bsp.git",
                                    {ref,"master"}}}. Run rebar3 with DEBUG=1 set to see errors.
...
===> Compiling verl
===> Compiling _build/default/plugins/katana_code/src/ktn_dodger.erl failed
     ┌─ _build/default/plugins/katana_code/src/ktn_dodger.erl:
     │
 582 │  quickscan_form([{'-', _L}, {atom, La, else} | _Ts]) ->
     │                                        ╰── syntax error before: 'else'
...
===> Compiling rebar3_elixir
===> Compiling _build/default/plugins/rebar3_bsp/src/rebar3_bsp_client.erl failed
    ┌─ _build/default/plugins/rebar3_bsp/src/rebar3_bsp_client.erl:
    │
 38 │  -include("rebar3_bsp.hrl").
    │           ╰── can't find include file "rebar3_bsp.hrl"
...
===> Compiling hex_core
===> Compiling _build/default/plugins/hex_core/src/hex_pb_signed.erl failed
     ┌─ _build/default/plugins/hex_core/src/hex_pb_signed.erl:
...
===> Compiling elvis_core
===> Compiling _build/default/plugins/katana_code/src/ktn_code.erl failed
    ┌─ _build/default/plugins/katana_code/src/ktn_code.erl:
    │
 52 │        | undef | ifdef | ifndef | else | endif | elif | error | warning
    │                                   ╰── syntax error before: 'else'
...
===> Compiling verl
===> Compiling _build/default/plugins/katana_code/src/ktn_dodger.erl failed
     ┌─ _build/default/plugins/katana_code/src/ktn_dodger.erl:
...
===> Compiling rebar3_elixir
===> Compiling _build/default/plugins/rebar3_hex/src/rebar3_hex_publish.erl failed
     ┌─ _build/default/plugins/rebar3_hex/src/rebar3_hex_publish.erl:
...
===> Compiling elvis_core
===> Compiling _build/default/plugins/katana_code/src/ktn_code.erl failed
    ┌─ _build/default/plugins/katana_code/src/ktn_code.erl:
    │
 52 │        | undef | ifdef | ifndef | else | endif | elif | error | warning
    │                                   ╰── syntax error before: 'else'
...
===> Compiling katana_code
===> Compiling _build/default/plugins/katana_code/src/ktn_dodger.erl failed
     ┌─ _build/default/plugins/katana_code/src/ktn_dodger.erl:
     │
 582 │  quickscan_form([{'-', _L}, {atom, La, else} | _Ts]) ->
     │                                        ╰── syntax error before: 'else'
...
make: *** [Makefile:7: all] Error 1
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: erlang_ls-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
erlang_ls - exit status 4
❯ uname -a
Linux arch 6.9.4-arch1-1 #1 SMP PREEMPT_DYNAMIC Wed, 12 Jun 2024 20:17:17 +0000 x86_64 GNU/Linux
❯ erlang_ls -v
Version: 0.51.0
❯ asdf version
v0.14.0

Excluding asdf and erlang_ls from the PATH variable does not help.

314eter commented on 2023-10-26 19:52 (UTC)

I changed it to any.

MarcusE1W commented on 2023-10-26 10:45 (UTC)

I have successfully build this on a Pinebook Pro laptop, so you could add the aarch64 architecture.