Re: buildworld b?rkedinlibpam

From: Dag-Erling Smorgrav <des_at_ofug.org>
Date: Thu, 08 May 2003 23:48:39 +0200
Mark Murray <mark_at_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
_at__at_ -816,7 +816,9 _at__at_
 _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})
        _at_${ECHODIR} "===> ${_lib}"; \


DES
-- 
Dag-Erling Smorgrav - des_at_ofug.org
Received on Thu May 08 2003 - 12:48:42 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:07 UTC