LuaLS / lua-language-server

A language server that offers Lua language support - programmed in Lua
https://luals.github.io
MIT License
3.12k stars 289 forks source link

Build fails with version 3.9.3 on OpenBSD #2705

Open lcheylus opened 3 weeks ago

lcheylus commented 3 weeks ago

How are you using the lua-language-server?

NeoVim

Which OS are you using?

OpenBSD current/amd64 (future version 7.6)

What is the issue affecting?

Compilation of luamake

Expected Behaviour

Build of lua-language-server OK with luamake on OpenBSD current/amd64

Actual Behaviour

On OpenBSD current/amd64, build of lua-language-server v3.9.3 KO => unable to build luamake

In version 3.9.3, luamake version/commit = c086f35. This version uses bee.lua version/commit 038aef6. In this version, symbol EVFILT_USER for bee.epoll is unknown on OpenBSD, see https://github.com/actboy168/luamake/issues/41

Reproduction steps

  1. Git clone sources for lua-language-server v3.9.3
  2. cd 3rd/luamake
  3. Build luamake via ./compile/build.sh

=> error: use of undeclared identifier 'EVFILT_USER'

Additional Notes

Please, update version of luamake and bee.lua in third-party modules to remove EVFILT_USER in bee.epoll.

Log File

No response