From owner-freebsd-questions@FreeBSD.ORG Sun Dec 27 17:34:05 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D67C1106568B for ; Sun, 27 Dec 2009 17:34:05 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id 914C08FC16 for ; Sun, 27 Dec 2009 17:34:05 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.3/8.14.3) with ESMTP id nBRHY4oV035214; Sun, 27 Dec 2009 10:34:04 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.3/8.14.3/Submit) with ESMTP id nBRHY4sS035211; Sun, 27 Dec 2009 10:34:04 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Sun, 27 Dec 2009 10:34:04 -0700 (MST) From: Warren Block To: Simon Griffiths In-Reply-To: <00c101ca8715$75426930$5fc73b90$@griffiths@tenenbaum.co.uk> Message-ID: References: <00c101ca8715$75426930$5fc73b90$@griffiths@tenenbaum.co.uk> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.3 (wonkity.com [127.0.0.1]); Sun, 27 Dec 2009 10:34:04 -0700 (MST) Cc: freebsd-questions@freebsd.org Subject: Re: Issues with make -j option on ports X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Dec 2009 17:34:05 -0000 On Sun, 27 Dec 2009, Simon Griffiths wrote: > I seem to get errors with quite a few ports if I use the make -j option. Building with multiple jobs is part of the ports system for several months now. See the MAKE_JOBS variables in /usr/ports/Mk/bsd.port.mk. Overriding that with -j is going to try to force ports that aren't multiple-job-safe, probably causing the problems you're seeing. The preferred number of jobs defaults to the number of CPUs. That can be overridden with MAKE_JOBS_NUMBER. > The errors surround multiple make commands not getting the files it expects > in order. Is this the correct behaviour? > > > > make -j 8 install clean > > install -s -o root -g wheel -m 555 > /usr/ports/net/boinc_curses/work/boinc_curses-0.1.9/boinc_curses > /usr/local/bin/ > > install: /usr/ports/net/boinc_curses/work/boinc_curses-0.1.9/boinc_curses: > No such file or directory > > *** Error code 71 > > ===> Cleaning for boinc-client-6.4.5_4 boinc-client has MAKE_JOBS_UNSAFE= yes in its Makefile. -Warren Block * Rapid City, South Dakota USA