vn971 / rua

Build tool for Arch Linux providing control, review and jailed build options
GNU General Public License v3.0
426 stars 41 forks source link

Dependency resolution failure with versioned dependencies, with previous versions already installed #223

Open afontenot opened 6 months ago

afontenot commented 6 months ago

I have a system with the AUR packages htslib and samtools; these projects release in lockstep with samtools always depending on htslib of the same version.

Prior to installing rua, version 1.15.1 of both packages was manually built and installed on the system.

After installing rua, running rua upgrade correctly detects these as AUR packages and tries to upgrade them to their latest versions. Approving the PKGBUILD and starting the build works as expected.

The rua upgrade then failed for me when attempting to build samtools, because it could not satisfy the dependency htslib>=1.20. This is correct behavior from makepkg, as rua doesn't build and install htslib before attempting the samtools build.

For comparison, I did not see this problem when running rua install samtools on a system that did not have samtools or htslib previously installed.