Troubleshooting parallel builds

From Gentoo Wiki
Jump to:navigation Jump to:search

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:
CODE Typical workaround in a compile section
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