Date: Thu, 08 May 2003 23:48:39 +0200 From: Dag-Erling Smorgrav <des@ofug.org> To: Mark Murray <mark@grondar.org> Cc: current@freebsd.org Subject: Re: buildworld b?rkedinlibpam Message-ID: <xzpk7d1un2g.fsf@flood.ping.uio.no> In-Reply-To: <200305070826.h478Q48c095658@grimreaper.grondar.org> (Mark Murray's message of "Wed, 07 May 2003 09:26:04 %2B0100") References: <200305070826.h478Q48c095658@grimreaper.grondar.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Mark Murray <mark@grondar.org> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?xzpk7d1un2g.fsf>