060529bfd1
Poudriere builder jails seem to share one network namespace which is problematic when building packages in parallel since sccache binds to localhost:4226. This then leads to jails reusing the sccache instance from other jails which is problematic and can cause failures like 1/ missing files due to the filesystem separation: sccache: caused by: No such file or directory (os error 2) 2/ the sccache instance suddenly going away when a parallel build finishes and Poudriere shuts down the jail and kills all of its processes: sccache: error: failed to execute compile sccache: caused by: Failed to send data to or receive data from server sccache: caused by: Failed to read response header sccache: caused by: failed to fill whole buffer To properly namespace sccache instances we can use Unix sockets. There is a request [1] for adding support for Unix sockets upstream but no code has been written for that AFAICT. This commit hacks in support for them which should be just about ok for our purposes. [1] https://github.com/mozilla/sccache/issues/933 Tested by: jrm |
||
---|---|---|
.. | ||
bsdadminscripts2 | ||
caronade | ||
chucky | ||
create-rb-port | ||
dialog4ports | ||
dialog4ports-static | ||
distilator | ||
fastest_pkg | ||
freebsd-bugzilla-cli | ||
genpatch | ||
genplist | ||
hs-panopticum | ||
jailaudit | ||
lsknobs | ||
mkreadmes | ||
modules2tuple | ||
octopkg | ||
p5-FreeBSD-Portindex | ||
p5-FreeBSD-Ports | ||
p5-FreeBSD-Ports-INDEXhash | ||
packagekit | ||
parfetch-overlay | ||
pchecker | ||
pkg | ||
pkg-devel | ||
pkg-graph | ||
pkg-provides | ||
pkg-rmleaf | ||
pkg_cleanup | ||
pkg_cutleaves | ||
pkg_jail | ||
pkg_replace | ||
pkg_rmleaves | ||
pkg_search | ||
pkg_tree | ||
pkgcompare | ||
pkgs_which | ||
port-authoring-tools | ||
port-index-uniquifier | ||
port-maintenance-tools | ||
portal | ||
portconf | ||
portconfig | ||
portdowngrade | ||
portest | ||
portfind | ||
portfmt | ||
portgraph | ||
portgrep | ||
portless | ||
portlint | ||
portmaster | ||
portrac | ||
ports-tools | ||
portscout | ||
portsearch | ||
portshaker | ||
portshaker-config | ||
portsreinstall | ||
porttools | ||
porttree | ||
portupdate-scan | ||
portupgrade | ||
portupgrade-devel | ||
poudriere | ||
poudriere-devel | ||
psearch | ||
py-FreeBSD-ports | ||
py-pytoport | ||
py-skog | ||
sccache-overlay | ||
synth | ||
wanted-ports | ||
Makefile |