Troubleshooting parallel builds
From Gentoo Wiki
This article is a stub. Please help out by expanding it - how to get started.
This article has been flagged for not conforming to the wiki guidelines (no intro to explain what article is about). Please help out, if possible.
Parallel build fails, because the build system needs to work sequentially
Parallel build fails in src_compile
- Please report the bug upstream, if upstream is still active, as it was done for example in bug #482542.
- Please add comment with a bug id, so that others know the reason for the workaround. For example:
export MAKEOPTS=-j1 #660754
- GNU make 4.4 and newer now supports --shuffle. It will also report the shuffle seed used which allows reproducing build failures.
Workaround for the user
The broken package entitled "foo" can still be installed with the following workaround:
MAKEOPTS="-j1" emerge app-misc/foo
- Tracker bug #351559