Bug 14058

Summary: Fatal errors occurred in subprocesses
Product: [Build System, Metadata & Runtime] Meta-yocto Reporter: kenth.eriksson
Component: meta-yoctoAssignee: Randy MacLeod <randy.macleod>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: Medium CC: poky.bs.watcher, poky.watcher, randy.macleod, richard.purdie
Version: unspecified   
Target Milestone: 3.3   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description kenth.eriksson 2020-09-23 06:17:05 UTC
Tried to build Xilinx machine zcu102-zynqmp for release zeus, but it dies with Signals.SIGSYS. Build machine is gentoo, looks like the error message is from utils.py when doing "file -b". Error message seen:

bb.fatal("Fatal errors occurred in subprocesses:\n%s" % msg)
Comment 1 Randy MacLeod 2020-09-24 08:11:10 UTC
This is likely due to a seccomp patch to file. You need the upgraded version of pseudo deals with seccomp. An alternative fix would be to rebuild 'file' with seccomp disabled.
Comment 2 kenth.eriksson 2020-09-24 08:26:02 UTC
emerging sys-apps/file without seccomp resolved the issue.
Comment 3 kenth.eriksson 2020-09-24 08:34:57 UTC
Is this the commit in pseudo that resolves it?

https://git.yoctoproject.org/cgit/cgit.cgi/pseudo/commit/?h=oe-core&id=1ef33cf08937783c36613f37e4e909267be60f73
Comment 4 Randy MacLeod 2020-09-24 11:57:00 UTC
That looks like the right patch to me but I've CCed Richard to take a second look. Have you tried to cherry-pick it back to zeus?

If you can confirm that using a newer, officially (rather than community) supported branch:
   https://wiki.yoctoproject.org/wiki/Releases
works with the default gentoo 'file', then we can close this bug.
Comment 5 kenth.eriksson 2020-09-24 13:28:19 UTC
I encountered the bug when trying to build Xilinx meta layer, and this layer currently only supports zeus. I have not observed the issue with dunfell for other layers.
Comment 6 Randy MacLeod 2021-04-22 17:48:12 UTC
Works for Kenth.