I have replicated this error with 10849 fix in my tree, so this is something new. I am working on it.
- David From: Brian Avery [mailto:[email protected]] Sent: Monday, March 06, 2017 2:07 PM To: Reyna, David Cc: [email protected] Subject: Re: [Toaster] [PATCH] toaster: resolve missing 'native[sdk]:' prefixes Unfortunately, https://bugzilla.yoctoproject.org/show_bug.cgi?id=11132 is preventing a full end to end test, so we should reverify this bug fix once the above is fixed. -bavery an intel employee On Mon, Mar 6, 2017 at 2:05 PM, Brian Avery <[email protected]<mailto:[email protected]>> wrote: submitted to bitbake https://patchwork.openembedded.org/patch/137831/ -bavery an intel employee On Wed, Mar 1, 2017 at 4:24 PM, David Reyna <[email protected]<mailto:[email protected]>> wrote: From: David Reyna <[email protected]<mailto:[email protected]>> Some task events are missing the 'virtual:native[sdk]:' prefixes. The Toaster has code to help match missing prefixes, but needs additional help resolving between 'native:' and 'nativesdk:', by way of the '_package' event field. [YOCTO #10849] Signed-off-by: David Reyna <[email protected]<mailto:[email protected]>> --- bitbake/lib/bb/ui/buildinfohelper.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/bitbake/lib/bb/ui/buildinfohelper.py b/bitbake/lib/bb/ui/buildinfohelper.py index 5ed150d..92d1a1c 100644 --- a/bitbake/lib/bb/ui/buildinfohelper.py +++ b/bitbake/lib/bb/ui/buildinfohelper.py @@ -1258,6 +1258,14 @@ class BuildInfoHelper(object): candidates = [x for x in self.internal_state['taskdata'].keys() if x.endswith(identifier)] if len(candidates) == 1: identifier = candidates[0] + elif len(candidates) > 1 and hasattr(event,'_package'): + if 'native-' in event._package: + identifier = 'native:' + identifier + if 'nativesdk-' in event._package: + identifier = 'nativesdk:' + identifier + candidates = [x for x in self.internal_state['taskdata'].keys() if x.endswith(identifier)] + if len(candidates) == 1: + identifier = candidates[0] assert identifier in self.internal_state['taskdata'] identifierlist = identifier.split(":") -- 1.9.1 -- _______________________________________________ toaster mailing list [email protected]<mailto:[email protected]> https://lists.yoctoproject.org/listinfo/toaster
-- _______________________________________________ toaster mailing list [email protected] https://lists.yoctoproject.org/listinfo/toaster
