-
-
Notifications
You must be signed in to change notification settings - Fork 354
Build fails with version 3.9.x/3.10.x on OpenBSD #2705
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hey @lcheylus I'm having the exact same issue, but using updated versions of luamake and bee.lua as mentioned in actboy168/luamake#41 didn't help :/ It seems that an attempt to fix this problem was made with 84c18c3, but unfortunately it didn't work out. Since you managed to build lua-language-server on openbsd, could you please give us some guidance on how to do it as well ? |
Hi @IcaroPablo |
@lcheylus thank you very much :D I'm gonna check it out right now |
Same error with lua-language-server version 3.10.0 :( Error on OpenBSD current/amd64 when building $ cd lua-language-server-3.10.0/3rd/luamake
$ ninja -f compile/ninja/openbsd.ninja notest
FAILED: build/openbsd/obj/source_bee/bpoll_bsd.obj
clang -MMD -MT build/openbsd/obj/source_bee/bpoll_bsd.obj -MF build/openbsd/obj/source_bee/bpoll_bsd.obj.d -std=c++17 -fno-rtti -O2 -Wall -fvisibility=hidden -Ibee.lua -isystem /usr/local/include/inotify -DNDEBUG -o build/openbsd/obj/source_bee/bpoll_bsd.obj -c bee.lua/bee/
net/bpoll_bsd.cpp
In file included from bee.lua/bee/net/bpoll_bsd.cpp:1:
bee.lua/bee/net/bpoll_osx.cpp:48:37: error: use of undeclared identifier 'EVFILT_USER'
EV_SET(&ev[n], kev_key, EVFILT_USER, EV_ADD, 0, 0, 0);
^
bee.lua/bee/net/bpoll_osx.cpp:51:41: error: use of undeclared identifier 'EVFILT_USER'
EV_SET(&ev[n], kev_key, EVFILT_USER, EV_DELETE, 0, 0, 0);
^
bee.lua/bee/net/bpoll_osx.cpp:70:37: error: use of undeclared identifier 'EVFILT_USER'
EV_SET(&ev[i], kev_key, EVFILT_USER, EV_RECEIPT, 0, 0, 0);
^
3 errors generated.
[5/35] Compile C++ build/openbsd/obj/source_bee/format.obj @actboy168 Please could you update |
I have created a Rust-based luals port, which might meet your requirements. see https://github.com/LuaLS/lua-language-server-rust |
@CppCXY Thanks for this info, I will try your LuaLS project based on Rust 👍 |
After the updates to bee.lua and make.lua, there are significant interface incompatibilities. I currently don't have the time to address these compatibility issues. |
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/amd64Actual 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 usesbee.lua
version/commit038aef6
. In this version, symbolEVFILT_USER
forbee.epoll
is unknown on OpenBSD, see actboy168/luamake#41Reproduction steps
cd 3rd/luamake
luamake
via./compile/build.sh
=> error: use of undeclared identifier
EVFILT_USER
Additional Notes
Please, update version of
luamake
andbee.lua
in third-party modules to removeEVFILT_USER
inbee.epoll
.Log File
No response
The text was updated successfully, but these errors were encountered: