fix(arch): sync declared dependencies missing from AUR metadata - #157
Merged
Merged
Conversation
CollieIsCute
added a commit
that referenced
this pull request
Sep 14, 2026
## Minimal fix One file, one extra paru option and one explanation comment. No packages.yaml changes, package replacement, custom dependency resolver, or Windows/WSL changes. Based directly on master, independent of #156. ```diff - paru -S --needed --noconfirm ... + paru -S --needed --noconfirm --mflags "--syncdeps --noconfirm" ... ``` ## Root cause and upstream status (2026-09-12) The [master Arch install log](https://github.com/CollieIsCute/dotfiles/actions/runs/34634470805) fails while building localsend-bin 1.18.2-1: `Missing dependencies: libayatana-indicator`, then `Could not resolve all dependencies`, even after the existing retries. The maintainer [confirmed adding the dependency on September 10](localsend/localsend#3390 (comment)). A direct read of the current AUR Git checkout confirms [commit 75f9faba](https://aur.archlinux.org/cgit/aur.git/commit/?h=localsend-bin&id=75f9faba7aedbfb0a1c74b5c32a5f250d22a0bec) adds it to PKGBUILD, but does not regenerate .SRCINFO. The [AUR RPC metadata](https://aur.archlinux.org/rpc/v5/info?arg%5B%5D=localsend-bin) still lists only fuse2, xdg-user-dirs and libayatana-appindicator. No follow-up metadata repair or ETA was found in that history/thread. Thus this is not an undeclared PKGBUILD dependency anymore: it is stale AUR metadata. Paru resolves the stale metadata first; makepkg later reads the corrected PKGBUILD and fails because the dependency was never installed. [Paru --mflags](https://man.archlinux.org/man/paru.8.en) forwards flags to makepkg. [makepkg --syncdeps](https://man.archlinux.org/man/makepkg.8.en) installs missing declared dependencies through pacman; --noconfirm keeps the existing unattended workflow. Dependency/integrity checks remain enabled. The missing library is an official-repository package, so no hardcoded dependency is needed. This fallback only resolves pacman repository dependencies; missing AUR-only dependencies still require correct metadata. Remove the workaround when upstream regenerates .SRCINFO. ## Validation - Arch template render contains the native flags; Bash syntax passes. - Rendered Ubuntu and macOS installers are byte-identical to master after newline normalization. - git diff --check passes; package manifest is unchanged. - Full existing CI is triggered by this branch push. Results are pending; no all-green claim yet.
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.
Minimal fix
One file, one extra paru option and one explanation comment. No packages.yaml changes, package replacement, custom dependency resolver, or Windows/WSL changes. Based directly on master, independent of #156.
Root cause and upstream status (2026-09-12)
The master Arch install log fails while building localsend-bin 1.18.2-1:
Missing dependencies: libayatana-indicator, thenCould not resolve all dependencies, even after the existing retries.The maintainer confirmed adding the dependency on September 10. A direct read of the current AUR Git checkout confirms commit 75f9faba adds it to PKGBUILD, but does not regenerate .SRCINFO. The AUR RPC metadata still lists only fuse2, xdg-user-dirs and libayatana-appindicator. No follow-up metadata repair or ETA was found in that history/thread.
Thus this is not an undeclared PKGBUILD dependency anymore: it is stale AUR metadata. Paru resolves the stale metadata first; makepkg later reads the corrected PKGBUILD and fails because the dependency was never installed.
Paru --mflags forwards flags to makepkg. makepkg --syncdeps installs missing declared dependencies through pacman; --noconfirm keeps the existing unattended workflow. Dependency/integrity checks remain enabled. The missing library is an official-repository package, so no hardcoded dependency is needed.
This fallback only resolves pacman repository dependencies; missing AUR-only dependencies still require correct metadata. Remove the workaround when upstream regenerates .SRCINFO.
Validation