You are not logged in.

#1 2021-02-09 12:06:29

Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,206

Using distcc pump with makechrootpkg from devtools

Is is possible to use distcc pump in a buildroot created with devtools' mkarchroot and building with makechrootpkg?  If so how does one start it within the buildroot?

This issue is that within the buildroot, /usr/bin/pump has to be running.  That requires two conditions:
1) A bogus DISTCC_HOSTS setup in the environment vars
2) Literally running `eval pump --startup` from within the container

I tried this via a script installed to /path/to/chroot/user/usr/bin/ which simply contains:

export DISTCC_HOSTS="localhost,cpp,lzo"
eval `pump --startup`

But running that throws an error:

% arch-nspawn /scratch/armc8/facade/
__________Expected a socket at '/tmp/distcc-pump.jKQ3Vj/socket'

CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs


Board footer

Powered by FluxBB