-
Notifications
You must be signed in to change notification settings - Fork 1.6k
pingora-core fails to compile on FreeBSD #814
Copy link
Copy link
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
pingora-core fails to compile on FreeBSD due to an outdated dependency.
Pingora info
Pingora version: 9ac75d0
Rust version: cargo 1.93.0 (083ac5135 2025-12-15)
Operating system version: FreeBSD 14.3-RELEASE
Additional context
pingora-core depends on an old version of the nix crate (0.24.3), which is causing the problem.
Updating the nix dependency to the latest version resolves the issue:
diff --git a/pingora-core/Cargo.toml b/pingora-core/Cargo.toml
index 03015d2..412f8a7 100644
--- a/pingora-core/Cargo.toml
+++ b/pingora-core/Cargo.toml
@@ -75,7 +75,7 @@ lru = { workspace = true, optional = true }
[target.'cfg(unix)'.dependencies]
daemonize = "0.5.0"
-nix = "~0.24.3"
+nix = { version = "~0.31.1", features = ["socket", "net"] }I’d be glad to submit a pull request with this change if desired.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working