Created attachment 553652 [details] emerge --info A recent recompile of this package on one of my machines failed. It has 8 GB of RAM, of which up to 5 GB can be used as a tmpfs to speed up builds. The ebuild includes this line: CHECKREQS_DISK_BUILD="16G" # bug 417307 The build should've stopped here, but instead it got about three-fourths or so of the way through before ending with what I think was an out-of-memory error. I ended up getting the ebuild to work again by forcing it back to the SSD with "dev-qt/qtwebkit notmpfs.conf" in /etc/portage/package.env/qtwebkit. On another host with 16 GB RAM and an 8-GB tmpfs, qtwebkit was able to rebuild in the tmpfs without issue.
1) tmpfs for PORTAGE_TMPDIR won't speed up builds noticeably 2) The ebuild sets CHECKREQS_DISK_BUILD="16G" but this check is only enforced if the user has debug flags enabled. 3) 5GB is too small for PORTAGE_TMPDIR, qtwebkit is far from the only build which will fail on 5GB I don't think there's anything for qtwebkit maintainers to do here, is there?
qtwebkit is a reasonably hefty package, so it's not unexpected that it fails with out-of-memory with 8GB RAM + tmpfs + -j5. Unfortunately, there's not a lot we can do about that. Bug #570534 has been raised for some time to enhance warnings about this, but this has stalled due to lack of data regarding appropriate thresholds to trigger the warning. *** This bug has been marked as a duplicate of bug 570534 ***