ports/81085: Processing of "-jN" flags for "make" builds

Pav Lucistnik pav at FreeBSD.org
Fri May 20 18:18:00 UTC 2005


Synopsis: Processing of "-jN" flags for "make" builds

State-Changed-From-To: open->closed
State-Changed-By: pav
State-Changed-When: Fri May 20 18:14:21 GMT 2005
State-Changed-Why: 

First, thank you for your report.

Parallel building of several ports is not supported. For simple reasons -
conflicting access to same resources. For example is one port is rebuilding
linker hint file and second port is trying to link at the same moment,
second port will fail with message about missing library, as you seen.

Port infrastructure itself is not ready for parallel builds, there is no
locking of /var/db/pkg data, and nothing is tracking that chains of dependencies
are compiled in correct order.

Now what could be done is parallel building inside single port, if given
software allows it. For proposal on this issue please see
http://www.freebsd.org/cgi/query-pr.cgi?q=80132



http://www.freebsd.org/cgi/query-pr.cgi?pr=81085



More information about the freebsd-ports-bugs mailing list