Skip to content

fix(arch): sync declared dependencies missing from AUR metadata - #157

Merged
CollieIsCute merged 1 commit into
masterfrom
codex/fix-arch-localsend-dependency
Sep 12, 2026
Merged

CollieIsCute merged 1 commit into
masterfrom
codex/fix-arch-localsend-dependency

Conversation

@CollieIsCute

Copy link
Copy Markdown
Owner

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.

- paru -S --needed --noconfirm ...
+ paru -S --needed --noconfirm --mflags "--syncdeps --noconfirm" ...

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, then Could 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

  • 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.

@CollieIsCute
CollieIsCute merged commit e8eb5f7 into master Sep 12, 2026
4 checks passed
@CollieIsCute
CollieIsCute deleted the codex/fix-arch-localsend-dependency branch September 12, 2026 17:53
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant