pkgsrc-Users archive

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

Re: pbulk and distcc still broken?



On Sun, Feb 09, 2020 at 11:33:58PM +0000, John Klos wrote:
> Hi,
> 
> I've recently tried to use distcc with pbulk. Real life doesn't match
> documentation, though, and I wonder if anything has changed in the last two
> years:
> 
> https://mail-index.netbsd.org/pkgsrc-users/2018/02/01/msg026211.html
> 
> 
> If pbulk is run without distcc, then distcc is installed (regardless of what
> prefix is used to install it, or if it's even just added to the PATH without
> registering packages), then running any pbulk always fails with "don't know
> how to build /nonexistent" or something like that when it then tries to
> build distcc, even with IGNORE_DISTCC.
> 
> If pbulk is run with distcc in /etc/mk.conf & in the mk.conf fragment passed
> to pkgsrc/mk/pbulk/pbulk.sh, then running any pbulk always fails with:
> 
> Cyclic dependency for package:
> distcc-3.3
> popt-1.16nb2
> digest-20190127
> cwrappers-20180325
> 
> Does anyone know of any solution? Should I send-pr?

pbulk+distcc works for me, with this in /etc/mk.conf:

.for DISTCCDEPS in sysutils/checkperms pkgtools/digest devel/distcc devel/popt devel/libtool-base devel/gmake devel/m4 pkgtools/cwrappers
.   if ${PKGPATH} == ${DISTCCDEPS}
IGNORE_DISTCC=  yes
.   endif
.endfor

.if !defined(IGNORE_DISTCC)
    PKGSRC_COMPILER=distcc gcc
    DISTCC_HOSTS=<host>:3633
.endif

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index