Gentoo Archives: gentoo-user

From: Neil Bothwick <neil@××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Not enough RAM for dev-qt/qtwebengine build
Date: Thu, 13 Jun 2019 17:43:32
Message-Id: 20190613184317.09f33822@digimed.co.uk
In Reply to: Re: [gentoo-user] Not enough RAM for dev-qt/qtwebengine build by Alexey Eschenko
1 On Thu, 13 Jun 2019 14:48:04 +0300, Alexey Eschenko wrote:
2
3 > That was my first move. Unfortunately it didn't help.
4 > But in the first answer in this thread I saw a good idea about
5 > decreasing number of parallel build threads. I have MAKEOPTS="-j32" and
6 > it's probably the cause of my problem with this package. Right now I'm
7 > trying separate build environment with decreased job count value and it
8 > looks promissing. I'll leave the message with results in the reply to
9 > that message. 13.06.2019, 14:13, "Neil Bothwick" <neil@××××××××××.uk>:
10
11 You can set that in package.env too, I do this for Chromium:
12
13 % cat /etc/portage/package.env/chromium
14 www-client/chromium alert-done.conf disk-tmpdir.conf j2.conf
15
16 % cat /etc/portage/env/j2.conf
17 MAKEOPTS="-j2"
18
19 > > On Thu, 13 Jun 2019 13:19:24 +0300, Alexey Eschenko wrote:
20 > >   For some time I have problems with dev-qt/qtwebengine (at least
21 > > 5.12.3)
22 > >>  build. As far as I can see it fails to build due to memory
23 > >> exhaustion. Although I have 32 GB of RAM (at least 20 of them is
24 > >> almost always free) looks like it's not enough. It's strange because
25 > >> I have no problems with Firefox/Chromium/Libreoffice builds.
26 > >
27 > >
28 > > Do you have $PORTAGE_TMPDIR on a tmpfs filesystem? I had a similar
29 > > problem, on a slightly less well-endowed system, and had to use
30 > > portage.env to instruct that ebuild, as well as chromium and
31 > > libreoffice, to use a directory on my SSD for PORTAGE_TMPDIR.
32 > >
33 > > % cat /etc/portage/package.env/qt
34 > > dev-qt/qtwebengine disk-tmpdir.conf
35 > >
36 > > % cat /etc/portage/env/disk-tmpdir.conf
37 > > PORTAGE_TMPDIR="/mnt/scratch"
38 > >
39 > >  --
40 > > Neil Bothwick
41 > >
42 > >
43 > > Assassins do it from behind.
44
45
46
47 --
48 Neil Bothwick
49
50 Always proofread carefully to see if you any words out.

Replies

Subject Author
Re: [gentoo-user] Not enough RAM for dev-qt/qtwebengine build Dale <rdalek1967@×××××.com>