Open McQueen2063 opened 3 months ago
Hello @McQueen2063,
Thank you for reporting this compilation issue and for providing such a detailed account of the behavior, including the steps you've taken to mitigate some of the problems. I appreciate the effort you’ve put into troubleshooting this before reaching out.
The error you encountered stems from a version compatibility issue with LibreSSL. Our crate is configured to support up to LibreSSL 3.8.1, and since you are using LibreSSL 3.8.2, it triggers the build abort.
The subsequent error related to TcpKeepalive::with_interval
not being found is due to changes or limitations in the fdlimit
dependency or its interaction with newer or unsupported versions of Rust or system libraries on OpenBSD.
Regarding LibreSSL Version Issue:
TcpKeepalive Issue:
with_interval()
might not be available or implemented differently in your environment. This could be due to the version of Rust or the operating system specifics. To better assist you, could you confirm if this method is indeed available in your version of Rust's documentation or if there have been any recent changes to the TcpKeepalive
API?Filing a Separate Bug Report:
Could you provide any additional logs that appear after applying the pull request and the detailed error messages from the fdlimit
compilation failure? This will help us further diagnose the issue and provide a more targeted solution.
Describe the bug
Checked out master and ran
cargo build --release
results in the following error:Indeed, OpenBSD is at LibreSSL 3.8.2:
To Reproduce Steps to reproduce the behavior:
I tried applying https://github.com/rapiz1/rathole/pull/311/files and the build doesn't fail at the version check. So that's good.
But it fails later with:
Should this rather be a 2nd bug report? :)
Configuration Configuration used to reproduce the behavior:
Nothing configured in this project, apart from applying https://github.com/rapiz1/rathole/pull/311/files before build.
Logs
Environment:
rathole --version
output: N/A (can't compile)coming from: