I saw these errors/warnings when I ran bitbake as you suggested (clean build directory):
WARNING: buildhistory is not enabled. Please enable INHERIT += "buildhistory" to see image details. ERROR: Layer version information not found; Check if the bitbake server was configured to inherit toaster.bbclass. WARNING: Unknown event: <bb.event.BuildStarted object at 0x2554150> WARNING: Could not match layer version for recipe path /home/ell/dev/toaster/poky/meta/ : [] But I only get these if I manually kill bitbake and unset BBSERVER; if I just run Toaster as per usual, it works fine. I can't see a reason why this shouldn't be merged, then, as it doesn't affect Toaster's normal operation. However, I'd like Brian's opinion before I submit the patches to bitbake-devel. Elliot On 25 February 2016 at 14:44, Ed Bartosh <[email protected]> wrote: > Hi, > > This patchset is a preparation for the #7880 fix. As we're going to get > rid of > running bitbake server we need toasterui to work in build mode, i.e. with > bitbake <target> -u toasterui. > > If you want to test this functionality you can do the following: > - start Toaster > - kill bitbake server and observer processes > - unset BBSERVER > - run bitbake <target> -u toasterui > > Expected outcome: you should see commandline build in UI without bitbake > server > and observer running. > > I've discovered nasty bug in handling setEventMask by bitbake server while > working on this. It causes ignoring of the event mask set by toasterui. > The result > of this is that list of events in _ev_list variable is different from the > actual > list of events processed by toasterui. Here is the difference: > > -bb.command.CommandExit > +bb.event.BuildCompleted > +bb.event.BuildStarted > +bb.event.ConfigParsed > +bb.event.DepTreeGenerated > -bb.runqueue.runQueueExitWait > +bb.event.RecipeParsed > +bb.event.SanityCheck > +bb.event.SanityCheckPassed > +bb.event.TreeDataPreparationCompleted > +bb.event.TreeDataPreparationStarted > +bb.runqueue.runQueueTaskCompleted > +bb.runqueue.runQueueTaskSkipped > +bb.runqueue.sceneQueueTaskCompleted > > The fix for this bug is also included in this patchset. > > The following changes since commit > 029cc9b513864376024cd5fcbb2724e618e92090: > > toaster: custom breadcrumb for the default project (2016-02-24 13:29:00 > +0000) > > are available in the git repository at: > > git://git.yoctoproject.org/poky-contrib > ed/toaster/toasterui-in-build-mode > > http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=ed/toaster/toasterui-in-build-mode > > Ed Bartosh (6): > toasterui: reformat list of events > toasterui: update list of events > command: make setEventMask readonly > toasterui: check if setEventMask succeeded > toasterui: make toasterui to work in build mode > toasterui: exit on final events > > bitbake/lib/bb/command.py | 1 + > bitbake/lib/bb/ui/toasterui.py | 76 > ++++++++++++++++++++++++++++++++++-------- > 2 files changed, 63 insertions(+), 14 deletions(-) > > -- > Regards, > Ed > -- > _______________________________________________ > toaster mailing list > [email protected] > https://lists.yoctoproject.org/listinfo/toaster > -- Elliot Smith Software Engineer Intel Open Source Technology Centre
-- _______________________________________________ toaster mailing list [email protected] https://lists.yoctoproject.org/listinfo/toaster
