build: package: skip prioritizing deps of pkg which are a subpkg of pkg
All threads resolved!
All threads resolved!
Compare changes
- Caleb Connolly authored
Some packages in aports have their own subpackages in their dependencies, for some reason. This causes our resolver to assume there is a cyclical dependency. Adjust the resolver to safely ignore these dependencies, since they'll be built as a part of the package that depends on them. For example, modemmanager depends on libmm-glib which is a subpackage of modemmanager. Currently to build modemmanager in pmaports it would be necessary to manually modify the APKBUILD after copying it from aports. This change avoids that. Signed-off-by:
Caleb Connolly <caleb@postmarketos.org>
+ 5
− 1
@@ -275,6 +275,10 @@ def prioritise_build_queue(disarray: list[BuildQueueItem]) -> list[BuildQueueIte
@@ -296,7 +300,7 @@ def prioritise_build_queue(disarray: list[BuildQueueItem]) -> list[BuildQueueIte