You are not logged in.

#1 2018-07-21 13:38:17

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,731
Website

Building an a clean chroot with distcc is very slow

In the past, I have been able to build packages in a clean chroot using distcc, but recently (past month or so), the build from within the root fails to distribute out the other distcc nodes at the same rate as before.  I based this statement on the build time for the same package being much longer than before.  For example:

Building the linux kernel (just make bzImage) in the build function:
* Running makepkg on the localhost only (no distccd) takes 3m 25s
* Running makechrootpkg setup to build  on the localhost only (no distccd) takes 3m 22s
Conclusion: both give the same result

* Running makepkg configured to use distccd takes 2m 19s
* Running makechrootpkg configured to use distccd takes 14m 52s
Conclusion: something is wrong smile


Steps to reproduce:
1) Have distccd started and configured to run properly on the host OS and on other nodes on the network.
2) Run: mkarchroot ~/.chroot64/root base-devel distcc
3) Edit ~/.chroot64/root/etc/makepkg.conf to a) enable distcc b) adjust MAKEFLAGS and c) define DISTCC_HOSTS
4) Try to build for example the linux package: makechrootpkg -c -r ~/.chroot64

Last edited by graysky (2018-07-21 15:03:05)

Offline

Board footer

Powered by FluxBB