Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 617318

Summary: app-emulation/virtualbox-5.1.22 failes when build with multiple jobs with "fatal error: state/cr_statefuncs.h: No such file or directory"
Product: Gentoo Linux Reporter: Florian Schmaus <flow>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Florian Schmaus gentoo-dev 2017-05-03 10:04:58 UTC
app-emulation/virtualbox-5.1.22 failes if MAKEOPTS sets '-j' to something > 1 with

fatal error: state/cr_statefuncs.h: No such file or directory

This appears to be an old longstanding issue: https://forums.gentoo.org/viewtopic-p-7419002.html?sid=88990ae69237b6145642f43bd2703932#7419002

According to https://devmanual.gentoo.org/ebuild-writing/functions/src_compile/building/ the build should either be patched or "emake -j1" should be used.
Comment 1 Florian Schmaus gentoo-dev 2017-05-03 10:07:51 UTC

*** This bug has been marked as a duplicate of bug 505482 ***