Package Details: run0-sudo-shim 1.4.2-4

Git Clone URL: https://aur.archlinux.org/run0-sudo-shim.git (read-only, click to copy)
Package Base: run0-sudo-shim
Description: An imitation of sudo, using run0 internally - WARNING: !!! THIS REPLACES SUDO !!!
Upstream URL: https://github.com/LordGrimmauld/run0-sudo-shim
Licenses: BSD-3-Clause
Conflicts: run0-sudo-shim-git, sudo
Provides: sudo
Submitter: lepz0r
Maintainer: lepz0r
Last Packager: lepz0r
Votes: 1
Popularity: 0.61
First Submitted: 2026-06-27 06:04 (UTC)
Last Updated: 2026-07-05 13:49 (UTC)

Required by (436)

Sources (1)

Latest Comments

nojo commented on 2026-08-27 08:36 (UTC)

arch=(any) is incorrect for this package — it ships a compiled binary

build() runs cargo build --release, so the package contains an ELF binary compiled for whatever architecture ran makepkg. arch=(any) is reserved for architecture-independent content (scripts, data, pure-interpreted code); declaring it here means a single -any package built on x86_64 is considered installable everywhere, and e.g. an aarch64 user installing it from a binary repo (or sharing packages between machines) gets an x86_64 binary that fails with "exec format error" on every sudo invocation — particularly unpleasant for a tool that intercepts sudo.

Suggested fix:

arch=(x86_64 aarch64)

(plus any other architectures you want to support — rust cross-compiles happily). That makes makepkg produce properly arch-tagged packages, and repo tooling/AUR helpers will build natively per machine. Thanks for maintaining the package!

lepz0r commented on 2026-07-05 13:52 (UTC)

@SamLukeYes already fixed

SamLukeYes commented on 2026-07-05 12:29 (UTC)

resolving dependencies...
looking for conflicting packages...
:: run0-sudo-shim-1.4.2-3 and run0-sudo-shim-git-1.3.1.r14.g6e397ee-1 are in conflict (sudo). Remove run0-sudo-shim-git? [y/N] y

Packages (2) run0-sudo-shim-git-1.3.1.r14.g6e397ee-1 [removal]  run0-sudo-shim-1.4.2-3

Total Download Size:   0.33 MiB
Total Installed Size:  0.90 MiB
Net Upgrade Size:      0.01 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages...
 run0-sudo-shim-1.4.2-3-any                                               340.8 KiB   166 MiB/s 00:00 [------------------------------------------------------------] 100%
(1/1) checking keys in keyring                                                                        [------------------------------------------------------------] 100%
(1/1) checking package integrity                                                                      [------------------------------------------------------------] 100%
(1/1) loading package files                                                                           [------------------------------------------------------------] 100%
(1/1) checking for file conflicts                                                                     [------------------------------------------------------------] 100%
error: failed to commit transaction (conflicting files)
run0-sudo-shim: /usr/share/bash-completion/completions/sudo exists in filesystem (owned by bash-completion)
Errors occurred, no packages were upgraded.