Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 669934 - dev-qt/qtwebkit-5.212.0_pre20180120: build requirement increased?
Summary: dev-qt/qtwebkit-5.212.0_pre20180120: build requirement increased?
Status: RESOLVED DUPLICATE of bug 570534
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-10-29 18:10 UTC by Scott Alfter
Modified: 2019-03-11 07:09 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (file_669934.txt,6.33 KB, text/plain)
2018-10-29 18:10 UTC, Scott Alfter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Scott Alfter 2018-10-29 18:10:57 UTC
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.
Comment 1 Ben Kohler gentoo-dev 2018-10-29 18:26:35 UTC
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?
Comment 2 Michael Palimaka (kensington) gentoo-dev 2019-03-11 07:09:00 UTC
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 ***