Gentoo Archives: gentoo-user

From: Dale <rdalek1967@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Not enough RAM for dev-qt/qtwebengine build
Date: Thu, 13 Jun 2019 17:59:31
Message-Id: bbd177d0-8258-e8b1-6775-034710a4d7e6@gmail.com
In Reply to: Re: [gentoo-user] Not enough RAM for dev-qt/qtwebengine build by Neil Bothwick
1 Neil Bothwick wrote:
2 > On Thu, 13 Jun 2019 14:48:04 +0300, Alexey Eschenko wrote:
3 >
4 >> That was my first move. Unfortunately it didn't help.
5 >> But in the first answer in this thread I saw a good idea about
6 >> decreasing number of parallel build threads. I have MAKEOPTS="-j32" and
7 >> it's probably the cause of my problem with this package. Right now I'm
8 >> trying separate build environment with decreased job count value and it
9 >> looks promissing. I'll leave the message with results in the reply to
10 >> that message. 13.06.2019, 14:13, "Neil Bothwick" <neil@××××××××××.uk>:
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
20
21 Has that changed?  I have a package.env FILE that contains a list of
22 packages and the path to a file in /etc/portage/env/ that tells what to
23 change that for package/  Looks like this:
24
25
26 root@fireball / # cat /etc/portage/package.env/package.env
27 #www-client/seamonkey  ../env/single.conf
28 #www-client/firefox  ../env/single.conf
29 #www-client/firefox  ../env/notmpfs.conf
30 #www-client/seamonkey ../env/notmpfs.conf
31 app-office/libreoffice ../env/notmpfs.conf
32 #sys-devel/gcc ../env/notmpfs.conf
33 dev-qt/qtwebengine ../env/notmpfs.conf
34 #dev-qt/qtwebkit ../env/notmpfs.conf
35 #sci-electronics/kicad ../env/notmpfs.conf
36
37 root@fireball / # ls -al /etc/portage/env/
38 total 16
39 drwxr-xr-x  2 root root 4096 Sep  3  2017 .
40 drwxr-xr-x 14 root root 4096 May 31 00:40 ..
41 -rw-r--r--  1 root root   35 Sep  3  2017 notmpfs.conf
42 -rw-r--r--  1 root root   31 Feb 12  2017 single.conf
43
44 root@fireball / # cat /etc/portage/env/notmpfs.conf
45 PORTAGE_TMPDIR="/var/tmp/notmpfs"
46
47 root@fireball / # cat /etc/portage/env/single.conf
48 #EMERGE_DEFAULT_OPTS="-j1"
49
50 root@fireball / #
51
52
53 I think I'm doing this different than what you posted.  It works but is
54 it being changed and I need to update before it stops working? 
55
56 Dale
57
58 :-)  :-) 

Replies

Subject Author
Re: [gentoo-user] Not enough RAM for dev-qt/qtwebengine build Neil Bothwick <neil@××××××××××.uk>