Troubleshooting parallel builds
From Gentoo Wiki
This article has been flagged for not conforming to the wiki guidelines (no intro to explain what article is about). Please help Gentoo out by starting fixing things.
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:
root #
MAKEOPTS="-j1" emerge app-misc/foo
Resources
- Tracker bug #351559