parallel builds revisited

Kris Kennaway kris at obsecurity.org
Sat Apr 14 05:50:43 UTC 2007


On Sat, Apr 14, 2007 at 07:12:21AM +0200, [LoN]Kamikaze wrote:
> Kris Kennaway wrote:
> > On Thu, Apr 12, 2007 at 09:31:37PM +0200, [LoN]Kamikaze wrote:
> > 
> >>> Btw, do you think it's possible that a port can only be built with, n 
> >>> parallel make jobs, but will fail with n+1?
> >> No. I do not think this can be the case.
> > 
> > It certainly is the case.  If a makefile has incorrectly specified
> > dependencies then it may build by accident for certain values of n.
> > There are also lots of ports with race conditions which means they may
> > sometimes build but not always.
> 
> I am aware of the theoretical existence of such problems, but has that ever actually happened? In my experience the port fails whenever something is wrong. I've never had a case where a port that didn't work because of 'make -j' worked when I tried again or with a different number of jobs.

Yes, even /usr/src has had those kinds of problems in the past.

Kris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20070414/96a44b8f/attachment.pgp


More information about the freebsd-ports mailing list