From f1cfd029d68b879e6325368e93926d2ea43aa201 Mon Sep 17 00:00:00 2001 From: Oliver Smith Date: Mon, 9 Mar 2020 18:40:31 +0100 Subject: [PATCH] pmb/helpers/pmaports: fix finding subpackages (!1890) 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! --- pmb/helpers/pmaports.py | 1 - 1 file changed, 1 deletion(-) diff --git a/pmb/helpers/pmaports.py b/pmb/helpers/pmaports.py index 12fddbf6..6686bfae 100644 --- a/pmb/helpers/pmaports.py +++ b/pmb/helpers/pmaports.py @@ -116,7 +116,6 @@ def find(args, package, must_exist=True): # Subpackages if package in apkbuild["subpackages"]: found = True - break # Provides (cut off before equals sign for entries like # "mkbootimg=0.0.1")