Skip to content

steam-runtime-tools scripts may error with getopt: command not found #414

@R1kaB3rN

Description

@R1kaB3rN

Description

When running umu-launcher in certain environments/system configurations, the Steam Runtime tool's shell scripts may result in errors due to missing commands not found in PATH. In the case for v2-entry-point aka umu , I get the error getopt: command not found.

Terminal output

(deck@steamdeck ~)$ which umu-run
/home/deck/.nix-profile/bin/umu-run
(deck@steamdeck ~)$ PROTONPATH=GE-Proton9-26 umu-run ""
INFO: umu-launcher version 1.2.5 (3.12.9 (main, Feb  4 2025, 14:38:38) [GCC 14.2.1 20241116])
INFO: No GAMEID set, using umu-default
INFO: steamrt3 is up to date
/home/deck/.local/share/umu/umu: line 93: getopt: command not found
deck@steamdeck ~> cat .local/share/umu/VERSIONS.txt
#Name	Version		Runtime	Runtime_Version	Comment
depot	3.0.20250306.120299			# Overall version number
pressure-vessel	0.20250225.0	scout		# pressure-vessel-bin.tar.gz
scripts	0.20250225.0			# from steam-runtime-tools
sniper	3.0.20250306.120299	sniper	3.0.20250306.120299	# sniper_platform_3.0.20250306.120299/
deck@steamdeck ~/.l/s/umu [1]> rm umu-shim compatibilitytools.d.lock pfx.lock umu.lock
deck@steamdeck ~/.l/s/umu> mv umu _v2-entry-point
deck@steamdeck ~/.l/s/umu> ./pressure-vessel/bin/pv-verify --mtree mtree.txt.gz
pv-verify[20028]: N: Verified "/home/deck/.local/share/umu/sniper_platform_3.0.20250306.120299/files" against "/home/deck/.local/share/umu/sniper_platform_3.0.20250306.120299/usr-mtree.txt.gz" successfully
pv-verify[20028]: N: Verified "/home/deck/.local/share/umu" against "mtree.txt.gz" successfully

Reproduce

  1. Setup home-manager (if possible, in a Steam Deck)
  2. Install the umu-launcher NixOS package
  3. Run PROTONPATH=GE-Proton umu-run ""

cc @MattSturgeon @LovingMelody @beh-10257 for insight

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions