From afc11656d8ec6b4eb559aa828da16678557abef7 Mon Sep 17 00:00:00 2001 From: Luca Weiss Date: Sat, 15 Oct 2022 23:25:54 +0200 Subject: [PATCH] ci: unreferenced: skip cross/ (MR 3541) It thinks that the gcc-go.post-install files from the new cross/gcc-* packages isn't used because those add subpackages dynamically in the APKBUILD which isn't handled. --- .ci/testcases/test_unreferenced_files.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.ci/testcases/test_unreferenced_files.py b/.ci/testcases/test_unreferenced_files.py index f55e925bf..d259f44be 100644 --- a/.ci/testcases/test_unreferenced_files.py +++ b/.ci/testcases/test_unreferenced_files.py @@ -63,6 +63,10 @@ def test_aports_unreferenced_files(args): Raise an error if an unreferenced file is found """ for apkbuild_path in glob.iglob(args.aports + "/**/APKBUILD", recursive=True): + # pmbootstrap parser has some issues with complicated APKBUILDs, skip those. + if apkbuild_path.startswith(args.aports + "/cross/"): + continue + apkbuild = pmb.parse.apkbuild(apkbuild_path) sources_chk = parse_source_from_checksums(args, apkbuild_path)