Project

General

Profile

Bug #345

[libremakepkg] Breaks distcc

lukeshu - almost 11 years ago - . Updated almost 11 years ago.

Status:
fixed
Priority:
bug
Category:
-
Assignee:
-
% Done:

100%


Description

Because networking is disabled during build(), distcc cannot run.

History

#2

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'.

#3

Updated by lukeshu almost 11 years ago

I added integration for distcc-tool

Also available in: Atom PDF