tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: distcc broken with cwrappers?



On Sun, Dec 18, 2016 at 07:04:33PM -0500, Greg Troxel wrote:
> 
> Greg Troxel <gdt%lexort.com@localhost> writes:
> 
> > My mk.conf has, more or less:
> >
> > PKGSRC_COMPILER=	ccache distcc gcc
> > DISTCC_HOSTS=		foo.example.com/8
> > DISTCC_VERBOSE=		yes
> >
> > This used to word.  I found that all my jobs were running locally, and
> > it was not clear why.  The atime of /usr/pkg/bin/distcc was not
> > changing.  I added USE_CWRAPPERS=no, and now distcc is working again - I
> > see the atime of distcc being updated, and I see compile jobs running on
> > the remote build machine.
> 
> I should point out that I am seeing no error messages.  The
> DISTCC_VERBOSE output has never appeared for me.  So this is a silent
> failure to use distcc.

Hi,

I think this is a path issue in cwrappers. I have a similar problem
using cwrappers and ccache together - it always uses the system compiler
instead of the pkgsrc one that should be enforced with GCC_REQD+=...
(I mostly have pkgsrc on old Linux systems with old gcc).

See my message from March about this issue:
http://mail-index.netbsd.org/pkgsrc-users/2016/03/21/msg023180.html

Regards
Matthias Ferdinand


Home | Main Index | Thread Index | Old Index