View Issue Details

IDProjectCategoryView StatusLast Update
0011851Pepsibuild systempublic2026-11-01 15:08
Reportervecirex Assigned Tovecirex Due Date
PrioritylowSeverityfeatureReproducibilityhave not tried
Status closedResolutionfixed 
Product VersionGit master 
Target Version0.1.1 
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

Christian Grothoff

2026-11-01 15:05

manager   ~0030180

Should be resolved now.

Issue History

Date ModifiedUsernameFieldChange
2026-10-02 14:27vecirexNew Issue
2026-10-02 14:27vecirexStatusnew => assigned
2026-10-02 14:27vecirexAssigned To => vecirex
2026-10-02 14:27vecirexTag Attached: macos
2026-10-02 14:27vecirexTag Attached: portability
2026-10-02 14:27vecirexTag Attached: nix
2026-10-02 14:27vecirexPrioritynormal => low
2026-10-02 14:27vecirexStatusassigned => confirmed
2026-10-02 14:28vecirexTag Detached: nix
2026-11-01 15:05Christian GrothoffStatusconfirmed => resolved
2026-11-01 15:05Christian GrothoffResolutionopen => fixed
2026-11-01 15:05Christian GrothoffFixed in Version => 0.1.1
2026-11-01 15:05Christian GrothoffNote Added: 0030180
2026-11-01 15:06Christian GrothoffProduct Version => Git master
2026-11-01 15:06Christian GrothoffTarget Version => 0.1.1
2026-11-01 15:06Christian GrothoffDescription Updated
2026-11-01 15:08Christian GrothoffStatusresolved => closed
2026-11-01 15:08Christian GrothoffFixed in Version0.0.1 =>