rustdesk / rustdesk/rustdesk-server
Could not compile 1.1.13 in FreeBSD
Open
Nobody has claimed this yet.
bug
- Dominant language
- Rust
- Stars
- 10.4k
- Forks
- 2.6k
- PR merge metrics
- No merged PRs in 30d
Description
Describe the bug
Could not compile 1.1.13 in FreeBSD
Describe the environment
- FreeBSD 14.1
- cargo-c-0.10.9_1, rust-1.84.0
How to Reproduce the bug
Steps to reproduce the behavior:
- git checkout 1.1.13, and update submodule
- cargo build --release
- I get this error
Compiling default_net v0.1.0 (https://github.com/rustdesk-org/default_net#a831d47b)
error[E0432]: unresolved import `os`
--> /root/.cargo/git/checkouts/default_net-7fd56e4671a492a6/a831d47/src/lib.rs:11:9
|
11 | pub use os::get_mac;
| ^^ help: a similar path exists: `std::os`
For more information about this error, try `rustc --explain E0432`.
error: could not compile `default_net` (lib) due to 1 previous error
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue with the 1.1.13 checkout and cargo build --release on FreeBSD 14.1, then inspect the default_net dependency at src/lib.rs:11 and its platform-specific modules. Done means the release build completes successfully on the reported FreeBSD environment.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- build-system, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100