On 08/02/2009 08:37 PM, David Relson wrote:
On Sun, 2 Aug 2009 17:23:40 +0100
Neil Bothwick wrote:
On Sun, 2 Aug 2009 09:20:37 -0400, David Relson wrote:
I've had trouble building dev-util/duma and discovered this morning
that -j2 was the culprit. duma's build compiles and runs
createconf.c in order to create duma_config.h which is needed by
dumapp.cpp. With -j2, the cpp compilation is starting before
createconf finishes running and this causes the emerge to die.
How does one set a special MAKEOPTS for a particular package?
echo 'MAKEOPTS="-j1"'>/etc/portage/env/dev-util/duma
Exactly what I was looking for!
Note that by doing so you will be using -j1 for every future version of
duma. That means, if the problem gets fixed, you'll still be using -j1.