summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/ui/crumbs/hobeventhandler.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/ui/crumbs/hobeventhandler.py')
-rw-r--r--bitbake/lib/bb/ui/crumbs/hobeventhandler.py37
1 files changed, 20 insertions, 17 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/hobeventhandler.py b/bitbake/lib/bb/ui/crumbs/hobeventhandler.py
index 6c109fc551..9c82bfe6fd 100644
--- a/bitbake/lib/bb/ui/crumbs/hobeventhandler.py
+++ b/bitbake/lib/bb/ui/crumbs/hobeventhandler.py
@@ -215,23 +215,26 @@ class HobHandler(gobject.GObject):
215 elif isinstance(event, bb.command.CommandCompleted): 215 elif isinstance(event, bb.command.CommandCompleted):
216 self.current_phase = None 216 self.current_phase = None
217 self.run_next_command() 217 self.run_next_command()
218 218 # TODO: Currently there are NoProvider issues when generate
219 elif isinstance(event, bb.event.NoProvider): 219 # universe tree dependency for non-x86 architecture.
220 if event._runtime: 220 # Comment the follow code to enable the build of non-x86
221 r = "R" 221 # architectures in Hob.
222 else: 222 #elif isinstance(event, bb.event.NoProvider):
223 r = "" 223 # if event._runtime:
224 if event._dependees: 224 # r = "R"
225 self.error_msg += " Nothing %sPROVIDES '%s' (but %s %sDEPENDS on or otherwise requires it)" % (r, event._item, ", ".join(event._dependees), r) 225 # else:
226 else: 226 # r = ""
227 self.error_msg += " Nothing %sPROVIDES '%s'" % (r, event._item) 227 # if event._dependees:
228 if event._reasons: 228 # self.error_msg += " Nothing %sPROVIDES '%s' (but %s %sDEPENDS on or otherwise requires it)" % (r, event._item, ", ".join(event._dependees), r)
229 for reason in event._reasons: 229 # else:
230 self.error_msg += " %s" % reason 230 # self.error_msg += " Nothing %sPROVIDES '%s'" % (r, event._item)
231 231 # if event._reasons:
232 self.commands_async = [] 232 # for reason in event._reasons:
233 self.emit("command-failed", self.error_msg) 233 # self.error_msg += " %s" % reason
234 self.error_msg = "" 234
235 # self.commands_async = []
236 # self.emit("command-failed", self.error_msg)
237 # self.error_msg = ""
235 238
236 elif isinstance(event, bb.command.CommandFailed): 239 elif isinstance(event, bb.command.CommandFailed):
237 self.commands_async = [] 240 self.commands_async = []