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?
yes, but I suspected it was somewhat badly reported.there would be a "watchdog" message in the log in that case. I don't think synth did it.
yep, resources exhausthed (RAM + SWAP).The quotation above is from the log. I think it is swap related, swap usage was at 99.9%.
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).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?
synth configure, basically number of builders, job per builder and use of tmpfs.Indeed, the other huge improvement may come from use of devel/ccache.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
QEMU Guest 11.0-RELEASE x64, 4 cpu, 4096M RAM
- 3 builders, 3 jobs, 2G swap: ~1h40min
- 2 builders, 2 jobs, 8G swap: ~18min