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 19:27:27
Message-Id: 20190613202712.7993e178@digimed.co.uk
In Reply to: Re: [gentoo-user] Not enough RAM for dev-qt/qtwebengine build by Dale
1 On Thu, 13 Jun 2019 12:59:18 -0500, Dale wrote:
2
3 > Neil Bothwick wrote:
4
5 > > You can set that in package.env too, I do this for Chromium:
6 > >
7 > > % cat /etc/portage/package.env/chromium
8 > > www-client/chromium alert-done.conf disk-tmpdir.conf j2.conf
9 > >
10 > > % cat /etc/portage/env/j2.conf
11 > > MAKEOPTS="-j2"
12 >
13 > Has that changed?  I have a package.env FILE that contains a list of
14 > packages and the path to a file in /etc/portage/env/ that tells what to
15 > change that for package/  Looks like this:
16 >
17 >
18 > root@fireball / # cat /etc/portage/package.env/package.env
19 > #www-client/seamonkey  ../env/single.conf
20 > #www-client/firefox  ../env/single.conf
21 > #www-client/firefox  ../env/notmpfs.conf
22 > #www-client/seamonkey ../env/notmpfs.conf
23 > app-office/libreoffice ../env/notmpfs.conf
24 > #sys-devel/gcc ../env/notmpfs.conf
25 > dev-qt/qtwebengine ../env/notmpfs.conf
26 > #dev-qt/qtwebkit ../env/notmpfs.conf
27 > #sci-electronics/kicad ../env/notmpfs.conf
28 >
29 > root@fireball / # ls -al /etc/portage/env/
30 > total 16
31 > drwxr-xr-x  2 root root 4096 Sep  3  2017 .
32 > drwxr-xr-x 14 root root 4096 May 31 00:40 ..
33 > -rw-r--r--  1 root root   35 Sep  3  2017 notmpfs.conf
34 > -rw-r--r--  1 root root   31 Feb 12  2017 single.conf
35 >
36 > root@fireball / # cat /etc/portage/env/notmpfs.conf
37 > PORTAGE_TMPDIR="/var/tmp/notmpfs"
38 >
39 > root@fireball / # cat /etc/portage/env/single.conf
40 > #EMERGE_DEFAULT_OPTS="-j1"
41 >
42 > root@fireball / #
43 >
44 >
45 > I think I'm doing this different than what you posted.  It works but is
46 > it being changed and I need to update before it stops working? 
47
48 The only difference is the way you are specifying the paths. Portage
49 looks in /etc/portage/env for these anyway, you are telling it to
50 load /etc/portage/env../env/whatever.conf, which is the same thing.
51
52
53 --
54 Neil Bothwick
55
56 Pound for pound, the amoeba is the most vicious animal on the earth.

Replies

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