From owner-freebsd-current@FreeBSD.ORG Thu May 8 14:48:42 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4B21E37B401 for ; Thu, 8 May 2003 14:48:42 -0700 (PDT) Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9525E43F75 for ; Thu, 8 May 2003 14:48:41 -0700 (PDT) (envelope-from des@ofug.org) Received: by flood.ping.uio.no (Postfix, from userid 2602) id 0EAD0530E; Thu, 8 May 2003 23:48:40 +0200 (CEST) X-URL: http://www.ofug.org/~des/ X-Disclaimer: The views expressed in this message do not necessarily coincide with those of any organisation or company with which I am or have been affiliated. To: Mark Murray References: <200305070826.h478Q48c095658@grimreaper.grondar.org> From: Dag-Erling Smorgrav Date: Thu, 08 May 2003 23:48:39 +0200 In-Reply-To: <200305070826.h478Q48c095658@grimreaper.grondar.org> (Mark Murray's message of "Wed, 07 May 2003 09:26:04 +0100") Message-ID: User-Agent: Gnus/5.1001 (Gnus v5.10.1) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: Poul-Henning Kamp cc: current@freebsd.org Subject: Re: buildworld b?rkedinlibpam X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 May 2003 21:48:42 -0000 Mark Murray writes: > "Poul-Henning Kamp" writes: > > But to add to the confusion, my make universe just spat out ia64 buildworld > > with the same error again :-( > I think the problem is to order the library build. > Can .ORDER be applied to subdirs (or something?) The order in Makefile.inc1 is correct, but if the libraries are built in parallel, there is a race between libkrb5 and libpam. I've always assumed the libraries *weren't* built in parallel. You could try the following in case I'm wrong: Index: Makefile.inc1 =================================================================== RCS file: /home/ncvs/src/Makefile.inc1,v retrieving revision 1.356 diff -u -r1.356 Makefile.inc1 --- Makefile.inc1 5 May 2003 12:54:26 -0000 1.356 +++ Makefile.inc1 8 May 2003 21:47:24 -0000 @@ -816,7 +816,9 @@ _generic_libs+= usr.sbin/pcvt/keycap .endif -.for _lib in ${_startup_libs} ${_prebuild_libs:Nlib/libpam} ${_generic_libs} +_lib_order= ${_startup_libs} ${_prebuild_libs:Nlib/libpam} ${_generic_libs} +.ORDER: ${_lib_order} +.for _lib in ${_lib_order} ${_lib}__L: .PHONY .if exists(${.CURDIR}/${_lib}) @${ECHODIR} "===> ${_lib}"; \ DES -- Dag-Erling Smorgrav - des@ofug.org