From a021eff54d64959ee96dfe74101ec0407adb1c8a Mon Sep 17 00:00:00 2001 From: William Douglas Date: Thu, 17 Mar 2022 14:45:45 -0700 Subject: [PATCH] Don't exit on missing dependencies Previous change made missing build dependendies fatal, and while correct, causing the buildreq_cache file to not be updated when missing dependencies cause the build to exit. Move back to previous obvserved behavior but change the logic to return if the buildroot log is not successful. Signed-off-by: William Douglas --- autospec/build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autospec/build.py b/autospec/build.py index ec17c1f..827e73b 100644 --- a/autospec/build.py +++ b/autospec/build.py @@ -300,7 +300,7 @@ class Build(object): exit(1) if not self.parse_buildroot_log(config.download_path + "/results/root.log", ret): - exit(1) + return self.parse_build_results(config.download_path + "/results/build.log", ret, filemanager, config, requirements, content) if filemanager.has_banned: