You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
uucore: safe_traversal is not built on AIX and Hurd #15028
safe_traversal (and so the descriptor-based -R walks in chmod, chown, chgrp, du, install and rm) is gated off AIX and Hurd, which fall back to path-based walks. nix has every call it needs on both; the only build failure is the stat time fields, which they expose as st_atim/st_mtim/st_ctim timespecs.
That passes because safe_traversal is still cfg'd out on Redox, so it isn't compiled. With the Redox exclusion removed, the same command fails: nix has none of the *at calls there (no nix::dir, openat, fstatat, fchownat, unlinkat, mkdirat or AtFlags), and uu_chown additionally hits the missing rustix::fs::symlinkat in uucore's fs feature, as on main. Supporting Redox would mean rewriting DirFd on raw libc, so I've left it out of this one.
Activity
xtqqczze commentedon Oct 2, 2026
Apparently, we can build on Redox too:
abendrothj commentedon Oct 2, 2026
That passes because safe_traversal is still cfg'd out on Redox, so it isn't compiled. With the Redox exclusion removed, the same command fails: nix has none of the *at calls there (no
nix::dir,openat,fstatat,fchownat,unlinkat,mkdiratorAtFlags), and uu_chown additionally hits the missingrustix::fs::symlinkatin uucore's fs feature, as on main. Supporting Redox would mean rewritingDirFdon raw libc, so I've left it out of this one.