From owner-freebsd-embedded@FreeBSD.ORG Thu Apr 26 15:15:56 2012 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3F571106564A for ; Thu, 26 Apr 2012 15:15:56 +0000 (UTC) (envelope-from freebsd@damnhippie.dyndns.org) Received: from qmta10.emeryville.ca.mail.comcast.net (qmta10.emeryville.ca.mail.comcast.net [76.96.30.17]) by mx1.freebsd.org (Postfix) with ESMTP id 20AA68FC0A for ; Thu, 26 Apr 2012 15:15:56 +0000 (UTC) Received: from omta22.emeryville.ca.mail.comcast.net ([76.96.30.89]) by qmta10.emeryville.ca.mail.comcast.net with comcast id 2fDG1j0061vN32cAAfEqXy; Thu, 26 Apr 2012 15:14:50 +0000 Received: from damnhippie.dyndns.org ([24.8.232.202]) by omta22.emeryville.ca.mail.comcast.net with comcast id 2fEp1j00p4NgCEG8ifEqGv; Thu, 26 Apr 2012 15:14:50 +0000 Received: from [172.22.42.240] (revolution.hippie.lan [172.22.42.240]) by damnhippie.dyndns.org (8.14.3/8.14.3) with ESMTP id q3QFElPF075849 for ; Thu, 26 Apr 2012 09:14:47 -0600 (MDT) (envelope-from freebsd@damnhippie.dyndns.org) From: Ian Lepore To: freebsd-embedded@freebsd.org Content-Type: multipart/mixed; boundary="=-O7C5pQjd1owkfukk6PcR" Date: Thu, 26 Apr 2012 09:14:47 -0600 Message-ID: <1335453287.66865.46.camel@revolution.hippie.lan> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Subject: make -jN xdev can fail X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Apr 2012 15:15:56 -0000 --=-O7C5pQjd1owkfukk6PcR Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit I discovered 'make xdev' can fail with -jN because it tries to run the xdev-install step while xdev-build is still running. The attached patch makes xdev-install depend on xdev-build to fix it. -- Ian --=-O7C5pQjd1owkfukk6PcR Content-Disposition: inline; filename="makexdev.diff" Content-Type: text/x-patch; name="makexdev.diff"; charset="us-ascii" Content-Transfer-Encoding: 7bit Index: Makefile.inc1 =================================================================== --- Makefile.inc1 (revision 234710) +++ Makefile.inc1 (working copy) @@ -1649,8 +1649,8 @@ mtree -deU -f ${.CURDIR}/etc/mtree/BSD.include.dist \ -p ${XDDESTDIR}/usr/include >/dev/null -.ORDER: _xi-mtree _xi-cross-tools _xi-includes _xi-libraries _xi-links -xdev-install: _xi-mtree _xi-cross-tools _xi-includes _xi-libraries _xi-links +.ORDER: xdev-build _xi-mtree _xi-cross-tools _xi-includes _xi-libraries _xi-links +xdev-install: xdev-build _xi-mtree _xi-cross-tools _xi-includes _xi-libraries _xi-links _xi-cross-tools: @echo "_xi-cross-tools" --=-O7C5pQjd1owkfukk6PcR--