Created attachment 332168 [details, diff] ~ben/cmake-funny-makeopts.patch The cmake_src_bootstrap function in current dev-util/cmake ebuilds attempts to pull the -j/--jobs option from MAKEOPTS to pass it to the bootstrap script's --parallel= option. If MAKEOPTS has multiple -j parameters, eg "-j2 -j3", it grabs the integer from both of them and passes "--parallel=2 3" causing an error. In this example the bootstrap would die with "Unknown option: 3". Not many people will pass MAKEOPTS like this, but certain custom setups will "stack" MAKEOPTS, and it is valid according to make. The attached patch makes it only pass the final -j number, so MAKEOPTS="-j2 -j3" translates to simply "--parallel=3".
I can't imagine that this will be reached very often, but added in 2.8.10.2-r1.