Skip to content

fix(resolver): split pkgbase merge - #26

Open
pfeifferj wants to merge 3 commits into
Morganamilo:masterfrom
pfeifferj:fix/split-pkgbase-merge
Open

fix(resolver): split pkgbase merge#26
pfeifferj wants to merge 3 commits into
Morganamilo:masterfrom
pfeifferj:fix/split-pkgbase-merge

Conversation

@pfeifferj

@pfeifferj pfeifferj commented May 9, 2026

Copy link
Copy Markdown
Contributor

split-pkgbase pkgs resolved non-consecutively were landing in two Base entries where the second one has build=false, so paru puts them into separate pacman -U transactions and version-pinned inter-pkg deps (e.g. nvidia-580xx-dkms requires nvidia-580xx-utils=580.142) cause issues

this fix scans all entries and merges into the existing same-pkgbase one instead of pushing a phantom duplicate

fixes Morganamilo/paru#1548, Morganamilo/paru#1173

pfeifferj added 3 commits May 9, 2026 23:00
push_aur_build only merged into the last Base entry. Split-package
members resolved non-consecutively ended up in two Bases, causing
paru to install them in separate pacman transactions and break
version-locked inter-pkg deps.

Scan all aur bases on push, merge into any same-pkgbase match.

Signed-off-by: Josephine Pfeiffer <hi@josie.lol>
Mirrors the AUR fix: split-pkgbase members from a pkgbuild repo
resolved non-consecutively used to land in two Base::Pkgbuild entries
(the second with build=false), breaking version-locked inter-pkg deps
in the resulting pacman -U transaction.

Signed-off-by: Josephine Pfeiffer <hi@josie.lol>
Mirrors the AUR regression test added in 87ba741 for the pkgbuild
codepath. Uses two fixture SRCINFOs to trigger non-consecutive
resolution: split-dkms depends on split-extra (separate pkgbase),
which gets pushed between split-utils and split-dkms and would have
caused push_pkgbuild_build to emit a duplicate Base entry before
5db76a0.

Signed-off-by: Josephine Pfeiffer <hi@josie.lol>
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.

While installing latest nvidia-580xx-utils. The install fails

1 participant