On Wed, Apr 12, 2017 at 10:43:14AM +0200, Michael Gmelin wrote:
> > On 12. Apr 2017, at 05:43, Alexey Dokuchaev <da...@freebsd.org> wrote:
> > ...
> > pkg was eating 100% (of a single core) during that time, so it looks
> > like it's actually busy (not waiting for I/O or something), but with
> > what?  And can it be fixed?  LLVM ports are real PITA to (re)build,
> > and while ccache helps to greatly reduce the build times, 3/4-hour
> > package time still cripples it.
> 
> It's probably busy compressing the package. Try setting PKG_NOCOMPRESS=1
> in /etc/make.conf (works ok when just building a package with make,
> didn't test with poudriere[0]). When creating packages, the current
> compression algorithm can't take advantage of multiple cores, so it's
> kind of a bottleneck on modern machines.

That is my current best guest as well, but I could not confirm it because
/usr/local/sbin/pkg-static is stripped by default and I could not see any
function names when I attached gdb(1) to it.  Will rebuild pkg(8) shortly
WITH_DEBUG to get more information.

Other alternative to PKG_NOCOMPRESS=1 could be PKGSUFFIX=.tbz (pkg-static
create -f tbz ...), will play with that as well.  Thanks,

./danfe
_______________________________________________
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to