Bug #345
[libremakepkg] Breaks distcc
Status:
fixed
Priority:
bug
Category:
-
Assignee:
-
% Done:
100%
Description
Because networking is disabled during build(), distcc cannot run.
History
Updated by lukeshu almost 11 years ago
The temporary fix was to add an -N flag to enable networking during build() and package(). https://projects.parabolagnulinux.org/packages/libretools.git/commit/?id=724cc90d771d840c4579e3b2443cad21fd6fe231
I've implemented 'distcc-tool', which can be used to tunnel distcc out. I haven't integrated it with libremakepkg yet.
It is used like this:
host# distcc-tool odaemon /path/to/chroot & chroot$ distcc-tool idaemon "$DISTCC_HOSTS" & chroot$ DISTCC_HOSTS="$(distcc-tool rewrite "$DISTCC_HOSTS")"
The only dependency that isn't in base-devel is 'socat'.