Skip to content

pmb/helpers/pmaports: fix finding subpackages

Oliver Smith requested to merge fix-pmaports-subpkgs into master

Fix finding subpackages in pmaports, if no binary repo exists (-mp "" makes pmbootstrap not use a binary packages mirror for pmOS packages). Discovered with failing "test_depends_SLOW_40s" in bpo.

$ pmbootstrap -v -mp "" repo_missing --built --arch x86_64
[18:40:51] Calculate packages that need to be built (all packages, x86_64)
[18:40:56] ERROR: Package 'musl-dev-aarch64': Could not find aport, and could not find this package in any APKINDEX!

Trivial and important fix, merging as soon as CI passes.

Edited by Oliver Smith

Merge request reports