Solved Error with firefox port

Trying to install www/firefox fails on devel/llvm39-3.9.1_1:
===> Building package for llvm39-3.9.1_1
file sizes/checksums [3347]: .......... done
packing files [3347]: ......Child process pid=96087 terminated abnormally: Killed
*** Error code 1

The installation succeeds with poudriere, portsmaster or make install clean.

Any ideas?

What software did you used to get the failure ?
If it was ports-mgmt/synth chance are that your build run out of time and synth watchdog killed the build.
 
The quotation above is from the log. I think it is swap related, swap usage was at 99.9%.
I would expect synth to downsize resources usage (i.e. put a builder on hold) to maintain all the tasks alive. But I guess it doesn't have the ability to control its own resources, right?
 
there would be a "watchdog" message in the log in that case. I don't think synth did it.
yes, but I suspected it was somewhat badly reported.

The quotation above is from the log. I think it is swap related, swap usage was at 99.9%.
yep, resources exhausthed (RAM + SWAP).

I would expect synth to downsize resources usage (i.e. put a builder on hold) to maintain all the tasks alive. But I guess it doesn't have the ability to control its own resources, right?
It does its best to default to reasonable values, but it is a very hard job because of large variations across different ports (some are very small and can use very few resources, some are very large and need a lot of RAM/SWAP).

You can tune synth resources using synth configure, basically number of builders, job per builder and use of tmpfs.

See this Thread 59107 for further information about resource requirements.
 
It might be worth stressing that the fine tuning of the config options (builders, job per builders) and plenty of swap has a huge impact on the build performance:

Build of llvm39
  • 3 builders, 3 jobs, 2G swap: ~1h40min
  • 2 builders, 2 jobs, 8G swap: ~18min
QEMU Guest 11.0-RELEASE x64, 4 cpu, 4096M RAM
 
It might be worth stressing that the fine tuning of the config options (builders, job per builders) and plenty of swap has a huge impact on the build performance:

Build of llvm39
  • 3 builders, 3 jobs, 2G swap: ~1h40min
  • 2 builders, 2 jobs, 8G swap: ~18min
QEMU Guest 11.0-RELEASE x64, 4 cpu, 4096M RAM
Indeed, the other huge improvement may come from use of devel/ccache.
 
Back
Top