Gentoo Archives: gentoo-user

From: lee <lee@××××××××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] emerging with distcc: What's taking so long?
Date: Tue, 05 Jan 2016 13:19:19
Message-Id: 87io38uss0.fsf@heimdali.yagibdah.de
In Reply to: Re: [gentoo-user] emerging with distcc: What's taking so long? by wabenbau@gmail.com
1 <wabenbau@×××××.com> writes:
2
3 > Frank Steinmetzger <Warp_7@×××.de> wrote:
4 >
5 >> On Mon, Jan 04, 2016 at 09:48:42PM +0100, wabenbau@×××××.com wrote:
6 >>
7 >> > P.S.: distccmon is a good tool to watch the compilation processes.
8 >>
9 >> I never got it to display anything. I just tried it again: synced
10 >> portage and ran a world update -- 16 Packages, among them
11 >> kdevplatform, a lengthy Qt package (which by the way is one of those
12 >> who benefit greatly from compression if distcc’ed over a slow
13 >> network).
14 >>
15 >> At no time during building did I see any activity in distccmon-gui. I
16 >> started it on both client and server and as my own user as well as
17 >> root. Nada. Can you give a suggestion? Thanks.
18 >>
19 >
20 > I remembered something:
21 >
22 > It is important to use the same value for the DISTCC_DIR environment
23 > variable as the user running the client and that this directory is
24 > readable by the user that is running distccmon.
25
26 Hm. Are you saying you can run it only on the client?
27
28 Oh, I can see it now! Preprocessing seems to be done on localhost only,
29 and some compilation, too. Some is compiled on the server.
30
31 I tried to remove 'distcc' and leaving only 'distcc-pump' in make.conf
32 to force preprocessing to the server. With that, nothing shows up.
33
34 Is there a way to offload the preprocessing to the server, and can
35 compiling on localhost be avoided as much as possible somehow?

Replies

Subject Author
Re: [gentoo-user] emerging with distcc: What's taking so long? Peter Humphrey <peter@××××××××××××.uk>