<p dir="ltr">"pump" needs to be run by the same user as "distcc". It looks like in your case "pump" is run by root but "distcc" is being run as a different user? Is "emerge" changing uid?</p>

<div class="gmail_quote">On 14 Oct 2013 12:07, "Uwe Scholz" <<a href="mailto:nurfuernews@web.de">nurfuernews@web.de</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi distcc users,<br>
<br>
Some days ago I posted my question already in the gentoo mailing list,<br>
but nobody could help me there, so I try it here again. I use gentoo<br>
linux and I have two computers at home: A slow desktop PC (the distcc<br>
client) and a fast notebook (the distcc server).<br>
<br>
The problem is that distcc does not work on my client together with pump<br>
mode. Actually, distcc is working, but together with pump mode I get<br>
strange error messages and can't find a solution for it.<br>
<br>
For example I tried to install minitube on my desktop PC by<br>
<br>
pump emerge minitube<br>
<br>
In the output of the make process for nearly every new file to be<br>
processed the error message<br>
<br>
distcc[2815] ERROR: failed to connect to UNIX-DOMAIN /tmp/distcc-pump.boOiEs/socket: Permission denied<br>
distcc[2815] (dcc_build_somewhere) Warning: failed to get includes from include server, preprocessing locally<br>
<br>
occurs. So, if I get this right, pump mode is not working. Distcc itself<br>
is working, as my notebook is compiling something for the client,<br>
though. Also, no error message shows up when I just type "emerge<br>
minitube".<br>
<br>
/tmp/distcc-pump.boOiEs/socket is owned by root as you can see here:<br>
ls -l /tmp/distcc-pump.boOiEs/socket<br>
srwxr-xr-x 1 root root 0 10. Okt 09:55 socket<br>
<br>
The file /etc/distcc/hosts on the distcc client looks like<br>
uwe-notebook/8,cpp,lzo <a href="http://127.0.0.1/1" target="_blank">127.0.0.1/1</a><br>
where uwe-notebook is the distccd server.<br>
<br>
In both /etc/portage/make.conf on the client and the server side I have<br>
FEATURES="preserve-libs sandbox ccache distcc parallel-fetch"<br>
CCACHE_CPP2=1<br>
CCACHE_DIR="/var/tmp/ccache"<br>
<br>
The CFLAGS are set to nocona on the client and to core2 on the server<br>
side.<br>
<br>
I want to understand why pump mode is not used and what causes the error<br>
message above. Can anyone give me a clue?<br>
<br>
Ciao,<br>
Uwe<br>
__<br>
distcc mailing list            <a href="http://distcc.samba.org/" target="_blank">http://distcc.samba.org/</a><br>
To unsubscribe or change options:<br>
<a href="https://lists.samba.org/mailman/listinfo/distcc" target="_blank">https://lists.samba.org/mailman/listinfo/distcc</a><br>
</blockquote></div>