Gentoo Archives: gentoo-user

From: Uwe Scholz <nurfuernews@×××.de>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Problem with distcc and pump mode: failed to connect to unix-domain: Permission denied
Date: Thu, 10 Oct 2013 08:27:14
Message-Id: 20131010082704.GA31993@uwe-notebook
1 Hello Gentoo fellows :-)
2
3 I have a mysterious problem with distcc and pump mode. Actually, distcc
4 is working here, but together with pump mode I get strange error
5 messages and can't find a solution for it.
6
7 For example I tried to install minitube on my notebook (the distcc
8 client) by
9
10 pump emerge minitube
11
12 In the output of the make process for nearly every new file which should
13 be processed the error message
14
15 distcc[2815] ERROR: failed to connect to UNIX-DOMAIN /tmp/distcc-pump.boOiEs/socket: Permission denied
16 distcc[2815] (dcc_build_somewhere) Warning: failed to get includes from include server, preprocessing locally
17
18 occurs. So, if I get this right, pump mode is not used. Distcc itself is
19 working, as my other PC is compiling something for the client, but I
20 want to understand why pump mode is not used...
21
22 /tmp/distcc-pump.boOiEs/socket is owned by root as you can see here:
23 ls -l /tmp/distcc-pump.boOiEs/socket
24 srwxr-xr-x 1 root root 0 10. Okt 09:55 socket
25
26 The file /etc/distcc/hosts on my client looks like
27 uwe-notebook/8,cpp,lzo 127.0.0.1/1
28 where uwe-notebook is the distccd server.
29
30 In both /etc/portage/make.conf on the client and the server side I have
31 FEATURES="preserve-libs sandbox ccache distcc parallel-fetch"
32 CCACHE_CPP2=1
33 CCACHE_DIR="/var/tmp/ccache"
34
35 The CFLAGS are not set to native for both machines but to nocona on the
36 client and to core2 on the server side, as distcc is not working for
37 native.
38
39 Can anyone give me a clue?
40
41 Ciao,
42 Uwe

Replies