Skip to content

build: package: skip prioritizing deps of pkg which are a subpkg of pkg

Caleb Connolly requested to merge caleb/build-resolve-dep-is-subpkg into master

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.

Fix #2473 (comment 453424)

Edited by Oliver Smith

Merge request reports

Loading