Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 660430 - dev-qt/qtwebengine - Add IUSE=jumbo-build ?
Summary: dev-qt/qtwebengine - Add IUSE=jumbo-build ?
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-07-05 05:43 UTC by Dennis Schridde
Modified: 2019-03-31 10:59 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dennis Schridde 2018-07-05 05:43:00 UTC
dev-qt/qtwebengine consumes a lot of memory during build, which seems to be caused by it using the jumbo build feature of Chromium (I see it building ..._jumbo_N.c files, which for www-client/chromium is being triggered by USE=jumbo-build).  In fact it consumes so much memory, that I cannot build it in tmpfs with 16G of RAM.  Would it be possible to allow users to disable the jumbo build feature through a IUSE=jumbo-build flag?
Comment 1 Denis Descheneaux 2018-07-07 13:27:52 UTC
(In reply to Dennis Schridde from comment #0)
> dev-qt/qtwebengine consumes a lot of memory during build, which seems to be
> caused by it using the jumbo build feature of Chromium (I see it building
> ..._jumbo_N.c files, which for www-client/chromium is being triggered by
> USE=jumbo-build).  In fact it consumes so much memory, that I cannot build
> it in tmpfs with 16G of RAM.  Would it be possible to allow users to disable
> the jumbo build feature through a IUSE=jumbo-build flag?

you could use the package.env system and set an exclusion for the package

Change my path to your specific folder on a physical folder outside of tmpfs tree

PORTAGE_TMPDIR="/usr/portage/distfiles/tmp~"
Comment 2 Larry the Git Cow gentoo-dev 2018-08-25 04:04:32 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/proj/qt.git/commit/?id=76a2bab7c21e18325253b17ed31ca34cb5f4bf22

commit 76a2bab7c21e18325253b17ed31ca34cb5f4bf22
Author:     Jimi Huotari <chiitoo@gentoo.org>
AuthorDate: 2018-08-25 04:01:57 +0000
Commit:     Jimi Huotari <chiitoo@gentoo.org>
CommitDate: 2018-08-25 04:02:12 +0000

    dev-qt/qtwebengine: add USE="jumbo-build"
    
    Allows for disabling 'jumbo-build' completely to reduce memory use.
    
    Bug: https://bugs.gentoo.org/660430
    Package-Manager: Portage-2.3.48, Repoman-2.3.10

 dev-qt/qtwebengine/metadata.xml                 | 1 +
 dev-qt/qtwebengine/qtwebengine-5.11.9999.ebuild | 8 +++++++-
 dev-qt/qtwebengine/qtwebengine-5.12.9999.ebuild | 8 +++++++-
 dev-qt/qtwebengine/qtwebengine-5.9999.ebuild    | 8 +++++++-
 4 files changed, 22 insertions(+), 3 deletions(-)
Comment 3 Michael Palimaka (kensington) gentoo-dev 2019-03-31 10:59:59 UTC
This is in the main tree now.