-
-
Notifications
You must be signed in to change notification settings - Fork 354
freebsd 13.2 can not compile ,, it bugs #2361
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
Does it work better on FreeBSD 14.0-RELEASE? What are the exact commands run and the error message encountered? |
I am also on FreeBSD 13.2. Here's my output from |
Thanks @brianreichtcs for logs and steps to reproduce. I get similar results with FreeBSD 14.0-RELEASE. At least some of the errors seems to be from bee.lua, which is a submodule of lua-language-server. A brief look at the source code indicates that the BSD code merely points at the linux implementation. Without properly reading nor understand the details, I see mentions of inotify which natively is a linux specific API. An interesting quote from bee.lua#42 reads:
Furthermore bee.lua#12 states that lua-language-server is unlikely to use filewatch, so the failing tests should be safe to ignore.
Maybe it is possible add conditionals around irrelevant functionality and their tests? Either in bee.lua, lua-language-server or in the ports tree. I will unfortunately not be able to attempt that anytime soon though. |
Fair enough :) I'm trying to work my team out of the FreeBSD business for exactly reasons like this. I thought given some more information maybe there'd be an existing solution, but didn't expect anyone to spend time on this to solve the issue for the 6 people it will impact. Thanks for looking it over, and thanks for all your efforts! Looking forward to using this package when we port over to Linux. |
These instructions seem to work on my FreeBSD 14.0 system - I needed to 'silence' two tests ...
|
Skipping the tests as you demonstrated makes the build succeed. Thanks so much! |
For what it is worth, I tried and failed to package up a port. The attempt is available under this LuaLS branch. Successful creation of a port would likely need to address a few issues. Among those:
I'm giving up on creating this port for now. I still think it would be great to properly package this stuff though. |
I have created a Rust-based luals port, which might meet your requirements. see https://github.com/LuaLS/lua-language-server-rust |
Nice, thank You for sharing that. |
Just to add a little more, I was unable to compile luaLS even when following this guide in my FreeBSD 14.1, but apparently if I:
I'm able compile! |
Thanks for submitting that - I just added libinotify to the 'needed packages' :) |
How are you using the lua-language-server?
Other
Which OS are you using?
Other
What is the issue affecting?
Other
Expected Behaviour
when i try to compile this in freebsd, it cannot coplete in once, and it reports error
Actual Behaviour
i think it never compile in freebsd 13.2
and i hope it can add a package for freebsd
Reproduction steps
i just do according to the document.
Additional Notes
No response
Log File
No response
The text was updated successfully, but these errors were encountered: