aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2020-02-08 15:27:40 -0800
committerZac Medico <zmedico@gentoo.org>2020-02-08 15:38:11 -0800
commit9d28f5168c11fa689a1f3061fc9a8c8220ff8374 (patch)
tree2461ee612936d8d405efea0b6985a380129da589 /lib/_emerge
parentpreserve-libs: generate implicit rpath for bundled libs (bug 705736) (diff)
downloadportage-9d28f5168c11fa689a1f3061fc9a8c8220ff8374.tar.gz
portage-9d28f5168c11fa689a1f3061fc9a8c8220ff8374.tar.bz2
portage-9d28f5168c11fa689a1f3061fc9a8c8220ff8374.zip
Support FEATURES=qa-unresolved-soname-deps (bug 708448)
Support FEATURES=qa-unresolved-soname-deps so that it's possible to disable the QA warning that was introduced for bug 704320. This is useful for systems that may have incomplete PROVIDES metadata due to alternative package managers or experimentation with a new architecture. Bug: https://bugs.gentoo.org/708448 Bug: https://bugs.gentoo.org/704320 Signed-off-by: Zac Medico <zmedico@gentoo.org>
Diffstat (limited to 'lib/_emerge')
-rw-r--r--lib/_emerge/EbuildPhase.py13
1 files changed, 8 insertions, 5 deletions
diff --git a/lib/_emerge/EbuildPhase.py b/lib/_emerge/EbuildPhase.py
index 828e6e126..234a273a0 100644
--- a/lib/_emerge/EbuildPhase.py
+++ b/lib/_emerge/EbuildPhase.py
@@ -453,11 +453,14 @@ class _PostPhaseCommands(CompositeTask):
if msg:
self.scheduler.output(msg, log_path=self.settings.get("PORTAGE_LOG_FILE"))
- # This operates on REQUIRES metadata generated by the above function call.
- future = self._soname_deps_qa()
- # If an unexpected exception occurs, then this will raise it.
- future.add_done_callback(lambda future: future.result())
- self._start_task(AsyncTaskFuture(future=future), self._default_final_exit)
+ if 'qa-unresolved-soname-deps' in self.settings.features:
+ # This operates on REQUIRES metadata generated by the above function call.
+ future = self._soname_deps_qa()
+ # If an unexpected exception occurs, then this will raise it.
+ future.add_done_callback(lambda future: future.result())
+ self._start_task(AsyncTaskFuture(future=future), self._default_final_exit)
+ else:
+ self._default_final_exit(task)
else:
self._default_final_exit(task)