


Code: Select all
EMERGE_DEFAULT_OPTS="--jobs=2 --load-average=2.0" MAKEOPTS="-j2 -l2" emerge dev-qt/qtwebengine
FWIW, setting EMERGE_DEFAULT_OPTS is rather pointless here unless there are further options to ignore. Every option specified to emerge directly overrides the defaults.ngorelen wrote:Thank you guys. I had the same problem.
Your suggested command works for me too:Code: Select all
EMERGE_DEFAULT_OPTS="--jobs=2 --load-average=2.0" MAKEOPTS="-j2 -l2" emerge dev-qt/qtwebengine
Code: Select all
MAKEOPTS="-j2 -l2" emerge --jobs=2 --load-average=2.0 --oneshot dev-qt/qtwebengine
Code: Select all
MAKEOPTS="-j2 -l2" emerge -j2 -l2 -1 dev-qt/qtwebengine
Code: Select all
MAKEOPTS="-j2 -l2" emerge -j2 -l2 -1 dev-qt/qtwebengine
Code: Select all
emerge -j2 -l2 -1 dev-qt/qtwebengine Specifying an override in the environment is convenient for testing, but if you will always need this MAKEOPTS override for dev-qt/qtwebengine, you would be better served using package.env to define a per-package override persistently, so that Portage always uses the reduced MAKEOPTS for this package. Then you can just write emerge -1 dev-qt/qtwebengine and get the right result automatically, without needing to remember to set this override. This is also helpful from the perspective that if emerge schedules multiple packages, one of which is dev-qt/qtwebengine, you cannot use an environment override to affect only dev-qt/qtwebengine; you would affect every package in that emerge run. If the override is done via package.env, then Portage will do the right thing even in a multiple package run.ngorelen wrote:Yes, i had (as well as others) MAKEOPTS set up to different (default) values in my make.conf file.
And i guess you don't want to make that change through make.conf. Issuing one line command makes perfect sense.
That is not correct. MAKEOPTS specifies options to Make (and other Make-like programs). That tells a Make how many recipes it can run at once. emerge -j2 tells Portage to run up to 2 independent package builds at once. You can use both at once, in which case up to 2 packages can run up to 2 recipes each, for a total of 4 concurrent recipes.ngorelen wrote:After reading both "man make.conf" and "man emerge" it looks to me that the options inare redundant to each other. That is the following should suffice:Code: Select all
MAKEOPTS="-j2 -l2" emerge -j2 -l2 -1 dev-qt/qtwebengineCode: Select all
emerge -j2 -l2 -1 dev-qt/qtwebengine
This rebuilt the dependency chain and, in particular, updated qtwebengine and webkit-gtk, which would otherwise have remained in an unupdated state.emerge -j2 -l2 -uvNDq world
Note that (for qtwebengine), that's rather borderline, qtwebengine-6.10.x needs about 10-11G to build in typical circumstances (could vary), and if there was anything else using up space at same time then running out is quite possible.ngorelen wrote: Thu Apr 02, 2026 2:54 am I don't think there is an issue with the disk space cause I have 12G of free space - should be enough.