From 6a210e88b73be40c433b350929a1128a39f2080b Mon Sep 17 00:00:00 2001 From: Wenzong Fan Date: Wed, 11 Jul 2012 11:28:11 +0800 Subject: bitbake: bitbake: Abort build if runtime dependency conflict Currently if there are multiple preferred providers available for a runtime dependency, bitbake will print an Error message and let the build go on. Anyways the build should abort while any Errors occured. [YOCTO #2734] (Bitbake rev: 5f81a714f4fca785780bef555b419f0250e5ec1c) Signed-off-by: Wenzong Fan Signed-off-by: Richard Purdie --- bitbake/lib/bb/providers.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'bitbake/lib/bb/providers.py') diff --git a/bitbake/lib/bb/providers.py b/bitbake/lib/bb/providers.py index bd729df93d..24cb217edf 100644 --- a/bitbake/lib/bb/providers.py +++ b/bitbake/lib/bb/providers.py @@ -35,6 +35,8 @@ class NoProvider(bb.BBHandledException): class NoRProvider(bb.BBHandledException): """Exception raised when no provider of a runtime dependency can be found""" +class MultipleRProvider(bb.BBHandledException): + """Exception raised when multiple providers of a runtime dependency can be found""" def findProviders(cfgData, dataCache, pkg_pn = None): """ -- cgit v1.2.3-54-g00ecf