From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 9CDB71381F3 for ; Thu, 10 Oct 2013 08:27:14 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 743A5E0953; Thu, 10 Oct 2013 08:27:08 +0000 (UTC) Received: from mout.web.de (mout.web.de [212.227.15.4]) (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 47A19E0822 for ; Thu, 10 Oct 2013 08:27:07 +0000 (UTC) Received: from localhost ([89.13.12.205]) by smtp.web.de (mrweb004) with ESMTPSA (Nemesis) id 0Lsvn8-1VwHKN2WMc-012URN for ; Thu, 10 Oct 2013 10:27:05 +0200 Received: by localhost (Postfix, from userid 1000) id 53324621D9; Thu, 10 Oct 2013 10:27:04 +0200 (CEST) Date: Thu, 10 Oct 2013 10:27:04 +0200 From: Uwe Scholz To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] Problem with distcc and pump mode: failed to connect to unix-domain: Permission denied Message-ID: <20131010082704.GA31993@uwe-notebook> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline X-message: Please send Plain-Text messages. Thanks. X-Editor: GNU Emacs 24.1.1 X-GPG-Fingerprint: CCEB FA34 16C0 7873 D9AA 0892 6054 A9B7 A6B5 5686 User-Agent: Mutt/1.5.21 (2010-09-15) X-Provags-ID: V03:K0:Ug+IXrBCm0IYUDwJfkOtvdStDDb0JAZ5M+tTI6rkx3ujm1hk121 I7IVLol8LixjXLS6QhwoOM96qrXjXjEUnLfjKOBIdsQgX4A6JDcM3ApeG8g+ibq0pl2h3os lNHUyEzEgUxzeMFoLEiM4rzWStJKrSsTkA8jaLajBq6qTBTm47S21fi6CrCzCkLNwaQRiLv 5j3sUY5WG3kWSYh9GUN2g== X-Archives-Salt: f9e2e45c-b655-4974-a8e8-7ff44f75d5ed X-Archives-Hash: 0a8f9947b03d7a2ffc1fad07b8163f74 Hello Gentoo fellows :-) I have a mysterious problem with distcc and pump mode. Actually, distcc is working here, but together with pump mode I get strange error messages and can't find a solution for it. For example I tried to install minitube on my notebook (the distcc client) by pump emerge minitube In the output of the make process for nearly every new file which should be processed the error message distcc[2815] ERROR: failed to connect to UNIX-DOMAIN /tmp/distcc-pump.boOiEs/socket: Permission denied distcc[2815] (dcc_build_somewhere) Warning: failed to get includes from include server, preprocessing locally occurs. So, if I get this right, pump mode is not used. Distcc itself is working, as my other PC is compiling something for the client, but I want to understand why pump mode is not used... /tmp/distcc-pump.boOiEs/socket is owned by root as you can see here: ls -l /tmp/distcc-pump.boOiEs/socket srwxr-xr-x 1 root root 0 10. Okt 09:55 socket The file /etc/distcc/hosts on my client looks like uwe-notebook/8,cpp,lzo 127.0.0.1/1 where uwe-notebook is the distccd server. In both /etc/portage/make.conf on the client and the server side I have FEATURES="preserve-libs sandbox ccache distcc parallel-fetch" CCACHE_CPP2=1 CCACHE_DIR="/var/tmp/ccache" The CFLAGS are not set to native for both machines but to nocona on the client and to core2 on the server side, as distcc is not working for native. Can anyone give me a clue? Ciao, Uwe