docs(readme): add Building on Linux section with per-distro deps#134
Merged
Conversation
Closes #94. Reproduced the reported failure on a clean Arch container. The generic "failed to run linuxdeploy" hides a cascade of upstream linuxdeploy / linuxdeploy-plugin-gtk Arch incompatibilities. .deb and .rpm bundles build fine on every distro; only AppImage breaks on Arch. Document: - Debian/Ubuntu (the supported path; our CI runs here) - Fedora/RHEL package names - Arch package list + the --bundles deb,rpm workaround, with the AppImage caveat (recommend prebuilt from Releases) Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Closes #94. Document per-distro Linux build dependencies and the AppImage caveat on Arch.
Reproduced #94 on a fresh Arch container. The reporter's generic
failed to run linuxdeployhides a cascade of upstream issues inlinuxdeploy/linuxdeploy-plugin-gtkthat surface on Arch but not Ubuntu (where our CI builds)..deband.rpmbundles build cleanly across every distro tried; only AppImage trips.What the cascade looks like on Arch
xdg-utilsnot in base — Tauri's bundler pre-checks for/usr/bin/xdg-open(it copies the binary into the AppImage) and aborts withxdg-open binary not foundon newer Tauri. Older Tauri (what the reporter ran on v0.7.0) doesn't pre-check, so this leaks through as the genericfailed to run linuxdeploylater.fuse2not in base —linuxdeployis itself an AppImage; withoutlibfuse.so.2it can't self-mount:dlopen(): error loading libfuse.so.2.stripis too old — fails on modern Arch libraries withunknown type [0x13] section .relr.dyn. Workaround:NO_STRIP=true.linuxdeploy-plugin-gtkhard-codes/usr/lib/gdk-pixbuf-2.0/2.10.0/— modern Arch'sgdk-pixbuf2deliberately ships zero loader plugins at that path (Arch splits each format into its own package). Plugin exits withcp: cannot stat '/usr/lib/gdk-pixbuf-2.0/2.10.0': No such file or directory. This one is upstream's bug — not fixable from this repo.So docs only, no code change. README gains a
Building on Linuxsection pointing Arch users at--bundles deb,rpmor the prebuilt AppImage from Releases.Test plan
pacman -S --needed base-devel rust nodejs npm git wget file patchelf desktop-file-utils webkit2gtk-4.1 libappindicator-gtk3 librsvg fuse2 xdg-utils(verified in the repro container)npm run tauri build -- --bundles deb,rpmproduces both bundles on Arch (verified)🤖 Generated with Claude Code