FS#63086 - [pacman] should satisfy $name>=$ver1 and $name<$ver2 by a single package
Attached to Project:
Pacman
Opened by Erich Eckner (deepthought) - Wednesday, 03 July 2019, 14:01 GMT
Opened by Erich Eckner (deepthought) - Wednesday, 03 July 2019, 14:01 GMT
|
Details
Summary and Info:
If a dependency appears twice (with differing version requirements), it should be satisfied by a single package (which fulfills both version requirements). Example: java11-openjdk's PKGBUILD currently has makedepends=(... 'java-environment>=10' 'java-environment<12') however, pacman may satisfy this dependency by installing jdk8-openjdk and jdk-openjdk (provides version 12). This is not what was intended by the PKGBUILD and the build breaks. Another idea would be to allow some version range in the dependencies, however, I think it is inferior to this approach. Steps to reproduce: > pacman -Rs jdk9-openjdk jdk10-openjdk > pacman -S jdk8-openjdk jdk-openjdk > git checkout 60d2e75bfeae65345b5f31bdc9fcb590a525c380 > cd java11-openjdk/repos/extra-x86_64 > makepkg -fcrs |
This task depends upon
[1] https://xyne.archlinux.ca/projects/python3-xcpf/src/