Skip to content
This repository has been archived by the owner on Jun 25, 2019. It is now read-only.

isafw broken on morty #82

Open
dl9pf opened this issue Mar 4, 2017 · 4 comments
Open

isafw broken on morty #82

dl9pf opened this issue Mar 4, 2017 · 4 comments

Comments

@dl9pf
Copy link

dl9pf commented Mar 4, 2017

master is broken on morty since b45750e .

NOTE: Tasks Summary: Attempted 3639 tasks of which 3383 didn't need to be rerun and all succeeded.
ERROR: Execution of event handler 'process_reports_handler' failed
Traceback (most recent call last):
File "/repoclone/output/../meta-security-isafw/classes/isafw.bbclass", line 95, in process_reports_handler(e=<bb.event.BuildCompleted object at 0x7fd95f7fa9d0>):
native_sysroot = dd.expand("${STAGING_DIR}/${BUILD_ARCH}")
> staging_populate_sysroot_dir(target_sysroot, native_sysroot, True, dd)

NameError: global name 'staging_populate_sysroot_dir' is not defined

ERROR: Running idle function
Traceback (most recent call last):
File "/repoclone/poky/bitbake/lib/bb/cooker.py", line 1392, in buildTargetsIdle(server=<ProcessServer(ProcessServer-1, started)>, rq=<bb.runqueue.RunQueue instance at 0x7fd9542d05a8>, abort=False):
if not retval:
> bb.event.fire(bb.event.BuildCompleted(len(rq.rqdata.runq_fnid), buildname, targets, failures, interrupted), self.data)
self.command.finishAsyncCommand(msg)
File "/repoclone/poky/bitbake/lib/bb/event.py", line 178, in fire(event=<bb.event.BuildCompleted object at 0x7fd95f7fa9d0>, d=<bb.data_smart.DataSmart object at 0x7fd96895f390>):

>    fire_class_handlers(event, d)
     if worker_fire:

File "/repoclone/poky/bitbake/lib/bb/event.py", line 110, in fire_class_handlers(event=<bb.event.BuildCompleted object at 0x7fd95f7fa9d0>, d=<bb.data_smart.DataSmart object at 0x7fd96895f390>):
continue
> execute_handler(name, handler, event, d)

File "/repoclone/poky/bitbake/lib/bb/event.py", line 82, in execute_handler(name='process_reports_handler', handler=<function process_reports_handler at 0x7fd965bf9b90>, event=<bb.event.BuildCompleted object at 0x7fd95f7fa9d0>, d=<bb.data_smart.DataSmart object at 0x7fd96895f390>):
try:
> ret = handler(event)
except (bb.parse.SkipRecipe, bb.BBHandledException):
File "/repoclone/output/../meta-security-isafw/classes/isafw.bbclass", line 95, in process_reports_handler(e=<bb.event.BuildCompleted object at 0x7fd95f7fa9d0>):
native_sysroot = dd.expand("${STAGING_DIR}/${BUILD_ARCH}")
> staging_populate_sysroot_dir(target_sysroot, native_sysroot, True, dd)

NameError: global name 'staging_populate_sysroot_dir' is not defined

Failed again, bail out ...

@ereshetova
Copy link
Contributor

Oh, yes, I keep forgetting that not everyone follows latest and greatest Yocto changes.
Let me do a separate morty branch without these changes. I will keep maintaining it till next release is fully out.

@ereshetova
Copy link
Contributor

Here is the branch: https://github.com/01org/meta-security-isafw/tree/morty

I don't have morty anywhere locally now, so could you please check if it runs for your environment?
I kept the important fixes in and only removed the non-combatible sysroot changes.

@dl9pf
Copy link
Author

dl9pf commented Mar 6, 2017

Cool I'll try it !

@ereshetova
Copy link
Contributor

Can we close this issue?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants