View Issue Details

IDProjectCategoryView StatusLast Update
0011851Pepsibuild systempublic2026-10-02 16:28
Reportervecirex Assigned Tovecirex  
PrioritylowSeverityfeatureReproducibilityhave not tried
Status confirmedResolutionopen 
Summary0011851: build: pepsi-helper-maildir-writer needs Linux-only nix (splice/setgroups/quota) — macOS compile fail
DescriptionEven with crypto-openssl, release build stops on pepsi-helper-maildir-writer.

error[E0432]:
- nix::fcntl::{splice, SpliceFFlags} (cfg linux_android only)
- nix::unistd::setgroups (cfg excludes apple_targets)
- nix::sys::quota (no quota on Darwin)

Sites:
- pepsi-helper-maildir-writer/src/lib.rs (~83–84)
- pepsi-helper-maildir-writer/src/fsquota.rs (~51)
Cargo.toml nix features include zerocopy+quota (Linux-shaped).

Scope (delimited): make this crate compile on Darwin.
Not in this ticket: full macOS runtime (systemd units, SO_PEERCRED auth, setuid install).

Options:
1) cfg(target_os): stub/fallback (copy+fsync instead of splice; skip/fs-limit without quotactl; setgroups alternative on Apple)
2) or document: macOS host build unsupported; Linux-only for now

Repro: same tree; CRYPTO_BACKEND=crypto-openssl; make → Error 101
Tagsmacos, portability

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2026-10-02 16:27 vecirex New Issue
2026-10-02 16:27 vecirex Status new => assigned
2026-10-02 16:27 vecirex Assigned To => vecirex
2026-10-02 16:27 vecirex Tag Attached: macos
2026-10-02 16:27 vecirex Tag Attached: portability
2026-10-02 16:27 vecirex Tag Attached: nix
2026-10-02 16:27 vecirex Priority normal => low
2026-10-02 16:27 vecirex Status assigned => confirmed
2026-10-02 16:28 vecirex Tag Detached: nix